Commit 2fe3ed57 by lianyang

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 c5978be1 4e2410b2
......@@ -3235,6 +3235,10 @@ const CodeTable = {
{ label: "自营买入", value: "BMF" },
{ label: "二级市场买入", value: "BMB" },
],
ffttyp1: [
{ label: "直接转卖", value: "0" },
{ label: "融后转卖", value: "1" },
],
fhsort: [
{ label: "各分行业务量统计表", value: "a" },
{ label: "业务量统计表(按月)", value: "c" },
......@@ -5701,6 +5705,12 @@ const CodeTable = {
{ value: "3", label: "不申报" },
// { value: "4", label: "买方信贷" },
],
szflg1: [
{ value: "1", label: "跨境收支" },
{ value: "2", label: "境内收支" },
{ value: "3", label: "不申报" },
{ value: "4", label: "买方信贷" },
],
sztyp: [
{ label: "跨境收支", value: "1" },
{ label: "境内交易", value: "2" },
......
......@@ -37,6 +37,7 @@ export default class Betdcr {
},
docgrdm: {
docdsclab: "", // Label of document description .betp.docgrdm.docdsclab
docgrd: "", //betp.docgrdm.docgrd
},
},
ledgrp: {
......
import Utils from "~/utils"
/**
* Betset Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"bedgrp.prb.pts.nam" :null,
"cnybop.outflg" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"bedgrp.rec.frepayflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"cnybop.cnyflg" :null,
"lendoc.account" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null,
"liaall.limmod.ecifno" :null,
"bopmod.szflg" :null,
"cnybop.traflg" :null,
"liaall.tenstm" :null,
"setmod.redamt" :null,
"aamset.utlamt2" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bopmod.basflg" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"cnybop.libflg" :null,
"bopmod.ownextkey" :null,
"setmod.docamt" :null,
"bopmod.acttyp" :null,
"bedgrp.iss.pts.nam" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Betset Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"setmod.doccur" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"cnybop.libflg" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bopmod.szflg" :Utils.defaultFunction,
"bopmod.basflg" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.frepayflg" :Utils.defaultFunction,
"cnybop.vouflg" :Utils.defaultFunction,
"bopmod.vrfflg" :Utils.defaultFunction,
"setmod.redamt" :Utils.defaultFunction,
"cnybop.traflg" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"lendoc.actflg" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bopmod.dclflg" :Utils.defaultFunction,
"trnmod.trndoc.nar754" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"cnybop.cnyflg" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction,
"aamset.utlamt" :Utils.defaultFunction,
"bedgrp.cbs.opn2.cur" :Utils.defaultFunction,
"aamset.utlamt2" :Utils.defaultFunction,
"bedgrp.cbs.opn1.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.clsflg" :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 {
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
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: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Betset {
constructor() {
this.data = {
bptbck: {
bptbckg: "",
},
betp: {
ledget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .betp.ledget.sdamod.dadsnd
seainf: "", // .betp.ledget.sdamod.seainf
},
},
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .betp.recget.sdamod.dadsnd
seainf: "", // .betp.recget.sdamod.seainf
},
},
adaflg: "", // Add. amount .betp.adaflg
},
ledgrp: {
rec: {
ownref: "", // 参考号 .ledgrp.rec.ownref
},
cbs: {
opn1: {
cur: "", // Currency .ledgrp.cbs.opn1.cur
amt: "", // Balance .ledgrp.cbs.opn1.amt
},
},
},
bedgrp: {
rec: {
ownref: "", // 单据参考号 .bedgrp.rec.ownref
doctypcod: "", // 单据类型 .bedgrp.rec.doctypcod
matdat: "", // 到期日 .bedgrp.rec.matdat
rcvdat: "", // 到单日期 .bedgrp.rec.rcvdat
predat: "", // Presentation Date .bedgrp.rec.predat
docsta: "", // 单据状态 .bedgrp.rec.docsta
nam: "", // Externally Displayed Name to Identify the Contract .bedgrp.rec.nam
frepayflg: "", // Free of Payment .bedgrp.rec.frepayflg
},
cbs: {
max: {
cur: "", // 单据金额 .bedgrp.cbs.max.cur
amt: "", // 单据金额 .bedgrp.cbs.max.amt
},
opn1: {
cur: "", // 单据余额 .bedgrp.cbs.opn1.cur
amt: "", // Balance .bedgrp.cbs.opn1.amt
},
opn2: {
cur: "", // 附加金额 .bedgrp.cbs.opn2.cur
},
},
prb: {
pts: new Pts().data,
},
iss: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
},
},
mtabut: {
clsflg: "", // Close Flag .mtabut.clsflg
coninf: {
oitinf: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset: {
labinftxt: "", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit: {
inftxt: "", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev: "", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat: "", // 执行日期 .mtabut.coninf.conexedat
usr: {
extkey: "", // User ID .mtabut.coninf.usr.extkey
},
},
},
aamset: {
utlamt: "", // 单据金额 .aamset.utlamt
utlamt2: "", // 附加金额 .aamset.utlamt2
},
lendoc: {
actflg: "", // Input Account .lendoc.actflg
account: "", // ACT .lendoc.account
vercerref: "", // Verification Certificate Number .lendoc.vercerref
decnum: "", // Declaration Number .lendoc.decnum
},
bopmod: {
szflg: "", // 申报类型 .bopmod.szflg
basflg: "", // 基础数据 .bopmod.basflg
dclflg: "", // 申报数据 .bopmod.dclflg
vrfflg: "", // 核销数据 .bopmod.vrfflg
ownextkey: "", // 地区机构号 .bopmod.ownextkey
outchargeccy: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeccy
outchargeamt: "", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp: "", // 款项来源 .bopmod.acttyp
},
cnybop: {
cnyflg: "", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg: "", // 是否报送跨境人民币2107表 .cnybop.traflg
outflg: "", // 是否报送跨境人民币2111表 .cnybop.outflg
libflg: "", // 是否报送跨境人民币2106表 .cnybop.libflg
vouflg: "", // 是否报送跨境人民币2122表 .cnybop.vouflg
},
bpdgrp: {
rec: {
ffttyp: "", // 缁傚繗鍨傚鐤祮閸楁牜琚崹锟� .bpdgrp.rec.ffttyp
},
},
pageId: "", // ctx的key
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -153,5 +153,6 @@ export default {
"trnmod.swiadd.purpos" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trnmod.swiadd.newnomton" :Utils.defaultFunction,
"litamep.engamt" :Utils.defaultFunction
}
//你可以添加自动default处理
......@@ -4,6 +4,8 @@ import Utils from "~/utils"
* Litcan Check规则
*/
let checkObj = {
"sndmsg" :null,
"litcanf.strinf" :null,
}
for (const key in checkObj) {
......
......@@ -6,5 +6,12 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"lidgrp.rec.expdat" :Utils.defaultFunction,
"litcanf.strinf" :Utils.defaultFunction,
"lidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"lidgrp.adv.pts.nam" :Utils.defaultFunction,
"lidgrp.ben.pts.nam" :Utils.defaultFunction,
"lidgrp.rec.ownref" :Utils.defaultFunction,
"lidgrp.apl.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,5 +2,233 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onSav(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUsrcon(){
let rtnmsg = await this.executeRule("usrcon")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onChk(){
let rtnmsg = await this.executeRule("chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onUsrchk(){
let rtnmsg = await this.executeRule("usrchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSyswrnButshw(){
let rtnmsg = await this.executeRule("syswrn.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDiasel(){
let rtnmsg = await this.executeRule("diasel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInc(){
let rtnmsg = await this.executeRule("inc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onNotmap(){
let rtnmsg = await this.executeRule("notmap")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIlccanletButtxmsel(){
let rtnmsg = await this.executeRule("ilccanlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onFrmbut(){
let rtnmsg = await this.executeRule("frmbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOrd(){
let rtnmsg = await this.executeRule("ord")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onIncben(){
let rtnmsg = await this.executeRule("incben")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodImage(){
let rtnmsg = await this.executeRule("imgmod.image")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodNewimg(){
let rtnmsg = await this.executeRule("imgmod.newimg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodNewhisimg(){
let rtnmsg = await this.executeRule("imgmod.newhisimg")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onImgmodElcimage(){
let rtnmsg = await this.executeRule("imgmod.elcimage")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onEntmodEntbut(){
let rtnmsg = await this.executeRule("entmod.entbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPen(){
let rtnmsg = await this.executeRule("pen")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCan(){
let rtnmsg = await this.executeRule("can")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"litp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"litp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lidgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"lidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.avbnam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
{max: 29,message:"长度不能超过29"}
],
"lidgrp.adv.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"litcanf.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Litcan{
constructor () {
this.data = {
litapll1blk:"",
litrmbl3blk:"",
litcanl1blk:"",
trnmod:new Pub().data.Trnmod,
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
lidgrp:{
rec:{
ownref:"", // 参考号 .lidgrp.rec.ownref
nam:"", // 名称 .lidgrp.rec.nam
avbby:"", // 兑付方式 .lidgrp.rec.avbby
redclsflg:"", // Red/Green Clause .lidgrp.rec.redclsflg
opndat:"", // 开立日期 .lidgrp.rec.opndat
shpdat:"", // Shipment Date .lidgrp.rec.shpdat
expdat:"", // 到期日 .lidgrp.rec.expdat
expplc:"", // 到期日 .lidgrp.rec.expplc
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp
revflg:"", // Revolving Flag .lidgrp.rec.revflg
},
cbs:{
nom1:{
cur:"", // 开证金额 .lidgrp.cbs.nom1.cur
amt:"", // 开证金额 .lidgrp.cbs.nom1.amt
},
opn1:{
cur:"", // 信用证余额 .lidgrp.cbs.opn1.cur
amt:"", // Balance .lidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
avbnam:"", // 指定银行 .lidgrp.avbnam
},
litp0:{
recget:{
sdamod:{
seainf:"", // .litp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .litp0.recget.sdamod.dadsnd
},
},
aammod:{
addamtflg:"", // Add. Amount .litp0.aammod.addamtflg
},
thdate:"", // 提货日期/服务提供日 .litp0.thdate
},
litcanf:{
strinf:"", // Narrative .litcanf.strinf
},
byinst:"", // On Applicant instruction .byinst
sndmsg:"", // Send message to apllicant .sndmsg
liaall:new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -62,14 +62,14 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.nomtop":[
{type: "number", required: false, message: ""},
// "lidgrp.rec.nomtop":[
// {type: "number", required: false, message: ""},
],
"lidgrp.rec.nomton":[
{type: "number", required: false, message: ""},
// ],
// "lidgrp.rec.nomton":[
// {type: "number", required: false, message: ""},
],
// ],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......
......@@ -67,6 +67,7 @@ export default class Liaall {
chgcurflg: "", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt: "", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg: [],
stgstm:[],
},
}
}
......
......@@ -2,50 +2,51 @@ export default class Trnmod {
constructor() {
this.data = {
swiadd: {
amedat: "", // Amendment Date .trnmod.swiadd.amedat
amenbr: "", // Amend. No Received .trnmod.swiadd.amenbr
amecur: "", // Amended .trnmod.swiadd.amecur
ameamt: "", // Amended .trnmod.swiadd.ameamt
newcur: "", // New Data .trnmod.swiadd.newcur
newamt: "", // New Data .trnmod.swiadd.newamt
newnomtop: "", // New positive tolerance .trnmod.swiadd.newnomtop
newnomton: "", // New negative tolerance .trnmod.swiadd.newnomton
nomspc: "", // Amount Specification .trnmod.swiadd.nomspc
newexpdat: "", // New Expiry Date .trnmod.swiadd.newexpdat
newshpdat: "", // New Shipment Date .trnmod.swiadd.newshpdat
shpper: "", // Shipment Period .trnmod.swiadd.shpper
shpfro: "", // Dispatch from .trnmod.swiadd.shpfro
porloa: "", // Air-/Port of Loading .trnmod.swiadd.porloa
pordis: "", // Air-/Port of Discharge .trnmod.swiadd.pordis
purpos:"", // Purpose of message trnmod.swiadd.purpos
shpto: "", // Final Destination .trnmod.swiadd.shpto
addamtcov: "", // Amounts Covered .trnmod.swiadd.addamtcov
addamt: "", // Amounts Covered .trnmod.swiadd.addamt
insbnk: "", // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
nartxt:"",
newnomtopame:"",
newnomtoname:"",
prepers18:"", //New Presentation Period
strinf:"", // Narrative of Maturity .trnmod.swiadd.strinf
amedat: "", // Amendment Date .trnmod.swiadd.amedat
amenbr: "", // Amend. No Received .trnmod.swiadd.amenbr
amecur: "", // Amended .trnmod.swiadd.amecur
ameamt: "", // Amended .trnmod.swiadd.ameamt
newcur: "", // New Data .trnmod.swiadd.newcur
newamt: "", // New Data .trnmod.swiadd.newamt
newnomtop: "", // New positive tolerance .trnmod.swiadd.newnomtop
newnomton: "", // New negative tolerance .trnmod.swiadd.newnomton
nomspc: "", // Amount Specification .trnmod.swiadd.nomspc
newexpdat: "", // New Expiry Date .trnmod.swiadd.newexpdat
newshpdat: "", // New Shipment Date .trnmod.swiadd.newshpdat
shpper: "", // Shipment Period .trnmod.swiadd.shpper
shpfro: "", // Dispatch from .trnmod.swiadd.shpfro
porloa: "", // Air-/Port of Loading .trnmod.swiadd.porloa
pordis: "", // Air-/Port of Discharge .trnmod.swiadd.pordis
purpos: "", // Purpose of message trnmod.swiadd.purpos
shpto: "", // Final Destination .trnmod.swiadd.shpto
addamtcov: "", // Amounts Covered .trnmod.swiadd.addamtcov
addamt: "", // Amounts Covered .trnmod.swiadd.addamt
insbnk: "", // Instruction to P/A/N Bank amendment .trnmod.swiadd.insbnk
nartxt: "",
newnomtopame: "",
newnomtoname: "",
prepers18: "", //New Presentation Period
strinf: "", // Narrative of Maturity .trnmod.swiadd.strinf
},
trndoc: {
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
nar754: "", // Narrative :77A: .trnmod.trndoc.nar754
advlabel: "", // ADVLABEL .trnmod.trndoc.advlabel
amdnam: "", // AMDNAM .trnmod.trndoc.amdnam
advdoc: "", // 国内证通知书 .trnmod.trndoc.advdoc
advnam: "", // 国内证落款 .trnmod.trndoc.advnam
amdapl: "", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl: "", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm: "", // Document tree .trnmod.trndoc.doctrestm
shwinc: "", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout: "", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm: "", // Connected Documents .trnmod.trndoc.condocstm
rcvatt: {
seainf: "", // .trnmod.trndoc.rcvatt.seainf
seainf: "", // .trnmod.trndoc.rcvatt.seainf
},
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
},
}
}
}
}
\ No newline at end of file
......@@ -307,6 +307,8 @@
maxlength="50"
show-word-limit
placeholder="请输入Narrative"
:rows="10"
disabled
></c-input>
</el-form-item>
</c-col>
......
......@@ -97,7 +97,7 @@ import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Doctre from "./Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Internal Discrepancies"
prop="bedgrp.blk.intdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.bedgrp.blk.intdis"
maxlength="50"
show-word-limit
placeholder="Please input Internal Discrepancies"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Discrepancies"
prop="bedgrp.blk.docdis"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.bedgrp.blk.docdis"
maxlength="65"
show-word-limit
placeholder="Please input Discrepancies"
:disabled="!docdisflg"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
:disabled="!docdisflg"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="docdisflg" style="margin-left: 150px"
>Discrepancies modified</c-checkbox
>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Reasons for Rejection"
prop="bedgrp.blk.docins"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.bedgrp.blk.docins"
maxlength="50"
show-word-limit
placeholder="Please input Reasons for Rejection"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Disposal of Documents"
prop="bedgrp.blk.disdoc"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.bedgrp.blk.disdoc"
maxlength="65"
show-word-limit
placeholder="Please input Disposal of Documents"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="rejpenins" style="margin-left: 150px"
>Rejection Pending Instructions</c-checkbox
>
</c-col>
</c-col>
<!-- next part -->
<c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.betp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary"
>新增单据</c-button
>
</el-form-item>
</c-col>
<c-col :span="24" style="height: 0px">
<el-divider></el-divider>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table
height="200px"
style="text-align: center"
:list="this.model.betp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail1"
></c-input>
</template>
</el-table-column>
<el-table-column
label="2nd"
width="auto"
>
<template slot-scope="scope">
<c-input
v-model="scope.row.cmail2"
></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary"
>删除</c-button
>
</template>
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Internal Discrepancies" prop="bedgrp.blk.intdis">
<c-input type="textarea" v-model="model.bedgrp.blk.intdis" maxlength="65" show-word-limit placeholder="请输入Internal Discrepancies" ></c-input>
</el-form-item>
......@@ -59,30 +254,101 @@
<c-col :span="12">
<span v-text="model.betp.docgrdm.docdsclab" data-path=".betp.docgrdm.docdsclab" > </span>
</c-col>
</c-col> -->
</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/Betdcr/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Betdcr/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "Airway Bills", value: "1" },
{ label: "Beneficiary's Declaration", value: "2" },
{ label: "Bill of Lading Copies", value: "3" },
{ label: "Bill of Lading Originals", value: "4" },
{ label: "Certificate", value: "5" },
{ label: "Certificate of Analysis", value: "6" },
{ label: "Certificate of Origin", value: "7" },
{ label: "Certificate of Quality", value: "8" },
{ label: "Certificate of Quantity", value: "9" },
{ label: "Commercial Invoice", value: "10" },
{ label: "Courier Receipt ", value: "11" },
{ label: "Draft", value: "12" },
{ label: "Export Licence", value: "13" },
{ label: "Fax Report", value: "14" },
{ label: "Inspection Cert", value: "15" },
{ label: "Insurance Policy", value: "16" },
{ label: "Packing List", value: "17" },
{ label: "Shipment Advice", value: "18" },
{ label: "Weight List", value: "19" },
],
};
},
computed: {
docdisflg: {
get() {
return this.model.bedgrp.blk.docdisflg != "X";
},
set(val) {
this.model.bedgrp.blk.docdisflg = val ? "X" : "";
},
},
rejpenins: {
get() {
return this.model.rejpenins != "";
},
set(val) {
this.model.rejpenins = val ? "X" : "";
},
},
},
methods: { ...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
methods:{...Event},
created:function(){
}
}
},
created: function () {},
};
</script>
<style>
.messageLabel >>> .el-form-item__label {
text-align: left;
font-weight: bold;
font-size: 12px;
}
</style>
......@@ -102,6 +102,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
......
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2101表"
disabled
>
<el-option
v-for="item in codes.cnyflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" prop="cnybop.traflg">
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2107表"
disabled
>
<el-option
v-for="item in codes.traflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2111表" prop="cnybop.outflg">
<c-select
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2111表"
disabled
>
<el-option
v-for="item in codes.outflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" prop="cnybop.libflg">
<c-select
v-model="model.cnybop.libflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2106表"
disabled
>
<el-option
v-for="item in codes.libflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" prop="cnybop.vouflg">
<c-select
v-model="model.cnybop.vouflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2122表"
disabled
>
<el-option
v-for="item in codes.vouflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</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/Betset/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<el-form-item
label="Verification Certificate Number"
prop="lendoc.vercerref"
>
<c-input
type="textarea"
v-model="model.lendoc.vercerref"
maxlength="20"
show-word-limit
placeholder="Please input Verification Certificate Number"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="ACT" prop="lendoc.account">
<c-fullbox>
<c-input
v-model="model.lendoc.account"
maxlength="3"
style="width: 100%"
placeholder="Please input Input Amount"
:disabled="!actflg"
></c-input>
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<c-checkbox v-model="actflg" style="margin-left: 10px"
>Input Amount</c-checkbox
>
</el-form-item>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input
v-model="model.lendoc.decnum"
maxlength="22"
placeholder="Please input Declaration Number"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="ACT" prop="lendoc.account">
<c-input type="textarea" v-model="model.lendoc.account" maxlength="25" show-word-limit placeholder="请输入ACT" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lendoc.actflg">Input Account</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="Verification Certificate Number" prop="lendoc.vercerref">
<c-input type="textarea" v-model="model.lendoc.vercerref" maxlength="20" show-word-limit placeholder="请输入Verification Certificate Number" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Declaration Number" prop="lendoc.decnum">
<c-input v-model="model.lendoc.decnum" maxlength="22" placeholder="请输入Declaration Number"></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/Betset/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {
actflg: {
get() {
return this.model.lendoc.actflg === "X";
},
set(val) {
this.model.lendoc.actflg = val ? "X" : "";
},
},
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-fullbox>
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.szflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<template slot="footer">
<el-form-item label="" prop="lendoc.actflg">
<c-checkbox
v-model="model.lendoc.actflg"
style="margin-left: 10px"
disabled
>基础数据</c-checkbox
>
</el-form-item>
</template>
</c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
disabled
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select
v-model="model.bopmod.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select
v-model="model.bopmod.outchargeccy"
placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled
style="width: 100%"
>
<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="12">
<el-form-item label="" label-width="5px" prop="bopmod.outchargeamt">
<c-input
v-model="model.bopmod.outchargeamt"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
<c-col :span="12">
<el-form-item label="申报类型" prop="bopmod.szflg">
<c-select v-model="model.bopmod.szflg" style="width:100%" placeholder="请选择申报类型">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项来源">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
<c-select v-model="model.bopmod.outchargeccy" style="width:100%" placeholder="请选择国外银行扣费(涉外收入申报专用)">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeamt">
<c-input v-model="model.bopmod.outchargeamt" 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/Betset/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000034 -->
<el-tab-pane label="Funds Settlement" name="setp">
<c-content>
<m-setp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="收账通知" name="docpan1">
<m-docpan1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<m-wg :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Betset from "~/model/Betset"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betset/Check"
import Default from "~/model/Betset/Default"
import Pattern from "~/model/Betset/Pattern"
import Setp from "./Setp"
import Docpan1 from "./Docpan1"
import Wg from "./Wg"
import Cnyp from "./Cnyp"
import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Betset",
components:{
"m-setp" : Setp,
"m-setpan" : Setpan,
"m-glepan" : Glepan,
"m-engp" : Engp,
"m-limitbody" : Limitbody,
"m-docpan1" : Docpan1,
"m-coninfp" : Coninfp,
"m-doctre" : Doctre,
"m-docpan" : Docpan,
"m-wg" : Wg,
"m-cnyp" : Cnyp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "setp",
trnName: "betset",
model: new Betset().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入betset交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -414,7 +414,7 @@
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="" prop="clsflg">
<el-form-item label="" prop="mtabut.clsflg">
<c-checkbox v-model="clsflg">闭卷</c-checkbox>
</el-form-item>
</c-col>
......
......@@ -3,9 +3,9 @@
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<c-col :span="22">
<el-form-item
label="托收号码"
label="Reference"
prop="bodgrp.rec.ownref"
style="width: 100%"
>
......@@ -18,7 +18,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-col :span="2">
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
......@@ -27,20 +27,10 @@
@click="onSeainf"
></c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onDitpButgetref"
>
获取
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="bodgrp.rec.nam">
<el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input
align="middle"
v-model="model.bodgrp.rec.nam"
......@@ -60,11 +50,11 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="12" >
<el-form-item label="" >
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="12" offset="4">
<el-form-item label="Amount" >
</el-form-item>
</c-col>
......@@ -176,51 +166,54 @@
<!-- ====================底部======================= -->
<c-col>
<c-col :span="19">
<c-col :span="24">
<c-col :span="19">
<c-col :span="24">
<c-col :span="7">
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input>
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="oldbodgrp.rec.matpertyp">
<c-input v-model="model.oldbodgrp.rec.matpertyp" maxlength="1" placeholder="请输入Days/Months or Years for Maturity Period"></c-input>
<c-col :span="7">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp" label-width="20px">
<c-input v-model="model.trnmod.swiadd.newmatpertyp" maxlength="1" placeholder="请选择Days/Month or Year for Maturity Period"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg">
<c-select v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
<c-col :span="10">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg" label-width="20px">
<c-select v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="19">
<c-col :span="24">
<c-col :span="24">
<c-col :span="7">
<el-form-item label="Tenor Data" prop="trnmod.swiadd.newmatpercnt">
<c-input v-model="model.trnmod.swiadd.newmatpercnt" placeholder="请输入New Tenor Data"></c-input>
<el-form-item label="New Tenor Data" prop="oldbodgrp.rec.matpercnt">
<c-input v-model="model.oldbodgrp.rec.matpercnt" placeholder="请输入Tenor Data"></c-input>
</el-form-item>
</c-col>
<c-col :span="5">
<el-form-item label="" prop="trnmod.swiadd.newmatpertyp">
<c-input v-model="model.trnmod.swiadd.newmatpertyp" maxlength="1" placeholder="请选择Days/Month or Year for Maturity Period"></c-input>
<c-col :span="7">
<el-form-item label="" prop="oldbodgrp.rec.matpertyp" label-width="20px">
<c-input v-model="model.oldbodgrp.rec.matpertyp" maxlength="1" placeholder="请输入Days/Months or Years for Maturity Period"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="trnmod.swiadd.newmatperbeg">
<c-select v-model="model.trnmod.swiadd.newmatperbeg" style="width:100%" placeholder="请选择Start of Maturity Period">
<c-col :span="10">
<el-form-item label="" prop="oldbodgrp.rec.matperbeg" label-width="20px">
<c-select v-model="model.oldbodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</c-col>
</c-col>
<!-- ====================左边======================= -->
......
......@@ -40,7 +40,7 @@
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="bodgrp.rec.nam">
<el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input
align="middle"
v-model="model.bodgrp.rec.nam"
......@@ -54,7 +54,7 @@
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="12">
<c-col :span="14">
<el-form-item
label="Responsible User"
prop="ditp.usr.extkey"
......@@ -69,7 +69,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-col :span="2">
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
size="small"
......@@ -78,12 +78,13 @@
@click="onExtkey"
></c-button>
</c-col>
<c-col :span="8">
<c-col :span="8" >
<c-checkbox
v-model="model.bodgrp.rec.dircolflg"
>Direct Collection</c-checkbox>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
<c-select
......@@ -118,7 +119,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
<el-form-item label="Open Amount" prop="bodgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.bodgrp.cbs.opn1.cur"
......@@ -145,7 +146,7 @@
<c-input-currency
v-model="model.bodgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="请输入Warehouse/Insurance"
placeholder="请输入Open Amount"
@keyup.enter.native="defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)"
></c-input-currency>
</el-form-item>
......
......@@ -130,6 +130,7 @@ import Getset from "./Getset"
import Getcrq from "./Getcrq"
import Betdcr from "./Betdcr"
import Betdrv from "./Betdrv"
import Betset from "./Betset"
import Letnot from "./Letnot"
import Letamc from "./Letamc"
......@@ -164,6 +165,8 @@ import Litrog from "./Litrog"
import Litacp from "./Litacp"
import Litdla from "./Litdla"
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -232,7 +235,7 @@ const BusRouter = [
{ path: 'Bptcan', component: Bptcan, name: 'Bptcan', meta: { title: '出口融资注销' } },
{ path: 'betacc', component: Betacc, name: 'Betacc', meta: { title: '出口信用证单据承兑' } },
{ path: 'betrcl', component: Betrcl, name: 'Betrcl', meta: { title: '出口信用证单据出口单据索汇' } },
{ path: 'betset', component: Betset, name: 'Betset', meta: { title: '出口信用证单据出口收汇' } },
{ path: 'sptrel', component: Sptrel, name: 'Sptrel', meta: { title: 'Sptrel' } },
{ path: 'sptrou', component: Sptrou, name: 'Sptrou', meta: { title: 'Sptrou' } },
{ path: 'bddsel', component: Bddsel, name: 'Bddsel', meta: { title: 'Bddsel' } },
......@@ -338,5 +341,7 @@ const BusRouter = [
{ path: 'Litrog', component: Litrog, name: 'Litrog', meta: { title: '进口信用证提货担保' } },
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } },
]
export default BusRouter
\ No newline at end of file
......@@ -27,16 +27,23 @@
<c-col :span="6">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
disabled
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="0px">
<el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="5px">
<c-input
disabled
v-model="model.didgrp.cbs.nom1.amt"
......@@ -62,15 +69,21 @@
<c-select
disabled
v-model="model.didgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择信用证余额"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="0px">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="5px">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.amt"
......@@ -195,7 +208,7 @@
</c-col>
<c-col :span="6">
<el-form-item label="" prop="didgrp.rec.expplc" label-width="0px">
<el-form-item label="" prop="didgrp.rec.expplc" label-width="5px">
<c-input
disabled
v-model="model.didgrp.rec.expplc"
......@@ -229,32 +242,51 @@
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<!--左边-->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Decrease limits stream" prop="decstm">
<c-input
type="textarea"
v-model="model.decstm"
maxlength="50"
show-word-limit
placeholder="请输入Decrease limits stream"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="第" prop="amenbr">
</c-col>
<!--右边-->
<c-col :span="12">
<el-row>
<c-col :span="20">
<el-form-item label="第" prop="amenbr" >
<c-input
disabled
v-model="model.amenbr"
maxlength="3"
placeholder="请输入Amendment No."
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="次修改(减额)"> </el-form-item>
<el-form-item label="次修改(减额)" > </el-form-item>
</c-col>
</el-row>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="修改金额" prop="amecur">
<c-col :span="12">
<el-form-item label="修改金额" prop="amecur" >
<c-select
disabled
v-model="model.amecur"
......@@ -264,8 +296,8 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="ameamt" label-width="0px">
<c-col :span="12">
<el-form-item label="" prop="ameamt" label-width="5px">
<c-input
disabled
v-model="model.ameamt"
......@@ -273,17 +305,23 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
</el-row>
<el-row>
<c-col :span="24">
<el-form-item label="修改日期" prop="amedat">
<c-input
disabled
v-model="model.amedat"
maxlength="12"
style="width: 100%"
placeholder="请输入Amount Amend Date"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6">
</el-row>
<el-row>
<c-col :span="24">
<el-form-item label="是否接受此笔减额修改" prop="ameflg">
<c-select
disabled
......@@ -295,6 +333,10 @@
</el-form-item>
</c-col>
</el-row>
</c-col>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="12">
<el-form-item label="其他条款" prop="didgrp.blk.adlcnd">
<c-input
type="textarea"
v-model="model.didgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions"
></c-input>
</el-form-item>
</c-col>
<div class="eibs-tab">
<c-col :span="11">
<el-form-item label="其他条款" prop="didgrp.blk.adlcnd">
<c-input
type="textarea"
v-model="model.didgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="其他条款历史修改" prop="didgrp.blk.adlcndame">
<c-input
type="textarea"
v-model="model.didgrp.blk.adlcndame"
maxlength="50"
show-word-limit
placeholder="请输入Additional Conditions Amendment History"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<c-checkbox v-model="model.didgrp.rec.redclsflg">Red/Green Clause</c-checkbox>
</c-col> -->
<c-col :span="12">
<el-form-item label="其他条款历史修改" prop="didgrp.blk.adlcndame">
<c-input
type="textarea"
v-model="model.didgrp.blk.adlcndame"
maxlength="50"
show-word-limit
placeholder="请输入Additional Conditions Amendment History"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item
label="其他条款修改"
prop="trnmod.swiadd.adlcnd"
>
<c-input
type="textarea"
v-model="model.trnmod.swiadd.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions amendment"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="其他条款修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入Additional Conditions amendment"
:rows="12"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onAdlcndameButtxmsel"
>
</c-button>
<c-col :span="10" v-show="false">
<c-checkbox v-model="model.didgrp.rec.redclsflg"
>Red/Green Clause</c-checkbox
>
<c-col :span="1" style="text-align: right">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onAdlcndameButtxmsel">
</c-button>
</c-col>
</c-col>
</el-row>
</div>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdla/Event";
import Event from "~/model/Ditame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
......
......@@ -11,7 +11,7 @@
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" >
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:17%" maxlength="3"></c-input>
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:100%" maxlength="3"></c-input>
</el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
......@@ -39,8 +39,8 @@
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="didgrp.rec.tratyp">
<c-col :span="10">
<c-select v-model="model.didgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'">
<c-col :span="24">
<c-select v-model="model.didgrp.rec.tratyp" style="width:100%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -65,7 +65,7 @@
<el-form-item label="合同金额" prop="didgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.didgrp.rec.concur" style="width:90%" placeholder="请选择">
<c-select v-model="model.didgrp.rec.concur" style="width:95%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
......@@ -78,22 +78,26 @@
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="分批装运货物" prop="didgrp.rec.shppar">
<c-select v-model="model.didgrp.rec.shppar" style="width:50%" placeholder="请选择">
<c-select v-model="model.didgrp.rec.shppar" style="width:100%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-input v-model="model.didgrp.rec.fqzytgfw" placeholder="请输入" :disabled="model.didgrp.rec.shppar == 'N'" style="width:100%"></c-input>
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.didgrp.rec.shppar != 'Y'" style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"
:disabledBankno="model.didgrp.rec.fqzytgfw != 'Y'"></c-input>
</el-form-item>
<el-form-item label="转运" prop="didgrp.rec.shptrs">
<c-select v-model="model.didgrp.rec.shptrs" style="width:50%" placeholder="请选择" :disabled="model.didgrp.rec.mytype == 'F'">
<c-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请选择" :disabled="model.didgrp.rec.mytype == 'F'">
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
......
......@@ -20,6 +20,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -53,6 +54,7 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="true"
:model="model"
......@@ -86,7 +88,7 @@
</el-form-item>
</c-col>
<!-- ============= 议付行 ========================= -->
<c-col :span="13">
<c-col :span="24">
<el-form-item label="是否可议付" prop="didgrp.rec.fenctg">
<c-select
v-model="model.didgrp.rec.fenctg"
......@@ -110,6 +112,7 @@
v-model="model.didgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择指定的有关银行"
@change="chooseBank"
>
<el-option
v-for="item in codes.avbwth"
......@@ -154,9 +157,9 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledBankno="model.didgrp.rec.fenctg != 'Y'"
:disabledBankno="true"
:disabledJigomc="true"
:disabledDizhii="model.didgrp.rec.fenctg != 'Y'"
:disabledDizhii="true"
:model="model"
:argadr="{
title: '议付行',
......@@ -165,7 +168,7 @@
}"
></c-ptapdome>
<!-- ========================转让行 ======================== -->
<c-col :span="13">
<c-col :span="24">
<el-form-item label="是否可以转让" prop="didgrp.rec.lcrtyp">
<c-select
v-model="model.didgrp.rec.lcrtyp"
......@@ -302,7 +305,7 @@
</el-form-item>
</c-col>
<!-- =========================保兑行========================= -->
<c-col :span="13">
<c-col :span="24">
<el-form-item label="是否可保兑" prop="didgrp.rec.bdflg">
<c-select
v-model="model.didgrp.rec.bdflg"
......@@ -389,6 +392,7 @@
></c-input>
</el-form-item> -->
<c-ptapdome
:disabledJigomc="true"
:model="model"
:argadr="{
......@@ -431,7 +435,7 @@
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Ditdla/Event";
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome";
......@@ -445,6 +449,12 @@ export default {
},
methods: {
...Event,
async chooseBank(){
let rtnmsg = await this.executeRule("didgrp.rec.avbwth"); //DIDGRP\REC\AVBWTH
if(rtnmsg.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
......
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<span v-text="model.ditamep.hfmdes" data-path=".ditamep.hfmdes"> </span>
</c-col> -->
<el-row>
<c-col :span="12">
<el-form-item label="服务描述" prop="didgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods"
></c-input>
</el-form-item>
</c-col>
<div class="eibs-tab">
<!-- <c-col :span="12">
<span v-text="model.ditamep.hfmdes" data-path=".ditamep.hfmdes">
</span>
</c-col> -->
<c-col :span="12">
<el-form-item label="修改历史" prop="didgrp.blk.lcrgodame">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrgodame"
maxlength="50"
show-word-limit
placeholder="请输入Description of Goods Amendment History"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="修改内容" prop="trnmod.swiadd.lcrgod">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods amendment"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="货物描述" prop="didgrp.blk.lcrgod">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrgodameButtxmsel"
>
</c-button>
</c-col>
</el-row>
</div>
<c-col :span="11" :offset="1">
<el-form-item label="修改历史" prop="didgrp.blk.lcrgodame">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrgodame"
maxlength="50"
show-word-limit
placeholder="请输入Description of Goods Amendment History"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="修改内容" prop="trnmod.swiadd.lcrgod">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrgod"
maxlength="65"
show-word-limit
placeholder="请输入Description of Goods amendment"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1" style="text-align: right">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onLcrgodameButtxmsel">
</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/Ditdla/Event";
import Event from "~/model/Ditame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
......
<template>
<div class="eibs-tab">
<el-row>
<c-col :span="12">
<el-form-item label="单据要求" prop="didgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
></c-input>
</el-form-item>
</c-col>
<div class="eibs-tab">
<c-col :span="11">
<el-form-item label="单据要求" prop="didgrp.blk.lcrdoc">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据要求历史修改" prop="didgrp.blk.lcrdocame">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrdocame"
maxlength="50"
show-word-limit
placeholder="请输入Documents Required Amendment History"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="单据要求修改" prop="trnmod.swiadd.lcrdoc">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required amendment"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="单据要求历史修改" prop="didgrp.blk.lcrdocame">
<c-input
type="textarea"
v-model="model.didgrp.blk.lcrdocame"
maxlength="50"
show-word-limit
placeholder="请输入Documents Required Amendment History"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrdocameButtxmsel"
>
</c-button>
</c-col>
</el-row>
</div>
<c-col :span="11">
<el-form-item label="单据要求修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.lcrdoc"
maxlength="65"
show-word-limit
placeholder="请输入Documents Required amendment"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col :span="1" style="text-align: right">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onLcrdocameButtxmsel">
</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/Ditdla/Event";
import Event from "~/model/Ditame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
......
<template>
<div class="eibs-tab">
<el-row>
<label>Instructions to Paying/Accepting/Negotiating Bank</label>
<br />
<label>Original Text </label>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="" prop="didgrp.blk.insbnk" label-width="0px">
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnk"
maxlength="65"
show-word-limit
placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<label>Historic Overview</label>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="" prop="didgrp.blk.insbnkame" label-width="0px">
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnkame"
maxlength="50"
show-word-limit
placeholder="请输入Instructions to P/A/N Amendment History"
></c-input>
</el-form-item>
</c-col>
</el-row>
<el-row>
<label>修改</label>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="" prop="trnmod.swiadd.insbnk" label-width="0px">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.insbnk"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to P/A/N Bank amendment"
></c-input>
</el-form-item>
</c-col>
</el-row>
</div>
<div class="eibs-tab">
<c-col >
<el-form-item class="formItemLabel" label="Instructions to Paying/Accepting/Negotiating Bank" label-width="100%">
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="Original Text">
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnk"
maxlength="500"
show-word-limit
placeholder="请输入Instructions to Paying/Accepting/Negotiating Bank"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="Hostoric overview">
<c-input
type="textarea"
v-model="model.didgrp.blk.insbnkame"
maxlength="500"
show-word-limit
placeholder="请输入Instructions to P/A/N Amendment History"
:rows="10"
></c-input>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item label="修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.insbnk"
maxlength="50"
show-word-limit
placeholder="请输入Instruction to P/A/N Bank amendment"
:rows="10"
></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/Ditdla/Event";
import Event from "~/model/Ditame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
<style scoped>
.formItemLabel >>> .el-form-item__label{
text-align: left;
}
</style>
<template>
<div class="eibs-tab">
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav"> 保存 </c-button>
</c-col>
<div class="eibs-tab">
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onSav">
保存
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
用户确认
</c-button>
</c-col> -->
<c-col :span="11">
<el-form-item label="历史修改">
<c-input
type="textarea"
v-model="model.olddidgrp.blk.narhis"
maxlength="50"
show-word-limit
placeholder="请输入"
:rows="12"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="内容修改">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.nartxt"
maxlength="50"
show-word-limit
placeholder="请输入"
:rows="12"
:disabled="!checkboxModel"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="12">
<el-form-item>
<c-checkbox v-model="checkboxModel">修改</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrcon">
用户确认
</c-button>
</c-col> -->
<el-row>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.swiadd.nartxtflg">修改</c-checkbox>
</c-col>
</el-row>
<el-row>
<c-col :span="12">
<el-form-item label="历史修改" prop="olddidgrp.blk.narhis">
<c-input
type="textarea"
v-model="model.olddidgrp.blk.narhis"
maxlength="50"
show-word-limit
placeholder="请输入Historic Overview of Narratives"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="内容修改" prop="trnmod.swiadd.nartxt">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.nartxt"
maxlength="50"
show-word-limit
placeholder="请输入Narrative"
></c-input>
</el-form-item>
</c-col>
</el-row>
<!--
<c-col :span="12">
<c-button size="small" type="primary" @click="onChk">
检核
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk">
检核
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
提示信息
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen">
暂存
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan">
退出
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onChk"> 检核 </c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onUsrchk"> 检核 </c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSyswrnButshw">
提示信息
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onPen"> 暂存 </c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCan"> 退出 </c-button>
</c-col> -->
</div>
<!-- <c-col :offset="12" :span="12">
<c-checkbox v-model="model.trnmod.swiadd.nartxtflg"
>修改</c-checkbox
>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditdla/Event";
import Event from "~/model/Ditame/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
checkboxModel:'',
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
......
<template>
<div class="eibs-tab">
<c-row>
<!-- =================顶部====================== -->
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item
label="信用证号码"
label="参考号"
prop="didgrp.rec.ownref"
style="width: 100%"
>
......@@ -45,49 +46,36 @@
<!-- </el-form-item> -->
</c-col>
<!-- </c-col> -->
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input
align="middle"
v-model="model.didgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="20">
</c-col>
<c-col :span="24">
<el-form-item
label="所属客户经理"
prop="ditp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
<c-input
style="width: 95%"
v-model="model.ditp.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<!-- <el-form-item label="" label-width="17px"> -->
<c-button
style="margin: 0 10px 0 0; padding: 0 10px"
<template slot="footer">
<c-button
style="margin-left:10px;padding: 0 10px;"
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
<!-- </el-form-item> -->
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col>
&nbsp;
</c-col> -->
......@@ -142,26 +130,27 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="上下浮动限额" prop="didgrp.rec.nomtop">
<c-input
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
v-model="model.didgrp.rec.nomtop"
maxlength="9"
style="width: 40%"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
></c-input>
<label
style="display: inline-block; width: 10%; text-align: center"
>-</label
>
></c-input>
</c-form-item>
</c-col>
<c-col :span="1" style="text-align:center">
<label style="display:inline-block;width:calc(3% - 4px);text-align:center;">-</label>
</c-col>
<c-col :span="10">
<c-input
v-model="model.didgrp.rec.nomton"
maxlength="9"
style="width: 40%"
style="width: 100%"
placeholder="请输入Amount Tolerance - Negative"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12" style="text-align: left">
<el-form-item
label=""
......@@ -242,21 +231,18 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="24">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.opndat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<c-col :span="24">
<el-form-item
v-if="model.didgrp.rec.mytype == 'H'"
label="最迟货物装运日"
......@@ -266,7 +252,7 @@
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
......@@ -279,7 +265,7 @@
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
......@@ -292,25 +278,22 @@
type="date"
v-model="model.didgrp.rec.shpdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="有效日期" prop="didgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.didgrp.rec.expdat"
value-format="yyyy-MM-dd"
style="width: 95%"
style="width: 100%"
placeholder="请选择Date"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="有效地点" prop="didgrp.rec.expplc">
<c-input
......@@ -320,23 +303,56 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select
v-model="model.didgrp.rec.elcflg"
style="width: 100%"
placeholder="请选择是否通过电证系统"
<c-col :span="24">
<c-col :span="13">
<el-form-item label="是否通过电证系统" prop="didgrp.rec.elcflg">
<c-select
v-model="model.didgrp.rec.elcflg"
style="width: 95%"
placeholder="请选择是否通过电证系统"
disabled
>
<el-option
v-for="item in codes.elcflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.elcflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="报文类型" label-width="80px">
<c-select
v-if="model.didgrp.rec.elcflg == 'N'"
style="width: 100%"
v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
<c-select
v-else
v-model="model.ditp.msgtyp" placeholder="请选择报文类型" disabled>
<el-option
v-for="item in codes.msgtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="开证类型" prop="didgrp.rec.dkflg">
<c-select
......@@ -402,6 +418,18 @@
</c-col>
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input
align="middle"
v-model="model.didgrp.rec.nam"
maxlength="40"
disabled
placeholder="请输入Externally Displayed Name to Identify the Contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input type="textarea" v-model="model.didgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></c-input>
</el-form-item>
</c-col>
</div>
<!-- <c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="65"
:row="15"
show-word-limit
placeholder="请输入声明"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="65"
show-word-limit
placeholder="请输入声明"
:rows="15"
></c-input>
</el-form-item>
</c-col>
</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/Ditdla/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -6,7 +6,7 @@
</c-col>
-->
<c-col :span="24">
<el-form-item label="服务描述" prop="didgrp.blk.lcrgod">
<el-form-item label="货物描述" prop="didgrp.blk.lcrgod">
<c-input
type="textarea"
:autosize="{ minRows: 6, maxRows: 8 }"
......
......@@ -35,7 +35,9 @@
<!--PD000001 -->
<el-tab-pane label="内容" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000077 -->
......@@ -54,7 +56,7 @@
</el-tab-pane>
<!--PD000105 -->
<el-tab-pane label="描修改" name="dogpame">
<el-tab-pane label="描修改" name="dogpame">
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
......@@ -70,7 +72,16 @@
<!--PD000306 -->
<el-tab-pane label="给P, A, N. 银行指示" name="inspame">
<c-content>
<m-inspame :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="或有" name="engp">
<!--PD000027 -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
......@@ -83,6 +94,10 @@
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
......@@ -105,11 +120,13 @@
<!--PD000452 -->
<el-tab-pane label="银行明细" name="detp1">
<c-content>
<m-detp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000488 -->
<el-tab-pane label="明" name="stament">
<el-tab-pane label="明" name="stament">
<m-stament :model="model" :codes="codes" />
</el-tab-pane>
......@@ -143,13 +160,15 @@ import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "./Coninfp";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Doctre from "./Doctre";
import Shisuan from "./Shisuan";
import Detp1 from "./Detp1";
import Stament from "./Stament";
import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/views/Public/Engp";
import Glepan from "~/views/Public/Glepan";
export default {
name: "Ditdla",
......@@ -173,6 +192,8 @@ export default {
"m-detp1": Detp1,
"m-stament": Stament,
"m-limitbody": Limitbody,
"m-engp": Engp,
"m-glepan": Glepan,
},
provide() {
return {
......
......@@ -83,7 +83,9 @@
<c-col :span="12">
<el-form-item label="Amended Amount" prop="trnmod.swiadd.ameamt">
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额"></c-input>
<c-input v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额"
@keyup.enter.native="amendfunc"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -358,7 +360,16 @@ export default {
}
},
methods:{...Event},
methods:{...Event,
async amendfunc(){
let rtnmsg = await this.executeRule("trnmod.swiadd.ameamt")
if(rtnmsg.respCode==SUCCESS){
this.updateModel(rtnmsg.data);
}else{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
created:function(){
}
......
......@@ -5,13 +5,7 @@
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbe || []"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="120">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="120">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="120">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="120">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="180">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbb || []"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="150">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="150">
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmpty || []"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="120">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="120">
</el-table-column>
</c-table>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Litdla/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
</c-tabs>
<!--PD000003 -->
<el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Cash Cover" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :code="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Message" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
......@@ -11,42 +61,68 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Litcan from "~/model/Litcan"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litcan/Check"
import Default from "~/model/Litcan/Default"
import Pattern from "~/model/Litcan/Pattern"
import Canp from "./Canp"
import Shisuan from "./Shisuan"
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Litcan",
components:{
"m-canp" : Canp,
"m-shisuan" : Shisuan,
"m-engp" : Engp,
"m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-glepan" : Glepan,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "canp",
trnName: "litcan",
model: new Litcan().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {...CodeTable
},
}
},
methods:{
tabClick(){
}
// tabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
},
created:async function(){
console.log("进入litcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
......
......@@ -29,7 +29,7 @@
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
:disabled="this.flag1"
@click="onLitpButgetref"
>
获取
......@@ -718,7 +718,7 @@ export default {
}
},
computed: {
flag() {
flag1() {
return this.model.lidgrp.apl.pts.extkey == "";
},
},
......
......@@ -60,20 +60,20 @@ export default {
// { inifrm: "ditdck", ininam: "信用证到单", pntmiu: "2" },
// { inifrm: "bdtset", ininam: "信用证付款", pntmiu: "2" },
{ inifrm: "3", ininam: "出口信用证", pntmiu: "" },
{ inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" },
{ inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" },
{ inifrm: "letnot", ininam: "出口信用证预通知", pntmiu: "3" },
{ inifrm: "letame", ininam: "出口信用证修改", pntmiu: "3" },
{ inifrm: "letrsv", ininam: "出口信用证补通知", pntmiu: "3" },
{ inifrm: "infled", ininam: "出口信用证查询infled", pntmiu: "3" },
{ inifrm: "bptcan", ininam: "出口融资注销", pntmiu: "3" },
{ inifrm: "infled", ininam: "出口信用证交易查询", pntmiu: "3" },
{ inifrm: "infbed", ininam: "出口信用证单据查询", pntmiu: "3" },
{ inifrm: "letcan", ininam: "出口信用证注销", pntmiu: "3" },
{ inifrm: "betacc", ininam: "出口信用证单据承兑", pntmiu: "3" },
{ inifrm: "betrcl", ininam: "出口信用证单据索汇", pntmiu: "3" },
{ inifrm: "betdcr", ininam: "出口信用证不符点/拒付", pntmiu: "3" },
{ inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" },
{ inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" },
// { inifrm: "letsel", ininam: "出口信用证查询", pntmiu: "3" },
// { inifrm: "letopn", ininam: "出口信用证通知", pntmiu: "3" },
// { inifrm: "letnot", ininam: "出口信用证预通知", pntmiu: "3" },
// { inifrm: "letame", ininam: "出口信用证修改", pntmiu: "3" },
// { inifrm: "letrsv", ininam: "出口信用证补通知", pntmiu: "3" },
// { inifrm: "bptcan", ininam: "出口融资注销", pntmiu: "3" },
// { inifrm: "letcan", ininam: "出口信用证注销", pntmiu: "3" },
// { inifrm: "betacc", ininam: "出口信用证单据承兑", pntmiu: "3" },
// { inifrm: "betrcl", ininam: "出口信用证单据索汇", pntmiu: "3" },
// { inifrm: "betdcr", ininam: "出口信用证不符点/拒付", pntmiu: "3" },
// { inifrm: "betdrv", ininam: "出口信用证单据修改", pntmiu: "3" },
// { inifrm: "infbpd", ininam: "出口押汇查询", pntmiu: "3" },
{ inifrm: "4", ininam: "进口信用证", pntmiu: "" },
{ inifrm: "inflid", ininam: "进口信用证交易查询", pntmiu: "4" },
{ inifrm: "infbrd", ininam: "进口信用证单据查询", pntmiu: "4" },
......
<template>
<!-- <div class="eibs-tab"> -->
<div>
<c-col :span="24">
<el-form-item :label="argadr.title + '编号'" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<c-col v-if="!enRef" :span="24">
<el-form-item :label="argadr.title + ' 编号'" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
maxlength="16"
......@@ -11,8 +11,19 @@
></c-input>
</el-form-item>
</c-col>
<c-col v-else :span="24">
<el-form-item :label="argadr.title + ' Ref.'" :prop="`${argadr.grp}.${argadr.rol}.pts.ref`">
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
maxlength="16"
:placeholder="'Please input' + argadr.title + 'Ref.'"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col v-if="!enNam" :span="24">
<el-form-item :label="argadr.title + '名称'" :prop="`${argadr.grp}.${argadr.rol}.pts.nam`">
<c-input
v-model="model[argadr.grp][argadr.rol].pts.nam"
......@@ -22,6 +33,17 @@
></c-input>
</el-form-item>
</c-col>
<c-col v-else :span="24">
<el-form-item :label="argadr.title + ' Nam.'" :prop="`${argadr.grp}.${argadr.rol}.pts.nam`">
<c-input
v-model="model[argadr.grp][argadr.rol].pts.nam"
maxlength="40"
:placeholder="'Please input' + argadr.title + ' Nam.'"
:disabled="disabled || disabled1"
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
......@@ -48,6 +70,16 @@ export default {
type: Boolean,
default: false,
},
enRef: {
//英文编号
type: Boolean,
default: false,
},
enNam: {
//英文名称
type: Boolean,
default: false,
},
},
data() {
return {
......
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