From 2964ada21aa888e2b008707b2471a39de4f5a805 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Sat, 12 Oct 2024 09:59:54 +0800 Subject: [PATCH] =?UTF-8?q?YT-330=E7=8F=AD=E6=AC=A1=E5=BA=94=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productdismantleRequestMain/index.vue | 6 ++++++ .../productdismantleRequestMain.data.ts | 15 ++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue index 284817860..0af9bf0bb 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue @@ -303,6 +303,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => setV[formField] = val[0][searchField] formRef.setValues(setV) } + const setV = {} + if (formField == 'shift') { + setV['shift'] = val[0]['code'] + setV['shiftName'] = val[0]['name'] + } + formRef.setValues(setV) }) } // 查询页面返回——详情 diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts index 254c327f5..f0fbc0d12 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts @@ -129,7 +129,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive } }, { - label: '班次', + label: '班次代码', field: 'shift', sort: 'custom', table: { @@ -161,6 +161,19 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive } } }, + { + label: '班次名称', + field: 'shiftName', + sort: 'custom', + form: { + componentProps: { + disabled: true + } + }, + table: { + width: 150 + }, + }, { label: '从仓库代码', field: 'fromWarehouseCode',