Commit fce12ac5 authored by FE-安焕焕's avatar FE-安焕焕 👣

联调物流审核等功能

parent 8559676c
...@@ -66,11 +66,13 @@ export default () => { ...@@ -66,11 +66,13 @@ export default () => {
detailList: [], detailList: [],
key: Date.now(), key: Date.now(),
}; };
const data = await trackInfo({ expressCompanyCode, deliveryNo }); const data = await trackInfo({ expressCompanyCode, logisticsNo: deliveryNo });
if (!data) { if (!data) {
notification.info({ message: '暂无物流信息' }); notification.info({ message: '暂无物流信息' });
return; return;
} }
tempObj.expressCompanyName = data.logisticsName;
tempObj.deliveryNo = data.logisticsBillNo;
if (data.logisticsList?.length) { if (data.logisticsList?.length) {
data.logisticsList.forEach(v => { data.logisticsList.forEach(v => {
tempObj.detailList = [...tempObj.detailList, ...v.detailList]; tempObj.detailList = [...tempObj.detailList, ...v.detailList];
...@@ -134,13 +136,7 @@ export default () => { ...@@ -134,13 +136,7 @@ export default () => {
> >
驳回 驳回
</Button>, </Button>,
<Button <Button key="link3" onClick={() => viewDetail(r)} type="primary" className="mr10">
key="link3"
onClick={() => viewDetail(r)}
type="primary"
className="mr10"
disabled={!r.showDetail}
>
订单详情 订单详情
</Button>, </Button>,
<Button <Button
......
...@@ -83,13 +83,7 @@ export default () => { ...@@ -83,13 +83,7 @@ export default () => {
width: 250, width: 250,
fixed: 'right', fixed: 'right',
render: (_, r) => [ render: (_, r) => [
<Button <Button key="link1" onClick={() => openAudit(r)} className="mr10" type="primary">
key="link1"
onClick={() => openAudit(r)}
className="mr10"
type="primary"
disabled={!r.showAudit}
>
审核 审核
</Button>, </Button>,
<Button key="link" onClick={() => viewDetail(r)} type="primary"> <Button key="link" onClick={() => viewDetail(r)} type="primary">
......
...@@ -22,8 +22,8 @@ export default props => { ...@@ -22,8 +22,8 @@ export default props => {
}, },
]; ];
return ( return (
<Modal title="售后操作确认" visible={visible} onCancel={handleCancel} footer={null} width={800}> <Modal title="订单详情" visible={visible} onCancel={handleCancel} footer={null} width={800}>
<Table dataSource={dataSource} columns={columns} key="skuName" pagination={false} /> <Table dataSource={dataSource} columns={columns} key="skuName" pagination={false} bordered />
</Modal> </Modal>
); );
}; };
...@@ -65,7 +65,7 @@ export const columnSticData = [ ...@@ -65,7 +65,7 @@ export const columnSticData = [
}, },
{ {
title: '超时时间', title: '超时时间',
dataIndex: 'overTime', dataIndex: 'overtime',
hideInSearch: true, hideInSearch: true,
width: 200, width: 200,
}, },
......
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