✨ feat(发货单详情): 已完成发货单详情
This commit is contained in:
@@ -20,9 +20,10 @@ type PropsType = {
|
||||
const ItemList:FC<PropsType> = (props) => {
|
||||
const { itemData, onSuccess } = props
|
||||
// 查看详情
|
||||
const handleDetail = (id: number) => {
|
||||
const handleDetail = (itemData: Record<string, any>) => {
|
||||
goLink('/pages/deliveryDetail/index', {
|
||||
id
|
||||
id: itemData.id,
|
||||
order_no: itemData.order_no,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -95,7 +96,7 @@ const ItemList:FC<PropsType> = (props) => {
|
||||
type='info'
|
||||
customStyles={{ color: '#8e8e8e', borderColor: '#8e8e8e' }}
|
||||
round
|
||||
onClick={() => handleDetail(itemData?.id)}>
|
||||
onClick={() => handleDetail(itemData)}>
|
||||
查看详情
|
||||
</NormalButton>
|
||||
{itemData?.status === 0 && (
|
||||
|
||||
Reference in New Issue
Block a user