Ver a proveniência

提交

undefined
gwbvipvip há 1 ano
ascendente
cometimento
0a81023cfe
3 ficheiros alterados com 48 adições e 30 eliminações
  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 Ver ficheiro

@@ -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 Ver ficheiro

@@ -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 Ver ficheiro

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



Carregando…
Cancelar
Guardar