Commit 35bcc8e8 by nanrui

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents e4473aab d4d9b375
......@@ -396,4 +396,8 @@
.col-right {
padding-left: 20px;
}
.el-button{
height: 32px;
}
\ No newline at end of file
......@@ -5,9 +5,9 @@
<template>
<div class="m-Btn-eContainer" v-if="!buttonHide && ((!isReview && !funcBtnHide) || showSetBtn)">
<div class="m-funcBtn-eContainer" v-if="!isReview && !buttonHide && !funcBtnHide">
<el-button type="primary" size="small" @click="confirm" :loading="$store.state.Status.loading.confirm">{{ $t('buttons.confirm') }}</el-button>
<el-button type="primary" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="check" :loading="$store.state.Status.loading.check">{{ $t('buttons.check') }}</el-button>
<el-button type="primary" v-show="root.judgeVisiableInfo('mtabut.usrcon')" size="small" @click="confirm" :loading="$store.state.Status.loading.confirm">{{ $t('buttons.confirm') }}</el-button>
<el-button type="primary" v-show="root.judgeVisiableInfo('mtabut.sav')" size="small" @click="start" :loading="$store.state.Status.loading.submit">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" v-show="root.judgeVisiableInfo('mtabut.chk')" @click="check" :loading="$store.state.Status.loading.check">{{ $t('buttons.check') }}</el-button>
<el-button size="small" @click="save" :loading="$store.state.Status.loading.stash">{{ $t('buttons.stash') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
......@@ -45,6 +45,7 @@
// 反洗钱组件引入
export default {
inject: ["root"],
// 如果需要制裁信息按钮则给组件传 showAml 方法,如果不需要则不传
props: ["handleSubmit", "handleCheck", "handleStash", "handleExit", "hideFuncBtn", "handleConfirm"],
data: function() {
......@@ -79,9 +80,13 @@ export default {
},
buttonHide() {
return this.$route.path.indexOf("display") !== -1;
}
},
},
methods: {
// judgeVisiableInfo() {
// },
start: async function() {
this.handleSubmit && (await this.handleSubmit());
},
......
......@@ -416,6 +416,25 @@ export default {
layout.changeSize(1);
layout.currentTool = currentTool;
layout.toolTitle = toolTitle;
},
/**
* 判断状态信息,包括visiable,modified,enabled等
*/
judgeVisiableInfo(rulePath){
var model = this.model;
if(model == null){
return false;
}
var info = this.model.statusInfo;
if(info == null || info.length == 0){
return false;
}
var visiable = info["visiable"];
if(visiable[rulePath] == null){
return false;
}
return visiable[rulePath];
}
},
computed: {
......
......@@ -6,33 +6,43 @@ import Utils from "~/utils"
let checkObj = {
"liaall.misamt" :null,
"btdgrp.blk.comcon" :null,
"rmbclm.acwacw.pts.extkey" :null,
"cnybop.outflg" :null,
"btdgrp.prb.pts.nam" :null,
"btdgrp.prb.adrelc" :null,
"btdgrp.oth.pts.adrblk" :null,
"setmod.dspflg" :null,
"btdgrp.prb.pts.extkey" :null,
"liaall.liaccv.totcovamt" :null,
"btdgrp.blk.intdis" :null,
"bttp.prbp.ptsget.sdamod.dadsnd" :null,
"cnybop.cnyflg" :null,
"rmbclm.bebbeb.adrelc" :null,
"btdgrp.oth.adrelc" :null,
"rmbclm.acwacw.namelc" :null,
"btdgrp.rec.disdat" :null,
"bttp.ltdget.sdamod.dadsnd" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"btdgrp.oth.pts.extkey" :null,
"bttp.ledget.sdamod.dadsnd" :null,
"btdgrp.be2.pts.nam" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
"btdgrp.blk.benref" :null,
"btdgrp.prb.pts.adrblk" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"btdgrp.prb.namelc" :null,
"btdgrp.blk.setinsbt" :null,
"btdgrp.blk.docdis" :null,
"bttp.othp.ptsget.sdamod.dadsnd" :null,
"bttp.furide" :null,
"cnybop.traflg" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"btdgrp.be1.pts.nam" :null,
"bttp.recget.sdamod.dadsnd" :null,
"mtabut.coninf.conexedat" :null,
"rmbclm.bebbeb.namelc" :null,
"cnybop.libflg" :null,
"setmod.docamt" :null,
"liaall.liaccv.cshpct" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"btdgrp.oth.namelc" :null,
"liaall.liaccv.relcshpct" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
......
......@@ -6,46 +6,72 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"btdgrp.oth.pts.extkey" :Utils.defaultFunction,
"btdgrp.oth.adrelc" :Utils.defaultFunction,
"btdgrp.oth.namelc" :Utils.defaultFunction,
"btdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"btdgrp.prb.pts.extkey" :Utils.defaultFunction,
"btdgrp.prb.adrelc" :Utils.defaultFunction,
"btdgrp.prb.namelc" :Utils.defaultFunction,
"btdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"btdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"btdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"bttp.cre752flg" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"btdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.prb.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"btdgrp.be1.pts.nam" :Utils.defaultFunction,
"btdgrp.rec.docprbrol" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.cbs.max.cur" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.approvcod" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe1" :Utils.defaultFunction,
"btdgrp.blk.docdis" :Utils.defaultFunction,
"btdgrp.rec.rcvdatbe2" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"btdgrp.be2.pts.nam" :Utils.defaultFunction,
"bttp.cre752flg" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"btdgrp.rec.doctypcod" :Utils.defaultFunction,
"btdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"btdgrp.blk.docdisflg" :Utils.defaultFunction,
"btdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"btdgrp.cbs.max.amt" :Utils.defaultFunction,
"btdgrp.rec.dscinsflg" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
"btdgrp.blk.benref" :Utils.defaultFunction,
"btdgrp.rec.disdat" :Utils.defaultFunction,
"btdgrp.rec.approvcod" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"rmbclmlate" :Utils.defaultFunction,
"rmbclmnow" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"btdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"cnybop.outflg" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
},
export default {
onSeainf() {
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
......@@ -114,8 +114,92 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvAdd(){
let rtnmsg = await this.executeRule("liaccv.add")
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -126,8 +210,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaccvDel(){
let rtnmsg = await this.executeRule("liaccv.del")
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -304,6 +304,30 @@ export default {
{max: 70,message:"长度不能超过70"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
......@@ -317,4 +341,137 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
}
\ No newline at end of file
......@@ -147,7 +147,60 @@ export default class Bttsnd{
// },
// },
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
pageId: "", // ctx的key
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg:"", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg:"", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg:"", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
rmbclm:{
rmbrmb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.rmbrmb.namelc
adrelc:"", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
},
},
acwacw:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.acwacw.namelc
adrelc:"", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
},
},
bebbeb:{
pts:new Pts().data,
namelc:"", // 名称 .rmbclm.bebbeb.namelc
adrelc:"", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn:"", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp:{
ptsget:{
sdamod:{
seainf:"", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
},
},
rmbrol:"", // 偿付行 .rmbclm.rmbrol
valdat:"", // value date .rmbclm.valdat
},
}
}
}
\ No newline at end of file
......@@ -20,11 +20,11 @@ export default {
],
"trnmod.swiadd.amenbr":[
{required: true, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
{type: "number", max: 999,message:"只能输入数字,且长度不能超过3"}
],
"litamep.amenbr":[
{required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
{type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
],
"lidgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -32,16 +32,16 @@ export default {
],
"oldlidgrp.cbs.nom1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"oldlidgrp.rec.nomtop":[
{required: false, message: "必输项"},
{type: "number",max: 99,message:"长度不能超过2"}
{type: "number",max: 99,message:"只能输入数字,长度不能超过2"}
],
"oldlidgrp.rec.nomton":[
{required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"oldlidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -49,34 +49,34 @@ export default {
],
"oldlidgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.ameamt":[
{required: false, message: "必输项"},
{type: "string", max: 18,message:"整数位不能超过14位"},
{pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,3}$)|(^(\+|\-)|\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{type: "string", max: 18,message:"整数位不能超过15位"},
{pattern: /(^(\+|\-)|\d+$)|(^(\+|\-)|\.\d{1,2}$)|(^(\+|\-)|\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"litamep.engamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.newamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.newnomtop":[
{required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"trnmod.swiadd.newnomton":[
{ required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"litamep.maxcur":[
{type: "string", required: false, message: "必输项"},
......@@ -84,8 +84,8 @@ export default {
],
"litamep.maxamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"oldlidgrp.rec.expdat":[
......@@ -103,11 +103,11 @@ export default {
"oldlidgrp.rec.prepers18":[
{ required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
{type: "number",max: 999,message:"只能输入数字,长度不能超过3"}
],
"trnmod.swiadd.prepers18":[
{required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
{type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
],
"oldlidgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
......@@ -129,16 +129,16 @@ export default {
],
"trnmod.swiadd.addamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"trnmod.swiadd.trnfeetxt":[
{type: "string", required: true, message: "必输项"},
{max: 35*6,message:"长度不能超过35"}
{max: 210,message:"长度不能超过210"}
],
"trnmod.swiadd.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
......@@ -209,11 +209,11 @@ export default {
],
"lidgrp.rec.nomtop":[
{required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"lidgrp.rec.nomton":[
{ required: false, message: "必输项"},
{type: "number", max: 99,message:"长度不能超过2"}
{type: "number", max: 99,message:"只能输入数字,长度不能超过2"}
],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -227,8 +227,8 @@ export default {
"lidgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -358,7 +358,7 @@ export default {
],
"lidgrp.rec.prepers18":[
{ required: false, message: "必输项"},
{type: "number",max: 999,message:"长度不能超过3"}
{type: "number",max: 999,message:"只能输入数字,长度不能超过3"}
],
"litp.avbp.ptsget.sdamod.dadsnd":[
......@@ -376,7 +376,7 @@ export default {
"lidgrp.rec.prepertxts18":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"lidgrp.avb.namelc":[
{type: "string", required: true, message: "必输项"},
......@@ -455,7 +455,7 @@ export default {
],
"lidgrp.rec.tenmaxday":[
{ required: false, message: "必输项"},
{type: "number", max: 999,message:"长度不能超过3"}
{type: "number", max: 999,message:"只能输入数字,长度不能超过3"}
],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
......@@ -471,7 +471,7 @@ export default {
],
"lidgrp.blk.shpper":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
"lidgrp.ini.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -613,8 +613,8 @@ export default {
],
"liaall.outamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
......@@ -647,8 +647,8 @@ export default {
],
"liaall.liaccv.newamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{max: 18,message:"整数位不能超过15位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"liaall.liaccv.cshpct":[
{type: "string", required: false, message: "必输项"},
......
......@@ -204,7 +204,7 @@ export default {
],
"lidgrp.blk.addamtcov":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 140,message:"长度不能超过140"}
],
"lidgrp.rec.avbby":[
{type: "string", required: true, message: "必输项"},
......@@ -337,7 +337,7 @@ export default {
],
"lidgrp.blk.shpper":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 390,message:"长度不能超过390"}
],
"lidgrp.ini.pts.ref":[
{type: "string", required: false, message: "必输项"},
......
......@@ -299,7 +299,8 @@ export default class Litopn{
hmdmod2:{
bennam:"", // 交易对手名称 .hmdmod2.bennam
},
pageId: "" // ctx的key
pageId: "", // ctx的key
statusInfo: "",
}
}
}
\ No newline at end of file
......@@ -160,27 +160,20 @@ export default class Utils {
// 顺序
for (let i = 0; i < formFields.length; i++) {
const field = formFields[i];
for (const key in fieldErrors) {
if (Object.hasOwnProperty.call(fieldErrors, key)) {
if (field.prop === key) {
const fieldError = fieldErrors[key];
field.validateState = 'error';
field.validateMessage = fieldError;
if (!firstErrorItem) {
firstErrorItem = field
}
break;
}
const fieldError = fieldErrors[field.prop];
if (fieldError) {
field.validateState = 'error';
field.validateMessage = fieldError;
if (!firstErrorItem) {
firstErrorItem = field
}
}
}
}
let firstErrorTab = null
let firstErrorTab = null, collapsePanel = null
if (firstErrorItem) {
let parentVC = firstErrorItem
while(!firstErrorTab) {
const tag = parentVC.$vnode.tag
const tagsArr = tag.split("-")
const vcName = tagsArr[tagsArr.length - 1]
const vcName = parentVC.$options.componentName
// 没有Tabs的表单
if (vcName === "ElForm") {
break;
......@@ -189,12 +182,18 @@ export default class Utils {
firstErrorTab = parentVC
break;
}
if (vcName === "ElCollapseItem") {
collapsePanel = parentVC;
}
parentVC = parentVC.$parent;
}
if (firstErrorTab) {
const tabs = firstErrorTab.$parent
tabs.value = firstErrorTab.name
}
if (collapsePanel && collapsePanel.collapse.activeNames.indexOf(collapsePanel.name) < 0) {
collapsePanel.collapse.activeNames.push(collapsePanel.name)
}
setTimeout(() => {
// 滚动到指定节点
firstErrorItem.$el.scrollIntoView({
......
......@@ -3,8 +3,8 @@
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference"></c-input>
<el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入转让信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -25,8 +25,8 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference"></c-input>
<el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -49,8 +49,8 @@
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Doc. Set Reference"></c-input>
<el-form-item label="单据编号" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -79,11 +79,11 @@
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="15">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
<c-select
v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency">
placeholder="请选择币种">
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -101,7 +101,7 @@
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入Document Amount"
placeholder="请输入单据金额"
></c-input-currency>
</el-form-item>
</c-col>
......@@ -113,12 +113,12 @@
</c-col>
<c-col :span="15">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
<c-select
v-model="model.btdgrp.cbs.opn1.cur"
style="width: 100%"
maxlength="3"
placeholder="请选择Currency">
placeholder="请选择币种">
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -137,19 +137,19 @@
<c-input-currency
v-model="model.btdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Amount"
placeholder="请输入余额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
<c-select
v-model="model.btdgrp.rec.doctypcod"
style="width: 100%"
maxlength="1"
placeholder="请选择Document Type">
placeholder="请选择单据类型">
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
......@@ -161,31 +161,31 @@
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
<el-form-item label="到期日" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Received on 2nd Ben." prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择Received on 2nd Ben."></c-date-picker>
<el-form-item label="从第二受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Received on 1st Ben." prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择Received on 1st Ben."></c-date-picker>
<el-form-item label="从第一受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择从第一受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-select
v-model="model.btdgrp.rec.docsta"
style="width: 100%"
maxlength="40"
placeholder="请选择Document Set Status">
placeholder="请选择单据状态">
<el-option
v-for="item in codes.docsta"
:key="item.value"
......@@ -203,7 +203,7 @@
v-model="model.setmod.doccur"
style="width: 100%"
maxlength="3"
placeholder="请选择Currency">
placeholder="请选择币种">
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -233,8 +233,8 @@
<c-col :span="11" :offset="1">
<c-col :span="24">&nbsp;</c-col>
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary"></c-input>
<el-form-item label="第一受益人" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入第一受益人"></c-input>
</el-form-item>
</c-col>
......@@ -242,21 +242,21 @@
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">&nbsp;</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary"></c-input>
<el-form-item label="第二受益人" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入第二受益人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......
......@@ -3,8 +3,8 @@
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference"></c-input>
<el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入转让信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -25,8 +25,8 @@
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference"></c-input>
<el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -49,8 +49,8 @@
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Doc. Set Reference"></c-input>
<el-form-item label="单据编号" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -79,11 +79,11 @@
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="15">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
<c-select
v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Currency">
placeholder="请选择币种">
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -101,22 +101,22 @@
<c-input-currency
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入Document Amount"
placeholder="请输入单据金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="1">
<c-checkbox v-model="model.bttp0.aammod.addamtflg">Add. Amount</c-checkbox>
<c-checkbox v-model="model.bttp0.aammod.addamtflg">附加金额</c-checkbox>
</c-col>
<c-col :span="15">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
<c-select
v-model="model.btdgrp.cbs.opn1.cur"
style="width: 100%"
maxlength="3"
placeholder="请选择Currency">
placeholder="请选择币种">
<el-option
v-for="item in codes.cur"
:key="item.value"
......@@ -135,19 +135,19 @@
<c-input-currency
v-model="model.btdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="请输入Open Amount"
placeholder="请输入余额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
<c-select
v-model="model.btdgrp.rec.doctypcod"
style="width: 100%"
maxlength="1"
placeholder="请选择Document Type">
placeholder="请选择单据类型">
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
......@@ -159,31 +159,31 @@
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Maturity Date"></c-date-picker>
<el-form-item label="到期日" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Received on 2nd Ben." prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Received on 2nd Ben."></c-date-picker>
<el-form-item label="从第二受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Received on 1st Ben." prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择Received on 1st Ben."></c-date-picker>
<el-form-item label="从第一受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择从第一受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-select
v-model="model.btdgrp.rec.docsta"
style="width: 100%"
maxlength="40"
placeholder="请选择Document Set Status">
placeholder="请选择单据状态">
<el-option
v-for="item in codes.docsta"
:key="item.value"
......@@ -223,8 +223,8 @@
<c-col :span="11" :offset="1">
<c-col :span="24">&nbsp;</c-col>
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary"></c-input>
<el-form-item label="第一受益人" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入第一受益人"></c-input>
</el-form-item>
</c-col>
......@@ -232,21 +232,21 @@
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">&nbsp;</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary"></c-input>
<el-form-item label="第二受益人" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入第二受益人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......
......@@ -19,8 +19,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
<el-form-item label="单据金额" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
......
......@@ -43,7 +43,7 @@
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="分录信息" name="glepan">
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -92,17 +92,11 @@ import Check from "~/model/Bttcan/Check"
import Default from "~/model/Bttcan/Default"
import Pattern from "~/model/Bttcan/Pattern"
import Canp from "./Canp"
//import Engp from "./Engp"
//import Setpan from "./Setpan"
import Detp from "./Detp"
//import Ccvpan from "./Ccvpan"
//import Glepan from "./Glepan"
import Coninftag from "./Coninftag"
import Dtatag from "./Dtatag"
import Dtetag from "./Dtetag"
//import Docpan from "./Docpan"
import Doctre from "./Doctre"
//import Coninfp from "./Coninfp"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
......
......@@ -3,12 +3,12 @@
<c-col :span="14">
<el-row>
<c-col :span="20">
<el-form-item label="Discrepancies" prop="btdgrp.blk.docdis">
<el-form-item label="不符点描述" prop="btdgrp.blk.docdis">
<c-input type="textarea" v-model="model.btdgrp.blk.docdis"
maxlength="50"
show-word-limit
:disabled="model.btdgrp.blk.docdisflg ? false : true"
placeholder="请输入Discrepancies" disabled ></c-input>
placeholder="请输入不符点描述" disabled ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -23,8 +23,8 @@
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="Internal Discrepancies" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
<el-form-item label="国内不符点描述" prop="btdgrp.blk.intdis">
<c-input type="textarea" v-model="model.btdgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入国内不符点描述" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -39,8 +39,8 @@
</el-row>
<el-row>
<c-col :span="20">
<el-form-item label="Comments and Conclusions" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入Comments and Conclusions" ></c-input>
<el-form-item label="评论和结论" prop="btdgrp.blk.comcon">
<c-input type="textarea" v-model="model.btdgrp.blk.comcon" maxlength="65" show-word-limit placeholder="请输入评论和结论" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -56,8 +56,8 @@
<el-row>
<c-col :span="20">
<el-form-item label="Settlement Instructions transaction field" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入Settlement Instructions transaction field" ></c-input>
<el-form-item label="结汇指示交易记录" prop="btdgrp.blk.setinsbt">
<c-input type="textarea" v-model="model.btdgrp.blk.setinsbt" maxlength="65" show-word-limit placeholder="请输入结汇指示交易记录" ></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -81,31 +81,6 @@
}"
></c-docpre>
</c-col>
<!--
<c-col :span="24" :offset="1">
<div class="e-table-wrapper">
<el-table
:data="model.bttp.docgrdmbe1.docgrd"
style="width: 50%">
<el-table-column
prop="bttp.docgrdmbe1.docgrd.cmail1"
label="1st"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe1.docgrd.cmail2"
label="2nd"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe1.docgrd.docnam"
label="Document"
width="120">
</el-table-column>
</el-table>
</div>
</c-col>
-->
</el-row>
<el-row>
......@@ -119,57 +94,27 @@
}"
></c-docpre>
</c-col>
<!--
<c-col :span="24" :offset="1">
<div class="e-table-wrapper">
<el-table
:data="model.bttp.docgrdmbe2.docgrd"
style="width: 50%"
>
<el-table-column
prop="bttp.docgrdmbe2.docgrd.cmail1"
label="1st"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe2.docgrd.cmail2"
label="2nd"
width="54">
</el-table-column>
<el-table-column
prop="bttp.docgrdmbe2.docgrd.docnam"
label="Document"
width="120">
</el-table-column>
</el-table>
</div>
</c-col>
-->
</el-row>
</c-col>
<c-col :span="9" :offset="1">
<c-col :span="20" :offset="3">
<c-checkbox v-model="model.btdgrp.blk.docdisflg">Discrepancies modified</c-checkbox>
<c-checkbox v-model="model.btdgrp.blk.docdisflg">不符点描述修改</c-checkbox>
</c-col>
<c-col :span="24">
<el-form-item label="Further Handling" prop="bttp.futhndflg">
<el-form-item label="进一步处理" prop="bttp.futhndflg">
<c-select v-model="model.bttp.futhndflg" style="width:100%"
placeholder="请选择further handling" :code="codes.futhndflg">
placeholder="请选择进一步处理" :code="codes.futhndflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document set Status" prop="bttp.futhndflg">
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" style="width:100%"
placeholder="请选择further handling" disabled>
placeholder="请选择单据状态" disabled>
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -184,12 +129,6 @@ export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
// data(){
// return {
// columns1: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
// columns2: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 400'],
// };
// },
data() {
return {
......
......@@ -19,8 +19,8 @@
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
<el-form-item label="单据金额" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入单据金额"></c-input>
</el-form-item>
</c-col>
......
......@@ -27,63 +27,49 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000003 -->
<el-tab-pane label="Docs. received" name="drv">
<el-tab-pane label="到单" name="drv">
<c-content>
<m-drv :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000296 -->
<el-tab-pane label="Discr./Instr." name="dscinsp">
<el-tab-pane label="不符点/指示" name="dscinsp">
<c-content>
<m-dscinsp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000282
<el-tab-pane label="Advice of Discrepancy" v-if="model.btdgrp.rec.advtyp=='750'" name="mt750p">
<c-content>
<m-mt750p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000268
<el-tab-pane label="Advice of Payment" v-if="model.btdgrp.rec.advtyp=='754'" name="mt754p">
<c-content>
<m-mt754p :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> -->
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="交易附件" name="doctre">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
......@@ -118,8 +104,6 @@ import Pattern from "~/model/Bttdck/Pattern";
import Drv from "./Drv";
import Dscinsp from "./Dscinsp";
import Utils from "~/utils";
//import Mt750p from "./Mt750p";
//import Mt754p from "./Mt754p";
import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
......@@ -132,8 +116,6 @@ export default {
components:{
"m-drv" : Drv,
"m-dscinsp" : Dscinsp,
//"m-mt750p" : Mt750p,
//"m-mt754p" : Mt754p,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
......
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<el-form-item label="Booking stream to Display">
<c-input v-model="model.setmod.glemod.gleshwstm" placeholder="请输入Booking stream to Display"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="22" offset="1">
<c-table :border="true" :list="data" style="width:80%,text-align:center" height="">
<el-table-column label="D/C" width="auto"></el-table-column>
<el-table-column label="Account Number" width="auto"></el-table-column>
<el-table-column label="Cur" width="auto"></el-table-column>
<el-table-column label="Amount" width="auto"></el-table-column>
<el-table-column label="Value Date" width="auto"></el-table-column>
<el-table-column label="Rate Type" width="auto"></el-table-column>
<el-table-column label="Rate" width="auto"></el-table-column>
<el-table-column label="Term" width="auto"></el-table-column>
<el-table-column label="PN" width="auto"></el-table-column>
</c-table>
</c-col> -->
<c-col :span="22" :offset="1">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
</c-istream-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdcr/Event"
export default {
inject: ['root'],
mixins: [commonProcess],
props:["model","codes"],
data(){
return {
stmData: {
columns: [
"2 1 \"D/C\" 38 1 0",
"6 2 \"Account Number\" 140",
"3 3 \"Cur\" 60",
"4 4 \"Amount\" 135 2 8:1 2 5",
"5 5 \"Value Date\" 80",
"7 6 \"Rate Type\" 90",
"8 7 \"Rate\" 85 2 0 1 0",
"9 8 \"Term\" 60",
"0 9 \"PN\" 62 1 0"
],
data: []
}
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -19,7 +19,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000009 -->
<el-tab-pane label="Rejection" name="betdcrs">
<el-tab-pane label="拒单" name="betdcrs">
<m-betdcrs :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -38,7 +38,7 @@
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -59,7 +59,6 @@ import Check from "~/model/Bttdcr/Check"
import Default from "~/model/Bttdcr/Default"
import Pattern from "~/model/Bttdcr/Pattern"
import Betdcrs from "./Betdcrs"
import Glepan from "./Glepan"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
......
......@@ -19,12 +19,12 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000003 -->
<el-tab-pane label="Docs.received" name="drv">
<el-tab-pane label="接收单据" name="drv">
<m-drv :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Amounts And Parties" name="adapan">
<el-tab-pane label="单据金额和当事人描述" name="adapan">
<m-adapan :model="model" :codes="codes"/>
</el-tab-pane>
......@@ -42,7 +42,7 @@
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
......
......@@ -4,11 +4,11 @@
<c-col :span="24">
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<el-form-item label="偿付行名称地址即期编号" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="请选择Reimbursement Bank"
placeholder="请选择偿付行名称地址即期编号"
:code="getValues('rmbclm.rmbrol')"
>
</c-select>
......@@ -23,7 +23,7 @@
<c-ptap
:model="model"
:argadr="{
title: 'Account with Bank ',
title: '我行账户行',
grp: 'rmbclm',
rol: 'acwacw',
}"
......@@ -35,7 +35,7 @@
<c-ptap
:model="model"
:argadr="{
title: 'Beneficiary Bank',
title: '收款行',
grp: 'rmbclm',
rol: 'bebbeb',
}"
......@@ -43,19 +43,19 @@
>
</c-ptap>
<c-col :span="24">
<el-form-item label="value date" prop="rmbclm.valdat">
<el-form-item label="起息日" prop="rmbclm.valdat">
<c-date-picker
type="date"
v-model="model.rmbclm.valdat"
style="width: 100%"
placeholder="请选择value date"
placeholder="请选择起息日"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<!-- SG000133 : value date -->
<!-- SG000133 : 起息日 -->
</div>
</template>
<script>
......
......@@ -26,39 +26,39 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bttrcl PD000034 Claim Reimb. -->
<el-tab-pane label="Claim Remib" name="rclp">
<el-tab-pane label="转让证索汇" name="rclp">
<c-content>
<m-rclp ref="rclp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="交易附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--rmbclm PD000128 Reimbursement Details -->
<el-tab-pane v-if="model.rmbclm.clmrmbflg=='X'" label="Reimbursement Details" name="remp">
<el-tab-pane v-if="model.rmbclm.clmrmbflg=='X'" label="索汇详情" name="remp">
<m-remp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
......@@ -102,7 +102,6 @@ export default {
components: {
"m-rclp": Rclp,
"m-remp": Remp,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
......
......@@ -5,7 +5,7 @@
<c-col :span="12">
<c-col :span="24">
<c-form-item
label="Verification Certificate Number"
label="转让信用证收汇核销单编号"
prop="lendoc.vercerref"
>
<c-input
......@@ -13,16 +13,16 @@
v-model="model.lendoc.vercerref"
maxlength="20"
show-word-limit
placeholder="Verification Certificate Number"
placeholder="转让信用证收汇核销单编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="Declaration Number" prop="lendoc.decnum">
<c-form-item label="申报业务编号" prop="lendoc.decnum">
<c-input
v-model="model.lendoc.decnum"
maxlength="22"
placeholder="Declaration Number"
placeholder="申报业务编号"
></c-input>
</c-form-item>
</c-col>
......@@ -42,7 +42,7 @@
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.lendoc.actflg">
Input Account
输入帐号
</c-checkbox>
</c-col>
</c-col>
......
......@@ -9,7 +9,7 @@
>
<el-table-column
prop="limtyp"
label="Limit Type"
label="限制类型"
sortable
width="150">
</el-table-column>
......
......@@ -26,41 +26,41 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bttset PD000034 Funds Settlement -->
<el-tab-pane label="Funds Settlement" name="setp">
<el-tab-pane label="转让证收汇" name="setp">
<c-content>
<m-setp ref="setp" :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<el-tab-pane label="分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="Messages" name="doc">
<el-tab-pane label="报文及面函" name="doc">
<m-doc :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="交易附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
......@@ -157,7 +157,6 @@ export default {
"m-cnyp": Cnyp,
"m-incp": Incp,
"m-shisuan": Shisuan,
"m-engp": Engp,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
......
......@@ -2,41 +2,41 @@
<div class="eibs-tab">
<!-- S0000042 : 是否报送跨境人民币2101表 -->
<c-col :span="12">
<c-col :span="18">
<el-form-item label="是否报送跨境人名币2101表" prop="cnybop.cnyflg">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="不申报" disabled>
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="不申报" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000045 : 是否报送跨境人民币2107表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000045')" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000045')">
<c-col :span="18">
<el-form-item label="是否报送跨境人名币2107表" prop="cnybop.traflg">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="不申报" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000077 : 是否报送跨境人民币2111表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000077')" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000077')">
<c-col :span="18">
<el-form-item label="是否报送跨境人名币2111表" prop="cnybop.outflg">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="不申报" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000113 : 是否报送跨境人民币2106表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000113')" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000113')">
<c-col :span="18">
<el-form-item label="是否报送跨境人名币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="不申报" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000142 : 是否报送跨境人民币2122表 -->
<c-col :span="12">
<el-form-item :label="$t('cnybop.S0000142')" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('cnybop.S0000142')">
<c-col :span="18">
<el-form-item label="是否报送跨境人名币2122表" prop="cnybop.vouflg">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="不申报" :code="codes.cnyflg" disabled>
</c-select>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- <c-col :span="24">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col> -->
<c-col :span="24">
<c-col :span="14">
<el-form-item label="General">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="600"
rows="8"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Display Type">
<c-input
v-model="model.mtabut.coninf.oitinf.oit.inflev"
style="width: 100%"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label="Settlement">
<c-input
type="textarea"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="600"
rows="8"
show-word-limit
placeholder=""
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Infotext Level">
<c-input
v-model="model.mtabut.coninf.oitset.oit.inflev"
style="width: 100%"
placeholder=""
readonly
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<span
v-text="model.mtabut.coninf.oitset.labinftxt"
data-path=".mtabut.coninf.oitset.labinftxt"
>
</span>
</c-col> -->
<c-col :span="11">
<el-form-item label="Execution Date">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
placeholder=""
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Send for Release to">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
style="width: 90%"
placeholder=""
readonly
></c-input>
</el-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/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" placeholder="请输入国内证落款"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit placeholder="请输入修改申请人名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" placeholder="请输入国内证通知书"></c-input>
</el-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/Bttsnd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-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/Bttsnd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="18">
<c-content>
<c-col :span="18">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select v-model="model.rmbclm.rmbrol" style="width:100%" placeholder="请输入Reimbursement Bank" :code="codes.rolall"
@change="selectOrCheckboxRule('rmbclm.rmbrol')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<c-form-item label="Ref." prop="rmbclm.rmbrmb.pts.ref">
<c-input v-model="model.rmbclm.rmbrmb.pts.ref" maxlength="16" placeholder="请输入Ref."></c-input>
</c-form-item>
</c-col>
<c-col :span="18">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'rmbrmb',
}"
:disabled1="true"
@onSeainf="onSeainf"
@onAplpDet="onRmbpDet"
>
</c-ptap1>
</c-col>
<!-- SF000011 : Account with Bank -->
<!-- SF000018 : 编号 -->
<c-col :span="18">
<c-form-item label="Account with Bank Ref." prop="rmbclm.acwacw.pts.ref">
<c-input v-model="model.rmbclm.acwacw.pts.ref" maxlength="16" placeholder="请输入Account with Bank Ref."></c-input>
</c-form-item>
</c-col>
<c-col :span="18">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'acwacw',
}"
@onSeainf="onSeainf"
@onAplpDet="onAcwpDet"
>
</c-ptap1>
</c-col>
<!-- SF000016 : Beneficiary Bank -->
<!-- SF000019 : 编号 -->
<c-col :span="18">
<c-form-item label="Beneficiary Bank Ref." prop="rmbclm.bebbeb.pts.ref">
<c-input v-model="model.rmbclm.bebbeb.pts.ref" maxlength="16" placeholder="请输入Beneficiary Bank Ref."></c-input>
</c-form-item>
</c-col>
<c-col :span="18">
<c-ptap1
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'bebbeb',
}"
@onSeainf="onSeainf"
@onAplpDet="onBebpDet"
>
</c-ptap1>
</c-col>
<c-col :span="18">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker type="date" v-model="model.rmbclm.valdat" style="width:100%" placeholder="请选择value date"></c-date-picker>
</el-form-item>
</c-col>
</c-content>
</c-col>
<!-- SG000133 : value date -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttsnd/Event"
import Ptap1 from "~/views/Public/Ptap1";
export default {
components: { "c-ptap1": Ptap1 },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" placeholder="请输入our reference"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" placeholder="请选择document currency">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" placeholder="请输入document amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" placeholder="请选择Type of settlement">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">Recalculate Rates</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
细节
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" placeholder="请输入自�'�区主�'�号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttsnd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -25,62 +25,68 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000032 -->
<el-tab-pane label="Send Documents" name="payp">
<el-tab-pane label="寄单" name="payp">
<c-content>
<m-payp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000067 -->
<el-tab-pane label="instr./Discrep." name="dscins">
<el-tab-pane label="指示、不符点" name="dscins">
<c-content>
<m-dscins :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="liability" name="engp">
<el-tab-pane label="表外" name="engp">
<c-content>
<m-engp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="settlement" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />.
</c-content>
</el-tab-pane>
<el-tab-pane label="Bookings" name="glepan">
<el-tab-pane label="分录" name="glepan">
<c-content>
<m-glepan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="报文及面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="交易附件" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane label="Reimbursement Details" name="remp" v-if="model.rmbclmnow == 'X'">
<c-content>
<m-remp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="跨境人民币申报" name="cnyp">
<c-content>
<m-docpan :model="model" :codes="codes"/>
<m-cnyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -114,12 +120,14 @@ import Default from "~/model/Bttsnd/Default"
import Pattern from "~/model/Bttsnd/Pattern"
import Payp from "./Payp"
import Dscins from "./Dscins"
import cnyp from "./Cnyp"
import Remp from "./Remp"
import Cnyp from "./Cnyp"
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Ccvpan from "./Ccvpan"
// import Docpan from "./Docpan"
// import Coninfp from "./Coninfp";
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
......@@ -138,6 +146,8 @@ export default {
"m-docpan" : Docpan,
"m-coninfp" : Coninfp,
"m-doctre" : Doctre,
"m-remp" : Remp,
"m-cnyp" : Cnyp,
},
provide() {
return {
......
......@@ -42,11 +42,11 @@
<c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input
<c-input-currency
v-model="model.oldlidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
disabled
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
......@@ -83,8 +83,8 @@
<c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额."
></c-input>
<c-input-currency v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额."
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -101,7 +101,7 @@
<c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.newamt">
<c-input v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input>
<c-input-currency v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -140,7 +140,7 @@
<c-col :span="24">
<el-form-item label="信息目的" prop="trnmod.swiadd.purpos">
<c-select v-model="model.trnmod.swiadd.purpos" style="width:100%" placeholder="请选择Purpose of message"
:code="codes.purpos"
:code="codes.purpos5"
>
</c-select>
</el-form-item>
......@@ -170,7 +170,7 @@
<c-col :span="24">
<el-form-item label="费用承担人修改" prop="trnmod.swiadd.trnchato">
<c-select v-model="model.trnmod.swiadd.trnchato" style="width:100%" placeholder="请选择Amendm. charge by"
:code="codes.trnchato"
:code="codes.trnchato1"
>
</c-select>
</el-form-item>
......@@ -180,10 +180,10 @@
<c-input
type="textarea"
v-model="model.trnmod.swiadd.trnfeetxt"
maxlength="35"
maxlength="210"
show-word-limit
placeholder="请输入收费详情"
disabled
:disabled="model.trnmod.swiadd.trnchato != 'OTHR' "
></c-input>
</el-form-item>
</c-col>
......@@ -235,11 +235,11 @@
<c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.max.amt">
<c-input
<c-input-currency
v-model="model.oldlidgrp.cbs.max.amt"
placeholder="请输入金额"
disabled
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -256,11 +256,11 @@
<c-col :span="12">
<el-form-item label="" prop="litamep.engamt">
<c-input
<c-input-currency
v-model="model.litamep.engamt"
placeholder="请输入修改总金额"
disabled
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -276,11 +276,11 @@
<c-col :span="12">
<el-form-item label="" prop="litamep.maxamt">
<c-input
<c-input-currency
v-model="model.litamep.maxamt"
placeholder="请输入New Maximum Amount"
disabled
></c-input>
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -325,16 +325,16 @@
<c-col :span="24">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input
<c-input-currency
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input>
v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加金额覆盖" prop="trnmod.swiadd.addamtcov">
<c-input type="textarea"
v-model="model.trnmod.swiadd.addamtcov"
maxlength="35"
maxlength="140"
show-word-limit
placeholder="请输入附加金额"
:disabled=" !(this.model.litp.aamp.aammod.addamtflg == 'X') "
......
......@@ -172,7 +172,7 @@
<c-col :span="24">
<el-form-item label="装运期限" prop="lidgrp.blk.shpper">
<c-input type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" :rows="6" show-word-limit placeholder="请输入Shipment Period" ></c-input>
<c-input type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="390" :rows="6" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item>
</c-col>
......@@ -195,7 +195,7 @@
<c-col :span="24">
<el-form-item label="寄单期限" prop="lidgrp.rec.prepertxts18">
<c-fullbox>
<c-input type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="35" show-word-limit placeholder="请输入寄单期限" ></c-input>
<c-input type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="140" show-word-limit placeholder="请输入寄单期限" ></c-input>
<template slot="footer">
<c-button
size="small"
......
......@@ -11,7 +11,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000045 name="davp"-->
<el-tab-pane label="收到通知">
<el-tab-pane label="收到通知" name="davp">
<c-content>
<m-davp :model="model" :codes="codes"/>
</c-content>
......
......@@ -67,7 +67,7 @@
<c-input
type="textarea"
v-model="model.lidgrp.blk.addamtcov"
maxlength="35"
maxlength="140"
:rows="4"
show-word-limit
placeholder=""
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="备查表" name="1">
<el-collapse-item title="备查表" name="addbcb">
<c-col :span="24">
<el-col :span="12">
<el-form-item label="货物简称" prop="godnam">
......@@ -194,7 +194,7 @@
</el-form-item>
</c-col> -->
</el-collapse-item>
<el-collapse-item title="附言" name="2">
<el-collapse-item title="附言" name="coninfp">
<!-- 附言 -->
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
......@@ -217,7 +217,7 @@ export default {
mixins: [commonProcess],
data() {
return {
activeNames: ["1"],
activeNames: ["addbcb"],
};
},
methods: {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select disabled v-model="model.cnybop.cnyflg" style="width:70%" placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg">
</c-select>
</el-form-item>
</c-col>
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="申报信息" name="cnyp">
<c-col :span="12">
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select
disabled
v-model="model.cnybop.cnyflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2101表"
:code="codes.cnyflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select disabled v-model="model.cnybop.traflg" style="width:70%" placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select
disabled
v-model="model.cnybop.traflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2107表"
:code="codes.traflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select disabled v-model="model.cnybop.outflg" style="width:70%" placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select
disabled
v-model="model.cnybop.outflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2111表"
:code="codes.outflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select v-model="model.cnybop.libflg" style="width:70%" placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg">
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select
v-model="model.cnybop.libflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2106表"
:code="codes.libflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select disabled v-model="model.cnybop.vouflg" style="width:70%" placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select
disabled
v-model="model.cnybop.vouflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2122表"
:code="codes.vouflg"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-collapse-item>
<el-collapse-item
title="2106银行跟单结算及表外融资"
name="libp"
v-if="this.model.cnybop.libflg == '1'"
>
<!-- 2106银行跟单结算及表外融资 -->
<m-libp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litopn/Event"
import Libp from "./Libp.vue";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litopn/Event";
import Libp from "./Libp";
export default {
inject: ['root'],
components: { Libp },
inject: ["root"],
components: { "m-libp": Libp },
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
activeNames: ["cnyp"],
};
},
methods: { ...Event },
created: function () {
}
}
created: function () {},
};
</script>
<style>
</style>
......@@ -283,7 +283,7 @@
model.lidgrp.rec.shpdat != null && model.lidgrp.rec.shpdat != ''
"
v-model="model.lidgrp.blk.shpper"
maxlength="65"
maxlength="390"
:rows="6"
show-word-limit
placeholder="请输入装运期"
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="概要" name="1">
<!-- ======================= 左 ========================= -->
<el-collapse-item title="概要" name="ovwp">
<!-- ======================= 左 ========================= -->
<c-col :span="12" style="padding-right: 20px;">
<el-col :spam="24">
......@@ -20,7 +20,7 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
style="margin: 0 10px 0 10px; padding: 0 12px;height:32px;"
size="small"
type="primary"
@click="onSeainf"
......@@ -89,49 +89,51 @@
-->
<el-col :span="24">
<c-col :span="11">
<el-form-item label="名义金额" prop="lidgrp.cbs.nom1.cur">
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
>
<!-- <el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.nom1.amt"
<c-fullbox>
<c-col :span="11">
<el-form-item label="名义金额" prop="lidgrp.cbs.nom1.cur">
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="币种"
:code="codes.curtxt1"
@keyup.enter.native="nom1CurEvent"
>
<!-- <el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
<c-input-currency
v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<template>
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="padding-left: 5px"
>附加金额</c-checkbox
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="9">
<el-form-item
style="text-align: left"
label-width="20px"
prop="lidgrp.cbs.nom1.amt"
>
</template>
</c-col>
<c-input-currency
v-model="model.lidgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入金额"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="4">
<template slot="footer">
<c-checkbox
@change="open"
v-model="model.litp.aamp.aammod.addamtflg"
style="padding-left: 5px"
>附加金额</c-checkbox
>
</template>
</c-col>
</c-fullbox>
</el-col>
<c-col :span="14">
<el-form-item label="溢短装" prop="lidgrp.rec.nomtop">
......@@ -699,26 +701,30 @@
</c-col>
</c-col>
</el-collapse-item>
<el-collapse-item title="详情" name="2">
<el-collapse-item title="详情" name="detp">
<!-- 详情 -->
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人" name="3">
<el-collapse-item title="当事人" name="ptyp">
<!-- 当事人 -->
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="货物" name="4">
<el-collapse-item title="货物" name="dogp">
<!-- 货物 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dogp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="单据" name="5">
<el-collapse-item title="单据" name="dorp">
<!-- 单据 -->
<m-doxp :model="model" :codes="codes" :dtyp="'dorp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附加条件" name="6">
<el-collapse-item title="附加条件" name="adcp">
<!-- 附加条款 -->
<m-doxp :model="model" :codes="codes" :dtyp="'adcp'" :rec="'lid'" />
</el-collapse-item>
<el-collapse-item title="附加金额" name="aamp" v-if="model.litp.aamp.aammod.addamtflg">
<!-- 附加金额 -->
<m-aamp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
......@@ -733,6 +739,7 @@ import Dogp from "./Dogp";
import Dorp from "./Dorp";
import Adcp from "./Adcp";
import Doxp from "~/views/Public/Doxp";
import Aamp from "./Aamp";
export default {
components: {
......@@ -742,6 +749,7 @@ export default {
"m-dorp": Dorp,
"m-adcp": Adcp,
"m-doxp": Doxp,
"m-aamp": Aamp,
},
inject: ["root"],
props: ["model", "codes"],
......@@ -750,7 +758,7 @@ export default {
return {
zmqflg: null,
flag: true,
activeNames: ["1"],
activeNames: ["ovwp"],
};
},
methods: {
......
......@@ -20,7 +20,7 @@
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane
<!-- <el-tab-pane
v-if="model.litp.aamp.aammod.addamtflg"
label="附加金额"
name="aamp"
......@@ -28,7 +28,7 @@
<c-content>
<m-aamp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000077 -->
<!-- <el-tab-pane label="详情" name="detp">
......@@ -136,7 +136,7 @@
</el-tab-pane>
<!--PD000110 -->
<el-tab-pane
<!-- <el-tab-pane
label="2106银行跟单结算及表外融资"
name="libp"
v-if="this.model.cnybop.libflg == '1'"
......@@ -144,7 +144,7 @@
<c-content>
<m-libp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000346 -->
<el-tab-pane
......
......@@ -4,7 +4,7 @@
Liability
</c-col> -->
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="表外记账" name="1">
<el-collapse-item title="表外记账" name="engp">
<c-col :span="24" style="">
<c-table
:list="model.liaall.liaallg"
......@@ -205,11 +205,11 @@
</el-form-item>
</c-col> -->
</el-collapse-item>
<el-collapse-item title="结算" name="2">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="3">
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
......@@ -238,7 +238,7 @@ export default {
dialogVisible: false,
dialog: {},
index: 0,
activeNames: ["1"],
activeNames: ["engp"],
};
},
methods: {
......
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