|
@ -228,7 +228,7 @@ export default { |
|
|
this.busType_list = res.data |
|
|
this.busType_list = res.data |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
getAllWarehouse({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
getAllWarehouse({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), warehouseTypeValue: '配件库' }).then((res) => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
this.warehouseList = res.data |
|
|
this.warehouseList = res.data |
|
|
} |
|
|
} |
|
@ -316,6 +316,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 |
|
@ -326,9 +329,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) => { |
|
@ -338,6 +338,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 |
|
@ -347,8 +349,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) => { |
|
@ -358,6 +358,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 |
|
@ -366,7 +367,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) => { |
|
|