This commit is contained in:
messi
2024-08-27 17:11:32 +08:00
3 changed files with 16 additions and 21 deletions

View File

@@ -23,6 +23,7 @@ export interface Profit {
orderRealName?: string;//用户实名
createTime?: string;
updateTime?: string;
relationOrderNo?:string;//关联订单号
}
/**

View File

@@ -120,24 +120,19 @@ import {addOrderPay} from "@/api/order";
form.expirationTime = d2 + ' 23:59:59';
form.orderNo=props.data?.orderNo;
form.rentOrderId=props.data?.rentOrderId;
validate()
.then(() => {
loading.value = true;
// 转字符串
addOrderPay(form)
.then((msg) => {
loading.value = false;
message.success(msg);
updateVisible(false);
emit('done');
})
.catch((e) => {
loading.value = false;
message.error(e.message);
});
loading.value = true;
// 转字符串
addOrderPay(form)
.then((msg) => {
loading.value = false;
message.success(msg);
updateVisible(false);
emit('done');
})
.catch(() => {});
.catch((e) => {
loading.value = false;
message.error(e.message);
});
};
watch(

View File

@@ -150,7 +150,6 @@
title: '用户实名',
dataIndex: 'orderRealName',
key: 'orderRealName',
hideInTable:true //FIXME 先隐藏起来用户是想将orderUserName改成实名但是实名可能为空
},
{
title: '门店',
@@ -163,9 +162,9 @@
key: 'sceneDis'
},
{
title: '订单号',
dataIndex: 'orderNo',
key: 'orderNo'
title: '关联订单号',
dataIndex: 'relationOrderNo',
key: 'relationOrderNo'
},
{
title: '金额',