huang_an 1 年之前
父节点
当前提交
de43ec0b83

+ 1 - 0
src/views/bpm/handleTask/components/saleOrder/invoice/detailDialog.vue

@@ -221,6 +221,7 @@
         :form="form"
         :sourceBizNo="form.docNo"
         :bizType="3"
+        type="销售发货出库"
       ></add>
     </keep-alive>
   </div>

+ 6 - 3
src/views/bpm/handleTask/components/saleOrder/invoice/submit.vue

@@ -56,7 +56,6 @@
         "
         >驳回
       </el-button>
-
       <!-- <el-button
         icon="el-icon-circle-close"
         type="danger"
@@ -124,7 +123,7 @@
           technicianId: '',
           reason: ''
         },
-        outInData: { verifyStatus: '' },
+        outInData: { verifyStatus: 0 },
         activeComp: ''
       };
     },
@@ -133,7 +132,11 @@
         let data = await getSendSaleOrderrecordDetail(this.businessId);
         try {
           console.log(1111, '1111111111');
-          this.outInData = await storageApi.getInfoBySourceBizNo(data.docNo);
+          data = await storageApi.getInfoBySourceBizNo(data.docNo);
+          console.log('data--------------', data);
+          if (JSON.stringify(data) != '{}') {
+            this.outInData = data;
+          }
           console.log(this.outInData, '============');
         } catch (error) {
           console.log(22222222, '22222222222');

+ 11 - 0
src/views/bpm/outgoingManagement/outbound.vue

@@ -858,6 +858,17 @@
             this.formData.extInfo.verifyDeptName = this.form.executorDeptName;
           });
         }
+        // if (this.type == '销售发货出库') {
+        //   await storageApi.getHierarchyFifo({
+        //     type: this.dimension,
+        //     builders: this.selectionList.map((item) => {
+        //       return {
+        //         categoryId: item.categoryId,
+        //         num: item.outboundNum
+        //       };
+        //     })
+        //   });
+        // }
         console.log('this.formData', this.formData);
       },
       // 初始化部门数据