4.11 订单查看页面删除按钮显示逻辑修改
This commit is contained in:
@ -135,7 +135,7 @@ const finance: React.FC<{}> = () => {
|
|||||||
title: '操作', dataIndex: 'option', width: 150,
|
title: '操作', dataIndex: 'option', width: 150,
|
||||||
valueType: 'option',
|
valueType: 'option',
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
if (record.timeOut == 0 && record.state == 0) {
|
if (orderData.state == "0") {
|
||||||
return (
|
return (
|
||||||
<Button type='text' onClick={async () => {
|
<Button type='text' onClick={async () => {
|
||||||
delConfirm(record.orderId, record.id);
|
delConfirm(record.orderId, record.id);
|
||||||
|
Reference in New Issue
Block a user