Commit 0a89fcc9 by liaoxing

cctdcr 修改

parent 62b57830
...@@ -37,6 +37,7 @@ export default { ...@@ -37,6 +37,7 @@ export default {
expdat: model.ccdgrp.rec.expdat, expdat: model.ccdgrp.rec.expdat,
branchInr: model.ccdgrp.rec.branchinr, branchInr: model.ccdgrp.rec.branchinr,
hndtyp: model.ccdgrp.rec.hndtyp, hndtyp: model.ccdgrp.rec.hndtyp,
rejtypsel: model.rejtypsel,
}, },
cbsMap: { cbsMap: {
MAX: model.ccdgrp.cbs.max, MAX: model.ccdgrp.cbs.max,
......
...@@ -45,7 +45,7 @@ let checkObj = { ...@@ -45,7 +45,7 @@ let checkObj = {
], ],
"ccdgrp.cbs.max.amt":[ "ccdgrp.cbs.max.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位" }
], ],
...@@ -59,7 +59,7 @@ let checkObj = { ...@@ -59,7 +59,7 @@ let checkObj = {
], ],
"ccdgrp.cbs.opn1.amt":[ "ccdgrp.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位" }
], ],
......
...@@ -76,7 +76,7 @@ export default class Cctdcr{ ...@@ -76,7 +76,7 @@ export default class Cctdcr{
}, },
}, },
}, },
rejtypsel:"", // reject type .rejtypsel rejtypsel:"I", // reject type .rejtypsel
liaall:{ liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur concur:"", // External Booking Amount .liaall.concur
......
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="" prop="ccdgrp.rec.frepayflg"> <el-form-item label="" prop="ccdgrp.rec.frepayflg">
<c-checkbox v-model="model.ccdgrp.rec.frepayflg" <c-checkbox v-model="model.ccdgrp.rec.frepayflg"
@click="frepayFlagChange" @change="change"
>无偿放单选项</c-checkbox >无偿放单选项</c-checkbox
> >
</el-form-item> </el-form-item>
...@@ -353,7 +353,7 @@ export default { ...@@ -353,7 +353,7 @@ export default {
// prop: 'amt', // prop: 'amt',
// label: '金额' // label: '金额'
// }, // },
// { // {change
// prop: 'date', // prop: 'date',
// label: 'Mat.Dat.' // label: 'Mat.Dat.'
// }, // },
...@@ -365,6 +365,14 @@ export default { ...@@ -365,6 +365,14 @@ export default {
methods: { methods: {
// ...Event, // ...Event,
async change() {
if (this.model.ccdgrp.rec.frepayflg === "X") {
this.model.setmod.redamt = this.model.ccdgrp.cbs.max.amt;
} else {
this.model.setmod.redamt = "0";
}
},
async frepayFlagChange(){ async frepayFlagChange(){
let rtnmsg = await this.executeDefault("setmod.redamt"); let rtnmsg = await this.executeDefault("setmod.redamt");
// if (rtnmsg.respCode == SUCCESS) { // if (rtnmsg.respCode == SUCCESS) {
......
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