Commit 0a89fcc9 by liaoxing

cctdcr 修改

parent 62b57830
......@@ -37,6 +37,7 @@ export default {
expdat: model.ccdgrp.rec.expdat,
branchInr: model.ccdgrp.rec.branchinr,
hndtyp: model.ccdgrp.rec.hndtyp,
rejtypsel: model.rejtypsel,
},
cbsMap: {
MAX: model.ccdgrp.cbs.max,
......
......@@ -45,7 +45,7 @@ let checkObj = {
],
"ccdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -59,7 +59,7 @@ let checkObj = {
],
"ccdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -76,7 +76,7 @@ export default class Cctdcr{
},
},
},
rejtypsel:"", // reject type .rejtypsel
rejtypsel:"I", // reject type .rejtypsel
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
......
......@@ -263,7 +263,7 @@
<c-col :span="24">
<el-form-item label="" prop="ccdgrp.rec.frepayflg">
<c-checkbox v-model="model.ccdgrp.rec.frepayflg"
@click="frepayFlagChange"
@change="change"
>无偿放单选项</c-checkbox
>
</el-form-item>
......@@ -353,7 +353,7 @@ export default {
// prop: 'amt',
// label: '金额'
// },
// {
// {change
// prop: 'date',
// label: 'Mat.Dat.'
// },
......@@ -365,6 +365,14 @@ export default {
methods: {
// ...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(){
let rtnmsg = await this.executeDefault("setmod.redamt");
// 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