Browse Source

提交

undefined
gwbvipvip 1 year ago
parent
commit
0a81023cfe
3 changed files with 48 additions and 30 deletions
  1. +18
    -0
      src/pages/order/order-flow-manage/index.jsx
  2. +15
    -15
      src/pages/order/refundOrder/index.jsx
  3. +15
    -15
      src/pages/order/refundOrder/orderflowDetail.jsx

+ 18
- 0
src/pages/order/order-flow-manage/index.jsx View File

@@ -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,


+ 15
- 15
src/pages/order/refundOrder/index.jsx View File

@@ -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 = () => {
>
查看详情
</a>,
<a
key="config"
onClick={() => {
api.printsmallticket({ "orderId": record.id })
.then(re => {
if (re.data) {
message.success('打印成功');
} else {
message.error('打印失败');
}
// <a
// key="config"
// onClick={() => {
// api.printsmallticket({ "orderId": record.id })
// .then(re => {
// if (re.data) {
// message.success('打印成功');
// } else {
// message.error('打印失败');
// }

})
// })

}} >
打印小票
</a>,
// }} >
// 打印小票
// </a>,
],
},
];


+ 15
- 15
src/pages/order/refundOrder/orderflowDetail.jsx View File

@@ -155,23 +155,23 @@ const OrderflowDetail = (props) => {
dataIndex: 'option',
valueType: 'option',
render: (_, record) => [
<a
key="config"
onClick={() => {
api.printsmallticket({ "orderId": props.values.id,"subOrderId":record.id})
.then(re => {
debugger
if (re.data) {
message.success('打印成功');
} else {
message.error('打印失败');
}
// <a
// key="config"
// onClick={() => {
// api.printsmallticket({ "orderId": props.values.id,"subOrderId":record.id})
// .then(re => {
// debugger
// if (re.data) {
// message.success('打印成功');
// } else {
// message.error('打印失败');
// }

})
// })

}} >
打印小票
</a>,
// }} >
// 打印小票
// </a>,
],
},



Loading…
Cancel
Save