|
@@ -297,6 +297,7 @@
|
|
|
</el-dialog>
|
|
|
|
|
|
<!-- 去缴费 -->
|
|
|
+ <div v-if="accNo">
|
|
|
<paying
|
|
|
:payingMoney="payingMoney"
|
|
|
:accNo="accNo"
|
|
@@ -307,6 +308,7 @@
|
|
|
@cancelHandler="cancelHandler"
|
|
|
@close="cancelHandler"
|
|
|
></paying>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -689,10 +691,11 @@ export default {
|
|
|
background: "rgba(0, 0, 0, 0.7)"
|
|
|
});
|
|
|
// self.paiAccno = '3115730025230000214';
|
|
|
+ console.log(row)
|
|
|
if (row.accNo) {
|
|
|
balance(row.accNo)
|
|
|
.then(response => {
|
|
|
- if (eval(row.zciAmount) > eval(response.data.list.row.KYAMT)) {
|
|
|
+ if (eval(row.zciAmount) > eval(response.data.kyamt)) {
|
|
|
self.$message({
|
|
|
message:
|
|
|
"余额为" +
|
|
@@ -714,9 +717,13 @@ export default {
|
|
|
.then(response => {
|
|
|
loading.close();
|
|
|
self.msgSuccess("缴费成功");
|
|
|
+ this.accNo = false;
|
|
|
+ this.getList();
|
|
|
return changeZfiStatus(zciId);
|
|
|
})
|
|
|
.catch(() => {
|
|
|
+ this.accNo = false;
|
|
|
+ this.getList();
|
|
|
loading.close();
|
|
|
});
|
|
|
} else {
|
|
@@ -727,14 +734,19 @@ export default {
|
|
|
businessId: row.zciId,
|
|
|
type: "00"
|
|
|
};
|
|
|
+ console.log("缴费")
|
|
|
transfer(map)
|
|
|
.then(response => {
|
|
|
loading.close();
|
|
|
+ this.accNo = false;
|
|
|
self.msgSuccess("缴费成功");
|
|
|
+ this.getList();
|
|
|
return changeZfiStatus(zciId);
|
|
|
})
|
|
|
.catch(() => {
|
|
|
+ this.accNo = false;
|
|
|
loading.close();
|
|
|
+ this.getList();
|
|
|
});
|
|
|
}
|
|
|
}
|
|
@@ -793,6 +805,7 @@ export default {
|
|
|
for (var key in self.formApply) {
|
|
|
fd.append(key, self.formApply[key]);
|
|
|
}
|
|
|
+ console.log(valid)
|
|
|
if (valid) {
|
|
|
if (this.formApply.scyId != null) {
|
|
|
const loading = this.$loading({
|