Commit 86e2aa8b by liyixun

gitame新增页面布局

parent 48f848f6
......@@ -45,6 +45,7 @@ let checkObj = {
"gidgrp.rec.vrfdat" :null,
"gidgrp.rec.purpos" :null,
"gidgrp.gidcxm.cxmflg" :null,
"gitamep.amenumjmg" :null,
"addbcb.pwtyp9" :null,
"gidgrp.rec.autrnwflg" :null,
"gidgrp.ctc.namelc" :null,
......@@ -89,6 +90,7 @@ let checkObj = {
"gidgrp.ctr.adrelc" :null,
"gidgrp.cnr.adrelc" :null,
"gidgrp.con.namelc" :null,
"trnmod.swiadd.addamtcov" :null,
"gidgrp.rec.jurlawc" :null,
"gidgrp.ben.namelc" :null,
"addbcb.litameadv" :null,
......
......@@ -21,6 +21,7 @@ export default {
"gidgrp.rec.purposin" :Utils.defaultFunction,
"trnmod.swiadd.newexpdat" :Utils.defaultFunction,
"trnmod.swiadd.ameamt" :Utils.defaultFunction,
"trnmod.swiadd.newexpflg" :Utils.defaultFunction,
"gidgrp.rec.liatypc" :Utils.defaultFunction,
"gidgrp.blk.preper" :Utils.defaultFunction,
"gidgrp.blk.atxpreper" :Utils.defaultFunction,
......@@ -87,6 +88,7 @@ export default {
"gidgrp.ben.pts.extkey" :Utils.defaultFunction,
"trnmod.swiadd.liatypc" :Utils.defaultFunction,
"trnmod.swiadd.newliadat" :Utils.defaultFunction,
"trnmod.swiadd.newliaflg" :Utils.defaultFunction,
"gidgrp.rec.orcratc" :Utils.defaultFunction,
"gidgrp.cbs.mac.cur" :Utils.defaultFunction,
"gidgrp.rec.orcamtc" :Utils.defaultFunction,
......@@ -109,6 +111,7 @@ export default {
"gidgrp.atb.dbfadrblkcn" :Utils.defaultFunction,
"gidgrp.atb.pts.adrblk" :Utils.defaultFunction,
"trnmod.swiadd.addamtcovs20" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction,
"gidgrp.cbs.mac2.amt" :Utils.defaultFunction,
"gitp.usr.extkey" :Utils.defaultFunction,
"gitamep.oldmaccur" :Utils.defaultFunction,
......@@ -157,6 +160,7 @@ export default {
"gidgrp.blk.atxpreperc" :Utils.defaultFunction,
"gidgrp.rec.gartypc" :Utils.defaultFunction,
"gidgrp.rec.legfrmc" :Utils.defaultFunction,
"gidgrp.cbs.max2.cur" :Utils.defaultFunction,
"gitp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"trnmod.swiadd.ameblk" :Utils.defaultFunction,
"trnmod.swiadd.addamtcovc" :Utils.defaultFunction,
......@@ -225,6 +229,7 @@ export default {
"gidgrp.rec.delto" :Utils.defaultFunction,
"trnmod.swiadd.ameamtc" :Utils.defaultFunction,
"gitamep.oldmacamt" :Utils.defaultFunction,
"gitamep.plateflg" :Utils.defaultFunction,
"gidgrp.rec.orddat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -1087,4 +1087,60 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"gitamep.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gitamep.orddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gitamep.amenbr":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gitamep.expnottxt":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"gitamep.limnottxt":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"gitamep.amenumjmg":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"gitamep.expnewtxt":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"gitamep.limnewtxt":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"gidgrp.rec.vrfdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"trnmod.swiadd.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.cbs.max2.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gitamep.mstitle":[
{type: "string", required: true, message: "必输项"},
{max: 30,message:"长度不能超过30"}
],
}
\ No newline at end of file
......@@ -278,6 +278,9 @@ export default class Gitame{
cur:"", // Open Add. Amount .gidgrp.cbs.opc2.cur
amt:"", // Balance .gidgrp.cbs.opc2.amt
},
max2:{
cur:"", // Currency .gidgrp.cbs.max2.cur
},
},
blk:{
gartyptxtin:"", // Specification of Type of Undertaking - Counter Undertaking .gidgrp.blk.gartyptxtin
......@@ -398,6 +401,7 @@ export default class Gitame{
recget:{
sdamod:{
seainf:"", // Reference .gitamep.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitamep.recget.sdamod.dadsnd
},
},
ametxtflg:"", // Amendment :77C: modified .gitamep.ametxtflg
......@@ -419,6 +423,17 @@ export default class Gitame{
},
oldmaccur:"", // Old Local Undertaking .gitamep.oldmaccur
oldmacamt:"", // Old Local Undertaking .gitamep.oldmacamt
orddat:"", // Order From .gitamep.orddat
amenbr:"", // Actual Amendment No .gitamep.amenbr
expnottxt:"", // text 'unlimited' / old expiry .gitamep.expnottxt
limnottxt:"", // text 'unlimited' .gitamep.limnottxt
expnewtxt:"", // text 'unlimited' / new expiry .gitamep.expnewtxt
limnewtxt:"", // text 'unlimited' / new liability .gitamep.limnewtxt
cre767flg:"", // Create Amendment Message .gitamep.cre767flg
amemsg:"", // 银关保函操作 .gitamep.amemsg
plateflg:"", // plateflg .gitamep.plateflg
mstitle:"", // 面函标题 .gitamep.mstitle
amenumjmg:"", // 变�'次数 .gitamep.amenumjmg
},
trnmod:{
swiadd:{
......@@ -455,6 +470,9 @@ export default class Gitame{
addcurc:"", // Additional Currency Seq. C .trnmod.swiadd.addcurc
addamtc:"", // Additional Amount Seq. C .trnmod.swiadd.addamtc
addamtcovc:"", // Add. Amount Covered .trnmod.swiadd.addamtcovc
newexpflg:"", // Unlimited Validity .trnmod.swiadd.newexpflg
newliaflg:"", // Unlimited Liability .trnmod.swiadd.newliaflg
addamtcov:"", // Amounts Covered .trnmod.swiadd.addamtcov
},
},
oldgidgrp:{
......@@ -466,7 +484,7 @@ export default class Gitame{
},
rec:{
exptyp:"", // Old Expiry Type .oldgidgrp.rec.exptyp
expdat:"", // Old Expiry Date .oldgidgrp.rec.expdat
expdat:"", // Valid until .oldgidgrp.rec.expdat
liatypc:"", // Old Liability Type .oldgidgrp.rec.liatypc
liadat:"", // Liability until .oldgidgrp.rec.liadat
},
......
......@@ -11,8 +11,8 @@
<!-- SF002110 : Old Expiry Date -->
<c-col :span="12">
<el-form-item :label="$t('gitamep.SF002110')" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('gitamep.SF002110')"></c-date-picker>
<el-form-item label="Old Expiry Date" prop="oldgidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" placeholder="请选择Old Expiry Date"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002109 : Old Expiry Condition -->
......@@ -34,7 +34,7 @@
<c-col :span="12">
<el-form-item label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" :placeholder="$t('other.please_enter')+'Liability until'"></c-date-picker>
<c-date-picker type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" placeholder="请选择Liability until"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002153 : Old Liability Condition -->
......@@ -78,7 +78,7 @@
<c-col :span="12">
<el-form-item label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" :placeholder="$t('other.please_enter')+'New Liability Date'"></c-date-picker>
<c-date-picker type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF002157 : New Liability Condition -->
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="gitamep.recget.sdamod.dadsnd">
<c-input v-model="model.gitamep.recget.sdamod.dadsnd" placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- S0000027 : Reference -->
<!-- S0000028 : Name -->
<c-col :span="12">
<c-form-item label="Name" prop="gidgrp.rec.nam">
<c-input v-model="model.gidgrp.rec.nam" maxlength="40" placeholder="请输入name"></c-input>
</c-form-item>
</c-col>
<!-- S0000029 : Amendment Date -->
<!-- S0000039 : Order from -->
<c-col :span="12">
<el-form-item label="Order From" prop="gitamep.orddat">
<c-date-picker type="date" v-model="model.gitamep.orddat" style="width:100%" placeholder="请选择Order From"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000064 : Amend. No Receiv. -->
<!-- S0000038 : Actual Amendment No -->
<c-col :span="12">
<c-form-item label="Actual Amendment No" prop="gitamep.amenbr">
<c-input v-model="model.gitamep.amenbr" placeholder="请输入Actual Amendment No"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.gitamep.amemsg" data-path=".gitamep.amemsg" > </span>
</c-col>
<!-- S0000034 : Old Validity -->
<!-- S0000037 : Old Liability -->
<!-- SG002033 : 变更次数 -->
<!-- S0000030 : Old Guarantee Amt. -->
<c-col :span="12">
<c-form-item label="text 'unlimited' / old expiry" prop="gitamep.expnottxt">
<c-input v-model="model.gitamep.expnottxt" maxlength="11" placeholder="$t('other.please_enter')+'text '+'unlimited'+' / old expiry'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="text 'unlimited'" prop="gitamep.limnottxt">
<c-input v-model="model.gitamep.limnottxt" maxlength="11" placeholder="$t('other.please_enter')+'text '+'unlimited'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="变更次数" prop="gitamep.amenumjmg">
<c-input v-model="model.gitamep.amenumjmg" maxlength="2" placeholder="请输入变更次数"></c-input>
</c-form-item>
</c-col>
<!-- S0000032 : Amended -->
<!-- S0000035 : New Validity -->
<!-- S0000036 : New Liability -->
<!-- SG002034 : 核销日期 -->
<!-- S0000031 : Guarantee Amount -->
<c-col :span="12">
<c-form-item label="text 'unlimited' / new expiry" prop="gitamep.expnewtxt">
<c-input v-model="model.gitamep.expnewtxt" maxlength="11" placeholder="$t('other.please_enter')+'text '+'unlimited'+' / new expiry'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="text 'unlimited' / new liability" prop="gitamep.limnewtxt">
<c-input v-model="model.gitamep.limnewtxt" maxlength="11" placeholder="$t('other.please_enter')+'text '+'unlimited'+' / new liability'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker type="date" v-model="model.gidgrp.rec.vrfdat" style="width:100%" placeholder="请选择核销日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000062 : Amounts Covered -->
<c-col :span="12">
<c-form-item label="Amounts Covered" prop="trnmod.swiadd.addamtcov">
<c-input type="textarea" v-model="model.trnmod.swiadd.addamtcov" maxlength="35" show-word-limit placeholder="请输入Amounts Covered" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.newexpflg">{{$t('gitamep.CF000052')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.newliaflg">{{$t('gitamep.CF000053')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitp.aamp.aammod.addamtflg">{{$t('gitamep.CF000063')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="Currency" prop="gidgrp.cbs.max2.cur">
<c-input v-model="model.gidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</c-form-item>
</c-col>
<!-- S0000033 : Amendments -->
<c-col :span="12">
<c-checkbox v-model="model.gitamep.cre767flg">{{$t('gitamep.CF000061')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.gitamep.plateflg">{{$t('gitamep.CG002029')}}</c-checkbox>
</c-col>
<!-- SG002032 : 面函标题 -->
<c-col :span="12">
<c-form-item label="面函标题" prop="gitamep.mstitle">
<c-input type="textarea" v-model="model.gitamep.mstitle" maxlength="30" show-word-limit placeholder="$t('other.please_enter')+'面函标题'" ></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/Gitame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -3,6 +3,102 @@
<c-row>
<c-col :span="24">
<c-col :span="12">
<!-- 左边不为swift格式 -->
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Reference" prop="gidgrp.rec.ownref">
<c-input disabled v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Amendment Date" prop="trnmod.swiadd.amedat">
<c-date-picker type="date" v-model="model.trnmod.swiadd.amedat" style="width:100%" placeholder="请选择Amendment Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Order From" prop="gitamep.orddat">
<c-date-picker type="date" v-model="model.gitamep.orddat" style="width:100%" placeholder="请选择Order From"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Old Guarantee Amt." prop="oldgidgrp.cbs.max.cur">
<c-input disabled v-model="model.oldgidgrp.cbs.max.cur" maxlength="3" placeholder="请输入Old Guarantee Amt."></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='N'" v-model="model.oldgidgrp.cbs.max.amt" placeholder="请输入Balance"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Amended" prop="trnmod.swiadd.amecur">
<c-input disabled v-model="model.trnmod.swiadd.amecur" maxlength="3" placeholder="请输入Amended"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.ameamt" placeholder="请输入Amended Amount"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Guarantee Amount" prop="trnmod.swiadd.newcur">
<c-input disabled v-model="model.trnmod.swiadd.newcur" maxlength="3" placeholder="请输入Guarantee Amount"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-input v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.newamt" placeholder="请输入New amount"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Currency" prop="gidgrp.cbs.max2.cur">
<c-input disabled v-model="model.gidgrp.cbs.max2.cur" maxlength="3" placeholder="请输入Currency"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-input disabled v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.addamt" placeholder="请输入Additional Amount"></c-input>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Send Amendment to" prop="gitamep.ramrol">
<c-select v-model="model.gitamep.ramrol" :disabled="model.trnmod.swiadd.amemsgdonflg==''" style="width:100%" placeholder="请输入Request of Amendment send to">
<el-option
v-for="item in codes.ramrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Amounts Covered" prop="trnmod.swiadd.addamtcov">
<c-input type="textarea" v-model="model.trnmod.swiadd.addamtcov" maxlength="35" show-word-limit placeholder="请输入Amounts Covered" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Amendment :77C:" prop="gitamep.ametxt">
<c-input disabled type="textarea" v-model="model.gitamep.ametxt" maxlength="65" show-word-limit placeholder="请输入Amendment :77C:" ></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="面函标题" prop="gitamep.mstitle">
<c-input type="textarea" v-model="model.gitamep.mstitle" maxlength="30" show-word-limit placeholder="请输入面函标题" ></c-input>
</c-form-item>
</c-col>
<!-- 左边为swift格式 -->
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='Y'" label="Reference" prop="gidgrp.rec.ownref">
<c-input disabled v-model="model.gidgrp.rec.ownref" maxlength="16" placeholder="请输入Reference"></c-input>
......@@ -126,6 +222,102 @@
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<!-- 右边不为swift格式 -->
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Name" prop="gidgrp.rec.nam">
<c-input disabled v-model="model.gidgrp.rec.nam" maxlength="40" placeholder="请输入name"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Amend. No Receiv." prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" placeholder="请输入Amend. No Receiv."></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Actual Amendment No" prop="gitamep.amenbr">
<c-input disabled v-model="model.gitamep.amenbr" placeholder="请输入Actual Amendment No"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Old Expiry Date" prop="oldgidgrp.rec.expdat">
<c-date-picker disabled type="date" v-model="model.oldgidgrp.rec.expdat" style="width:100%" placeholder="请选择Old Expiry Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Liability until" prop="oldgidgrp.rec.liadat">
<c-date-picker disabled type="date" v-model="model.oldgidgrp.rec.liadat" style="width:100%" placeholder="请选择Liability until"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="变更次数" prop="gitamep.amenumjmg">
<c-input disabled v-model="model.gitamep.amenumjmg" maxlength="2" placeholder="请输入变更次数"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker :disabled="model.trnmod.swiadd.newexpflg=='X'" type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="New Liability Date" prop="trnmod.swiadd.newliadat">
<c-date-picker disabled type="date" v-model="model.trnmod.swiadd.newliadat" style="width:100%" placeholder="请输入New Liability Date"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="核销日期" prop="gidgrp.rec.vrfdat">
<c-date-picker disabled type="date" v-model="model.gidgrp.rec.vrfdat" style="width:100%" placeholder="请选择核销日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="20">
<c-form-item v-if="model.gitp.swiftflg=='N'" label="Text for Amendments:" prop="trnmod.swiadd.ameblk">
<c-input type="textarea" rows="4" v-model="model.trnmod.swiadd.ameblk" maxlength="65" show-word-limit placeholder="请输入Text for Amendments" ></c-input>
</c-form-item>
</c-col>
<c-col :span="4">
<c-button v-if="model.gitp.swiftflg=='N'" style="margin:5px 0 0 10px" size="small" type="primary" icon="el-icon-search" @click="onAmebutButtxmsel">
...
</c-button>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.trnmod.swiadd.newexpflg">Unlimited</c-checkbox>
</c-col>
<c-col :span="6" :offset="6">
<c-checkbox v-if="model.gitp.swiftflg=='N'" disabled v-model="model.trnmod.swiadd.newliaflg">Unlimited</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.cre767flg">Create Amendment Message</c-checkbox>
</c-col>
<c-col :span="6" :offset="6">
<c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.prtflg">Choose full Text</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6" :offset="6">
<c-checkbox disabled v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.clsclmflg">Close Claim</c-checkbox>
</c-col>
<c-col :span="6" :offset="6">
<c-checkbox v-if="model.gitp.swiftflg=='N'" v-model="model.gitamep.plateflg" @change="plateflgChange">保函修改面函模板</c-checkbox>
</c-col>
</c-col>
<!-- 右边为swift格式 -->
<c-col :span="24">
<c-form-item v-if="model.gitp.swiftflg=='Y'" label="Amendment :77C:" prop="gitamep.ametxt">
<c-input type="textarea" :disabled="model.gitamep.ametxtflg==''" v-model="model.gitamep.ametxt" rows="4" maxlength="65" show-word-limit placeholder="请输入Amendment :77C:" ></c-input>
......@@ -178,7 +370,7 @@
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitamep.prtflg">Choose full Text</c-checkbox>
</c-col>
<c-col :span="6" :offset="6">
<c-checkbox v-if="model.gitp.swiftflg=='Y'" v-model="model.gitamep.clsclmflg">Close Claim</c-checkbox>
<c-checkbox disabled v-if="model.gitp.swiftflg=='Y'" v-model="model.gitamep.clsclmflg">Close Claim</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
......@@ -401,6 +593,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitame/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......@@ -411,7 +604,15 @@ export default {
}
},
methods:{...Event},
methods:{
...Event,
async plateflgChange() {
let rtnmsg = await this.executeRule("gitamep.plateflg")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
},
created:function(){
}
......
......@@ -589,7 +589,7 @@
placeholder="请选择是否分离式保函"
>
<el-option
v-for="item in codes.fenlishi"
v-for="item in codes.fenlishi2"
:key="item.value"
:label="item.label"
:value="item.value"
......
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