Commit eef3bdae by nanrui

Litrog测试bug修改,以及botpay优化

parent 44698b53
...@@ -354,16 +354,15 @@ export default { ...@@ -354,16 +354,15 @@ export default {
async change() { async change() {
if (this.model.bodgrp.rec.focflg === "X") { if (this.model.bodgrp.rec.focflg === "X") {
this.model.setmod.redamt = this.model.setmod.docamt; this.model.setmod.redamt = this.model.setmod.docamt;
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
} else { } else {
this.model.setmod.redamt = "0.00"; this.model.setmod.redamt = "0.00";
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
} }
let rtnmsg = await this.executeDefault("liaall.tenstm");
this.model.bodgrp.rec.docsta = rtnmsg.data.bodgrp_rec_docsta;
}, },
async multipleSelect(selection) { async multipleSelect(selection) {
let rtnmsg = await this.executeDefault("executeNotify");
if (selection.length > 1) { if (selection.length > 1) {
this.$notify({ this.$notify({
title: "error", title: "error",
...@@ -374,9 +373,6 @@ export default { ...@@ -374,9 +373,6 @@ export default {
let chkIds; let chkIds;
if (selection.length === 0) { if (selection.length === 0) {
chkIds = []; chkIds = [];
this.$nextTick(async () => {
this.model.setmod.docamt = "0.000";
})
this.model.liaall.tensetstm.rows = []; this.model.liaall.tensetstm.rows = [];
} else { } else {
chkIds = [selection[0] + 1]; chkIds = [selection[0] + 1];
......
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botpay from "~/model/Botpay" import Botpay from "~/model/Botpay"
import commonFuncs from "~/mixin/commonFuncs" import commonFuncs from "~/mixin/commonFuncs"
...@@ -78,12 +77,7 @@ import Pattern from "~/model/Botpay/Pattern" ...@@ -78,12 +77,7 @@ import Pattern from "~/model/Botpay/Pattern"
import Setp from "./Setp" import Setp from "./Setp"
import Inst from "./Inst" import Inst from "./Inst"
import Ptyp from "./Ptyp" import Ptyp from "./Ptyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Glepan from "./Glepan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
import Engp from "~/views/Public/Engp" import Engp from "~/views/Public/Engp"
import Setpan from "~/views/Public/Setpan" import Setpan from "~/views/Public/Setpan"
...@@ -136,9 +130,11 @@ export default { ...@@ -136,9 +130,11 @@ export default {
}, },
created: async function () { created: async function () {
console.log("进入botpay交易"); console.log("进入botpay交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//更新数据
// Utils.copyValueFromVO(this.model, rtnmsg.data);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input> v-model.number="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input> v-model.number="model.lidgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp"> <el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select <c-select
:code="codes.lcrtyp" :code="codes.lcrtyp1"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -171,8 +171,8 @@ ...@@ -171,8 +171,8 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="担保银行" prop="guabnkval"> <el-form-item label="担保银行" prop="guabnkval">
<c-input v-model="model.guabnkval" maxlength="40" style="width: 72%" placeholder="请输入担保银行"></c-input> <c-input v-model="model.guabnkval" maxlength="40" style="width: 77%" placeholder="请输入担保银行"></c-input>
<span>(提货担保面函落款)</span> <span style="font-size:12px;color:#606266;">(提货担保面函落款)</span>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
......
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