From 6c4ee55809542333194808bc932801c2d8a3752d Mon Sep 17 00:00:00 2001 From: siontion Date: Tue, 21 May 2024 21:29:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=B7=AF=E5=99=A8=EF=BC=8C=E7=94=B5?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E9=87=8D=E5=A4=8D=E9=AA=8C=E8=AF=81=E5=8E=BB?= =?UTF-8?q?=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Gw/dianRongQi/DianRongQiForm.vue | 10 +++++----- src/views/Gw/duanLuQi/DuanLuQiForm.vue | 10 +++++----- .../FinishedProductWarehousingForm.vue | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/views/Gw/dianRongQi/DianRongQiForm.vue b/src/views/Gw/dianRongQi/DianRongQiForm.vue index 8c75e6b..db1cd6e 100644 --- a/src/views/Gw/dianRongQi/DianRongQiForm.vue +++ b/src/views/Gw/dianRongQi/DianRongQiForm.vue @@ -589,11 +589,11 @@ const fnSubmitA = async () => { } await refFormA.value.validate().then(async (res: any) => { if (!res) { - let isRepeatWono = await comApi.IsRepeatWoNoInPeiDianXiang(formType.value == "copy"?0:formDataA.value.ID,formDataA.value.SupplierWorkNo,'dianrongqi') - if(isRepeatWono==true){ - VXETable.modal.alert({content:"供应商工单编号重复设置,请重新选择"}) - return; - } + // let isRepeatWono = await comApi.IsRepeatWoNoInPeiDianXiang(formType.value == "copy"?0:formDataA.value.ID,formDataA.value.SupplierWorkNo,'dianrongqi') + // if(isRepeatWono==true){ + // VXETable.modal.alert({content:"供应商工单编号重复设置,请重新选择"}) + // return; + // } formDataA.value.Sended = 0 switch (formType.value) { case 'add': diff --git a/src/views/Gw/duanLuQi/DuanLuQiForm.vue b/src/views/Gw/duanLuQi/DuanLuQiForm.vue index eeb4fe6..c58d5bc 100644 --- a/src/views/Gw/duanLuQi/DuanLuQiForm.vue +++ b/src/views/Gw/duanLuQi/DuanLuQiForm.vue @@ -570,11 +570,11 @@ const fnSubmitA = async () => { } await refFormA.value.validate().then(async (res: any) => { if (!res) { - let isRepeatWono = await comApi.IsRepeatWoNoInPeiDianXiang(formType.value == "copy"?0:formDataA.value.ID,formDataA.value.SupplierWorkNo,'duanluqi') - if(isRepeatWono==true){ - VXETable.modal.alert({content:"供应商工单编号重复设置,请重新选择"}) - return; - } + // let isRepeatWono = await comApi.IsRepeatWoNoInPeiDianXiang(formType.value == "copy"?0:formDataA.value.ID,formDataA.value.SupplierWorkNo,'duanluqi') + // if(isRepeatWono==true){ + // VXETable.modal.alert({content:"供应商工单编号重复设置,请重新选择"}) + // return; + // } formDataA.value.Sended = 0 switch (formType.value) { case 'add': diff --git a/src/views/Gw/finishedProductWarehousing/FinishedProductWarehousingForm.vue b/src/views/Gw/finishedProductWarehousing/FinishedProductWarehousingForm.vue index 22f44b5..3886eef 100644 --- a/src/views/Gw/finishedProductWarehousing/FinishedProductWarehousingForm.vue +++ b/src/views/Gw/finishedProductWarehousing/FinishedProductWarehousingForm.vue @@ -374,7 +374,7 @@ const fnSubmitA = async () => { return; } let finishedCount = await FinishedProductWarehousingApi.getFinishedProductCount(formDataA.value.SupplierWorkNo) - if(finishedCount!= 32){ + if(finishedCount< 32){ VXETable.modal.alert({content:"当前工单数据不完整,请检查原材料/组部件检验、生产工艺及过程检验、出厂试验是否都已完整录入"}) return; }