fix: 修复挂账按订单支付还款传参问题,增加修改密功能
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
:show-close="false"
|
||||
v-model="dialogVisible"
|
||||
:close-on-click-modal="false"
|
||||
@close="reset"
|
||||
width="30%"
|
||||
center
|
||||
>
|
||||
@@ -122,8 +123,7 @@ export default {
|
||||
res = await creditOrderApi.pay(this.form);
|
||||
}
|
||||
ElMessage({
|
||||
title: "成功",
|
||||
message: res.repaymentMsg,
|
||||
message: "还款成功",
|
||||
type: "success",
|
||||
});
|
||||
this.dialogVisible = false;
|
||||
@@ -145,7 +145,8 @@ export default {
|
||||
this.form = { ...this.resetForm };
|
||||
if (row.creditBuyerId) {
|
||||
this.form.creditBuyerId = row.creditBuyerId;
|
||||
this.form.orderId = order.id;
|
||||
this.form.orderId = order.orderId;
|
||||
this.form.id = order.id;
|
||||
} else {
|
||||
this.form.id = row.id;
|
||||
}
|
||||
@@ -168,6 +169,8 @@ export default {
|
||||
|
||||
reset() {
|
||||
this.query = { ...this.resetQuery };
|
||||
this.form.id = "";
|
||||
this.form.orderId = "";
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user