Commit a9a3a5ab by “yanyuxin”

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

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