Commit d57b4dad by lianyang

Letcan补漏掉的MT742页面(Rcldetp.vue)

parent 89743981
...@@ -4,21 +4,34 @@ import Utils from "~/utils" ...@@ -4,21 +4,34 @@ import Utils from "~/utils"
* Letcan Check规则 * Letcan Check规则
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null, "liaall.limmod.limpts.oth.pts.extkey" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"liaall.limmod.ownref" :null, "liaall.limmod.ownref" :null,
"rmbclm.acwacw.pts.extkey" :null,
"liaall.limmod.ecifno" :null, "liaall.limmod.ecifno" :null,
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :null, "liaall.limmod.othp.ptsget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.oth.pts.nam" :null, "liaall.limmod.limpts.oth.pts.nam" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"letp0.recget.sdamod.dadsnd" :null, "letp0.recget.sdamod.dadsnd" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null, "liaall.limmod.limpts.wrk.pts.nam" :null,
"sndmsg" :null, "sndmsg" :null,
"rmbclm.bebbeb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null, "liaall.limmod.limpts.wrk.pts.extkey" :null,
"rmbclm.acwacw.namelc" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.namelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null, "liaall.limmod.limpts.nonrevflg1" :null,
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null, "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"letcanf.strinf" :null, "letcanf.strinf" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -15,6 +15,10 @@ export default { ...@@ -15,6 +15,10 @@ export default {
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
...@@ -22,6 +26,18 @@ export default { ...@@ -22,6 +26,18 @@ export default {
"mtabut.coninf.usr.extkey" :Utils.defaultFunction, "mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction, "ledgrp.rec.ownref" :Utils.defaultFunction,
"ledgrp.apl.pts.nam" :Utils.defaultFunction, "ledgrp.apl.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
...@@ -33,5 +49,8 @@ export default { ...@@ -33,5 +49,8 @@ export default {
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ledgrp.cbs.opn1.amt" :Utils.defaultFunction, "ledgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction, "ledgrp.rec.expdat" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -84,6 +84,36 @@ export default { ...@@ -84,6 +84,36 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1750,message:"长度不能超过1750"} {max: 1750,message:"长度不能超过1750"}
], ],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[ "setmod.ref":[
...@@ -99,13 +129,118 @@ export default { ...@@ -99,13 +129,118 @@ export default {
], ],
"setmod.zmqacc":[ "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: false, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
...@@ -149,14 +284,6 @@ export default { ...@@ -149,14 +284,6 @@ export default {
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"trnmod.trndoc.condocstm":[ "trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
...@@ -170,8 +297,6 @@ export default { ...@@ -170,8 +297,6 @@ export default {
{max: 22,message:"长度不能超过22"} {max: 22,message:"长度不能超过22"}
], ],
"liaall.limmod.ownref":[ "liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
...@@ -221,10 +346,6 @@ export default { ...@@ -221,10 +346,6 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"liaall.limmod.limpts.pfcod1":[ "liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"} {max: 14,message:"长度不能超过14"}
......
...@@ -23,6 +23,9 @@ export default class Letcan{ ...@@ -23,6 +23,9 @@ export default class Letcan{
cnftxt:"", // Confirmation text .letp0.cnftxt cnftxt:"", // Confirmation text .letp0.cnftxt
}, },
ledgrp:{ ledgrp:{
rmb:{
rolsetflg:"", //判断页面MT 742 Reimbursement Clain显现的条件 .ledgrp.rmb.rolsetflg
},
rec:{ rec:{
ownref:"", // Reference .ledgrp.rec.ownref ownref:"", // Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam nam:"", // Name .ledgrp.rec.nam
...@@ -80,6 +83,52 @@ export default class Letcan{ ...@@ -80,6 +83,52 @@ export default class Letcan{
// setfel:[] // setfel:[]
// } // }
// }, // },
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
// mtabut:{ // mtabut:{
// coninf:{ // coninf:{
// oitinf:{ // oitinf:{
......
<template>
<div class="eibs-tab">
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" :placeholder="$t('other.please_enter')+'Booking stream to Display'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -66,6 +66,14 @@ ...@@ -66,6 +66,14 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--letcan PD000023 MT 742 Reimbursement Claim -->
<el-tab-pane label="MT 742 Reimbursement Claim" name="rcldetp"
v-if="model.ledgrp.rmb.rolsetflg=='Y'">
<c-content>
<m-rcldetp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 Completion附言--> <!--PD000000 Completion附言-->
<el-tab-pane label="Completion" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<c-content> <c-content>
...@@ -133,6 +141,7 @@ import Canp from './Canp' ...@@ -133,6 +141,7 @@ import Canp from './Canp'
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from '~/views/Public/Setpan'; import Setpan from '~/views/Public/Setpan';
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
import Rcldetp from "./Rcldetp";
import Coninfp from '~/views/Public/Coninfp' import Coninfp from '~/views/Public/Coninfp'
import Docpan from '~/views/Public/Docpan' import Docpan from '~/views/Public/Docpan'
import Doctre from '~/views/Public/Doctre' import Doctre from '~/views/Public/Doctre'
...@@ -145,6 +154,7 @@ export default { ...@@ -145,6 +154,7 @@ export default {
'm-engp': Engp, 'm-engp': Engp,
'm-setpan': Setpan, 'm-setpan': Setpan,
'm-glepan': Glepan, 'm-glepan': Glepan,
'm-rcldetp':Rcldetp,
'm-coninfp': Coninfp, 'm-coninfp': Coninfp,
'm-docpan': Docpan, 'm-docpan': Docpan,
'm-doctre': Doctre, 'm-doctre': Doctre,
......
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