diff --git a/src/components/jeecg/modal/ProcessPlan.vue b/src/components/jeecg/modal/ProcessPlan.vue index c759969..118c328 100644 --- a/src/components/jeecg/modal/ProcessPlan.vue +++ b/src/components/jeecg/modal/ProcessPlan.vue @@ -159,6 +159,9 @@ + + + @@ -171,6 +174,7 @@ import { getAction } from '@/api/manage' import { filterObj } from '@/utils/util' import ProcessUdgetPlanMaterialList from '../../../views/processmaterials/ProcessUdgetPlanMaterialList' import ProcessMaterialWarehousingListList from '@views/processmaterials/ProcessMaterialWarehousingListList' +import ProcessMaterialWarehousingApplyiList from '../../../views/processmaterials/ProcessMaterialWarehousingApplyiList' import JDictSelectTag from '@/components/dict/JDictSelectTag.vue' import JSuperQuery from '@/components/jeecg/JSuperQuery.vue' import '@/assets/less/TableExpand.less' @@ -182,6 +186,7 @@ export default { components: { ProcessUdgetPlanMaterialList, ProcessMaterialWarehousingListList, + ProcessMaterialWarehousingApplyiList, JSuperQuery, JDictSelectTag }, diff --git a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue index b730635..35d80cc 100644 --- a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue +++ b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue @@ -588,10 +588,7 @@ console.log('表单回显数据21', this.warehousingQuantity) if(this.planQuantity-this.warehousingQuantity-formData.processMaterialWarehousingListList[i].materialQuantity<0){ this.$message.error('入库数量不能大于采购数量') - this.quantityChange=false; return; - }else { - this.quantityChange=true; } if (formData.processMaterialWarehousingListList[i].materialPrice*formData.processMaterialWarehousingListList[i].materialQuantity!=formData.processMaterialWarehousingListList[i].materialAmount){ this.$message.error('请检查入库数量'); @@ -695,10 +692,7 @@ console.log('表单回显数据21', this.warehousingQuantity) if(this.planQuantity-this.warehousingQuantity-formData.processMaterialWarehousingListList[i].materialQuantity<0){ this.$message.error('入库数量不能大于采购数量') - this.quantityChange=false; return; - }else { - this.quantityChange=true; } if (formData.processMaterialWarehousingListList[i].materialPrice*formData.processMaterialWarehousingListList[i].materialQuantity!=formData.processMaterialWarehousingListList[i].materialAmount){ this.$message.error('请检查入库数量'); diff --git a/src/views/processmaterials/ProcessMaterialWarehousingApplyiList.vue b/src/views/processmaterials/ProcessMaterialWarehousingApplyiList.vue new file mode 100644 index 0000000..8f7e7d2 --- /dev/null +++ b/src/views/processmaterials/ProcessMaterialWarehousingApplyiList.vue @@ -0,0 +1,322 @@ + + + +