Commit 03bebe1e by nanrui

botacc,botpay测试bug 交易快照数据显示的处理

parent cd86ca4f
...@@ -356,12 +356,12 @@ export default { ...@@ -356,12 +356,12 @@ export default {
selIds = []; selIds = [];
this.model.setmod.docamt = "0.000"; this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
this.model.bodgrp.rec.focflg = ''; // this.model.bodgrp.rec.focflg = '';
// this.model.liaall.tenstm.rows = [] // this.model.liaall.tenstm.rows = []
} else { } else {
selIds = [selection[0] + 1]; selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt; this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.model.bodgrp.rec.focflg = 'X'; // this.model.bodgrp.rec.focflg = 'X';
} }
// //
......
...@@ -136,6 +136,9 @@ export default { ...@@ -136,6 +136,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection(); this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt; this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
......
...@@ -297,7 +297,6 @@ export default { ...@@ -297,7 +297,6 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
isDisabled: false,
stmData: { stmData: {
columns: [ columns: [
'1 1 "Type" 80', '1 1 "Type" 80',
...@@ -351,12 +350,10 @@ export default { ...@@ -351,12 +350,10 @@ export default {
...Event, ...Event,
async change() { async change() {
if (this.model.bodgrp.rec.focflg === "X") { if (this.model.bodgrp.rec.focflg === "X") {
this.isDisabled = true;
this.model.setmod.redamt = this.model.setmod.docamt; this.model.setmod.redamt = this.model.setmod.docamt;
let rtnmsg = await this.executeDefault("liaall.tenstm"); let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta; this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
} else { } else {
this.isDisabled = false;
this.model.setmod.redamt = "0.00"; this.model.setmod.redamt = "0.00";
let rtnmsg = await this.executeDefault("liaall.tenstm"); let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta; this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
...@@ -375,12 +372,12 @@ export default { ...@@ -375,12 +372,12 @@ export default {
selIds = []; selIds = [];
this.model.setmod.docamt = "0.000"; this.model.setmod.docamt = "0.000";
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
this.model.bodgrp.rec.focflg = ''; // this.model.bodgrp.rec.focflg = '';
// this.model.liaall.tenstm.rows = [] // this.model.liaall.tenstm.rows = []
} else { } else {
selIds = [selection[0] + 1]; selIds = [selection[0] + 1];
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt; this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
this.model.bodgrp.rec.focflg = 'X'; // this.model.bodgrp.rec.focflg = 'X';
} }
// //
console.log(this.model.liaall.tensetstm); console.log(this.model.liaall.tensetstm);
......
...@@ -140,6 +140,9 @@ export default { ...@@ -140,6 +140,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection(); this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt; this.model.setmod.docamt = this.model.bodgrp.cbs.max.amt;
......
<template>
<ReviewWrapper>
<Botacc></Botacc>
</ReviewWrapper>
</template>
<script>
import Botacc from "~/views/Business/Botacc";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewDetdrv",
components: { ReviewWrapper, Botacc },
created() {},
mounted() {},
};
</script>
<style></style>
<template>
<ReviewWrapper>
<Botpay></Botpay>
</ReviewWrapper>
</template>
<script>
import Botpay from "~/views/Business/Botpay";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewDetdrv",
components: { ReviewWrapper, Botpay },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -42,6 +42,8 @@ import ReviewBetset from "./Business/ReviewBetset.vue"; ...@@ -42,6 +42,8 @@ import ReviewBetset from "./Business/ReviewBetset.vue";
import ReviewDetame from "./Business/ReviewDetame.vue"; import ReviewDetame from "./Business/ReviewDetame.vue";
import ReviewBetdcr from "./Business/ReviewBetdcr.vue"; import ReviewBetdcr from "./Business/ReviewBetdcr.vue";
import ReviewLitdav from "./Business/ReviewLitdav.vue"; import ReviewLitdav from "./Business/ReviewLitdav.vue";
import ReviewBotacc from "./Business/ReviewBotacc.vue";
import ReviewBotpay from "./Business/ReviewBotpay.vue";
const ReviewRouter = [ const ReviewRouter = [
...@@ -106,6 +108,8 @@ const ReviewRouter = [ ...@@ -106,6 +108,8 @@ const ReviewRouter = [
{ path: "detame", component: ReviewDetame, name: "ReviewDetame", meta: { title: "复核-Detame" } }, { path: "detame", component: ReviewDetame, name: "ReviewDetame", meta: { title: "复核-Detame" } },
{ path: "betdcr", component: ReviewBetdcr, name: "ReviewBetdcr", meta: { title: "复核-Betdcr" } }, { path: "betdcr", component: ReviewBetdcr, name: "ReviewBetdcr", meta: { title: "复核-Betdcr" } },
{ path: "litdav", component: ReviewLitdav, name: "ReviewLitdav", meta: { title: "复核-Litdav" } }, { path: "litdav", component: ReviewLitdav, name: "ReviewLitdav", meta: { title: "复核-Litdav" } },
{ path: "botacc", component: ReviewBotacc, name: "ReviewBotacc", meta: { title: "复核-Botacc" } },
{ path: "botpay", component: ReviewBotpay, name: "ReviewBotpay", meta: { title: "复核-Botpay" } },
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment