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

修改文案

parent 001b6ec7
import React from 'react';
import DeliverOrder from '../pendingDeliveryOrder';
// 已发货type:2;待发货type: 1
const TableList = () => <DeliverOrder type={2} />;
export default TableList;
......@@ -21,6 +21,8 @@ const TableList = props => {
const [rowKeys, setRowKeys] = useState([]);
const [LogisticsData, setLogisticsData] = useState([{}]);
const [QueryData, setQueryData] = useState({});
const [ShowUpdateBtn] = useState([2, 5]);
const actionRef = useRef();
const columns = [
{
......@@ -95,7 +97,7 @@ const TableList = props => {
width: 120,
render: (_, record) => (
<React.Fragment>
{
{ShowUpdateBtn.includes(record.skuSource.value) ? null : (
<Button
type="primary"
style={{
......@@ -115,9 +117,9 @@ const TableList = props => {
handleModalVisible(true);
}}
>
更新物流信息
{props.type === 2 ? '更新物流信息' : '填写物流信息'}
</Button>
}
)}
</React.Fragment>
),
},
......
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