Commit 0b722f8c by Wuyuqiu

betdcr、letrsv交易bug修改

parent 7adc85d2
...@@ -102,35 +102,13 @@ export default class Betdcr { ...@@ -102,35 +102,13 @@ export default class Betdcr {
}, },
}, },
advrefflg: "", // Advice of Refusal MT734 .advrefflg advrefflg: "", // Advice of Refusal MT734 .advrefflg
mtabut: {
clsflg: "", // Close Flag .mtabut.clsflg
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
advdisflg: "", // Advice of Discrepancy MT750 .advdisflg advdisflg: "", // Advice of Discrepancy MT750 .advdisflg
rejpenins: "", // Rejection pending instructions .rejpenins rejpenins: "", // Rejection pending instructions .rejpenins
pageId: "", // ctx的key pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod, trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod, setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall, liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut
} }
} }
} }
\ No newline at end of file
...@@ -118,6 +118,26 @@ export default { ...@@ -118,6 +118,26 @@ export default {
async handleReset(formName) { async handleReset(formName) {
console.log(this); console.log(this);
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
// this.model.infcon.seaownref = "";
// this.model.infcon.searef = "";
// this.model.infcon.pty.extkey = "";
// this.model.infcon.seapty = "";
this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
// this.model.infcon.seasta = "";
// this.model.infcon.usr.extkey = "";
// this.model.infcon.nam = "";
// this.model.infcon.hndtyp = "";
// this.model.infcon.pty.nam = "";
// this.model.infcon.searol = "";
// this.model.infcon.seacur = "";
// this.model.infcon.seasta = "";
// this.model.seapaytyp="";
// this.model.msgtyp="";
// this.model.countcode="";
// this.stmData.data = "";
}, },
async handleSearch() { async handleSearch() {
......
...@@ -271,30 +271,32 @@ export default { ...@@ -271,30 +271,32 @@ export default {
}, },
async handleReset(formName) { async handleReset(formName) {
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
}, },
async handleSearch() { async handleSearch() {
this.stmData.data = []; this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom; let opndatfrom = this.model.infcon.opndatfrom;
if(!opndatfrom || opndatfrom == ''){ if (!opndatfrom || opndatfrom == '') {
this.$notify.error({ title: '错误', message: '查询开始日期必输!' }); this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
return; return;
} }
let opndatto = this.model.infcon.opndatto; let opndatto = this.model.infcon.opndatto;
if(!opndatto || opndatto == ''){ if (!opndatto || opndatto == '') {
this.$notify.error({ title: '错误', message: '查询结束日期必输!' }); this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
return; return;
} }
let rtnmsg = await this.executeRule("infbut.searow") let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows; this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
} }
else else {
{ this.$notify.error({ title: '错误', message: '服务请求失败!' });
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
......
...@@ -170,5 +170,9 @@ export default { ...@@ -170,5 +170,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
onSeainf(){},
onBenpDet(){},
onAplpDet(){},
} }
\ No newline at end of file
...@@ -319,11 +319,12 @@ export default { ...@@ -319,11 +319,12 @@ export default {
computed: { computed: {
docdisflg: { docdisflg: {
get() { get() {
if (this.model.bedgrp.blk.docdis == "") {
return this.model.bedgrp.blk.docdisflg != "";
} else {
return this.model.bedgrp.blk.docdisflg != "X"; return this.model.bedgrp.blk.docdisflg != "X";
} // if (this.model.bedgrp.blk.docdis == "") {
// return this.model.bedgrp.blk.docdisflg != "";
// } else {
// return this.model.bedgrp.blk.docdisflg != "X";
// }
}, },
set(val) { set(val) {
this.model.bedgrp.blk.docdisflg = val ? "X" : ""; this.model.bedgrp.blk.docdisflg = val ? "X" : "";
......
...@@ -312,15 +312,14 @@ ...@@ -312,15 +312,14 @@
<el-form-item label="" prop="bedgrp.rec.advdocflg"> <el-form-item label="" prop="bedgrp.rec.advdocflg">
<c-checkbox <c-checkbox
v-model="model.bedgrp.rec.advdocflg" v-model="model.bedgrp.rec.advdocflg"
@change="clsflgpChange"
>Receive returned ducuments</c-checkbox >Receive returned ducuments</c-checkbox
> >
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="mtabut.clsflgp"> <el-form-item label="" prop="mtabut.clsflg">
<c-checkbox v-model="clsflgp" disabled <c-checkbox v-model="clsflg" disabled
>Close Contract</c-checkbox >Close Contract</c-checkbox
> >
</el-form-item> </el-form-item>
...@@ -745,12 +744,12 @@ export default { ...@@ -745,12 +744,12 @@ export default {
// this.model.mtabut.clsflg = val ? "C" : "O"; // this.model.mtabut.clsflg = val ? "C" : "O";
// }, // },
// }, // },
clsflgp: { clsflg: {
get() { get() {
return this.model.mtabut.clsflgp == ""; return this.model.mtabut.clsflg == "C";
}, },
set(val) { set(val) {
this.model.mtabut.clsflgp = val ? "C" : "O"; this.model.mtabut.clsflg = val ? "C" : "O";
}, },
}, },
advdisflg: { advdisflg: {
...@@ -764,13 +763,6 @@ export default { ...@@ -764,13 +763,6 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
clsflgpChange(v) {
if (v == "X") {
this.model.bedgrp.rec.docsta = "R";
} else {
this.model.bedgrp.rec.docsta = "E";
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -132,12 +132,7 @@ ...@@ -132,12 +132,7 @@
v-model="model.ledgrp.cbs.nom1.amt" v-model="model.ledgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="Please input Nominal Amount" placeholder="Please input Nominal Amount"
@keyup.enter.native=" @keyup.enter.native="$event.target.blur()"
defaultFunction(
'ledgrp.cbs.nom1.amt',
model.ledgrp.cbs.nom1.amt
)
"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -160,6 +155,7 @@ ...@@ -160,6 +155,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="Please input Amount Tolerance +/-" placeholder="Please input Amount Tolerance +/-"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
...@@ -171,6 +167,7 @@ ...@@ -171,6 +167,7 @@
maxlength="2" maxlength="2"
style="width: 100%" style="width: 100%"
placeholder="Please input Amount Tolerance - Negative" placeholder="Please input Amount Tolerance - Negative"
@keyup.enter.native="$event.target.blur()"
class="m-input-currency" class="m-input-currency"
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
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