From abe5ac66288da19cd6df6669fd7e28aeb565f5b5 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Wed, 4 Jan 2023 15:29:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=8E=82=E5=AE=B6=E9=87=87?= =?UTF-8?q?=E8=B4=AD--=E9=87=87=E8=B4=AD=E8=BD=A6=E5=9E=8B=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=BD=A6=E8=BE=86=E5=9E=8B=E5=8F=B7=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplychain/cheliangpaichan/cheliangpaichanAdd.vue | 8 ++++++++ .../paichanguanli/cheliangpaichanEdit.vue | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue index f216d6542c..96f29ee962 100644 --- a/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue @@ -501,6 +501,8 @@ export default { message: resp.msg }) this.handleReturn('true') + } else { + this.submitdisabled = false } }).catch(() => { this.submitdisabled = false @@ -532,6 +534,10 @@ export default { this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中厂家回款通路不能为空' }) return } + if (this.formobj.busVehicleApplyDetailList[i].vehicleNo === '' || this.formobj.busVehicleApplyDetailList[i].vehicleNo === null) { + this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' }) + return + } } } this.$refs['form_obj'].validate((valid) => { @@ -545,6 +551,8 @@ export default { message: '提交成功' }) this.handleReturn('true') + } else { + this.submitdisabled = false } }).catch(() => { this.submitdisabled = false diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue index 3667ff696c..25cab842fa 100644 --- a/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue +++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue @@ -481,6 +481,8 @@ export default { } }, '*') // this.handleReturn('true') + } else { + this.submitdisabled = false } }).catch(() => { this.submitdisabled = false @@ -512,6 +514,10 @@ export default { this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中厂家回款通路不能为空' }) return } + if (this.formobj.busVehicleApplyDetailList[i].vehicleNo === '' || this.formobj.busVehicleApplyDetailList[i].vehicleNo === null) { + this.$message({ showClose: true, type: 'error', message: '请检查采购车型列表中车辆型号不能为空' }) + return + } } } this.$refs['form_obj'].validate((valid) => { @@ -532,6 +538,8 @@ export default { code: 1 } }, '*') + } else { + this.submitdisabled = false } }).catch(() => { this.submitdisabled = false