Commit adadcdab by wangyanjiao

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

parent 3310f537
......@@ -6,6 +6,7 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"bodgrp.blk.docpre" :Utils.defaultFunction,
"bodgrp.rec.matdat" :Utils.defaultFunction,
"bodgrp.srm.djutyp" :Utils.defaultFunction,
"bodgrp.rec.ownref" :Utils.defaultFunction,
......
......@@ -55,6 +55,7 @@ export default class Botdav{
},
},
blk:{
docpre:"", // bodgrp.blk.docpre
bogdet:"", // Tenor Details Text .bodgrp.blk.bogdet
cctinsrcv:"", // Instructions Received .bodgrp.blk.cctinsrcv
cctinscol:"", // Collection Instruction .bodgrp.blk.cctinscol
......
......@@ -159,7 +159,8 @@ export default {
docdisflg: {
get() {
return this.model.advdisflg === "X";
return this.model.advdisflg === "X" || this.model.advrefflg ==="X" ? true : false;
},
set(val) {
this.model.bddgrp.blk.docdisflg = val ? "X" : "";
......
......@@ -122,8 +122,8 @@
<c-col :span="12">
<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,' ')"
:disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
<c-input v-model.number="model.bodgrp.rec.matpercnt" placeholder="请输入Tenor Specification"
onkeyup="value=value.replace(/[^\d]/g,' ')" :disabled="model.bodgrp.rec.doctypcod === 'P'"></c-input>
</el-form-item>
</c-col>
......@@ -163,7 +163,7 @@
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<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>
</el-table-column>
......@@ -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: {
......
......@@ -120,7 +120,7 @@
<c-col :span="24">
<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>
</c-col>
<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