Commit af7761c8 by wangren

litopn ,litame 交易bug修正

parent 4d29d148
......@@ -61,11 +61,11 @@ export default {
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.cbs.nom1.cur" :Utils.defaultFunction,
"trnmod.swiadd.addamtcov" :Utils.defaultFunction,
"litamep.adlcndamep.modflg" :Utils.defaultFunction,
"litamep.adlcndamep.modmanflg" :Utils.defaultFunction,
"litamep.lcrgodamep.modflg" :Utils.defaultFunction,
"litamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
"lidgrp.blk.lcrgod" :Utils.defaultFunction,
//"litamep.adlcndamep.modflg" :Utils.defaultFunction,
//"litamep.adlcndamep.modmanflg" :Utils.defaultFunction,
//"litamep.lcrgodamep.modflg" :Utils.defaultFunction,
//"litamep.lcrgodamep.modmanflg" :Utils.defaultFunction,
//"lidgrp.blk.lcrgod" :Utils.defaultFunction,
"lidgrp.con.pts.adrblk" :Utils.defaultFunction,
"lidgrp.ben.pts.extkey" :Utils.defaultFunction,
"lidgrp.ben.adrelc" :Utils.defaultFunction,
......@@ -81,8 +81,8 @@ export default {
"lidgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"lidgrp.adv.pts.adrblk" :Utils.defaultFunction,
"lidgrp.rec.shppars18" :Utils.defaultFunction,
"litamep.lcrdocamep.modflg" :Utils.defaultFunction,
"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
//"litamep.lcrdocamep.modflg" :Utils.defaultFunction,
//"litamep.lcrdocamep.modmanflg" :Utils.defaultFunction,
"lidgrp.a2b.pts.extkey" :Utils.defaultFunction,
"lidgrp.a2b.adrelc" :Utils.defaultFunction,
"lidgrp.a2b.namelc" :Utils.defaultFunction,
......@@ -128,7 +128,7 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"lidgrp.ini.pts.adrblk" :Utils.defaultFunction,
"lidgrp.blk.adlcnd" :Utils.defaultFunction,
//"lidgrp.blk.adlcnd" :Utils.defaultFunction,
"litamep.engamt" :Utils.defaultFunction,
"trnmod.swiadd.nomspc" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
......@@ -141,7 +141,7 @@ export default {
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"lidgrp.rec.prepers18" :Utils.defaultFunction,
"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
//"lidgrp.blk.lcrdoc" :Utils.defaultFunction,
"lidgrp.rec.stacty" :Utils.defaultFunction,
"lidgrp.rmb.pts.nam" :Utils.defaultFunction,
"oldlidgrp.rec.expdat" :Utils.defaultFunction,
......
......@@ -39,6 +39,16 @@ export default class Litame{
modflg:"", // Modify Text to Replace .litamep.adlcndamep.modflg
modmanflg:"", // Modify field for manual update .litamep.adlcndamep.modmanflg
},
spcbenamep:{
modflg:"", // Modify Text to Replace .litamep.spcbenamep.modflg
modmanflg:"", // Modify field for manual update .litamep.spcbenamep.modmanflg
usrblk:"", // Block to enter additional info for Add/Delete .litamep.spcbenamep.usrblk
},
spcrcbamep:{
usrblk:"", // Block to enter additional info for Add/Delete .litamep.spcrcbamep.usrblk
modflg:"", // Modify Text to Replace .litamep.spcrcbamep.modflg
modmanflg:"", // Modify field for manual update .litamep.spcrcbamep.modmanflg
},
},
lidgrp:{
......@@ -144,6 +154,10 @@ export default class Litame{
lcrgodame:"", // Description of Goods Amendment History .lidgrp.blk.lcrgodame
adlcnd:"", // Additional Conditions .lidgrp.blk.adlcnd
adlcndame:"", // Additional Conditions Amendment History .lidgrp.blk.adlcndame
spcben:"", // Special Payment Conditions for Beneficiary .lidgrp.blk.spcben
spcbename:"", // Special payment Conditions for beneficiary History .lidgrp.blk.spcbename
spcrcb:"", // Special Payment Conditions for Bank Only .lidgrp.blk.spcrcb
spcrcbame:"",
},
drw:{
pts:new Pts().data,
......
......@@ -341,10 +341,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"brdgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
// "brdgrp.blk.docdis":[
// {type: "string", required: true, message: "必输项"},
// {max: 50,message:"长度不能超过50"}
// ],
"brdgrp.blk.nartxt77a":[
{type: "string", required: true, message: "必输项"},
......
......@@ -504,11 +504,11 @@ export default {
{ index: 7, position: 13, width: 100, pattern: "date", label: "Closed"},
'8 19 "分行名称" 136',
'9 16 "PTA NO." 410',
'10 5 "Party Number" 191',
'10 5 "Party Number1 " 191',
'11 6 "Applicant" 191',
'12 7 "Applicant CN" 191',
'13 10 "Advising Bank BIC" 165',
'14 8 "Party Number" 165',
'14 8 "Party Number2" 165',
'15 9 "Beneficiary" 165',
'16 14 "Cur" 80',
'17 17 "L/C Amount" 110 2 8 1 16',
......
......@@ -5,19 +5,21 @@
<el-form-item label="Additional Conditions" prop="lidgrp.blk.adlcnd">
<c-input
:rows="12"
disabled
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.adlcnd" maxlength="1650" show-word-limit placeholder="请输入Additional Conditions" ></c-input>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="Adding / Deleting Text in current Amendment" prop="litamep.adlcndamep.usrblk">
<c-input
:disabled="this.flag2"
:rows="22"
type="textarea" v-model="model.litamep.adlcndamep.usrblk" maxlength="1650" show-word-limit placeholder="请输入Block to enter additional info for Add/Delete" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.adlcndame.buttxmsel',null,null,{TXT: 'litamep.adlcndamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-button>
</c-col>
......@@ -53,12 +55,14 @@
<c-col :span="12">
<c-checkbox
@change="open"
style=" margin: 0px 0 10px 100px;"
v-model="model.litamep.adlcndamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.adlcndamep.modmanflg">Modify Text Internally</c-checkbox>
</c-col>
......@@ -115,7 +119,131 @@ export default {
}
},
methods:{...Event},
watch:{
"model.litamep.adlcndamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.adlcndamep.usrblk='';
}else if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.adlcndamep.usrblk='';
}
}
},
"model.litamep.adlcndamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.adlcndamep.usrblk='';
}else if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.adlcndamep.modflg == '' && this.model.litamep.adlcndamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.adlcndamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.adlcnd == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.adlcndamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.adlcnd == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.adlcnd='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.adlcndamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.adlcndamep.modflg == 'X' && this.model.litamep.adlcndamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.adlcndamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
created:function(){
}
......
......@@ -6,7 +6,7 @@
<el-form-item label="Description of Goods and/or Services" prop="lidgrp.blk.lcrgod">
<c-input
:rows="12"
disabled
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrgod" maxlength="1650" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
......@@ -14,12 +14,14 @@
<c-col :span="22">
<el-form-item label="Adding / Deleting Text in Current Amendment" prop="litamep.lcrgodamep.usrblk">
<c-input
:disabled="this.flag2"
:rows="22"
type="textarea" v-model="model.litamep.lcrgodamep.usrblk" maxlength="1650" show-word-limit placeholder="请输入Block to enter additional info for Add/Delete" ></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.lcrgodame.buttxmsel',null,null,{TXT: 'litamep.lcrgodamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-button>
</c-col>
......@@ -38,12 +40,14 @@
<c-col :span="12">
<c-checkbox
@change="open"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.lcrgodamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.lcrgodamep.modmanflg">Modify Text Internally</c-checkbox>
</c-col>
......@@ -89,10 +93,135 @@ export default {
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
}
},
watch:{
"model.litamep.lcrgodamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrgodamep.usrblk='';
}else if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrgodamep.usrblk='';
}
}
},
"model.litamep.lcrgodamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrgodamep.usrblk='';
}else if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.lcrgodamep.modflg == '' && this.model.litamep.lcrgodamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrgodamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.lcrgod == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.lcrgodamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.lcrgod == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrgod='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.lcrgodamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.lcrgodamep.modflg == 'X' && this.model.litamep.lcrgodamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrgodamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
methods:{...Event},
created:function(){
}
......
......@@ -5,7 +5,7 @@
<el-form-item label="Documents Required" prop="lidgrp.blk.lcrdoc">
<c-input
:rows="12"
disabled
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
</c-col>
......@@ -13,6 +13,7 @@
<c-col :span="22">
<el-form-item label="Adding / Deleting Text in current Amendment" prop="litamep.lcrdocamep.usrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.litamep.lcrdocamep.usrblk"
maxlength="1650"
show-word-limit placeholder="请输入Block to enter additional info for Add/Delete"
......@@ -22,6 +23,7 @@
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.lcrdocame.buttxmsel',null,null,{TXT: 'litamep.lcrdocamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-button>
</c-col>
......@@ -43,6 +45,7 @@
<c-checkbox
@change="open"
style=" margin: 0px 0 10px 150px;"
v-model="model.litamep.lcrdocamep.modflg">Modify Text to Replace</c-checkbox>
......@@ -50,8 +53,9 @@
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.lcrdocamep.modmanflg">Modify field for manual update</c-checkbox>
v-model="model.litamep.lcrdocamep.modmanflg">Modify Text Internally</c-checkbox>
</c-col>
<c-col :span="12">
......@@ -94,10 +98,135 @@ export default {
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
}
},
watch:{
"model.litamep.lcrdocamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrdocamep.usrblk='';
}else if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrdocamep.usrblk='';
}
}
},
"model.litamep.lcrdocamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrdocamep.usrblk='';
}else if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.lcrdocamep.modflg == '' && this.model.litamep.lcrdocamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.lcrdocamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.lcrdoc == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.lcrdocamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.lcrdoc == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.lcrdoc='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.lcrdocamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.lcrdocamep.modflg == 'X' && this.model.litamep.lcrdocamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.lcrdocamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
methods:{...Event},
created:function(){
}
......
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben">
<c-input
:rows="12"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="Adding / Deleting Text in Current Amendment" prop="litamep.spcbenamep.usrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcbenamep.usrblk"
maxlength="1650"
show-word-limit placeholder="请输入Block to enter additional info for Add/Delete"
:rows="22"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.lcrdocame.buttxmsel',null,null,{TXT: 'litamep.lcrdocamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Historic Overview" prop="lidgrp.blk.spcbename">
<c-input
:rows="12"
disabled
type="textarea" v-model="model.lidgrp.blk.spcbename" maxlength="50" show-word-limit placeholder="请输入Documents Required Amendment History" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0 10px 150px;"
@change="open"
v-model="model.litamep.spcbenamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.spcbenamep.modmanflg">Modify Text Internally</c-checkbox>
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onLcrdocamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
Delete text
</c-button>
</c-col>
</c-col>
<!-- !!!!!!!!!!!!!!!!!!!!!!!! -->
<!-- <c-col :span="12">
<c-form-item label="Special payment Conditions for beneficiary History" prop="lidgrp.blk.spcbename">
<c-input type="textarea" v-model="model.lidgrp.blk.spcbename" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'Special payment Conditions for beneficiary History'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Special Payment Conditions for Beneficiary" prop="lidgrp.blk.spcben">
<c-input type="textarea" v-model="model.lidgrp.blk.spcben" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Special Payment Conditions for Beneficiary'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Adding/Deleting Text in Current Amendment" prop="litamep.spcbenamep.usrblk">
<c-input type="textarea" v-model="model.litamep.spcbenamep.usrblk" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Block to enter additional info for Add/Delete'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.litamep.spcbenamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.litamep.spcbenamep.modmanflg">Modify field for manual update</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcbenamepButdif">
{{$t('swtamep.BT000363')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcbenamepButadd">
{{$t('swtamep.BT000364')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onSpcbenamepButdel">
{{$t('swtamep.BT000365')}}
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
}
},
watch:{
"model.litamep.spcbenamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}
}
},
"model.litamep.spcbenamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcbenamep.modflg == '' && this.model.litamep.spcbenamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcbenamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.spcben == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcben='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcbenamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.spcbenamep.modflg == 'X' && this.model.litamep.spcbenamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcbenamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="11">
<c-col :span="24">
<el-form-item label="Special Payment Conditions for Bank Only" prop="lidgrp.blk.spcrcb">
<c-input
:rows="12"
:disabled="this.flag1"
type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" show-word-limit placeholder="请输入Documents Required" ></c-input>
</el-form-item>
</c-col>
<c-col :span="22">
<el-form-item label="Adding / Deleting Text in Current Amendment" prop="litamep.spcrcbamep.usrblk">
<c-input type="textarea"
:disabled="this.flag2"
v-model="model.litamep.spcrcbamep.usrblk"
maxlength="1650"
show-word-limit placeholder="请输入Block to enter additional info for Add/Delete"
:rows="22"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" icon="el-icon-search"
:disabled="this.flag2"
@click="showGridPromptDialog('litamep.lcrdocame.buttxmsel',null,null,{TXT: 'litamep.lcrdocamep.usrblk'}, {TXT: false},'doxpDialog')">
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Historic Overview" prop="lidgrp.blk.spcrcbame">
<c-input
:rows="12"
disabled
type="textarea" v-model="model.lidgrp.blk.spcrcbame" maxlength="50" show-word-limit placeholder="请输入Documents Required Amendment History" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox
style=" margin: 0px 0 10px 150px;"
@change="open"
v-model="model.litamep.spcrcbamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox
@change="open1"
style=" margin: 0px 0 10px 125px;"
v-model="model.litamep.spcrcbamep.modmanflg">Modify Text Internally</c-checkbox>
</c-col>
<c-col :span="12">
<c-button
style=" margin: 0px 0 10px 150px;"
size="small" type="primary" @click="onLcrdocamepButdif">
Show Diff
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" @click="onLcrdocamepButadd">
Add Text
</c-button>
</c-col>
<c-col :span="24">
<c-button
style=" margin: 0px 0 10px 150px;"
disabled
size="small" type="primary" icon="el-icon-delete" @click="onLcrdocamepButdel">
Delete text
</c-button>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-form-item label="Special Payment Conditions for Bank Only History" prop="lidgrp.blk.spcrcbame">
<c-input type="textarea" v-model="model.lidgrp.blk.spcrcbame" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'Special Payment Conditions for Bank Only History'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Special Payment Conditions for Bank Only" prop="lidgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.lidgrp.blk.spcrcb" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Special Payment Conditions for Bank Only'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Block to enter additional info for Add/Delete" prop="litamep.spcrcbamep.usrblk">
<c-input type="textarea" v-model="model.litamep.spcrcbamep.usrblk" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Block to enter additional info for Add/Delete'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.litamep.spcrcbamep.modflg">Modify Text to Replace</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.litamep.spcrcbamep.modmanflg">Modify field for manual update</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcrcbamepButdif">
{{$t('swtamep.BT000363')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSpcrcbamepButadd">
{{$t('swtamep.BT000364')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onSpcrcbamepButdel">
{{$t('swtamep.BT000365')}}
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
flag1:true,
flag2:false,
}
},
watch:{
"model.litamep.spcrcbamep.modflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}
}
},
"model.litamep.spcrcbamep.modmanflg":{
immediate:true,
handler(val,oldval){
if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== ''){
this.flag1=true;
this.flag2=false;
}else if(this.model.litamep.spcrcbamep.modflg == '' && this.model.litamep.spcrcbamep.modmanflg== 'X'){
this.flag1=false;
this.flag2=true;
this.model.litamep.spcrcbamep.usrblk='';
}
}
}
},
methods:{...Event,
open(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modflg='X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(val == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){
this.$confirm('Please reset internal modification first','提示',{
confirmButtonText: 'Ok',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modflg='';
this.flag1=true;
this.flag2=false;
})
}
},
open1(val){
if(val === '' && !(this.model.lidgrp.blk.spcrcb == '')){
this.$confirm('Do you really want to reset your manual modifications?','提示',{
cancelButtonText: 'Cannel',
confirmButtonText: 'Ok',
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.lidgrp.blk.spcrcb='';
this.$message({
type: 'success',
message: '删除成功!'
});
}).catch(() => {
//No的功能在这里写
this.model.litamep.spcrcbamep.modmanflg = 'X'
this.$message({
type: 'info',
message: '已取消'
});
});
}else if(this.model.litamep.spcrcbamep.modflg == 'X' && this.model.litamep.spcrcbamep.modmanflg =='X'){
this.$confirm('Please reset modification to replace first','提示',{
confirmButtonText: 'Ok',
cancelButtonText: '',
showCancelButton:false,
type: 'warning',
showClose:false
}).then(() => {
//yes的执行在这里写
this.model.litamep.spcrcbamep.modmanflg='';
this.flag1=true;
this.flag2=false;
})
}
}
},
created:function(){
}
}
</script>
<style>
</style>
......@@ -92,6 +92,18 @@
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane
v-if="this.model.lidgrp.rec.spcbenflg"
label="Spe.pay conditions Ben [Amend.]" name="spbpame">
<m-spbpame :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane
v-if="this.model.lidgrp.rec.spcrcbflg"
label="Spe.pay.cond.bank only [Amend]" name="sprpame">
<m-sprpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000352 -->
<el-tab-pane label="Doc's(Amend)" name="dorpame">
<m-dorpame :model="model" :codes="codes"/>
......@@ -167,8 +179,8 @@ import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
import AampVue from '../Detame/Aamp.vue'
import Spbpame from "./Spbpame.vue"
import Sprpame from "./Sprpame.vue"
export default {
name:"Litame",
components:{
......@@ -185,6 +197,8 @@ export default {
"m-glepan" : Glepan,
"m-addbcb" : Addbcb,
"m-coninfp" : Coninfp,
"m-spbpame" : Spbpame,
"m-sprpame" : Sprpame,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-dorpame" : Dorpame,
......
......@@ -39,7 +39,7 @@
<c-col>
<c-col :span="12">
<el-form-item label="Charges" prop="brdgrp.blk.chaadd">
<el-form-item label="Charges Added" prop="brdgrp.blk.chaadd">
<c-input type="textarea" v-model="model.brdgrp.blk.chaadd" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
</el-form-item>
</c-col>
......@@ -107,13 +107,17 @@
<c-col>
<c-col :span="12">
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input>
<c-input
:disabled="!(this.model.brdgrp.blk.docdisflg =='X')"
type="textarea" v-model="model.brdgrp.blk.docdis" maxlength="50" show-word-limit placeholder="请输入不符点" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
<c-checkbox
style="margin: 0px 0 10px 150px;"
v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox>
</c-col>
</div>
</template>
......
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