pages/warehouse.vue
@@ -104,6 +104,21 @@ newText: '新增仓位', hasPagination: false, extraParentKeys: ['warehouseId'], afterRequest: (list) => { return list.map((item) => { const orderList = item.orderDTO || [] const goodsItems = orderList.reduce((total, current) => { total = total.concat( current.items.map((i) => ({ ...i, orderNo: current.orderNo, })) ) return total }, []) return { ...item, goodsItems } }) }, searchForm: [ { type: 'row',