Commit 7783833c by lianyang

letnot首页修改,加隐藏页面Aamp.vue\Scbenp.vue\Spcrcvp.vue

parent 76ea812e
......@@ -5,16 +5,13 @@ import Utils from "~/utils"
*/
let checkObj = {
"ledgrp.apb.pts.extkey" :null,
"letp.rmbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.opndat" :null,
"ledgrp.adv.namelc" :null,
"ledgrp.blk.shpper" :null,
"ledgrp.rmb.pts.extkey" :null,
"letp.avbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.a2b.pts.adrblk" :null,
"letp.conp.ptsget.sdamod.dadsnd" :null,
"ledgrp.iss.pts.adrblk" :null,
"letp.issp.ptsget.sdamod.dadsnd" :null,
"ledgrp.blk.spcrcb" :null,
"ledgrp.blk.preper" :null,
"ledgrp.adv.adrelc" :null,
"ledgrp.ben.adrelc" :null,
......@@ -34,10 +31,8 @@ let checkObj = {
"ledgrp.apb.pts.adrblk" :null,
"letp.usr.extkey" :null,
"ledgrp.a2b.namelc" :null,
"ledgrp.cbs.nom1.cur" :null,
"setmod.redamt" :null,
"ledgrp.cbs.nom1.cur" :null,
"ledgrp.rec.shpdat" :null,
"letp.a2bp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.nam" :null,
"ledgrp.rec.prepers18" :null,
"ledgrp.rec.nomtop" :null,
......@@ -45,19 +40,17 @@ let checkObj = {
"ledgrp.rec.nomton" :null,
"ledgrp.rec.avbwth" :null,
"ledgrp.apb.namelc" :null,
"letp.drwp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rmb.namelc" :null,
"ledgrp.blk.feetxt" :null,
"ledgrp.apl.namelc" :null,
"ledgrp.cbs.max2.amt" :null,
"ledgrp.rec.stacty" :null,
"ledgrp.adv.pts.adrblk" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.cbs.nom1.amt" :null,
"ledgrp.blk.lcrdoc" :null,
"ledgrp.blk.defdet" :null,
"letp.apbp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.expdat" :null,
"ledgrp.blk.dftat" :null,
"letp.benp.ptsget.sdamod.dadsnd" :null,
"ledgrp.rec.lcrtyp" :null,
"ledgrp.blk.insbnk" :null,
"mtabut.coninf.conexedat" :null,
......@@ -67,24 +60,23 @@ let checkObj = {
"ledgrp.blk.adlcnd" :null,
"ledgrp.iss.namelc" :null,
"ledgrp.rec.expplc" :null,
"letp.advp.ptsget.sdamod.dadsnd" :null,
"ledgrp.drw.pts.extkey" :null,
"ledgrp.a2b.pts.extkey" :null,
"ledgrp.iss.pts.ref" :null,
"ledgrp.ben.namelc" :null,
"ledgrp.apl.pts.adrblk" :null,
"letp.recget.sdamod.dadsnd" :null,
"ledgrp.ben.pts.adrblk" :null,
"ledgrp.blk.addamtcov" :null,
"setmod.docamt" :null,
"ledgrp.apb.adrelc" :null,
"ledgrp.rmb.adrelc" :null,
"ledgrp.drw.namelc" :null,
"ledgrp.apl.pts.extkey" :null,
"letp.aplp.ptsget.sdamod.dadsnd" :null,
"ledgrp.con.pts.extkey" :null,
"ledgrp.rec.cnfdet" :null,
"ledgrp.drw.pts.adrblk" :null,
"ledgrp.rec.apprultxt" :null,
"ledgrp.blk.spcben" :null,
}
for (const key in checkObj) {
......@@ -94,3 +86,5 @@ for (const key in checkObj) {
}
export default checkObj
......@@ -6,94 +6,97 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ledgrp.apb.pts.extkey" :Utils.defaultFunction,
"ledgrp.apb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.a2b.pts.extkey" :Utils.defaultFunction,
"ledgrp.a2b.adrelc" :Utils.defaultFunction,
"ledgrp.a2b.namelc" :Utils.defaultFunction,
"ledgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.con.pts.nam" :Utils.defaultFunction,
"ledgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ledgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ledgrp.rec.stacty" :Utils.defaultFunction,
"ledgrp.rec.avbby" :Utils.defaultFunction,
"ledgrp.avb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"ledgrp.apl.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.adrelc" :Utils.defaultFunction,
"ledgrp.apl.namelc" :Utils.defaultFunction,
"ledgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.nomtop" :Utils.defaultFunction,
"letp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ledgrp.blk.shpper" :Utils.defaultFunction,
"ledgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.blk.preper" :Utils.defaultFunction,
"ledgrp.rec.prepers18" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"ledgrp.rmb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rmb.adrelc" :Utils.defaultFunction,
"ledgrp.rmb.namelc" :Utils.defaultFunction,
"ledgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.nonban" :Utils.defaultFunction,
"ledgrp.rec.avbwth" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"ledgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ledgrp.iss.pts.extkey" :Utils.defaultFunction,
"ledgrp.adv.pts.extkey" :Utils.defaultFunction,
"ledgrp.adv.adrelc" :Utils.defaultFunction,
"ledgrp.adv.namelc" :Utils.defaultFunction,
"ledgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.a2b.pts.adrblk" :Utils.defaultFunction,
"ledgrp.avb.adrelc" :Utils.defaultFunction,
"ledgrp.avb.namelc" :Utils.defaultFunction,
"ledgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.apb.pts.extkey" :Utils.defaultFunction,
"ledgrp.a2b.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.pts.extkey" :Utils.defaultFunction,
"ledgrp.apl.adrelc" :Utils.defaultFunction,
"ledgrp.apl.namelc" :Utils.defaultFunction,
"ledgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.apl.pts.adrblk" :Utils.defaultFunction,
"ledgrp.avb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.resflg" :Utils.defaultFunction,
"ledgrp.con.pts.extkey" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ledgrp.cbs.max.amt" :Utils.defaultFunction,
"ledgrp.rec.shppars18" :Utils.defaultFunction,
"ledgrp.rec.shppar" :Utils.defaultFunction,
"ledgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.adv.pts.extkey" :Utils.defaultFunction,
"ledgrp.ben.pts.extkey" :Utils.defaultFunction,
"ledgrp.ben.adrelc" :Utils.defaultFunction,
"ledgrp.ben.namelc" :Utils.defaultFunction,
"ledgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.adv.pts.adrblk" :Utils.defaultFunction,
"ledgrp.avb.adrelc" :Utils.defaultFunction,
"ledgrp.avb.namelc" :Utils.defaultFunction,
"ledgrp.avb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.apprul" :Utils.defaultFunction,
"ledgrp.adv.pts.adrblk" :Utils.defaultFunction,
"ledgrp.iss.pts.adrblk" :Utils.defaultFunction,
"letp.usr.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.iss.pts.extkey" :Utils.defaultFunction,
"ledgrp.iss.adrelc" :Utils.defaultFunction,
"ledgrp.iss.namelc" :Utils.defaultFunction,
"ledgrp.iss.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.iss.pts.adrblk" :Utils.defaultFunction,
"chaadv" :Utils.defaultFunction,
"ledgrp.rec.avbby" :Utils.defaultFunction,
"ledgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ledgrp.rec.spcbenflg" :Utils.defaultFunction,
"ledgrp.cbs.max2.amt" :Utils.defaultFunction,
"ledgrp.blk.addamtcov" :Utils.defaultFunction,
"ledgrp.ben.pts.adrblk" :Utils.defaultFunction,
"ledgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ledgrp.drw.pts.adrblk" :Utils.defaultFunction,
"ledgrp.drw.pts.extkey" :Utils.defaultFunction,
"ledgrp.drw.adrelc" :Utils.defaultFunction,
"ledgrp.drw.namelc" :Utils.defaultFunction,
"ledgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.rec.shptrss18" :Utils.defaultFunction,
"ledgrp.rec.shptrs" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
"ledgrp.cbs.max2.cur" :Utils.defaultFunction,
"letp.aamp.aammod.addamtflg" :Utils.defaultFunction,
"ledgrp.apb.adrelc" :Utils.defaultFunction,
"ledgrp.apb.namelc" :Utils.defaultFunction,
"ledgrp.apb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ledgrp.rec.stacty" :Utils.defaultFunction,
"ledgrp.rmb.pts.extkey" :Utils.defaultFunction,
"ledgrp.rmb.adrelc" :Utils.defaultFunction,
"ledgrp.rmb.namelc" :Utils.defaultFunction,
"ledgrp.rmb.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.blk.avbwthtxt" :Utils.defaultFunction,
"ledgrp.rec.avbwth" :Utils.defaultFunction,
"ledgrp.cbs.max.amt" :Utils.defaultFunction,
"ledgrp.blk.shpper" :Utils.defaultFunction,
"ledgrp.rec.shpdat" :Utils.defaultFunction,
"ledgrp.drw.adrelc" :Utils.defaultFunction,
"ledgrp.drw.namelc" :Utils.defaultFunction,
"ledgrp.drw.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.blk.spcben" :Utils.defaultFunction,
"ledgrp.rec.advdat" :Utils.defaultFunction,
"ledgrp.rec.spcrcbflg" :Utils.defaultFunction,
"ledgrp.rec.spcbenflg" :Utils.defaultFunction,
"ledgrp.drw.pts.adrblk" :Utils.defaultFunction,
"ledgrp.ben.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rmb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ledgrp.apb.pts.adrblk" :Utils.defaultFunction,
"ledgrp.a2b.adrelc" :Utils.defaultFunction,
"ledgrp.a2b.namelc" :Utils.defaultFunction,
"ledgrp.a2b.dbfadrblkcn" :Utils.defaultFunction,
"ledgrp.rec.revflg" :Utils.defaultFunction,
"ledgrp.rec.nomtop" :Utils.defaultFunction,
"ledgrp.blk.spcrcb" :Utils.defaultFunction,
"ledgrp.adv.adrelc" :Utils.defaultFunction,
"ledgrp.adv.namelc" :Utils.defaultFunction,
"ledgrp.adv.dbfadrblkcn" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ledgrp.rec.shppars18" :Utils.defaultFunction,
"ledgrp.rec.shppar" :Utils.defaultFunction,
"ledgrp.rec.shptrss18" :Utils.defaultFunction,
"ledgrp.rec.shptrs" :Utils.defaultFunction,
"ledgrp.blk.preper" :Utils.defaultFunction,
"ledgrp.rec.prepers18" :Utils.defaultFunction,
"ledgrp.rec.nonban" :Utils.defaultFunction,
"ledgrp.rec.resflg" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.cbs.max.cur" :Utils.defaultFunction,
"ledgrp.rec.expdat" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -218,8 +218,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButapy(){
let rtnmsg = await this.executeRule("mtdbut.butapy")
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -230,8 +230,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onMtdbutButcan(){
let rtnmsg = await this.executeRule("mtdbut.butcan")
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -242,8 +242,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -254,8 +254,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -266,8 +266,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -278,8 +278,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -290,8 +290,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -302,8 +302,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onSpcrcbButtxmsel(){
let rtnmsg = await this.executeRule("spcrcb.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -314,8 +314,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onSpcbenButtxmsel(){
let rtnmsg = await this.executeRule("spcben.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -49,7 +49,7 @@ export default {
],
"ledgrp.cbs.nom1.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位" }
],
......@@ -64,12 +64,12 @@ export default {
],
"ledgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "string", required: false, message: "必输项",trigger: "blur"},
{max: 2,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "string", required: false, message: "必输项",trigger: "blur"},
{max: 2,message:"长度不能超过2",trigger: "blur"}
],
"ledgrp.ben.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -80,7 +80,7 @@ export default {
"ledgrp.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位" }
],
......@@ -189,6 +189,22 @@ export default {
"ledgrp.cbs.max2.amt":[
{type: "strig", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.cbs.opn2.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 140,message:"长度不能超过140"}
],
"ledgrp.blk.mixdet":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -465,6 +481,7 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"ledgrp.blk.lcrgod":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -489,10 +506,6 @@ export default {
{max: 65,message:"长度不能超过65"}
],
"chaadv":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -507,22 +520,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
......@@ -588,4 +585,14 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"ledgrp.blk.spcrcb":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"ledgrp.blk.spcben":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
}
\ No newline at end of file
......@@ -69,6 +69,14 @@ export default class Letnot{
cur:"", // Maximum Amount .ledgrp.cbs.max.cur
amt:"", // Maximum Amount .ledgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .ledgrp.cbs.max2.cur
amt:"", // Additional Amount .ledgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .ledgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .ledgrp.cbs.opn2.amt
},
},
preadvflg:"", // PreAdvice or Notification .ledgrp.preadvflg
ben:{
......@@ -96,6 +104,7 @@ export default class Letnot{
dbfadrblkcn:"", // Chinese address .ledgrp.avb.dbfadrblkcn
},
blk:{
addamtcov:"", // Covered .ledgrp.blk.addamtcov
avbwthtxt:"", // Available in .ledgrp.blk.avbwthtxt
defdet:"", // Deferred Payment Details .ledgrp.blk.defdet
dftat:"", // Drafts at .ledgrp.blk.dftat
......@@ -107,7 +116,9 @@ export default class Letnot{
lcrdoc:"", // Documents Required .ledgrp.blk.lcrdoc
adlcnd:"", // Additional Conditions .ledgrp.blk.adlcnd
insbnk:"", // Instructions to Pay., .ledgrp.blk.insbnk
},
spcrcb:"", // Special Payment Cond. .ledgrp.blk.spcrcb
spcben:"", // Special Payment Cond. .ledgrp.blk.spcben
},
drw:{
pts:new Pts().data,
namelc:"", // 名称 .ledgrp.drw.namelc
......@@ -236,6 +247,9 @@ export default class Letnot{
},
},
},
ptsaddp:{
ptsaddg:[], // .letp.ptsaddp.ptsaddg
},
conp:{
ptsget:{
sdamod:{
......
<template>
<div class="eibs-tab">
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="13">
<el-form-item label="Additional Amount" prop="ledgrp.cbs.max2.cur">
<c-select v-model="model.ledgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max2.amt">
<c-input v-model="model.ledgrp.cbs.max2.amt" placeholder="请输入Additional Amount"
@keyup.enter.native="
defaultFunction('ledgrp.cbs.max2.amt', model.ledgrp.cbs.max2.amt)"></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="Open Add. Amount" prop="ledgrp.cbs.opn2.cur">
<c-select v-model="model.ledgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn2.amt">
<c-input v-model="model.ledgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Covered" prop="ledgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.ledgrp.blk.addamtcov" maxlength="140" show-word-limit
placeholder="请输入Covered" rows="4"></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<c-row>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="业务编号" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" :disabled="true">
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="信用证号码" prop="ledgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入Reference" style="width: 95%" :disabled="true">
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="1">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
<c-button
size="small"
type="primary"
:disabled="
model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref ? false : true
"
@click="onLetpButgetref"
>
获取
</c-button>
</c-col> -->
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-size: 15px; font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<!-- </el-form-item> -->
</c-col>
<c-col :span="2" :offset="1" style="text-align: right">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button style="margin: 0 0" size="small" type="primary" :disabled="this.flag" @click="onDetpButgetref">
获取
</c-button>
<!-- </el-form-item> -->
</c-col>
<template slot="footer">
<c-button style="margin: 0 10px 0 0; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<span style="font-size: 15px; font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary"
:disabled="model.ledgrp.ben.pts.adrblk && !model.ledgrp.rec.ownref ? false : true"
@click="onLetpButgetref">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="ledgrp.rec.nam">
<c-input text-align="middle" v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<!-- Form of L/C -->
<c-col :span="24">
<el-form-item label="转让标志" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width: 100%" placeholder="请选择转让标志" :code="codes.lcrtyp">
<el-form-item label="是否可以转让" prop="ledgrp.rec.lcrtyp">
<c-select v-model="model.ledgrp.rec.lcrtyp" style="width: 100%" placeholder="请选择" :code="codes.lcrtyp">
</c-select>
</el-form-item>
</c-col>
<!-- responsible user -->
<c-col :span="20">
<el-form-item label="经办柜员" prop="letp.usr.extkey">
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入经办柜员" :disabled="true"></c-input>
<c-col :span="24">
<el-form-item label="所属客户经理" prop="letp.usr.extkey">
<c-fullbox>
<c-input v-model="model.letp.usr.extkey" maxlength="8" placeholder="请输入所属客户经理" disabled></c-input>
<template slot="footer">
<c-button style="margin-left:10px;padding: 0 10px;" size="small" icon="el-icon-search" type="primary"
@click="onExtkey"></c-button>
<c-checkbox :disabled="true" style="margin-left:10px;" v-model="model.ledgrp.rec.collflg">抵押信用证</c-checkbox>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox :disabled="true" v-model="model.ledgrp.rec.collflg">抵押信用证</c-checkbox>
</c-col>
</c-col>
<!-- nominal amount -->
<c-col :span="13">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg">附加金额</c-checkbox>
</c-col>
<c-col :span="13">
<el-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" placeholder="请输入Amount Tolerance +/-"></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="10px" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
<c-select v-model="model.ledgrp.cbs.nom1.cur" style="width: 100%" placeholder="请选择币种"
@keyup.enter.native="nom1CurEvent" :code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" @keyup.enter.native="
defaultFunction('ledgrp.cbs.nom1.amt', model.ledgrp.cbs.nom1.amt)
" ></c-input-currency>
<!-- <c-input-currency v-model="model.ledgrp.cbs.nom1.amt" style="text-align: left; width: 100%"
placeholder="请输入信用证金额"></c-input-currency> -->
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox v-model="model.letp.aamp.aammod.addamtflg" style="margin-left:5px;">附加金额</c-checkbox>
</c-col>
</c-col>
<!-- <c-col :span="4">
<c-col :span="24">
<c-col :span="13">
<c-form-item label="金额浮动 +/-" prop="ledgrp.rec.nomtop">
<c-input v-model="model.ledgrp.rec.nomtop" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"></c-input>
</c-form-item>
</c-col>
<c-col :span="7">
<el-form-item label="" label-width="5px" prop="ledgrp.rec.nomton">
<c-input v-model="model.ledgrp.rec.nomton" maxlength="2" style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="4">
<c-checkbox v-model="model.ledgrp.preadvflg">PreAdvice or Notification</c-checkbox>
</c-col> -->
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.ledgrp.preadvflg">预先通知</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width: 100%" placeholder="请选择适用金额规范"
:code="codes.nomspc">
</c-select>
</el-form-item>
<c-col :span="4">
<c-checkbox v-model="model.ledgrp.preadvflg" style="margin-left:5px;">预先通知</c-checkbox>
</c-col>
</c-col>
<!-- Incoming Transfer -->
<c-col :span="3" :offset="1">
<c-checkbox v-model="model.ledgrp.rec.inctrf">传入传输</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="20">
<el-form-item label="适用金额规范" prop="ledgrp.rec.nomspc">
<c-select v-model="model.ledgrp.rec.nomspc" style="width: 100%" placeholder="请选择适用金额规范"
:code="codes.nomspc" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- Maximum Amount -->
<c-col :span="13">
<el-form-item label="最大金额" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种"
:code="codes.curtxt1">
</c-select>
</el-form-item>
<!-- Incoming Transfer -->
<c-col :span="4">
<c-checkbox v-model="model.ledgrp.rec.inctrf" style="margin-left:5px;">传入传输</c-checkbox>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="10px" prop="ledgrp.cbs.max.amt">
<c-input v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"></c-input>
</el-form-item>
</c-col>
<!-- Maximum Amount -->
<c-col :span="13">
<el-form-item label="信用证最大金额" prop="ledgrp.cbs.max.cur">
<c-select v-model="model.ledgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种" :code="codes.curtxt1"
disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="ledgrp.cbs.max.amt">
<c-input disabled v-model="model.ledgrp.cbs.max.amt" placeholder="请输入最大金额"></c-input>
</el-form-item>
</c-col>
<!-- Issued on -->
<c-col :span="13">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker type="date" v-model="model.ledgrp.rec.opndat" style="width: 100%" placeholder="请选择开证日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" :offset="1">
<el-form-item label="预通知日期" label-width="80px" prop="ledgrp.rec.preadvdt">
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width: 100%" placeholder="请选择日期">
</c-date-picker>
</el-form-item>
</c-col>
<!-- shipment date -->
<c-col :span="13">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width: 100%" placeholder="请选择装运日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" :offset="1">
<el-form-item label="通知日期" label-width="80px" prop="ledgrp.rec.advdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.advdat" style="width: 100%" placeholder="请选择通知日期">
</c-date-picker>
</el-form-item>
</c-col>
<!-- Issued on -->
<c-col :span="13">
<el-form-item label="开证日期" prop="ledgrp.rec.opndat">
<c-date-picker disabled type="date" v-model="model.ledgrp.rec.opndat" style="width: 100%" value-format="yyyy-MM-dd"
placeholder="请选择开证日期">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" :offset="1">
<el-form-item label="预通知日期" label-width="80px" prop="ledgrp.rec.preadvdt">
<c-date-picker type="date" v-model="model.ledgrp.rec.preadvdt" style="width: 100%" value-format="yyyy-MM-dd" placeholder="请选择日期">
</c-date-picker>
</el-form-item>
</c-col>
<!-- shipment date -->
<c-col :span="13">
<el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.shpdat" style="width: 100%" placeholder="请选择装运日期" value-format="yyyy-MM-dd">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="10" :offset="1">
<el-form-item label="通知日期" label-width="80px" prop="ledgrp.rec.advdat">
<c-date-picker disabled type="date" v-model="model.ledgrp.rec.advdat" style="width: 100%" placeholder="请选择通知日期" value-format="yyyy-MM-dd">
</c-date-picker>
</el-form-item>
</c-col>
<!-- expiring on -->
<c-col :span="24">
<el-form-item label="到期日" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width: 100%" placeholder="请选择到期日">
</c-date-picker>
</el-form-item>
</c-col>
<!-- in (place)/counters of -->
<c-col :span="24">
<el-form-item label="有效地点" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="有效地点"></c-input>
</el-form-item>
</c-col>
<!-- Confirmation Instruct.Received -->
<c-col :span="24">
<el-form-item label="确认接收指示" prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width: 100%" placeholder="请选择确认接收指示"
:code="codes.cnfflg1">
</c-select>
</el-form-item>
</c-col>
<!-- Applicable rules -->
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width: 100%" placeholder="请选择适用规则"
:code="codes.apprul">
</c-select>
</el-form-item>
</c-col>
<!-- Other Applicable rules -->
<c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入其他规则"></c-input>
</el-form-item>
</c-col>
<!-- Partial shipment -->
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width: 100%" placeholder="请选择分批装运"
:code="codes.shptrss18">
</c-select>
</el-form-item>
</c-col>
<!-- Transshipment -->
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment"
:code="codes.shptrss18">
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<!-- expiring on -->
<c-col :span="24">
<el-form-item label="有效日期" prop="ledgrp.rec.expdat">
<c-date-picker type="date" v-model="model.ledgrp.rec.expdat" style="width: 100%" value-format="yyyy-MM-dd"
placeholder="请选择到期日">
</c-date-picker>
</el-form-item>
</c-col>
<!-- in (place)/counters of -->
<c-col :span="24">
<el-form-item label="有效地点" prop="ledgrp.rec.expplc">
<c-input v-model="model.ledgrp.rec.expplc" maxlength="29" placeholder="有效地点"></c-input>
</el-form-item>
</c-col>
<!-- Confirmation Instruct.Received -->
<c-col :span="24">
<el-form-item label="确认接收指示" prop="ledgrp.rec.cnfdet">
<c-select v-model="model.ledgrp.rec.cnfdet" style="width: 100%" placeholder="请选择确认接收指示"
:code="codes.cnfflg1">
</c-select>
</el-form-item>
</c-col>
<!-- Applicable rules -->
<c-col :span="24">
<el-form-item label="适用规则" prop="ledgrp.rec.apprul">
<c-select v-model="model.ledgrp.rec.apprul" style="width: 100%" placeholder="请选择适用规则"
:code="codes.apprul">
</c-select>
</el-form-item>
</c-col>
<!-- Other Applicable rules -->
<c-col :span="24">
<el-form-item label="其他规则" prop="ledgrp.rec.apprultxt">
<c-input disabled v-model="model.ledgrp.rec.apprultxt" maxlength="35" placeholder="请输入其他规则"></c-input>
</el-form-item>
</c-col>
<!-- Partial shipment -->
<c-col :span="24">
<el-form-item label="分批装运" prop="ledgrp.rec.shppar">
<c-select v-model="model.ledgrp.rec.shppar" style="width: 100%" placeholder="请选择分批装运"
:code="codes.shptrss18">
</c-select>
</el-form-item>
</c-col>
<!-- Transshipment -->
<c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrs">
<c-select v-model="model.ledgrp.rec.shptrs" style="width:100%" placeholder="请选择Transshipment"
:code="codes.shptrss18">
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="转运" prop="ledgrp.rec.shptrss18">
<c-select
v-model="model.ledgrp.rec.shptrss18"
......@@ -210,19 +214,14 @@
</c-select>
</el-form-item>
</c-col> -->
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="概要" prop="ledgrp.rec.nam">
<c-input v-model="model.ledgrp.rec.nam" maxlength="40" placeholder="请输入概要"></c-input>
</el-form-item>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="Beneficiary Ref." prop="ledgrp.ben.pts.ref">
<c-input v-model="model.ledgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref."></c-input>
</el-form-item>
......@@ -233,69 +232,55 @@
<c-input v-model="model.letp.benp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '受益人',
grp: 'ledgrp',
rol: 'ben',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onBenpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onIsspDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '开证行',
grp: 'ledgrp',
rol: 'iss',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onIsspDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onAplpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '申请人',
grp: 'ledgrp',
rol: 'apl',
}" :disabled="true" @onSeainf="onSeainf" @onAplpDet="onAplpDet">
</c-ptap>
</c-col>
<!-- <c-col :span="24" class="centerLable marginLable">
<!-- <c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.revflg"
>Revolving Flag</c-checkbox
>
</c-col> -->
<!-- Authorization to Debit -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">借记授权书</c-checkbox>
</c-col>
<!-- Non-Bank Issuer -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.nonban">非银行发行人</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox>
</c-col>
<!-- Authorization to Debit -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.dbtflg">借记授权书</c-checkbox>
</c-col>
</c-col>
<!-- Non-Bank Issuer -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.nonban">非银行发行人</c-checkbox>
</c-col>
<!-- Test Key Unconfirmity -->
<c-col :span="24" class="centerLable marginLable">
<c-checkbox v-model="model.ledgrp.rec.teskeyunc">测试密钥</c-checkbox>
</c-col>
<!-- <c-amtpanl
:model="model"
:span="20"
:message="{
title: '开证金额',
cur: 'ledgrp.cbs.nom1.cur',
amt: 'ledgrp.cbs.nom1.amt',
}"
></c-amtpanl> -->
</c-col>
</c-row>
</template>
<script>
......@@ -303,6 +288,7 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
// import Amtpanl from "~/views/Public/Amtpanl";
......@@ -314,13 +300,16 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: { ...Event,
nom1CurEvent() {
this.executeDefault("ledgrp.cbs.nom1.cur").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
onSeainf() { }, onExtkey() { }, onDetpButgetref() { }, onBenpDet() { }, onIsspDet() { }, onAplpDet() { } },
created: function () { },
// computed: {
// flag() {
// return this.model.dedgrp.ben.pts.extkey == "";
// },
// },
};
</script>
<style>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcben">
<c-input type="textarea" v-model="model.ledgrp.blk.spcben" maxlength="65" show-word-limit
placeholder="请输入Special Payment Cond."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcbenButtxmsel">
...
</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/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event ,onSpcbenButtxmsel(){}},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Special Payment Cond." prop="ledgrp.blk.spcrcb">
<c-input type="textarea" v-model="model.ledgrp.blk.spcrcb" maxlength="65" show-word-limit
placeholder="请输入Special Payment Cond."></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSpcrcbButtxmsel">
...
</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/Letnot/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event ,onSpcrcbButtxmsel(){}},
created: function () {
}
}
</script>
<style>
</style>
......@@ -28,7 +28,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000017 -->
<el-tab-pane label="内容" name="ovwp">
<c-content>
......@@ -36,6 +36,11 @@
</c-content>
</el-tab-pane>
<!--PD000001 Additional Amount 附加金额/额外款项-->
<el-tab-pane label="附加金额" name="aamp" v-if="model.letp.aamp.aammod.addamtflg=='X'">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000063 -->
<el-tab-pane label="信用证详情" name="detp">
<c-content>
......@@ -67,16 +72,6 @@
</c-content>
</el-tab-pane>
<!-- PD000015
<el-tab-pane label="PD000015" name="notcha">
<m-notcha :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000020 -->
<!-- <el-tab-pane label="信用证详情" name="detp">
<m-detp :model="model" :codes="codes" />
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<c-content>
......@@ -98,8 +93,17 @@
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000422 -->
<el-tab-pane label="银行专用特殊付款条件" name="spcrcvp">
<m-spcrcvp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000394 -->
<el-tab-pane label="受益人特殊付款条件" name="spcbenp">
<m-spcbenp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
......@@ -120,17 +124,14 @@ import Check from "~/model/Letnot/Check";
import Default from "~/model/Letnot/Default";
import Pattern from "~/model/Letnot/Pattern";
import Ovwp from "./Ovwp";
import Aamp from "./Aamp";
import Spcrcvp from "./Spcrcvp";
import Spcbenp from "./Spcbenp";
import Detp from "./Detp";
import Ptyp from "./Ptyp";
import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
// import Notcha from "./Notcha";
// import Detp from "./Detp";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
// import Doctre from "./Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
......@@ -141,17 +142,19 @@ export default {
name: "Letnot",
components: {
"m-ovwp": Ovwp,
"m-aamp" : Aamp,
"m-detp": Detp,
"m-ptyp": Ptyp,
"m-dogp": Dogp,
"m-dorp": Dorp,
"m-adcp": Adcp,
// "m-notcha": Notcha,
// "m-detp": Detp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-spcrcvp" : Spcrcvp,
"m-spcbenp" : Spcbenp,
},
provide() {
return {
......@@ -172,14 +175,21 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入letnot交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
......
<template>
<ReviewWrapper>
<Letnot></Letnot>
</ReviewWrapper>
</template>
<script>
import Letnot from "~/views/Business/Letnot";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLetnot",
components: { ReviewWrapper, Letnot },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -7,6 +7,7 @@ import ReviewGetset from "./Business/ReviewGetset.vue";
import ReviewDetopn from "./Business/ReviewDetopn.vue";
import ReviewDetdrv from "./Business/ReviewDetdrv.vue";
import ReviewBdtdck from "./Business/ReviewBdtdck.vue";
import ReviewLetnot from "./Business/ReviewLetnot.vue";
const ReviewRouter = [
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
......@@ -18,6 +19,7 @@ const ReviewRouter = [
{ path: "detopn", component: ReviewDetopn, name: "ReviewDetopn", meta: { title: "复核-Detopn" } },
{ path: "detdrv", component: ReviewDetdrv, name: "ReviewDetdrv", meta: { title: "复核-Detdrv" } },
{ path: "bdtdck", component: ReviewBdtdck, name: "ReviewBdtdck", meta: { title: "复核-Bdtdck" } },
{ path: "letnot", component: ReviewLetnot, name: "ReviewLetnot", meta: { title: "复核-Letnot" } },
];
export default ReviewRouter;
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