소스 검색

2023年6月3日10:41:23

纪新园 2 년 전
부모
커밋
ba132fbe10
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/views/businessManagement/salesOrder/detailsPageEdit.vue

+ 3 - 3
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -630,7 +630,7 @@ export default {
   },
   data() {
     return {
-      storageName: [],
+      storageNameList: [],
       surplusRouteQuantityOption: [],
       saveLoading: false,
       disabled: false,
@@ -1544,6 +1544,7 @@ export default {
       });
       console.log(index)
       this.goodsShowData[this.choiceIndexT].storageQuantity =row.storageQuantityList[index].surplusRouteQuantity;
+      this.goodsShowData[this.choiceIndexT].storageName =row.storageQuantityList[index].storageName;
       this.goodsShowData[this.choiceIndexT].purchaseAmount =row.storageQuantityList[index].stockPrice;
       console.log(row.storageQuantityList[index].surplusRouteQuantity)
       console.log(this.goodsShowData[this.choiceIndexT].storageQuantity)
@@ -1658,7 +1659,7 @@ export default {
         this.oldGiftList = []
         this.oldFeesList = []
         this.oldUploadList = []
-        this.storageName = []
+        this.storageNameList = []
         this.oldGoodsList = this.deepClone(this.contactsData)
         this.oldGiftList = this.deepClone(this.giftData)
         this.oldFeesList = this.deepClone(this.advantageProjectData)
@@ -2430,7 +2431,6 @@ export default {
           warehouseId: selectedValue
         }).then(res => {
           console.log('1', res.data.data);
-          // this.storageName = res.data.data
           this.tableData[item].priceCategory = this.tableData[item].goodsTypeName;
           this.tableData[item].storageQuantityList = res.data.data;
           delete this.tableData[item].goodsTypeName;