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

联调物流审核等功能

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