|
@ -303,6 +303,9 @@ export default { |
|
|
this.getList() |
|
|
this.getList() |
|
|
}, |
|
|
}, |
|
|
selectWarehouseName(val) { |
|
|
selectWarehouseName(val) { |
|
|
|
|
|
this.warehouseZoneList = [] |
|
|
|
|
|
this.wareAreaList = [] |
|
|
|
|
|
this.warehouseRackList = [] |
|
|
const choose = this.warehouseList.filter((item) => item.sid === val) |
|
|
const choose = this.warehouseList.filter((item) => item.sid === val) |
|
|
if (choose !== null || choose.length > 0) { |
|
|
if (choose !== null || choose.length > 0) { |
|
|
this.listQuery.params.warehouseName = choose[0].warehouseName |
|
|
this.listQuery.params.warehouseName = choose[0].warehouseName |
|
@ -313,9 +316,6 @@ export default { |
|
|
this.listQuery.params.wareZoneName = '' |
|
|
this.listQuery.params.wareZoneName = '' |
|
|
this.listQuery.params.wareAreaName = '' |
|
|
this.listQuery.params.wareAreaName = '' |
|
|
this.listQuery.params.warehouseRackCode = '' |
|
|
this.listQuery.params.warehouseRackCode = '' |
|
|
this.warehouseZoneList = [] |
|
|
|
|
|
this.wareAreaList = [] |
|
|
|
|
|
this.warehouseRackList = [] |
|
|
|
|
|
}, |
|
|
}, |
|
|
getWarehouseZoneList(sid) { |
|
|
getWarehouseZoneList(sid) { |
|
|
getAllWarehousezoneBysid({ ckSid: sid }).then((res) => { |
|
|
getAllWarehousezoneBysid({ ckSid: sid }).then((res) => { |
|
@ -325,6 +325,8 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
selectWareZoneName(val) { |
|
|
selectWareZoneName(val) { |
|
|
|
|
|
this.wareAreaList = [] |
|
|
|
|
|
this.warehouseRackList = [] |
|
|
const choose = this.warehouseZoneList.filter((item) => item.sid === val) |
|
|
const choose = this.warehouseZoneList.filter((item) => item.sid === val) |
|
|
if (choose !== null && choose.length > 0) { |
|
|
if (choose !== null && choose.length > 0) { |
|
|
this.listQuery.params.wareZoneName = choose[0].zoneName |
|
|
this.listQuery.params.wareZoneName = choose[0].zoneName |
|
@ -334,8 +336,6 @@ export default { |
|
|
} |
|
|
} |
|
|
this.listQuery.params.wareAreaName = '' |
|
|
this.listQuery.params.wareAreaName = '' |
|
|
this.listQuery.params.warehouseRackCode = '' |
|
|
this.listQuery.params.warehouseRackCode = '' |
|
|
this.wareAreaList = [] |
|
|
|
|
|
this.warehouseRackList = [] |
|
|
|
|
|
}, |
|
|
}, |
|
|
getWareAreaList(sid) { |
|
|
getWareAreaList(sid) { |
|
|
getAllWarehouseareaByZoneSid({ qySid: sid }).then((res) => { |
|
|
getAllWarehouseareaByZoneSid({ qySid: sid }).then((res) => { |
|
@ -345,6 +345,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
selectWareAreaName(val) { |
|
|
selectWareAreaName(val) { |
|
|
|
|
|
this.warehouseRackList = [] |
|
|
const choose = this.wareAreaList.filter((item) => item.sid === val) |
|
|
const choose = this.wareAreaList.filter((item) => item.sid === val) |
|
|
if (choose !== null && choose.length > 0) { |
|
|
if (choose !== null && choose.length > 0) { |
|
|
this.listQuery.params.wareAreaName = choose[0].areaName |
|
|
this.listQuery.params.wareAreaName = choose[0].areaName |
|
@ -353,7 +354,6 @@ export default { |
|
|
this.listQuery.params.wareAreaName = '' |
|
|
this.listQuery.params.wareAreaName = '' |
|
|
} |
|
|
} |
|
|
this.listQuery.params.warehouseRackCode = '' |
|
|
this.listQuery.params.warehouseRackCode = '' |
|
|
this.warehouseRackList = [] |
|
|
|
|
|
}, |
|
|
}, |
|
|
getWarehouseRackList(sid) { |
|
|
getWarehouseRackList(sid) { |
|
|
getAllRackByKQSid({ kqSid: sid }).then((res) => { |
|
|
getAllRackByKQSid({ kqSid: sid }).then((res) => { |
|
|