diff --git a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue index 5d27a64..08b0b0b 100644 --- a/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue +++ b/src/views/modules/orderIssure/soIssueNotify/searchIssureNotify.vue @@ -183,6 +183,7 @@ 批量编辑 新增 批量保存 + 取消编辑 + + + - + - + - + + + + + + + + + - + { if (data.code === 0) { @@ -3989,6 +4025,12 @@ }); }, + // 选择仓库 + chooseWareHouse (row) { + this.tempWareHouseRow = row + this.getBaseList(20) + }, + // 获取基础数据列表S getBaseList (val, type) { this.tagNo = val @@ -3999,6 +4041,10 @@ strVal = this.newMaterialData.componentPartNo this.$refs.baseList.init(val, strVal) } + if (val === 20) { + strVal = this.tempWareHouseRow.warehouseId + this.$refs.baseList.init(val, strVal) + } }) }, @@ -4009,6 +4055,19 @@ this.newMaterialData.partDesc = val.PartDescription this.newMaterialData.warehouseId = val.outbound_warehouse_id } + if (this.tagNo === 20) { + this.tempWareHouseRow.warehouseId = val.WareHouseID + this.tempWareHouseRow.warehouseName = val.WareHouseName + } + }, + + // 加载出库类别列表 + loadCategoryList () { + getOutboundCategoryList({}).then(({data}) => { + if (data && data.code === 0) { + this.categoryList = data.rows || [] + } + }) }, // 输入校验