调拨订单添加追加和导出

This commit is contained in:
lewis 2025-04-08 14:14:01 +08:00
parent 030e3e5d2e
commit ac6841985e
3 changed files with 9 additions and 8 deletions

View File

@ -32,5 +32,5 @@ export function apiInventoryTransferOrderAudit(params: any) {
// 商品调拨订单导出
export function apiInventoryTransferOrderExport(params: any) {
return request.get({ url: '/inventory_transfer_order/inventorytransferorder/export', params })
return request.post({ url: '/inventory_transfer_order/inventorytransferorder/export', params })
}

View File

@ -40,6 +40,12 @@
min-width="200"
show-overflow-tooltip
/>
<el-table-column
label="售卖库存"
prop="stock"
min-width="100"
show-overflow-tooltip
/>
<el-table-column
label="分类"
prop="cate_name"
@ -65,12 +71,6 @@
min-width="100"
show-overflow-tooltip
/>
<el-table-column
label="售卖库存"
prop="stock"
min-width="100"
show-overflow-tooltip
/>
<el-table-column
label="兑换库存"
prop="swap"

View File

@ -106,7 +106,7 @@
const handleSubmit = () => {
const product_arr = productList.value.map((item : any) => {
return {
id: item.id,
id: item.product_id,
nums: item.num || 0,
}
})
@ -116,6 +116,7 @@
}
apiInventoryTransferAdd(data).then((res) => {
dialogShop.value = false
productList.value = []
getDetail({id: formData.value.id})
})
}