黄梓星 1 год назад
Родитель
Сommit
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) {