|
|
|
@ -1541,13 +1541,14 @@ export default {
|
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
//备货id |
|
|
|
|
handleStockUp(row, type) { |
|
|
|
|
getListUser().then(res => { |
|
|
|
|
//查询当前人信息 |
|
|
|
|
console.log('res>>>', res.data.data); |
|
|
|
|
this.deptId = res.data.data.deptId; |
|
|
|
|
this.getStorageArea(); |
|
|
|
|
}); |
|
|
|
|
async handleStockUp(row, type) { |
|
|
|
|
// const a = await getListUser().then( res => { |
|
|
|
|
// //查询当前人信息 |
|
|
|
|
// console.log('res>>>', res.data.data); |
|
|
|
|
// this.deptId = res.data.data.deptId; |
|
|
|
|
// |
|
|
|
|
// }); |
|
|
|
|
await this.getStorageArea(); |
|
|
|
|
console.log('备货数据!!', row); |
|
|
|
|
switch (type) { |
|
|
|
|
case '1': |
|
|
|
@ -1576,7 +1577,7 @@ export default {
|
|
|
|
|
department: this.deptId, |
|
|
|
|
}; |
|
|
|
|
stockUp(params).then(res => { |
|
|
|
|
// console.log("res>>>",res.data.data); |
|
|
|
|
console.log("备货区res>>>",res.data.data); |
|
|
|
|
let fo = []; |
|
|
|
|
res.data.data.forEach(i => { |
|
|
|
|
let v = { |
|
|
|
|