diff --git a/src/pages/order/order-flow-manage/index.jsx b/src/pages/order/order-flow-manage/index.jsx index 59d1492..536018f 100644 --- a/src/pages/order/order-flow-manage/index.jsx +++ b/src/pages/order/order-flow-manage/index.jsx @@ -145,6 +145,24 @@ const Manage = () => { dataIndex: 'order_Count', hideInSearch: true, }, + { + title: '支付类型', + dataIndex: 'payMode', + valueEnum: { + 0: { + text: '微信支付', + }, + 1: { + text: '支付宝', + }, + 2: { + text: '余额', + }, + 3: { + text: '银联', + }, + }, + }, { title: '创建时间', sorter: true, diff --git a/src/pages/order/refundOrder/index.jsx b/src/pages/order/refundOrder/index.jsx index 6e37b24..5183dfe 100644 --- a/src/pages/order/refundOrder/index.jsx +++ b/src/pages/order/refundOrder/index.jsx @@ -72,7 +72,7 @@ const Manage = () => { { title: '订单时间', dataIndex: 'order_CreateTime', - valueType: 'dateRange', + valueType: 'dateTimeRange', hideInTable: true, search: { transform: (value) => { @@ -180,22 +180,22 @@ const Manage = () => { > 查看详情 , - { - api.printsmallticket({ "orderId": record.id }) - .then(re => { - if (re.data) { - message.success('打印成功'); - } else { - message.error('打印失败'); - } + // { + // api.printsmallticket({ "orderId": record.id }) + // .then(re => { + // if (re.data) { + // message.success('打印成功'); + // } else { + // message.error('打印失败'); + // } - }) + // }) - }} > - 打印小票 - , + // }} > + // 打印小票 + // , ], }, ]; diff --git a/src/pages/order/refundOrder/orderflowDetail.jsx b/src/pages/order/refundOrder/orderflowDetail.jsx index 470d6f5..11ca562 100644 --- a/src/pages/order/refundOrder/orderflowDetail.jsx +++ b/src/pages/order/refundOrder/orderflowDetail.jsx @@ -155,23 +155,23 @@ const OrderflowDetail = (props) => { dataIndex: 'option', valueType: 'option', render: (_, record) => [ - { - api.printsmallticket({ "orderId": props.values.id,"subOrderId":record.id}) - .then(re => { - debugger - if (re.data) { - message.success('打印成功'); - } else { - message.error('打印失败'); - } + // { + // api.printsmallticket({ "orderId": props.values.id,"subOrderId":record.id}) + // .then(re => { + // debugger + // if (re.data) { + // message.success('打印成功'); + // } else { + // message.error('打印失败'); + // } - }) + // }) - }} > - 打印小票 - , + // }} > + // 打印小票 + // , ], },