✨ feat(发货单详情): 已完成发货单详情

This commit is contained in:
xuan
2022-09-22 15:53:30 +08:00
parent d2a1441810
commit b51c53a73a
69 changed files with 651 additions and 369 deletions
@@ -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 && (