From 82abbba81b04ff269fc735506a63877ecb85d5ec Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Fri, 11 Oct 2024 16:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=20=E5=88=B6=E5=93=81=E8=BF=94=E4=BF=AE?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=8F=90=E7=A4=BA=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=8C=85=E8=A3=85=E5=8F=B7=EF=BC=8C=E5=BA=94=E4=B8=8D=E7=94=A8?= =?UTF-8?q?=E9=80=89=E5=8C=85=E8=A3=85=E5=8F=B7=20=20YT-257?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionplan/productionMain/index.vue | 3 +-- .../productrepairRequestMain.data.ts | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/wms/productionManage/productionplan/productionMain/index.vue b/src/views/wms/productionManage/productionplan/productionMain/index.vue index 7abcdd087..e3d595d98 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMain/index.vue @@ -599,12 +599,11 @@ const submitForm = async (formType, submitData) => { if (formType === 'create') { data.subList = tableData.value // 拼接子表数据参数 await ProductionMainApi.createProductionMain(data).then((res) => { - // console.log(565,res) if (res.status == '6') { autoCreatePlanRequest(res) } + message.success(t('common.createSuccess')) }) - // message.success(t('common.createSuccess')) } else { await ProductionMainApi.updateProductionMain(data) message.success(t('common.updateSuccess')) diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index ba37189ef..fc1ca17ae 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -1114,9 +1114,9 @@ export const ProductrepairRequestDetailaRules = reactive({ productionLineCode: [ { required: true, message: '请选择生产线代码', trigger: 'change' } ], - packingNumber: [ - { required: true, message: '请选择包装号', trigger: 'change' } - ], + // packingNumber: [ + // { required: true, message: '请选择包装号', trigger: 'change' } + // ], batch: [ { required: true, message: '请输入批次', trigger: 'blur' } ],