From 21599300cc73ff7384b74cc5e4ac2cbd82bdc293 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 28 十月 2026 18:34:29 +0800
Subject: [PATCH] feat(wls): 更新销售退货功能支持关联销售出库单
---
src/views/wls/productsales/data.ts | 24 +-----------------------
1 files changed, 1 insertions(+), 23 deletions(-)
diff --git a/src/views/wls/productsales/data.ts b/src/views/wls/productsales/data.ts
index 192d780..afb2c12 100644
--- a/src/views/wls/productsales/data.ts
+++ b/src/views/wls/productsales/data.ts
@@ -19,7 +19,6 @@
import { Button } from 'ant-design-vue';
-import { z } from '#/adapter/form';
import CrmCustomerSelect from '#/components/crm-customer-select.vue';
import { generateAutoCode } from '#/api/mes/md/autocode/record';
import { getRangePickerDefaultProps } from '#/utils';
@@ -391,15 +390,6 @@
minWidth: 120,
},
{
- field: 'oqcCheckFlag',
- title: '鏄惁鏍¢獙',
- width: 100,
- cellRender: {
- name: 'CellDict',
- props: { type: DICT_TYPE.INFRA_BOOLEAN_STRING },
- },
- },
- {
field: 'remark',
title: '澶囨敞',
minWidth: 150,
@@ -436,12 +426,11 @@
label: '鍙戣揣閫氱煡鍗曡',
component: markRaw(WmSalesNoticeLineSelect),
componentProps: {
- // 閫夋嫨鍙戣揣閫氱煡鍗曡鍚庯紝鑷姩鍥炲~鐗╂枡銆佹暟閲忋�佹壒娆°�佹槸鍚︽楠�
+ // 閫夋嫨鍙戣揣閫氱煡鍗曡鍚庯紝鑷姩鍥炲~鐗╂枡銆佹暟閲忋�佹壒娆�
onChange: async (line?: MesWmSalesNoticeLineApi.SalesNoticeLine) => {
await formApi?.setValues({
batchCode: line?.batchCode,
itemId: line?.itemId,
- oqcCheckFlag: line?.oqcCheckFlag ?? false,
quantity: line?.quantity,
});
},
@@ -489,17 +478,6 @@
precision: 2,
},
rules: 'required',
- },
- {
- fieldName: 'oqcCheckFlag',
- label: '鏄惁鏍¢獙',
- component: 'RadioGroup',
- componentProps: {
- buttonStyle: 'solid',
- optionType: 'button',
- options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'),
- },
- rules: z.boolean().default(false),
},
{
fieldName: 'remark',
--
Gitblit v1.9.3