diff --git a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue index 35d80cc..6927b8a 100644 --- a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue +++ b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue @@ -569,7 +569,7 @@ params.materialGroup=formData.processMaterialWarehousingListList[i].materialGroup; params.materialNumber=formData.processMaterialWarehousingListList[i].materialNumber; params.planId=this.processUdgetPlanIds; - this.getAction(this.url.queryQuantityByPlanId,params).then((res) => { + await this.getAction(this.url.queryQuantityByPlanId,params).then((res) => { if (res.success) { if(res.result!=null){ this.planQuantity=res.result; @@ -673,10 +673,11 @@ params.materialGroup=formData.processMaterialWarehousingListList[i].materialGroup; params.materialNumber=formData.processMaterialWarehousingListList[i].materialNumber; params.planId=this.processUdgetPlanIds; - this.getAction(this.url.queryQuantityByPlanId,params).then((res) => { + await this.getAction(this.url.queryQuantityByPlanId,params).then((res) => { if (res.success) { if(res.result!=null){ this.planQuantity=res.result; + console.log('表单回显数据0', this.planQuantity) } } }) @@ -686,6 +687,7 @@ if (res.success) { if(res.result!=null){ this.warehousingQuantity=res.result; + console.log('表单回显数据1', this.warehousingQuantity) } } })