opt:优化前后端交互后端返回不统一问题

This commit is contained in:
zhangzq
2026-07-08 17:17:52 +08:00
parent c4b1e9d1d2
commit b2d542ed24
134 changed files with 553 additions and 636 deletions

View File

@@ -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