Commit eef3bdae by nanrui

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

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