huang_an há 2 anos atrás
pai
commit
42c5eec437

+ 1 - 0
src/views/bpm/handleTask/index.vue

@@ -386,6 +386,7 @@
           }
           // 设置流程信息
           console.log('==', response);
+          console.log('==', this.listData);
           this.processInstance = response;
           // //将业务表单,注册为动态组件
           // let formCustomCreatePath = JSON.parse(

+ 4 - 5
src/views/bpm/outgoingManagement/add.vue

@@ -803,7 +803,7 @@
             return {
               ...item,
               packingCountBase:
-              dimension == 4 || dimension == 3 ? 1 : item.packingCountBase,
+                dimension == 4 || dimension == 3 ? 1 : item.packingCountBase
               // weight: 0
             };
           });
@@ -849,7 +849,7 @@
           this.batchDetailsVOList = packArr.map((item) => {
             return {
               ...item,
-              packingCountBase: dimension == 3 ? 1 : item.packingCountBase,
+              packingCountBase: dimension == 3 ? 1 : item.packingCountBase
               // weight: 0
             };
           });
@@ -930,12 +930,12 @@
       },
       eomSuccess(row) {
         console.log(row);
-        this.formData.extInfo.assetType = row.categoryLevelTopId||'9';
+        this.formData.extInfo.assetType = row.categoryLevelTopId || '9';
         this.formData.bizType = '3';
         this.isTask = true;
         this.$refs.trees.valueTitle = '产品';
         this.title = '产品';
-        this.formData.sourceBizNo = row.docNo||row.returnNo;
+        this.formData.sourceBizNo = row.docNo || row.returnNo;
         this.formData.sid = row.id;
         this.formData.fromId = row.id;
         this.formData.clientName = row.contactName;
@@ -1208,7 +1208,6 @@
 
       handleSave() {
         this.$refs.formName.validate(async (valid) => {
-          
           if (valid) {
             if (!this.warehousingMaterialList?.length) {
               return this.$message.error('请添加出库明细!');