From d7d60a9b0e0b3dc21c493b85a2bbcbcc74706322 Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Sat, 12 Oct 2024 14:18:13 +0800 Subject: [PATCH] =?UTF-8?q?YT-318,YT-330=E5=8E=BB=E6=8E=89=E7=8F=AD?= =?UTF-8?q?=E6=AC=A1=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productdismantleRequestMain/index.vue | 6 ------ .../productdismantleRequestMain.data.ts | 15 +-------------- .../productionMainAssemble/index.vue | 5 ----- .../productionMainAssemble.data.ts | 15 +-------------- .../productionMainAssembleSparePart/index.vue | 4 ---- .../productionMainAssembleSparePart.data.ts | 15 +-------------- 6 files changed, 3 insertions(+), 57 deletions(-) diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue index 0af9bf0bb..284817860 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue @@ -303,12 +303,6 @@ 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 f0fbc0d12..254c327f5 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,19 +161,6 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive } } }, - { - label: '班次名称', - field: 'shiftName', - sort: 'custom', - form: { - componentProps: { - disabled: true - } - }, - table: { - width: 150 - }, - }, { label: '从仓库代码', field: 'fromWarehouseCode', diff --git a/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue b/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue index 5f9217311..a5335ec3c 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue @@ -170,11 +170,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => }else{ setV[formField] = val[0][searchField] } - // 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/productionplan/productionMainAssemble/productionMainAssemble.data.ts b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts index e354b35f0..7b43f9b8d 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMainAssemble/productionMainAssemble.data.ts @@ -199,7 +199,7 @@ export const ProductionMain = useCrudSchemas(reactive([ } }, { - label: '班次代码', + label: '班次', field: 'shift', sort: 'custom', table: { @@ -231,19 +231,6 @@ export const ProductionMain = useCrudSchemas(reactive([ } } }, - { - label: '班次名称', - field: 'shiftName', - sort: 'custom', - form: { - componentProps: { - disabled: true - } - }, - table: { - width: 150 - }, - }, // { // label: '物料代码', // field: 'detailItemCode', diff --git a/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue b/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue index e99505438..5f1d7a00b 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue @@ -162,10 +162,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => }else{ setV[formField] = val[0][searchField] } - if (formField == 'shift') { - setV['shift'] = val[0]['code'] - setV['shiftName'] = val[0]['name'] - } formRef.setValues(setV) } }) diff --git a/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts b/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts index a0c6fce70..ce8b1db9e 100644 --- a/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/productionMainAssembleSparePart.data.ts @@ -203,7 +203,7 @@ export const ProductionMain = useCrudSchemas(reactive([ } }, { - label: '班次代码', + label: '班次', field: 'shift', sort: 'custom', table: { @@ -235,19 +235,6 @@ export const ProductionMain = useCrudSchemas(reactive([ } } }, - { - label: '班次名称', - field: 'shiftName', - sort: 'custom', - form: { - componentProps: { - disabled: true - } - }, - table: { - width: 150 - }, - }, // { // label: '物料代码', // field: 'detailItemCode',