Commit 90071447 authored by 前端-许佳敏's avatar 前端-许佳敏

查看物流单

parent e7d5b4f3
......@@ -85,7 +85,7 @@ export const useSelfTable = () => {
<Button type='link' onClick={() => handleConfirm(record)}>新增物流单</Button>
}
{ record.purchaseOrderInteriorState === SaleOrderInsideWorkState.DELIVERY_APPROVED_SUCCESS &&
<Button type='link' onClick={() => handleConfirm(record.id)}>查看物流单</Button>
<Button type='link' onClick={() => handlePreview(record)}>查看物流单</Button>
}
</>
}
......@@ -103,6 +103,11 @@ export const useSelfTable = () => {
history.push(`/memberCenter/logisticsAbility/logisticsSubmit/toOrderSubmitDetail?${qs.stringify(params)}`)
}
const handlePreview = async (record) => {
const logisticsId = record.logisticsId
history.push(`/memberCenter/logisticsAbility/logisticsSubmit/toOrderSubmitDetail?id=${logisticsId}`)
}
return {
columns: customOrderColumns
}
......
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