Commit 1c2ec587 by lianyang

brtset单据结算也单据金额修改

parent 23b0136f
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
"dftcre.dfdgrp.rec.fintyp" :Utils.defaultFunction, "dftcre.dfdgrp.rec.fintyp" :Utils.defaultFunction,
"bptbck.dscbckcur" :Utils.defaultFunction, "bptbck.dscbckcur" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, // "setmod.docamt" :Utils.defaultFunction,
"trtcre.trtp.flowflag" :Utils.defaultFunction, "trtcre.trtp.flowflag" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"dftcre.dfflag" :Utils.defaultFunction, "dftcre.dfflag" :Utils.defaultFunction,
......
...@@ -391,25 +391,24 @@ export default { ...@@ -391,25 +391,24 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onChangeDocamt(){ // async onChangeDocamt(){
this.flag3 = false; // this.flag3 = false;
let isNull = this.model.mtabut.clsflg; //获取调用前的勾选状态 // let isNull = this.model.mtabut.clsflg; //获取调用前的勾选状态
let rtnmsg = await this.executeRule("setmod.docamt") // let rtnmsg = await this.executeRule("setmod.docamt")
if(rtnmsg.respCode == SUCCESS) // if(rtnmsg.respCode == SUCCESS)
{ // {
//TODO 处理数据逻辑 // //TODO 处理数据逻辑
this.updateModel(rtnmsg.data); // this.updateModel(rtnmsg.data);
this.flag3 = true; // this.flag3 = true;
//初始化勾选 // //初始化勾选
if(isNull != ""){ //如果调用前为勾选,调后也勾选 // if(isNull != ""){ //如果调用前为勾选,调后也勾选
this.model.mtabut.clsflg="X"; // this.model.mtabut.clsflg="X";
} // }
// }
} // else
else // {
{ // this.$notify.error({title: '错误',message: '服务请求失败!'});
this.$notify.error({title: '错误',message: '服务请求失败!'}); // }
} // },
},
} }
\ No newline at end of file
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
"brdgrp.rec.tenmaxday":[ "brdgrp.rec.tenmaxday":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {type: "number",max: 999,message:"不能超过999"}
], ],
"brdgrp.prb.pts.ref":[ "brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
], ],
"brdgrp.prb.pts.adrblk":[ "brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"} {max: 140,message:"长度不能超过140"}
], ],
"brdgrp.prb.dbfadrblkcn":[ "brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="远期最大期限" prop="brdgrp.rec.tenmaxday" label-width="120px"> <el-form-item label="远期最大期限" prop="brdgrp.rec.tenmaxday" label-width="120px">
<c-input v-model="model.brdgrp.rec.tenmaxday" placeholder="请输入天数" disabled></c-input> <c-input v-model.number="model.brdgrp.rec.tenmaxday" placeholder="请输入天数" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -161,7 +161,8 @@ ...@@ -161,7 +161,8 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" label-width="5px" prop="setmod.docamt"> <el-form-item label="" label-width="5px" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入金额" @blur="onChangeDocamt"></c-input> <c-input v-model="model.setmod.docamt" placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()" @blur="eventFunction('setmod.docamt')"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -174,7 +175,7 @@ ...@@ -174,7 +175,7 @@
<c-col :span="11"> <c-col :span="11">
<c-fullbox> <c-fullbox>
<el-form-item label="" label-width="5px" prop="setmod.setamt"> <el-form-item label="" label-width="5px" prop="setmod.setamt">
<c-input v-model="model.setmod.setamt" placeholder="请输入金额" :disabled=this.flag3></c-input> <c-input v-model="model.setmod.setamt" placeholder="请输入金额" disabled></c-input>
</el-form-item> </el-form-item>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
...@@ -191,7 +192,8 @@ ...@@ -191,7 +192,8 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt" label-width="5px"> <el-form-item label="" prop="aamset.utlamt" label-width="5px">
<c-input v-model="model.aamset.utlamt" placeholder="请输入金额" :disabled=this.flag3></c-input> <c-input v-model="model.aamset.utlamt" placeholder="请输入金额"
@keyup.enter.native="$event.target.blur()" @blur="eventFunction('aamset.utlamt')"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -205,7 +207,8 @@ ...@@ -205,7 +207,8 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="" prop="aamset.utlamt2" label-width="5px"> <el-form-item label="" prop="aamset.utlamt2" label-width="5px">
<c-input v-model="model.aamset.utlamt2" placeholder="请输入金额" :disabled=this.flag3></c-input> <c-input v-model="model.aamset.utlamt2" placeholder="请输入金额"
@change="eventFunction('aamset.utlamt2')"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -224,7 +227,7 @@ ...@@ -224,7 +227,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="闭卷标识" label-width="80px" prop="setmod.docamt" style="margin-left:20px"> <el-form-item label="闭卷标识" label-width="80px" prop="mtabut.clsflg" style="margin-left:20px">
<c-checkbox v-model="model.mtabut.clsflg" style="margin-left:20px" true-label="X"></c-checkbox> <c-checkbox v-model="model.mtabut.clsflg" style="margin-left:20px" true-label="X"></c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -443,7 +446,7 @@ ...@@ -443,7 +446,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="名称地址" prop="brdgrp.prb.pts.adrblk"> <el-form-item label="名称地址" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" row="4" maxlength="35" show-word-limit placeholder="请输入名称地址" disabled></c-input> <c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" row="4" maxlength="140" show-word-limit placeholder="请输入名称地址" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
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