Commit fda327e4 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 下单添加stockId

parent 19ae3462
......@@ -84,8 +84,9 @@ export const procurementProcessField = (value) => {
name: item.productName,
logo: item.imgUrl,
quantity: item.purchaseCount,
logisticTemplateId: item.logistics.templateId,
logisticsTemplateId: item.logistics.templateId,
weight: item.logistics.weight,
stockId: item.upperCommoditySkuId,
}
})
return value
......
......@@ -25,7 +25,7 @@ const FirstApprovedOrderDetail: React.FC = () => {
approvedRef.current.actions.submit().then(async (v) => {
const params = {
orderId: Number(id),
...v,
...v.values,
}
const result = await run(params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment