Browse Source

no message

mxx 3 years ago
parent
commit
f6e8793fbc
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/views/tradeServicesManagement/warehouseReceiptAdd.vue

+ 5 - 0
src/views/tradeServicesManagement/warehouseReceiptAdd.vue

@@ -235,6 +235,7 @@
           if (_data[i].id == val) {
             this.deptBudgetList.warehouseNoId = _data[i].id
             this.deptBudgetList.warehouseNo = _data[i].binNumber
+            this.deptBudgetList.baseId = _data.baseId
           }
         }
       },
@@ -272,6 +273,10 @@
             this.deptBudgetList.warehouseId = _data[i].id
             this.deptBudgetList.goodsNameKey = _data[i].goodsNameInfos.length != 0 ? _data[i].goodsNameInfos[0]
               .goodsNameKey : ''
+              this.deptBudgetList.warehouseNoId = _data[i].positionInfos.length != 0 ? _data[i].positionInfos[0]
+                .id : ''
+                this.deptBudgetList.baseId = _data[i].positionInfos.length != 0 ? _data[i].positionInfos[0]
+                  .baseId : ''
           }
         }
       },