Commit adadcdab by wangyanjiao

bodgrp.blk.docpre 数据绑定,持久化

parent 3310f537
...@@ -6,6 +6,7 @@ import Api from "~/service/Api"; ...@@ -6,6 +6,7 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"bodgrp.blk.docpre" :Utils.defaultFunction,
"bodgrp.rec.matdat" :Utils.defaultFunction, "bodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.srm.djutyp" :Utils.defaultFunction, "bodgrp.srm.djutyp" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction, "bodgrp.rec.ownref" :Utils.defaultFunction,
......
...@@ -55,6 +55,7 @@ export default class Botdav{ ...@@ -55,6 +55,7 @@ export default class Botdav{
}, },
}, },
blk:{ blk:{
docpre:"", // bodgrp.blk.docpre
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
......
...@@ -159,7 +159,8 @@ export default { ...@@ -159,7 +159,8 @@ export default {
docdisflg: { docdisflg: {
get() { get() {
return this.model.advdisflg === "X";
return this.model.advdisflg === "X" || this.model.advrefflg ==="X" ? true : false;
}, },
set(val) { set(val) {
this.model.bddgrp.blk.docdisflg = val ? "X" : ""; this.model.bddgrp.blk.docdisflg = val ? "X" : "";
......
...@@ -122,8 +122,8 @@ ...@@ -122,8 +122,8 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt"> <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
<c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification" onkeyup="value=value.replace(/[^\d]/g,' ')" <c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"
:disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input> onkeyup="value=value.replace(/[^\d]/g,' ')" :disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
:paginationShow="false" :border="true"> :paginationShow="false" :border="true">
<el-table-column label="1st" width="auto"> <el-table-column label="1st" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input> <c-input v-model="scope.row.cmail1" @change="docpre"></c-input>
</template> </template>
</el-table-column> </el-table-column>
...@@ -329,6 +329,16 @@ export default { ...@@ -329,6 +329,16 @@ export default {
// } // }
// } // }
}, },
async docpre() {
let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}, },
computed: { computed: {
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="clsflg"> <el-form-item label="" prop="clsflg">
<c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Flag</c-checkbox> <c-checkbox v-model="clsflg" :disabled="model.rejtypsel != 'R'">Close Contract</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="21"> <c-col :span="21">
......
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