|
|
@ -121,6 +121,7 @@ import req from '@/api/storage/oldPartsInAndOutStorage.js' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
import { typeValues } from '@/api/Common/dictcommons' |
|
|
|
import { getAllRackByKQSid, getAllWarehouse, getWarehouseareas } from '@/api/Common/dictcommons' |
|
|
|
import req2 from '@/api/goods/factory.js' |
|
|
|
|
|
|
|
export default { |
|
|
@ -204,7 +205,7 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
req.getWarehouses({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), warehouseTypeValue: '旧件库' }).then((res) => { |
|
|
|
getAllWarehouse({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), warehouseTypeValue: '旧件库' }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.warehouseList = res.data |
|
|
|
} |
|
|
@ -354,7 +355,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
getWarehouseAreaList(sid) { |
|
|
|
req.getWarehouseareas({ ckSid: sid }).then((res) => { |
|
|
|
getWarehouseareas({ ckSid: sid }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.warehouseAreaList = res.data |
|
|
|
} |
|
|
@ -372,7 +373,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
getWareHouseCodeList(sid) { |
|
|
|
req.getAllRackByKQSid({ kqSid: sid }).then((res) => { |
|
|
|
getAllRackByKQSid({ kqSid: sid }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.warehouseRackCodeList = res.data |
|
|
|
} |
|
|
|