opt:优化前后端交互后端返回不统一问题
This commit is contained in:
@@ -185,7 +185,7 @@ export default {
|
||||
this.inventoryLoading = true
|
||||
queryInventory(row.skuCode).then(res => {
|
||||
// const demandQty = Number(row.qty) || 0
|
||||
this.inventoryList = (res || []).map(item => ({
|
||||
this.inventoryList = (res.data || []).map(item => ({
|
||||
...item,
|
||||
_selected: false,
|
||||
allocQty: row.qty
|
||||
|
||||
Reference in New Issue
Block a user