Commit fb82f564 by Wuyuqiu

交易Bug修改,lttcan交易页面修改及初始化

parent 17f46ec2
......@@ -216,6 +216,8 @@ export default class Betset {
},
},
pageId: "", // ctx的key
betprbl1blk:"",
betissl1blk:"",
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
......
......@@ -4,9 +4,23 @@ import Utils from "~/utils"
* Lttcan Check规则
*/
let checkObj = {
"lttp0.recget.sdamod.dadsnd" :null,
"rmbclm.rmbrmb.pts.extkey" :null,
"rmbclm.acwacw.pts.extkey" :null,
"rmbclm.acwacw.pts.adrblk" :null,
"setmod.dspflg" :null,
"sndmsg" :null,
"rmbclm.bebbeb.adrelc" :null,
"rmbclm.acwacw.namelc" :null,
"mtabut.coninf.conexedat" :null,
"lttcanp.trnrec.strinf" :null,
"rmbclm.bebbeb.namelc" :null,
"rmbclm.rmbrmb.pts.adrblk" :null,
"setmod.docamt" :null,
"rmbclm.rmbrmb.adrelc" :null,
"rmbclm.bebbeb.pts.adrblk" :null,
"rmbclm.acwacw.adrelc" :null,
"rmbclm.rmbrmb.namelc" :null,
"rmbclm.bebbeb.pts.extkey" :null,
}
for (const key in checkObj) {
......
......@@ -6,15 +6,43 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.extkey" :Utils.defaultFunction,
"rmbclm.rmbrmb.adrelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.namelc" :Utils.defaultFunction,
"rmbclm.rmbrmb.dbfadrblkcn" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"rmbclm.acwacw.pts.extkey" :Utils.defaultFunction,
"rmbclm.acwacw.adrelc" :Utils.defaultFunction,
"rmbclm.acwacw.namelc" :Utils.defaultFunction,
"rmbclm.acwacw.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.acwacw.pts.adrblk" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.extkey" :Utils.defaultFunction,
"rmbclm.bebbeb.adrelc" :Utils.defaultFunction,
"rmbclm.bebbeb.namelc" :Utils.defaultFunction,
"rmbclm.bebbeb.dbfadrblkcn" :Utils.defaultFunction,
"rmbclm.bebbeb.pts.adrblk" :Utils.defaultFunction,
"ltdgrp.be1.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.avt.pts.nam" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"rmbclm.rmbrmb.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ltdgrp.rec.expdat" :Utils.defaultFunction,
"ltdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"ltdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"ltdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ltdgrp.adt.pts.nam" :Utils.defaultFunction,
"rmbclm.rmbrol" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ltdgrp.be2.pts.nam" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,18 +2,140 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
},
async onCanletButtxmsel() {
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onCanletButtxmsel(){
let rtnmsg = await this.executeRule("canlet.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRmbpDet(){
let rtnmsg = await this.executeRule("rmbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcwpDet(){
let rtnmsg = await this.executeRule("acwp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBebpDet(){
let rtnmsg = await this.executeRule("bebp.det")
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: '服务请求失败!'});
}
},
onSeainf(){},
onAvbpDet(){},
}
\ No newline at end of file
......@@ -95,4 +95,186 @@ export default {
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"rmbclm.rmbrmb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbrmb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.rmbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.rmbrmb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{type: "string",max: 999,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.rmbrmb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwacw.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.acwp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.acwacw.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.acwacw.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebbeb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"rmbclm.bebp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"rmbclm.bebbeb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.bebbeb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"rmbclm.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Lttcan{
constructor () {
this.data = {
lttp0:{
recget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .lttp0.recget.sdamod.dadsnd
seainf:"", // .lttp0.recget.sdamod.seainf
},
},
ledget:{
sdamod:{
seainf:"", // .lttp0.ledget.sdamod.seainf
},
},
aammod:{
addamtflg:"", // Add. Amount .lttp0.aammod.addamtflg
},
import Pub from "../Public"
export default class Lttcan {
constructor() {
this.data = {
lttp0: {
recget: {
sdamod: {
dadsnd: "", // Drag Drop Sender .lttp0.recget.sdamod.dadsnd
seainf: "", // .lttp0.recget.sdamod.seainf
},
},
ledget: {
sdamod: {
seainf: "", // .lttp0.ledget.sdamod.seainf
},
},
aammod: {
addamtflg: "", // Add. Amount .lttp0.aammod.addamtflg
},
},
ledgrp: {
rec: {
ownref: "", // L/C Reference .ledgrp.rec.ownref
nam: "", // Name .ledgrp.rec.nam
},
},
ltdgrp: {
rec: {
ownref: "", // Transfer Reference .ltdgrp.rec.ownref
nam: "", // Name .ltdgrp.rec.nam
avbby: "", // Available by .ltdgrp.rec.avbby
shpdat: "", // Shipment Date .ltdgrp.rec.shpdat
opndat: "", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp: "", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat: "", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc: "", // Date / Place of Expiry .ltdgrp.rec.expplc
},
cbs: {
nom1: {
cur: "", // Transfer L/C Amount .ltdgrp.cbs.nom1.cur
amt: "", // Balance .ltdgrp.cbs.nom1.amt
},
opn1: {
cur: "", // Open Amount .ltdgrp.cbs.opn1.cur
amt: "", // Balance .ltdgrp.cbs.opn1.amt
},
},
avt: {
pts: new Pts().data,
},
be1: {
pts: new Pts().data,
},
be2: {
pts: new Pts().data,
},
adt: {
pts: new Pts().data,
},
},
lttcanp: {
trnrec: {
strinf: "", // Narrative .lttcanp.trnrec.strinf
},
},
sndmsg: "", // Send Message .sndmsg
rmbclm: {
rmbrmb: {
pts: new Pts().data,
namelc: "", // 名称 .rmbclm.rmbrmb.namelc
adrelc: "", // 地址 .rmbclm.rmbrmb.adrelc
dbfadrblkcn: "", // Chinese address .rmbclm.rmbrmb.dbfadrblkcn
},
rmbp: {
ptsget: {
sdamod: {
seainf: "", // .rmbclm.rmbp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .rmbclm.rmbp.ptsget.sdamod.dadsnd
},
ledgrp:{
rec:{
ownref:"", // L/C Reference .ledgrp.rec.ownref
nam:"", // Name .ledgrp.rec.nam
},
},
},
acwacw: {
pts: new Pts().data,
namelc: "", // 名称 .rmbclm.acwacw.namelc
adrelc: "", // 地址 .rmbclm.acwacw.adrelc
dbfadrblkcn: "", // Chinese address .rmbclm.acwacw.dbfadrblkcn
},
acwp: {
ptsget: {
sdamod: {
seainf: "", // .rmbclm.acwp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .rmbclm.acwp.ptsget.sdamod.dadsnd
},
ltdgrp:{
rec:{
ownref:"", // Transfer Reference .ltdgrp.rec.ownref
nam:"", // Name .ltdgrp.rec.nam
avbby:"", // Available by .ltdgrp.rec.avbby
shpdat:"", // Shipment Date .ltdgrp.rec.shpdat
opndat:"", // Date Issued/Form .ltdgrp.rec.opndat
lcrtyp:"", // Date Issued/Form .ltdgrp.rec.lcrtyp
expdat:"", // Date / Place of Expiry .ltdgrp.rec.expdat
expplc:"", // Date / Place of Expiry .ltdgrp.rec.expplc
},
cbs:{
nom1:{
cur:"", // Transfer L/C Amount .ltdgrp.cbs.nom1.cur
amt:"", // Balance .ltdgrp.cbs.nom1.amt
},
opn1:{
cur:"", // Open Amount .ltdgrp.cbs.opn1.cur
amt:"", // Balance .ltdgrp.cbs.opn1.amt
},
},
avt:{
pts:new Pts().data,
},
be1:{
pts:new Pts().data,
},
be2:{
pts:new Pts().data,
},
adt:{
pts:new Pts().data,
},
},
},
bebbeb: {
pts: new Pts().data,
namelc: "", // 名称 .rmbclm.bebbeb.namelc
adrelc: "", // 地址 .rmbclm.bebbeb.adrelc
dbfadrblkcn: "", // Chinese address .rmbclm.bebbeb.dbfadrblkcn
},
bebp: {
ptsget: {
sdamod: {
seainf: "", // .rmbclm.bebp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .rmbclm.bebp.ptsget.sdamod.dadsnd
},
lttcanp:{
trnrec:{
strinf:"", // Narrative .lttcanp.trnrec.strinf
},
},
sndmsg:"", // Send Message .sndmsg
pageId: "" // ctx的key
}
}
},
},
rmbrol: "", // 偿付行 .rmbclm.rmbrol
valdat: "", // value date .rmbclm.valdat
},
pageId: "", // ctx的key
lttbe1l1blk: "",
lttbe2l1blk: "",
trnmod: new Pub().data.Trnmod,
setmod: new Pub().data.Setmod,
liaall: new Pub().data.Liaall,
mtabut: new Pub().data.Mtabut,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<!-- =================顶部====================== -->
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="11">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<el-form-item
label="L/C Reference"
prop="ledgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.ownref"
maxlength="16"
placeholder="请输入L/C Reference"
maxlength="8"
placeholder="Please input L/C Reference"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="Transfer Reference"
prop="ltdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
v-model="model.ltdgrp.rec.ownref"
maxlength="8"
placeholder="Please input Transfer Reference"
:disabled="true"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="11" :offset="2">
<el-form-item label="" prop="lttp0.ledget.sdamod.seainf">
<c-input v-model="model.lttp0.ledget.sdamod.seainf" placeholder="请输入"></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="
font-size: 15px;
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<c-col :span="11">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
</c-col>
<c-col :span="24">
<el-form-item label="Transfer L/C Amount" prop="ltdgrp.cbs.nom1.cur">
<c-fullbox>
<c-input
v-model="model.ltdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Transfer Reference"
v-model="model.ltdgrp.cbs.nom1.cur"
maxlength="3"
style="width: 50%"
placeholder="请输入L/C Amount"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name" prop="ltdgrp.rec.nam">
<c-input
v-model="model.ltdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name"
v-model="model.ltdgrp.cbs.nom1.amt"
style="width: 50%"
placeholder="请输入Balance"
disabled
></c-input>
</el-form-item>
</c-col>
<template slot="footer">
<c-checkbox
v-model="model.lttp0.aammod.addamtflg"
style="margin-left: 10px"
disabled
>Add. Amount</c-checkbox
>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="" prop="lttp0.recget.sdamod.seainf">
<c-input v-model="model.lttp0.recget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="lttp0.recget.sdamod.dadsnd">
<c-input v-model="model.lttp0.recget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
<c-col :span="24">
<el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
<c-fullbox>
<c-input
v-model="model.ltdgrp.cbs.opn1.cur"
maxlength="3"
style="width: 50%"
placeholder="请输入Open Amount"
disabled
></c-input>
<c-input
v-model="model.ltdgrp.cbs.opn1.amt"
style="width: 50%"
placeholder="请输入Balance"
disabled
></c-input>
</c-fullbox>
</el-form-item>
</c-col> -->
</c-col>
<c-col :span="24">
<c-form-item label="Available with" prop="ltdgrp.avt.pts.nam">
<c-input
v-model="model.ltdgrp.avt.pts.nam"
maxlength="40"
placeholder="Please input Available with"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="6">
<el-form-item
label="Transfer L/C Amount"
prop="ltdgrp.cbs.nom1.cur"
>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="by" prop="ltdgrp.rec.avbby">
<c-fullbox>
<c-select
v-model="model.ltdgrp.cbs.nom1.cur"
v-model="model.ltdgrp.rec.avbby"
maxlength="3"
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="10">
<el-form-item
label=""
label-width="15px"
prop="ltdgrp.cbs.nom1.amt"
>
<c-input
v-model="model.ltdgrp.cbs.nom1.amt"
placeholder="请输入Balance"
></c-input>
</el-form-item>
</c-col>
<c-col :span="6" :offset="1" class="centerLable">
<c-checkbox v-model="model.lttp0.aammod.addamtflg"
>Add. Amount</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Available with" prop="ltdgrp.avt.pts.nam">
<c-input
v-model="model.ltdgrp.avt.pts.nam"
maxlength="40"
placeholder="请输入Available with"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Available by" prop="ltdgrp.rec.avbby">
<c-select
v-model="model.ltdgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by"
:code="codes.avbby"
>
</c-select>
placeholder="Please input Open Amount"
disabled
:code="codes.avbby"
></c-select>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -125,201 +148,180 @@
type="date"
v-model="model.ltdgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择Shipment Date"
placeholder="Please select Shipment Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.opndat"
style="width: 100%"
placeholder="请选择Date Issued/Form"
placeholder="Please select Date Issued/Form"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="ltdgrp.rec.lcrtyp">
<c-select
v-model="model.ltdgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Date Issued/Form"
:code="codes.lcrtyp"
>
</c-select>
</el-form-item>
<c-input
v-model="model.ltdgrp.rec.lcrtyp"
maxlength="40"
placeholder="Please input Available with"
disabled
:code="codes.lcrtyp1"
></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expdat">
<el-form-item label="Date/Place of Expiry" prop="ltdgrp.rec.expdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.expdat"
style="width: 100%"
placeholder="请选择Date / Place of Expiry"
placeholder="Please select Shipment Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="ltdgrp.rec.expplc">
<c-input
v-model="model.ltdgrp.rec.expplc"
maxlength="29"
placeholder="请输入Date / Place of Expiry"
></c-input>
</el-form-item>
<c-input
v-model="model.ltdgrp.rec.expplc"
maxlength="40"
placeholder="Please input Available with"
disabled
></c-input>
</c-col>
<c-col :span="24">
<el-form-item label="Narrative" prop="lttcanp.trnrec.strinf">
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="ledgrp.rec.nam">
<c-input
v-model="model.ledgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Name" prop="ltdgrp.rec.nam">
<c-input
v-model="model.ltdgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '1st Beneficiary',
grp: 'ltdgrp',
rol: 'be1',
}"
:enRef="true"
:enNam="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '2nd Beneficiary',
grp: 'ltdgrp',
rol: 'be2',
}"
:enRef="true"
:enNam="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: 'Presenting Bank',
grp: 'ltdgrp',
rol: 'adt',
}"
:enRef="true"
:enNam="true"
:disabled="false"
:disabled1="true"
></c-ptsmsg>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item style="margin-left: -150px">
<el-divider />
</el-form-item>
</c-col>
<!-- next part -->
<c-col :span="11">
<c-col :span="24">
<el-form-item
label="Narrative"
prop="lttcanp.trnrec.strinf"
style="width: 100%"
>
<c-fullbox>
<c-input
type="textarea"
v-model="model.lttcanp.trnrec.strinf"
:autosize="{ minRows: 20, maxRows: 38}"
style="height:339px"
maxlength="50"
show-word-limit
placeholder="请输入Narrative"
placeholder="Please input Narrative"
:disabled="!sndmsg"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Transfer L/C Amount" prop="ltdgrp.cbs.nom1.cur">
<c-input v-model="model.ltdgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入Transfer L/C Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ltdgrp.cbs.nom1.amt">
<c-input v-model="model.ltdgrp.cbs.nom1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lttp0.aammod.addamtflg">Add. Amount</c-checkbox>
</c-col> -->
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第一受益人',
grp: 'ltdgrp',
rol: 'be1',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBe1pDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '第二受益人',
grp: 'ltdgrp',
rol: 'be2',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onBe2pDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '通知行',
grp: 'ltdgrp',
rol: 'adt',
}"
:disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onAdtpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.sndmsg"
style="height:100%;width:100%;margin-left:50px;">Send Message</c-checkbox>
</c-col>
<!-- <c-col :span="24">
<el-fo rm-item label="1st Beneficiary" prop="ltdgrp.be1.pts.ref">
<c-input v-model="model.ltdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
<c-input v-model="model.ltdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Balance" prop="ltdgrp.cbs.opn1.amt">
<c-input v-model="model.ltdgrp.cbs.opn1.amt" placeholder="请输入Balance"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ltdgrp.be1.pts.nam">
<c-input v-model="model.ltdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="2nd Beneficiary" prop="ltdgrp.be2.pts.ref">
<c-input v-model="model.ltdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ltdgrp.be2.pts.nam">
<c-input v-model="model.ltdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Advising Bank" prop="ltdgrp.adt.pts.ref">
<c-input v-model="model.ltdgrp.adt.pts.ref" maxlength="16" placeholder="请输入Advising Bank"></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
:disabled="!sndmsg"
@click="
showGridPromptDialog(
'bttcanp.canlet.buttxmsel',
null,
null,
{ TXT: 'lttcanp.trnrec.strinf' },
{ TXT: false },
'doxpDialog'
)
"
>
...
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Name of Party" prop="ltdgrp.adt.pts.nam">
<c-input v-model="model.ltdgrp.adt.pts.nam" maxlength="40" placeholder="请输入Name of Party"></c-input>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="" style="text-align: left" prop="sndmsg">
<c-checkbox v-model="sndmsg">Send Message</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCanletButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
</c-col> -->
</c-col>
</c-row>
</c-col>
</div>
</template>
<script>
......@@ -327,26 +329,30 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttcan/Event";
import Ptsmsg from "~/views/Public/Ptsmsg";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed:{
sndmsg:{
get(){
return this.model.sndmsg != '';
},
set(val){
this.model.sndmsg = val ? 'X':'';
}
}
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.centerLable {
margin-left: -10px;
height: 32px;
line-height: 32px;
}
.marginLable {
padding-left: 150px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="Please select Reimbursement Bank"
:code="codes.rolall"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'rmbrmb',
}"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
:disabled="
!( model.rmbclm.rmbrol == 'OTH')
"
:disabledExtkey="!(model.rmbclm.rmbrol == 'RMB'||model.rmbclm.rmbrol == 'OTH')"
:disabledRef="!(model.rmbclm.rmbrol == 'RMB'||model.rmbclm.rmbrol == 'OTH')"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'acwacw',
}"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'rmbclm',
rol: 'bebbeb',
}"
@onSeainf="onSeainf"
@onAplpDet="onAvbpDet"
>
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item label="value date" prop="rmbclm.valdat">
<c-date-picker
type="date"
v-model="model.rmbclm.valdat"
style="width: 100%"
placeholder="Please select value date"
></c-date-picker>
</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/Lttcan/Event";
import Ptap from "~/views/Public/Ptap";
export default {
components: { "c-ptap": Ptap },
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-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"
......@@ -10,15 +25,46 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000002 -->
<el-tab-pane label="canp" name="canp">
<c-content>
<m-canp :model="model" :codes="codes" />
</c-content>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--lttcan PD000002 Cancelation -->
<el-tab-pane label="Cancelation" name="canp">
<m-canp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--lttcan PD000009 MT 742 Reimbursement Claim -->
<el-tab-pane label="MT 742 Reimbursement Claim" name="rcldetp">
<m-rcldetp :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -26,22 +72,33 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Lttcan from "~/model/Lttcan";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Lttcan/Check";
import Default from "~/model/Lttcan/Default";
import Pattern from "~/model/Lttcan/Pattern";
import Canp from "./Canp";
import Rcldetp from "./Rcldetp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
export default {
name: "Lttcan",
components: {
"m-canp": Canp,
"m-setpan": Setpan,
"m-rcldetp": Rcldetp,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "canp",
......@@ -57,12 +114,21 @@ export default {
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入lttcan交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -171,7 +171,6 @@
v-model="model.bttp.futhndflg"
style="width: 100%"
placeholder="Please select Further Handing"
disabled
:code="codes.futhndflg"
>
</c-select>
......
......@@ -105,14 +105,17 @@
maxlength="3500"
show-word-limit
placeholder="请输入Discrepancies"
:disabled="!model.btdgrp.blk.docdisflg"
:rows="5"
></c-input>
</el-form-item>
</c-col>
<c-col :span="18" :offset="6">
<c-checkbox v-model="model.btdgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox
>
<el-form-item label="" prop="btdgrp.blk.docdisflg" style="margin-left:-150px;">
<c-checkbox v-model="model.btdgrp.blk.docdisflg"
>Discrepancies modified</c-checkbox
>
</el-form-item>
<!-- <c-checkbox v-model="model.brdgrp.blk.docdisflg">discrepancies modified</c-checkbox> -->
</c-col>
</c-col>
......
......@@ -117,7 +117,6 @@ export default {
return {
tabVal: "davp",
trnName: "lttdav",
trnType: "",
model: new Lttdav().data,
checkRules: Check,
defaultRules: Default,
......
......@@ -125,20 +125,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="始发(航空)站 prop="ltdgrp.rec.porloa">
<el-form-item label="始发(航空)站" prop="ltdgrp.rec.porloa">
<c-input
type="textarea"
v-model="model.ltdgrp.rec.porloa"
maxlength="65"
show-word-limit
placeholder="Please input 始发(航空)站
placeholder="Please input 始发(航空)站"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="终点(航空)站
label="终点(航空)站"
prop="ltdgrp.rec.pordis"
>
<c-input
......@@ -146,7 +146,7 @@
v-model="model.ltdgrp.rec.pordis"
maxlength="65"
show-word-limit
placeholder="Please input 终点(航空)站
placeholder="Please input 终点(航空)站"
></c-input>
</el-form-item>
</c-col>
......
<template>
<ReviewWrapper>
<Lttdav></Lttdav>
</ReviewWrapper>
</template>
<script>
import Lttdav from "~/views/Business/Lttdav";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLttdav",
components: { ReviewWrapper, Lttdav },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -101,7 +101,7 @@ import ReviewTrtsel from "./Business/ReviewTrtsel.vue";
import ReviewTrtcan from "./Business/ReviewTrtcan.vue";
import ReviewLttdck from "./Business/ReviewLttdck.vue";
import ReviewLttdav from "./Business/ReviewLttdav.vue";
import ReviewGetcrq from "./Business/ReviewGetcrq.vue";
import ReviewGetcan from "./Business/ReviewGetcan.vue";
import ReviewGitcrq from "./Business/ReviewGitcrq.vue";
......@@ -220,6 +220,7 @@ const ReviewRouter = [
{ path: "clttra", component: ReviewClttra, name: "ReviewClttra", meta: { title: "复核-Clttra" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "lttdav", component: ReviewLttdav, name: "ReviewLttdav", meta: { title: "复核-Lttdav" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
{ path: "Cptato", component: ReviewCptato, name: "ReviewCptato", meta: { title: "复核-Cptato" } },
{ path: "Cptcan", component: ReviewCptcan, name: "ReviewCptcan", meta: { title: "复核-Cptcan" } },
......
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