Commit a9a3a5ab by “yanyuxin”

gitopn交易保函文本无法保存问题

parent d22d60ae
......@@ -17,6 +17,7 @@
maxlength="65"
show-word-limit
placeholder="请输入保函文本可变因素"
@change="setTxt1"
></i-stream-input>
</el-form-item>
<el-form-item
......@@ -31,6 +32,7 @@
maxlength="65"
show-word-limit
placeholder="请输入保函文本可变因素"
@change="setTxt2"
></i-stream-input>
</el-form-item>
</c-col>
......@@ -40,6 +42,7 @@
<c-checkbox
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
@change="modflgChange"
>修改保函文本</c-checkbox
>
</c-col>
......@@ -128,6 +131,8 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
import IStreamInput from "~/components/IStreamInput";
import InputXml from "~/components/InputXml";
import Utils from "~/utils";
export default {
components: { IStreamInput },
......@@ -137,7 +142,40 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {
async setTxt1(){
// this.executeDefault("gitp.gidgrp.blk.gidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
async setTxt2(){
// this.executeDefault("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
...Event ,
async modflgChange() {
const rtnmsg = await this.executeRule("gitp.gidtxtmodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
</script>
......
......@@ -11,7 +11,7 @@
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入保函编号"
:disabled="model.gitp.swiftflg != 'N'"
:disabled="true"
></c-input>
<template slot="footer">
<!-- <el-form-item label="" label-width="5px"> -->
......
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