yusheng 1 год назад
Родитель
Сommit
430c7e1615

+ 1 - 1
src/views/bpm/handleTask/components/saleOrder/returnGoods/inventoryTable.vue

@@ -615,7 +615,7 @@
             v.returnReason = v.returnReason || '';
             v.returnType = v.returnType || '';
             v.sendTotalCount = v.sendTotalCount || v.totalCount;
-            v.sendProductId = v.sendProductId || v.id;
+            v.sendProductId = v.sendProductId || v.categoryId||v.productId;
           });
           this.oldSendTotalWeightList = data.map((item) => {
             return {

+ 5 - 1
src/views/bpm/handleTask/components/supplierManage/contactDetailDialog.vue

@@ -615,7 +615,11 @@ export default {
     },
     async _getById(id) {
       let QCInfo = await contactQcPackDetailAPI(id)
-      const data = await contactDetail(QCInfo.contactId);
+      let data = {}
+      if(QCInfo.relationId){
+        data = await contactDetail(QCInfo.relationId);
+      }
+
       this.form = data.base;
       this.otherForm = data.other;
       this.tableBankData = data.bankList;