|
|
@@ -60,20 +60,24 @@
|
|
|
"网银支付",
|
|
|
"协议支付",
|
|
|
"对公转账",
|
|
|
- ][info.payType]
|
|
|
+ ][payType]
|
|
|
}}
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="dialog-footer" v-if="type !== 1">
|
|
|
<template v-if="type == 2">
|
|
|
- <el-button @click="batchAudit(1)" type="primary">
|
|
|
+ <el-button v-throttle @click="batchAudit(1)" type="primary">
|
|
|
审核通过
|
|
|
</el-button>
|
|
|
- <el-button v-if="isTj" @click="batchAudit(-1)" type="warning"
|
|
|
+ <el-button
|
|
|
+ v-throttle
|
|
|
+ v-if="isTj"
|
|
|
+ @click="batchAudit(-1)"
|
|
|
+ type="warning"
|
|
|
>审核不通过</el-button
|
|
|
>
|
|
|
</template>
|
|
|
- <el-button v-else @click="handelPay" type="primary">
|
|
|
+ <el-button v-throttle v-else @click="handelPay" type="primary">
|
|
|
确定支付
|
|
|
</el-button>
|
|
|
</div>
|
|
|
@@ -114,12 +118,8 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- disabledBtn: false,
|
|
|
orderDialogVisible: false,
|
|
|
auditDialogVisible: false,
|
|
|
- form: {
|
|
|
- payMoney: 0,
|
|
|
- },
|
|
|
formPay: {
|
|
|
toBankAcount: "",
|
|
|
toBankName: "",
|
|
|
@@ -127,6 +127,7 @@ export default {
|
|
|
},
|
|
|
bankList: [],
|
|
|
orderInfo: {},
|
|
|
+ payType: 4,
|
|
|
};
|
|
|
},
|
|
|
|
|
|
@@ -151,11 +152,41 @@ export default {
|
|
|
checkFrom: 4,
|
|
|
isCommission: true,
|
|
|
};
|
|
|
- console.log(this.orderInfo);
|
|
|
this.auditDialogVisible = true;
|
|
|
},
|
|
|
-
|
|
|
- handelPay() {},
|
|
|
+ handelPay() {
|
|
|
+ this.$confirm("确定支付吗?", "提示", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning",
|
|
|
+ })
|
|
|
+ .then(() => {
|
|
|
+ let c = {
|
|
|
+ divideModel: this.info.checkFrom - 1,
|
|
|
+ type: 4,
|
|
|
+ orderSn: this.info.orderSn,
|
|
|
+ tenantId: this.info.tenantId,
|
|
|
+ payType: this.payType,
|
|
|
+ };
|
|
|
+ if (this.formPay.toBankAcount) {
|
|
|
+ c = { ...c, ...this.formPay };
|
|
|
+ }
|
|
|
+ this.$api.orderbankpay(c).then((res) => {
|
|
|
+ this.isShow = false;
|
|
|
+ this.$emit("search", 3);
|
|
|
+ this.$message({
|
|
|
+ type: "success",
|
|
|
+ message: "支付成功!",
|
|
|
+ });
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .catch(() => {
|
|
|
+ this.$message({
|
|
|
+ type: "info",
|
|
|
+ message: "已取消成功",
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
},
|
|
|
computed: {
|
|
|
isShow: {
|