From 3f9f5b5b0d743a1a085c4a1b24709ea46fa5eb57 Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Fri, 23 Dec 2022 14:32:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=85=A5=E5=BA=93=E6=A0=A1?= =?UTF-8?q?=E9=AA=8Cbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activiti/form/ProcessMaterialWarehousingForm.vue | 8 ++++---- src/views/activiti/todoManage.vue | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue index 7060650..eb89fc1 100644 --- a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue +++ b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue @@ -537,12 +537,12 @@ } if(formData.planType==1 && formData.materialType !=6){ console.log('格式化后的数据', formData) - if (!!formData.ifDirect){ + if (formData.ifDirect==null){ this.$message.error('请选择是否属于直达物资!') return }else { if(formData.ifDirect==1){ - if (!!formData.ifInspection){ + if (formData.ifInspection==null){ this.$message.error('请选择是否需要送检!') return } @@ -616,12 +616,12 @@ formData.describes = this.describes console.log('格式化后的数据', formData) if(formData.planType==1 && formData.materialType !=6){ - if (!!formData.ifDirect){ + if (formData.ifDirect==null){ this.$message.error('请选择是否属于直达物资!') return }else { if(formData.ifDirect==1){ - if (!!formData.ifInspection){ + if (formData.ifInspection==null){ this.$message.error('请选择是否需要送检!') return } diff --git a/src/views/activiti/todoManage.vue b/src/views/activiti/todoManage.vue index 862a63e..6284d2f 100644 --- a/src/views/activiti/todoManage.vue +++ b/src/views/activiti/todoManage.vue @@ -526,7 +526,6 @@ if (res1.success) { if (res1.result) { if (param.username==res1.result.relateId && res1.result.name=='采购员'){ - console.log(res1.result) this.lcModa.isPlanType = true; this.lcModa.isSourceCapital = true; this.lcModa.disabled = false;