Преглед на файлове

调拨订单选择批次号

黄梓星 преди 1 година
родител
ревизия
e317abbd09
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/views/purchase/transferOrder/add.vue

+ 3 - 3
src/views/purchase/transferOrder/add.vue

@@ -1168,10 +1168,10 @@ export default {
     // 明细行选择批次号
     chooseBatch(index) {
       this.tableIndex = index
-      this.referConditionMx.orgCode = this.basicForm.deliveryInventoryOrgCode
+      this.referConditionMx.orgId = this.basicForm.deliveryInventoryOrg
       this.referConditionMx.materialCode = this.materialInfo[this.tableIndex].materialCode
-      this.referConditionMx.unitCode = this.materialInfo[this.tableIndex].unitCode
-      this.referConditionMx.warehouseCode = this.basicForm.deliveryWarehouseCode
+      this.referConditionMx.unitId = this.materialInfo[this.tableIndex].unit
+      this.referConditionMx.warehouseId = this.basicForm.deliveryWarehouse
       this.$refs.batchRefer.init(this.referConditionMx)
     },
     selectBatch(selection) {