Commit ef4f8b6a by liuxin

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 f1dc336a ac3d981f
......@@ -98,6 +98,10 @@ const CodeTable = {
{ label: "客户账", value: "0" },
{ label: "银行内部账", value: "1" },
],
acttyp:[
{label:"境内非居民", value:"JN"},
{label:"境外",value:"JW"}
],
acksta: [
{ label: "ack", value: "1" },
{ label: "nack", value: "2" },
......
......@@ -39,7 +39,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cptp.uetr":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
......
......@@ -14,6 +14,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -14,6 +14,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -4,13 +4,14 @@ import Pub from "../Public"
export default class Getcan{
constructor () {
this.data = {
letbenl1blk: "",
letissl1blk: "",
leta2bl1blk: "",
gitapll2blk: "",
gitapll1blk: "",
gitbenl1blk: "",
gitbenl2blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
......
......@@ -14,64 +14,10 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
// async onSetmodSetpan(){
// let rtnmsg = await this.executeRule("setmod.setpan")
// if (rtnmsg.respCode == SUCCESS) {
// //处理响应
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
async onSeainf(){
// async demstat(){
// let rtnmsg = await this.executeRule("gcdgrp.rec.demstat")
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// this.$message({
// type: 'success',
// message: '获取成功!'
// });
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// } ,
// async onDocprbrolChange(){
// let rtnmsg = await this.executeRule("gcdgrp.rec.docprbrol")
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// this.$message({
// type: 'success',
// message: '获取成功!'
// });
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
// async onPayrol(){
// let rtnmsg = await this.executeRule("gcdgrp.rec.payrol")
// if(rtnmsg.respCode == SUCCESS)
// {
// //TODO 处理数据逻辑
// }
// else
// {
// this.$notify.error({title: '错误',message: '服务请求失败!'});
// }
// },
},
onSeainf() {
......
......@@ -4,7 +4,9 @@ import Pub from "../Public"
export default class Getcrq{
constructor () {
this.data = {
gitapll1blk: "",
gitbenl1blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -14,6 +14,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -8,6 +8,8 @@ let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gidgrp.acb.namelc" :null,
"gidgrp.acb.pts.adrblk" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.liaccv.totcovamt" :null,
......@@ -17,7 +19,10 @@ let checkObj = {
"liaall.limmod.limpts.nonrevflg1" :null,
"newref" :null,
"setmod.docamt" :null,
"gidgrp.acb.pts.extkey" :null,
"liaall.liaccv.cshpct" :null,
"gidgrp.acb.adrelc" :null,
"gidgrp.rec.redamt" :null,
"liaall.liaccv.relcshpct" :null,
"mtabut.clsflg" :null,
}
......
......@@ -11,6 +11,7 @@ export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.cbs.opn1.cur" :Utils.defaultFunction,
"trnmod.swiadd.chacur" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
......@@ -27,7 +28,12 @@ export default {
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.addinf" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.acb.pts.extkey" :Utils.defaultFunction,
"gidgrp.acb.adrelc" :Utils.defaultFunction,
"gidgrp.acb.namelc" :Utils.defaultFunction,
"gidgrp.acb.dbfadrblkcn" :Utils.defaultFunction,
"liaall.liaccv.totcovamt" :Utils.defaultFunction,
"gidgrp.acb.pts.adrblk" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"liaall.liaccv.concur" :Utils.defaultFunction,
......@@ -38,12 +44,15 @@ export default {
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"gidgrp.rec.outcur" :Utils.defaultFunction,
"liaall.liaccv.newamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"gidgrp.rec.redamt" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"gidgrp.rec.redcur" :Utils.defaultFunction,
"liaall.liaccv.cshpct" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
......
......@@ -194,5 +194,17 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAcbpDet(){
let rtnmsg = await this.executeRule("acbp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -294,4 +294,75 @@ export default {
{max: 14,message:"长度不能超过14"}
],
"gidgrp.rec.reddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.blk.accspc":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.redcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.blk.amtspc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.outcur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"trnmod.swiadd.chacur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"trnmod.swiadd.chaamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.blk.chaded":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gitp0.acbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.acb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gitp0.acbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.acb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.acb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.acb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gidgrp.acb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
......@@ -4,11 +4,11 @@ import Pub from "../Public"
export default class Gitcan{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
......@@ -21,6 +21,14 @@ export default class Gitcan{
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
acbp:{
ptsget:{
sdamod:{
seainf:"", // .gitp0.acbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitp0.acbp.ptsget.sdamod.dadsnd
},
},
},
},
gidgrp:{
rec:{
......@@ -31,6 +39,11 @@ export default class Gitcan{
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purcan:"", // Reason of Cancelation .gidgrp.rec.purcan
reddat:"", // Date of Reduction .gidgrp.rec.reddat
redcur:"", // Amount Reduced .gidgrp.rec.redcur
redamt:"", // Reduced Amount to be Paid .gidgrp.rec.redamt
outcur:"", // Amount Outstanding .gidgrp.rec.outcur
outamt:"", // Outstanding Amount .gidgrp.rec.outamt
},
cbs:{
max:{
......@@ -54,11 +67,24 @@ export default class Gitcan{
iss:{
pts:new Pts().data,
},
blk:{
accspc:"", // Account Specification .gidgrp.blk.accspc
amtspc:"", // Amount Specification .gidgrp.blk.amtspc
chaded:"", // Details of Charges .gidgrp.blk.chaded
},
acb:{
pts:new Pts().data,
namelc:"", // 名称 .gidgrp.acb.namelc
adrelc:"", // 地址 .gidgrp.acb.adrelc
dbfadrblkcn:"", // Chinese address .gidgrp.acb.dbfadrblkcn
},
},
newref:"", // New Reference .newref
// trnmod:{
// swiadd:{
// strinf:"", // Sender to receiver info Tag 72 .trnmod.swiadd.strinf
// chacur:"", // Amount of Charges .trnmod.swiadd.chacur
// chaamt:"", // charges amount .trnmod.swiadd.chaamt
// },
// trndoc:{
// advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
......
......@@ -14,6 +14,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -4,6 +4,9 @@ import Pub from "../Public"
export default class Gitcrj{
constructor () {
this.data = {
gitbenl1blk:"",
gitapll1blk:"",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
......
......@@ -14,6 +14,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -4,6 +4,9 @@ import Pub from "../Public"
export default class Gitcrq{
constructor () {
this.data = {
gitapll1blk: "",
gitbenl1blk: "",
gitothl1blk: "",
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
......
......@@ -14,6 +14,9 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSeainf(){
},
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.det")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -5,9 +5,15 @@ import Dids from "../Public/Dids"
export default class Gitset{
constructor () {
this.data = {
gitapll2blk:"",
gitapll1blk:"",
gitbenl1blk:"",
gitprbl1blk:"",
gitrmrl1blk:"",
didgrp: new Dids().data.Didgrp,
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
// setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
gctp:{
......@@ -192,6 +198,7 @@ export default class Gitset{
// },
// },
setmod:{
ogiamt:"",
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
......@@ -201,6 +208,7 @@ export default class Gitset{
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[],
setgll01:{
sespay:{
strinf:"", // Sender to Receiver .setmod.setglg.setgll01.sespay.strinf
......@@ -321,9 +329,18 @@ export default class Gitset{
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
glemod:{
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm
},
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
refdat:"",
},
// trnmod:{
// trndoc:{
......
......@@ -43,7 +43,6 @@ export default {
this.model.infcon.searol = "";
this.model.infcon.seacur = "";
this.model.infcon.seasta = "";
this.stmData.data = "";
},
async onInfbutSearow(){
......
......@@ -262,7 +262,9 @@ export default {
this.model.infcon.searol = "";
this.model.infcon.seacur = "";
this.model.infcon.seasta = "";
this.model.seapaytyp="";
this.model.msgtyp="";
this.model.countcode="";
this.stmData.data = "";
},
......
......@@ -13,9 +13,9 @@ export default class Liaall {
liaallg: [], // Total booking amount external assinged .liaall.exttotamt
limmod: {
limpfp:{
clmcbe:"",
clmcbb:"",
clmpty:"",
clmcbe:[],
clmcbb:[],
clmpty:[],
},
limgrd: [],
lmegrd: [],
......
......@@ -5,6 +5,7 @@
<el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-fullbox>
<c-input
:disabled="model.advrefflg==''"
type="textarea"
v-model="model.brdgrp.blk.docdis"
maxlength="3500"
......@@ -13,7 +14,7 @@
placeholder="请输入Discrepancies"
></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search"
<c-button :disabled="model.advrefflg==''" size="small" type="primary" icon="el-icon-search"
@click="showGridPromptDialog('brtp.docdis.buttxmsel', null, null,{TXT: 'brdgrp.blk.docdis'}, {TXT: false},'doxpDialog')"
>
...
......
......@@ -214,8 +214,7 @@
grp: 'brdgrp',
rol: 'prb',
}"
:disabled="true"
:isAdrblk="false"
:disabled="this.flag1"
>
</c-ptap1>
</c-col>
......@@ -306,10 +305,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="">
<el-form-item label="" prop="advrefflg">
<c-col :span="12">
<c-checkbox :disabled="model.brdgrp.blk.disdocflg =='X'" v-model="model.advrefflg"
>Send Advice of Refusal MT734</c-checkbox
@change="advrefflgChange" >Send Advice of Refusal MT734</c-checkbox
>
</c-col>
<c-col :span="12">
......@@ -321,10 +320,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="">
<el-form-item label="" prop="brdgrp.rec.advdocflg">
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.advdocflg"
>Return of Documents</c-checkbox
@change="advdocflgChange">Return of Documents</c-checkbox
>
</c-col>
<c-col :span="12">
......@@ -375,6 +374,7 @@ import Event from "~/model/Brtdcr/Event";
import CurAmt from "~/views/Public/CurAmt";
import LitTemp from "~/views/Public/LitTemp";
import Ptap1 from "~/views/Public/Ptap1";
import Utils from "~/utils";
export default {
inject: ["root"],
......@@ -385,11 +385,23 @@ export default {
"c-litTemp": LitTemp,
"c-ptap1": Ptap1,
},
data() {
return {
flag: true,
flag1:true,
};
},
watch:{
"model.brdgrp.prb.pts.extkey":{
immediate:true,
handler(val ,oldVal){
if(this.model.brdgrp.prb.pts.extkey!=''){
this.flag1=true;
}
}
},
},
computed: {
advrefflg: {
get() {
......@@ -399,9 +411,30 @@ export default {
this.model.advrefflg = val ? "X" : "";
},
},
advdocflg: {
get() {
return this.model.brdgrp.rec.advdocflg === "X";
},
set(val) {
this.model.brdgrp.rec.advdocflg = val ? "X" : "";
},
},
},
methods: { ...Event,
async advrefflgChange() {
let rtnmsg = await this.executeRule("brdgrp.blk.disdoc")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async advdocflgChange() {
let rtnmsg = await this.executeRule("brdgrp.blk.disdoc")
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
methods: { ...Event },
created: function () {},
},
};
</script>
<style>
......
......@@ -14,7 +14,7 @@
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000037 -->
<el-tab-pane label="Details" name="utlp">
......@@ -150,12 +150,12 @@ export default {
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
// myTabClick(tab){
// this.tabClick(tab)
/**
* do it yourself
**/
}
// }
},
created:async function(){
console.log("进入brtdcr交易");
......
......@@ -396,7 +396,7 @@ const BusRouter = [
{ path: 'Litacp', component: Litacp, name: 'Litacp', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Litdla', component: Litdla, name: 'Litdla', meta: { title: '进口信用证减额修改接受' } },
{ path: 'Bctsel', component: Bctsel, name: 'Bctsel', meta: { title: '进口代收' } },
{ path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: 'Cnysel' } },
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: 'Cptrel' } },
{ path: 'Cnysel', component: Cnysel, name: 'Cnysel', meta: { title: '跨境人民币查询' } },
{ path: 'Cptrel', component: Cptrel, name: 'Cptrel', meta: { title: '汇款复核与查询' } },
]
export default BusRouter
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- ===================左边================= -->
<c-col :span="11">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
<el-option
v-for="item in codes.cnytyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
<div class="eibs-tab">
<!-- ===================左边================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="申报类型" prop="cnytyp">
<c-select
v-model="model.cnytyp"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.cnytyp"
: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="业务编号" prop="ownref">
<c-input v-model="model.ownref" maxlength="20" placeholder="请输入业务编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务编号" prop="ownref">
<c-input
v-model="model.ownref"
maxlength="20"
placeholder="请输入业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select v-model="model.ownextkey" style="width:100%" placeholder="请选择Initial Code">
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<el-form-item label="From" prop="frmdat">
<c-date-picker type="date" v-model="model.frmdat" style="width:100%" placeholder="请选择From"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="业务所属行" prop="ownextkey">
<c-select
v-model="model.ownextkey"
style="width: 100%"
placeholder="请选择Initial Code"
>
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- =====================右边=========================== -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="From" prop="frmdat">
<c-date-picker
type="date"
v-model="model.frmdat"
style="width: 100%"
placeholder="请选择From"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Until" prop="tildat">
<c-date-picker type="date" v-model="model.tildat" style="width:100%" placeholder="请选择Until"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<c-col :span="24">
<c-col :span="24">
<el-form-item label="Until" prop="tildat">
<c-date-picker
type="date"
v-model="model.tildat"
style="width: 100%"
placeholder="请选择Until"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<!-- ======================底部============================ -->
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="Selection" prop="cnystm">
<c-input v-model="model.cnystm" placeholder="请输入Selection"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
:showButtonFlg="true"
>
<el-table-column fixed="right" prop="op" label="操作" width="200px">
<template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template>
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>详情</a
>
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>修改</a
>
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>删除</a
>
</template>
</el-table-column>
</c-istream-table>
</c-col>
<!-- <c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="申报类型" prop="cnytyp">
<c-select v-model="model.cnytyp" style="width:100%" placeholder="请选择申报类型">
</c-select>
......@@ -121,29 +165,37 @@
Exit
</c-button>
</c-col> -->
</div>
</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/Cnysel/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cnysel/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 {
stmData: {
columns: [
'0 1 "业务编号" 110',
'1 2 "币种" 110',
'2 3 "金额" 120 2 8:1 2 5',
'3 4 "收款人名称" 250',
'4 5 "付款人名称" 250',
'5 6 "业务发生日期" 150 20 30 1',
'6 7 "复核状态" 120 1 0:0 1 RELSTA',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<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">
<!--PD000001 -->
<el-tab-pane label="PD000001" name="selp">
<m-selp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<c-page title="跨境人民币查询">
<div class="eContainer">
<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"
>
<!--PD000001 -->
<el-tab-pane label="接口信息选择" name="selp">
<m-selp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cnysel from "~/model/Cnysel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cnysel/Check"
import Default from "~/model/Cnysel/Default"
import Pattern from "~/model/Cnysel/Pattern"
import Selp from "./Selp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cnysel from "~/model/Cnysel";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Cnysel/Check";
import Default from "~/model/Cnysel/Default";
import Pattern from "~/model/Cnysel/Pattern";
import Selp from "./Selp";
export default {
name: "Cnysel",
components:{
"m-selp" : Selp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cnysel",
model: new Cnysel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable
},
}
name: "Cnysel",
components: {
"m-selp": Selp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selp",
trnName: "cnysel",
model: new Cnysel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cnysel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入cnysel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -63,7 +63,7 @@
placeholder="请输入清算编号"
style="width:100%"
></c-input>
<template slot="footer">
<!-- <template slot="footer">
<c-button
style="margin-left:10px;padding: 0 10px;"
size="small"
......@@ -72,7 +72,7 @@
@click="onCptpGetinf"
>
</c-button>
</template>
</template> -->
</c-fullbox>
</el-form-item>
</c-col>
......@@ -111,6 +111,7 @@
v-model="model.cpdgrp.rec.othbch"
maxlength="8"
placeholder="请输入所属行"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -261,6 +262,7 @@
v-model="model.cptp.uetr"
style="width: 100%"
placeholder="请输入Uetr"
disabled
></c-input>
<template slot="footer">
<c-button size="small" style="margin-left:10px;padding: 0 10px;" type="primary" @click="onCptpGetuetr">
......
......@@ -29,7 +29,7 @@
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-col :span="8">
<c-checkbox v-model="model.bopmod.basflg" v-show="basflgShow">基础数据</c-checkbox>
<c-checkbox v-model="model.bopmod.basflg" v-show="basflgShow" :disabled="basflgEnable">基础数据</c-checkbox>
</c-col>
<c-col :span="8">
......@@ -63,7 +63,7 @@
<c-col :span="24">
<el-form-item label="地区机构号" label-width="30%">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号" :disabled="model.bopmod.szflg == 3">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号" :disabled="model.bopmod.szflg == 3 || model.bopmod.szflg == '' ">
</c-select>
</el-form-item>
</c-col>
......@@ -212,6 +212,7 @@ export default {
basflgShow: true,
dclflgShow: false,
vrfflgShow: false,
basflgEnable:true,
szflg:[
{ value: "1", label: "跨境收支" },
{ value: "2", label: "境内收支" },
......@@ -231,13 +232,31 @@ export default {
},
methods:{...Event,
handelSelChange(){
this.basflgEnable = false;
//控制checkbox的逻辑
if(this.model.bopmod.szflg == '3'){
this.model.bopmod.basflg = false;
this.basflgEnable = true;
this.model.bopmod.acttyp ="";
this.model.bopmod.ownextkey ="";
}else if(this.model.bopmod.szflg == '2'){
this.model.bopmod.acttyp ="";
this.model.bopmod.outchargeamt="0.00";
}
},
},
watch:{
"model.bopmod.basflg":{
immediate:true,
handler(val ,oldVal){
if(this.model.bopmod.basflg == ''){
this.model.bopmod.outchargeamt="0.00";
}
}
}
},
created:function(){
}
......
......@@ -36,9 +36,14 @@
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
-->
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
......
......@@ -3,8 +3,10 @@
<c-col :span="11">
<c-col :span="24">
<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 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"
style="text-align: left;"
></c-input>
</el-form-item>
</c-col>
......@@ -16,19 +18,20 @@
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="8">
<c-col :span="4">
<c-checkbox v-model="model.lendoc.actflg"
>Input Account</c-checkbox>
</c-col>
<c-col :span="16">
<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"
style="text-align: left;"
></c-input>
<c-col :span="20">
<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>
......
<template>
<div class="eContainer">
<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">
<c-page title="境内外币汇入汇款">
<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>
</c-function-btn>
<!--Ovweview -->
<el-tab-pane label="Ovweview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="pardet">
<c-content>
<m-pardet :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Settlement -->
<el-tab-pane label="Settlements" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<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"
>
<!--Ovweview -->
<el-tab-pane label="Ovweview" name="opnp1">
<c-content>
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--Parties -->
<el-tab-pane label="Parties" name="pardet">
<c-content>
<m-pardet :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000018 -->
<el-tab-pane label="PD000018" name="addinf">
<c-content>
<m-addinf :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
<!--Settlement -->
<el-tab-pane label="Settlements" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Completion -->
<el-tab-pane label="Completion" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="Messages" name="docpan1">
<c-content>
<m-docpan1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--收账通知 -->
<el-tab-pane label="收账通知" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000006 -->
<el-tab-pane label="外管信息" name="wg">
<c-content>
<m-wg :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000018 -->
<!-- <el-tab-pane label="PD000018" name="addinf">
<c-content>
<m-addinf :model="model" :codes="codes" />
</c-content>
</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>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cptati from "~/model/Cptati"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cptati/Check"
import Default from "~/model/Cptati/Default"
import Pattern from "~/model/Cptati/Pattern"
import Opnp1 from "./Opnp1"
import Pardet from "./Pardet"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Addinf from "./Addinf"
import Doctre from "~/views/Public/Doctre"
import Docpan1 from "~/views/Public/Docpan"
import Docpan from "./Docpan"
import Wg from "./Wg"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cptati from "~/model/Cptati";
import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Cptati/Check";
import Default from "~/model/Cptati/Default";
import Pattern from "~/model/Cptati/Pattern";
import Opnp1 from "./Opnp1";
import Pardet from "./Pardet";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Addinf from "./Addinf";
import Doctre from "~/views/Public/Doctre";
import Docpan1 from "~/views/Public/Docpan";
import Docpan from "./Docpan";
import Wg from "./Wg";
export default {
name: "Cptati",
components:{
"m-opnp1" : Opnp1,
"m-pardet" : Pardet,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-addinf" : Addinf,
"m-doctre" : Doctre,
"m-docpan1" : Docpan1,
"m-docpan" : Docpan,
"m-wg" : Wg,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cptati",
model: new Cptati().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
name: "Cptati",
components: {
"m-opnp1": Opnp1,
"m-pardet": Pardet,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-addinf": Addinf,
"m-doctre": Doctre,
"m-docpan1": Docpan1,
"m-docpan": Docpan,
"m-wg": Wg,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "opnp1",
trnName: "cptati",
model: new Cptati().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cptati交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入cptati交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -167,8 +167,9 @@
style="width: 100%"
placeholder="请选择业务种类"
>
<!-- 使用busflg,bustyp不符 -->
<el-option
v-for="item in codes.bustyp"
v-for="item in codes.busflg"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -506,16 +507,18 @@
</c-col>
<c-col :span="24">
<c-row type="flex" justify="end">
<c-col :span="12">
<el-form-item label="相关参考号" prop="" v-show="flag1">
<c-input></c-input>
</el-form-item>
</c-col>
<c-col :span="12" style="text-align: right">
<c-col :span="10" offset="2" style="text-align: right">
<c-checkbox
v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox>
</c-col>
</c-row>
</c-col>
<c-col :span="24">
......
......@@ -22,18 +22,6 @@
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item
label="Drag Drop Sender"
prop="attp.orip.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.attp.orip.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<c-fullbox>
<el-form-item
......@@ -44,6 +32,9 @@
v-model="model.cpdgrp.ori.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('attp.atd.sbkact')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -127,6 +118,9 @@
v-model="model.cpdgrp.med.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.med.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -174,6 +168,9 @@
v-model="model.cpdgrp.rmt.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.rmt.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -184,8 +181,6 @@
icon="el-icon-search"
>
</c-button>
<!-- </c-col> -->
<!-- <c-col :span="12"> -->
<c-button
style="margin: 0 0"
size="small"
......@@ -256,6 +251,9 @@
v-model="model.cpdgrp.pyb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('cpdgrp.pyd.pts.extkey')
"
></c-input>
</el-form-item>
<template slot="footer">
......@@ -325,6 +323,7 @@
show-word-limit
placeholder="请输入附言"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -354,6 +353,7 @@
show-word-limit
placeholder="请输入受益行"
rows="4"
disabled
></c-input>
</el-form-item>
</c-col>
......
......@@ -4,6 +4,12 @@
<c-col :span="24">
<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.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -11,7 +17,18 @@
<c-col :span="24">
<el-form-item label="款项去向" prop="bopmod.acttyp">
<c-select v-model="model.bopmod.acttyp" style="width:100%" placeholder="请选择款项去向">
<c-select
v-model="model.bopmod.acttyp"
style="width:100%"
placeholder="请选择地区机构号"
>
<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>
......@@ -19,23 +36,32 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select v-model="model.bopmod.ownextkey" style="width:100%" placeholder="请选择地区机构号">
</c-select>
<el-option
v-for="item in codes.ownextkey"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<c-checkbox v-model="model.bopmod.basflg">基础数据</c-checkbox>
</c-col>
<c-checkbox v-model="model.bopmod.basflg"
>基础数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.bopmod.dclflg">申报数据</c-checkbox>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
<c-col :span="24" v-show="false">
<c-checkbox v-model="model.bopmod.vrfflg">核销数据</c-checkbox>
</c-col>
</c-col>
<!-- ==================原码================= -->
......@@ -91,7 +117,24 @@ export default {
methods:{...Event},
created:function(){
}
},
// computed:{
// //可以用watch做
// flag() {
// if(this.model.bopmod.szflg == "3"){
// return false;
// }
// else{ return true;}
// },
// flag1(){
// if(this.model.bopmod.szflg == "1"){
// return true;
// }
// else{return false;}
// }
// }
}
</script>
<style>
......
......@@ -34,6 +34,7 @@
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!-- Messages -->
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000000 -->
<m-docpan :model="model" :codes="codes" />
......@@ -62,14 +63,14 @@ import CodeTable from "~/config/CodeTable";
import Cptato from "~/model/Cptato";
import commonProcess from "~/mixin/commonProcess";
import Pattern from "~/model/Cptato/Pattern";
import Opnp1 from "./Opnp1";
import Wg from "./Wg";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Glepan from "~/views/Public/Glepan";
import Pardet from "./Pardet";
import Doctre from "~/views/Public/Doctre";
import Opnp1 from "./Opnp1";
import Pardet from "./Pardet";
import Wg from "./Wg";
export default {
name: "Cptato",
......
......@@ -177,7 +177,7 @@
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-form-item
label="Open Guar.Amt"
......
......@@ -234,7 +234,7 @@
</c-col> -->
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="gidgrp.rec.nam">
<c-input
......@@ -299,7 +299,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" offset="6">
<c-col :span="24" :offset="6">
<c-checkbox
style="margin-left: 15px;height: 32px;
line-height: 32px;
......
......@@ -53,14 +53,14 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" offset="1">
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Intermediary" prop="gcdgrp.int.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.int.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('gcdgrp.int.pts.extkey',model.gcdgrp.int.pts.extkey)"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -71,7 +71,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAwipDet">
<c-button size="small" type="primary" @click="onIntpDet">
Details
</c-button>
</template>
......@@ -94,7 +94,7 @@
<c-input v-model="model.gcdgrp.awi.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('gcdgrp.awi.pts.extkey')"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -121,9 +121,7 @@
disabled></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" maxlength="35" show-word-limit placeholder="请输入Present. Compl. Det." ></c-input>
......
......@@ -197,7 +197,7 @@
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-form-item
label="Open Amount"
......@@ -406,7 +406,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" offset="19">
<c-col :span="24" :offset="19">
<c-checkbox
v-model="model.extpay"
key="item.value"
......@@ -429,7 +429,7 @@
</c-col>
</c-col>
<c-col :span="11" offset="1" style="margin-top: 15px">
<c-col :span="11" :offset="1" style="margin-top: 15px">
<!-- <c-col :span="12">
<el-form-item label="Open Amount" prop="gcdgrp.cbs.opn1.cur">
<c-input v-model="model.gcdgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入Open Amount"></c-input>
......@@ -478,7 +478,8 @@
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gcdgrp.rec.docprbrol!='PRB'">
<c-col :span="24" >
<el-form-item
label=""
prop="gcdgrp.prb.pts.extkey"
......@@ -492,7 +493,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -506,45 +507,7 @@
<c-button
size="small"
type="primary"
@click="onGctpGetrefbut"
style="margin: 0 0"
>
Temp.
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gcdgrp.rec.docprbrol=='PRB'">
<el-form-item
label=""
prop="gcdgrp.prb.pts.extkey"
>
<c-fullbox>
<c-input
:disabled="model.gcdgrp.rec.docprbrol != 'PRB'"
v-model="model.gcdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
size="small"
type="primary"
@click="onGctpGetrefbut"
@click="onPrbpDet"
style="margin: 0 0"
>
Details
......@@ -604,7 +567,7 @@
@change="commonExecuteRule('gcdgrp.rec.docprbrol')"
>
<el-option
v-for="item in codes.payrol"
v-for="item in codes.ptydbt"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -627,7 +590,8 @@
>
</c-ptap>
</c-col> -->
<c-col :span="24">
<c-col :span="24" v-if="model.gcdgrp.rec.payrol!='APL'">
<el-form-item
label=""
prop="gcdgrp.oth.pts.extkey"
......@@ -636,12 +600,12 @@
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
"
@change="valueChange"
>
</c-input>
<template slot="footer">
......@@ -657,7 +621,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
@click="onOthpDet"
>
Details
</c-button>
......@@ -665,13 +629,51 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gcdgrp.rec.payrol=='APL'">
<el-form-item
label=""
prop="gcdgrp.oth.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
Temp.
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.oth.pts.adrblk">
<c-input
type="textarea"
rows="4"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
show-word-limit
......@@ -734,12 +736,7 @@ export default {
mixins: [commonProcess],
data() {
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "Issuing Bank", value: "2" },
......@@ -750,7 +747,7 @@ export default {
methods: {
...Event,
commonExecuteRule(ruleName){
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
......
......@@ -61,7 +61,12 @@
prop="gidgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input v-model="model.gidgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入"></c-input>
<c-input
v-model="model.gidgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
......@@ -82,9 +87,15 @@
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.gitp0.gitp0s20" disabled style="margin-left: 18px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
<c-checkbox
v-model="model.gitp0.gitp0s20"
disabled
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>Add. Amount</c-checkbox
>
</c-col>
......@@ -160,30 +171,29 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Expiry" prop="gidgrp.rec.expdat">
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="50px" prop="gidgrp.rec.exptyp">
<c-input
v-model="model.gidgrp.rec.exptyp"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="Expiry" prop="gidgrp.rec.expdat">
<c-date-picker
type="date"
disabled
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="50px" prop="gidgrp.rec.exptyp">
<c-input
v-model="model.gidgrp.rec.exptyp"
disabled
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Reason of Cancelation" prop="gidgrp.rec.purcan">
......@@ -237,7 +247,7 @@
</c-col> -->
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name" prop="gidgrp.rec.nam">
<c-input
......@@ -303,16 +313,19 @@
</el-form-item>
</c-col>
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" -->
<c-col :span="24" offset="6">
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" -->
<c-col :span="24" :offset="6">
<c-checkbox
:disabled="model.gidgrp.rec.purcan != 'RR'"
v-model="model.mtabut.clsflg"
style="margin-left: 15px;height: 32px;
line-height: 32px;
padding-bottom: 2px;"
>
Close Flag</c-checkbox
:disabled="model.gidgrp.rec.purcan != 'RR'"
v-model="model.mtabut.clsflg"
style="
margin-left: 15px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>
Close Flag</c-checkbox
>
</c-col>
</c-col>
......@@ -459,7 +472,7 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getcan/Event";
import Event from "~/model/Gitcan/Event";
export default {
inject: ["root"],
......
......@@ -92,10 +92,10 @@
width="100">
</el-table-column>
</el-table>
<el-pagination
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</el-pagination> -->
</div>
</c-col>
......@@ -160,10 +160,10 @@
width="100">
</el-table-column>
</el-table>
<el-pagination
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</el-pagination> -->
</div>
</c-col>
......@@ -252,10 +252,10 @@
width="100">
</el-table-column>
</el-table>
<el-pagination
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</el-pagination> -->
</div>
</c-col>
</div>
......
......@@ -21,6 +21,10 @@
<m-canp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan=='RR'">
<m-mt769p :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
......@@ -92,6 +96,7 @@ import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Ccvpan from "~/views/Public/Ccvpan"
import Shisuan from "./Shisuan"
import Mt769p from "./Mt769p"
//import Limitbody from "./Limitbody"
......@@ -107,6 +112,7 @@ export default {
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-limitbody" : Limitbody,
"m-mt769p": Mt769p,
},
provide() {
return {
......
......@@ -164,7 +164,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-form-item
label="Open Amount"
......@@ -381,7 +381,7 @@
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="11" offset="1" style="margin-top:15px">
<c-col :span="11" :offset="1" style="margin-top:15px">
<c-col :span="24">
<c-form-item label="Presented by" prop="gcdgrp.rec.docprbrol">
<c-select
......@@ -425,7 +425,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -438,7 +438,7 @@
</c-button>
<c-button size="small" type="primary"
style="margin: 0 0"
@click="onGctpGetrefbut">
@click="onPrbpDet">
Temp.
</c-button>
</template>
......@@ -494,9 +494,10 @@
placeholder="请选择Payer"
style="width: 100%"
disabled
@change="commonExecuteRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in payrol2"
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -523,12 +524,12 @@
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
"
@change="valueChange"
>
</c-input>
<template slot="footer">
......@@ -544,7 +545,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
@click="onOthpDet"
>
Details
</c-button>
......@@ -560,7 +561,7 @@
rows="4"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
show-word-limit
placeholder="请输入Address Block"
></c-input>
......@@ -893,9 +894,30 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "Issuing Bank", value: "2" },
{ label: "other paying party", value: "3" },
],
};
},
methods: { ...Event },
methods: { ...Event,
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
</script>
......
......@@ -35,31 +35,33 @@
<c-col :span="24">
<el-form-item label="Demand Statem. Text " prop="clmtxts20">
<c-input type="textarea" v-model="model.clmtxts20" maxlength="65" rows="4" show-word-limit placeholder="请输入Demand Statem. Text " ></c-input>
<c-input type="textarea" v-model="model.clmtxts20" rows="10" show-word-limit placeholder="请输入Demand Statem. Text " ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Add. Amt. Information" prop="gcdgrp.blk.addamtinf">
<c-input type="textarea" v-model="model.gcdgrp.blk.addamtinf" maxlength="65" rows="4" show-word-limit placeholder="请输入Add. Amt. Information" ></c-input>
<c-input type="textarea" v-model="model.gcdgrp.blk.addamtinf" rows="10" show-word-limit placeholder="请输入Add. Amt. Information" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="12" :offset="1">
<c-col :span="24">
<el-form-item label="Present. Compl. Det." prop="gcdgrp.blk.presentdet">
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" maxlength="35" rows="4"
<c-input type="textarea" v-model="model.gcdgrp.blk.presentdet" rows="9"
show-word-limit placeholder="请输入Present. Compl. Det."
:disabled="model.gcdgrp.rec.demstat!='INCP'"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" offset="1">
<c-col :span="24">
<el-form-item label="Intermediary" prop="gcdgrp.int.pts.extkey">
<c-fullbox>
<c-input v-model="model.gcdgrp.int.pts.extkey" maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('gcdgrp.int.pts.extkey')"
@keyup.enter.native="showGridPromptDialog(`gcdgrp.int.pts.extkey`)"
></c-input>
<template slot="footer">
......@@ -71,7 +73,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button size="small" type="primary" @click="onAwipDet">
<c-button size="small" type="primary" @click="onIntpDet">
Details
</c-button>
</template>
......@@ -194,6 +196,7 @@ import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitcrq/Event"
import Utils from "~/utils";
export default {
inject: ['root'],
......
......@@ -63,6 +63,7 @@
<c-button
size="small"
type="primary"
:disabled="this.flag"
v-model="model.gctp.getrefbut"
@click="onGctpGetrefbut"
>
......@@ -116,7 +117,6 @@
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
@keyup.enter.native="nom1CurEvent"
style="width: 100%"
disabled
>
......@@ -142,9 +142,6 @@
v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入"
disabled
@keyup.enter.native="
defaultFunction('gcdgrp.cbs.opn1.amt', model.gcdgrp.cbs.opn1.amt)
"
></c-input-currency>
</c-form-item>
</c-col>
......@@ -184,7 +181,7 @@
</el-form-item>
</c-col>
-->
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-form-item
label="Open Amount"
......@@ -434,7 +431,7 @@
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="11" offset="1" style="margin-top: 15px">
<c-col :span="11" :offset="1" style="margin-top: 15px">
<c-col :span="24">
<c-form-item label="Presented by" prop="gcdgrp.rec.docprbrol">
<c-select
......@@ -442,8 +439,13 @@
placeholder="请选择"
style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.docprbrol')"
:code="docprbrol2"
>
>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -470,7 +472,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
showGridPromptDialog(`gcdgrp.prb.pts.extkey`)
"
></c-input>
<template slot="footer">
......@@ -488,7 +490,7 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onGctpGetrefbut"
@click="onPrbpDet"
>
Temp.
</c-button>
......@@ -527,7 +529,7 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onGctpGetrefbut"
@click="onPrbpDet"
>
Details
</c-button>
......@@ -584,8 +586,14 @@
placeholder="请选择"
style="width: 100%"
@change="commonExecuteRule('gcdgrp.rec.payrol')"
:code="payrol2"
>
<el-option
v-for="item in codes.payee"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
......@@ -593,7 +601,7 @@
<el-form-item label="Reference " prop="gcdgrp.oth.pts.ref">
<c-input
v-model="model.gcdgrp.oth.pts.ref"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
maxlength="16"
placeholder="请输入Reference "
></c-input>
......@@ -608,10 +616,10 @@
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
placeholder="请输入External Key of Address"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
showGridPromptDialog(`gcdgrp.oth.pts.extkey`)
"
>
</c-input>
......@@ -630,7 +638,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
@click="onOthpDet"
>
Details
</c-button>
......@@ -646,7 +654,7 @@
rows="4"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
:disabled="model.gcdgrp.rec.payrol != 2"
:disabled="model.gcdgrp.rec.payrol != 'OWN'"
show-word-limit
placeholder="请输入Address Block"
></c-input>
......@@ -706,19 +714,18 @@ export default {
mixins: [commonProcess],
data() {
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant's Bank", value: "1" },
{ label: "other paying party", value: "2" },
],
};
},
computed: {
flag() {
return this.model.gcdgrp.prb.pts.extkey == "";
},
},
methods: {
...Event,
// change(){
......
......@@ -30,7 +30,9 @@
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000000 -->
......
......@@ -19,7 +19,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -82,7 +82,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -195,7 +195,7 @@
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item
......@@ -210,7 +210,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -274,7 +274,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......
......@@ -17,7 +17,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -68,7 +68,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -119,7 +119,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......
......@@ -175,7 +175,7 @@
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-form-item
label="Open Amount"
......@@ -393,7 +393,7 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" offset="1" style="margin-top: 15px">
<c-col :span="11" :offset="1" style="margin-top: 15px">
<c-col :span="24">
<c-form-item label="Presented by" prop="gcdgrp.rec.docprbrol">
<c-select
......@@ -437,7 +437,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -508,7 +508,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
"
@change="valueChange"
>
</c-input>
<template slot="footer">
......@@ -526,7 +526,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
>
Details
</c-button>
......
......@@ -175,7 +175,7 @@
</c-col>
</c-col>
<c-col :span="11" offset="1">
<c-col :span="11" :offset="1">
<c-col :span="12">
<c-form-item
label="Open Amount"
......@@ -372,12 +372,12 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" offset="19">
<c-col :span="24" :offset="19">
<c-checkbox v-model="model.Gitsetp1" disabled style="margin-left:15px">Creat MT 732</c-checkbox>
</c-col>
</c-col>
<c-col :span="11" offset="1" style="margin-top: 15px">
<c-col :span="11" :offset="1" style="margin-top: 15px">
<!-- <c-col :span="24">
<el-form-item label="Presented by" prop="gcdgrp.rec.docprbrol">
<c-select v-model="model.gcdgrp.rec.docprbrol" style="width:100%" placeholder="请选择Presented by"
......@@ -429,7 +429,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
@change="valueChange"
></c-input>
<template slot="footer">
<c-button
......@@ -446,7 +446,7 @@
type="primary"
v-model="model.gctp.prbp.det"
style="margin: 0 0"
@click="onGctpGetrefbut"
@click="onPrbpDet"
>
Temp.
</c-button>
......@@ -474,7 +474,7 @@
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择Payer"
style="width: 100%"
@change="payrolChange"
@change="commonExecuteRule('gcdgrp.rec.payrol')"
>
<el-option
v-for="item in payrol2"
......@@ -500,7 +500,7 @@
@keyup.enter.native="
showGridPromptDialog('gcdgrp.oth.pts.extkey')
"
@change="valueChange"
>
</c-input>
<template slot="footer">
......@@ -518,7 +518,7 @@
style="margin: 0 0"
size="small"
type="primary"
@click="onAplpDet"
@click="onOthpDet"
>
Details
</c-button>
......@@ -849,12 +849,7 @@ export default {
mixins: [commonProcess],
data() {
return {
docprbrol2: [
// { label: "2nd Advising Bank", value: "A2B" },
// { label: "Advising Bank", value: "ADV" },
{ label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" },
],
payrol2: [
{ label: "Applicant", value: "1" },
{ label: "other paying party", value: "2" },
......@@ -862,12 +857,14 @@ export default {
};
},
methods: { ...Event,
payrolChange(v) {
if (v !== "2") {
this.model.gcdgrp.oth.pts.extkey = "";
this.model.gcdgrp.oth.pts.adrblk="";
}
},
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {},
};
......
......@@ -92,10 +92,10 @@
width="100">
</el-table-column>
</el-table>
<el-pagination
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</el-pagination> -->
</div>
</c-col>
......@@ -160,10 +160,10 @@
width="100">
</el-table-column>
</el-table>
<el-pagination
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</el-pagination> -->
</div>
</c-col>
......@@ -252,10 +252,10 @@
width="100">
</el-table-column>
</el-table>
<el-pagination
<!-- <el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</el-pagination> -->
</div>
</c-col>
</div>
......
......@@ -127,7 +127,7 @@ import Limitbody from "~/views/Public/Limitbody"
import Engp from "~/views/Public/Engp"
import Doctre from "~/views/Public/Doctre"
import Docpan from "~/views/Public/Docpan"
import Setpan from "./Setpan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Glepan from "~/views/Public/Glepan"
import Ccvpan from "~/views/Public/Ccvpan"
......
......@@ -337,7 +337,7 @@ export default {
'1 1 "Reference" 140',
'2 2 "Resp. User" 100',
//'3 3 "Goods Code" 100 1 0 1 GODCOD',
{ index: 3, position: 3, width: 100, pattern: "code", label: "Goods Code" ,"code":this.codes.godcod},
{ index: 3, position: 3, width: 100, pattern: "code", label: "Goods Code" ,"code":"godcod"},
'7 4 "Party Number1" 133',
'8 5 "Applicant" 160',
'9 6 "Applicant CN" 133',
......
......@@ -111,20 +111,22 @@
v-model="model.infcon.pty.extkey"
maxlength="24"
placeholder="请输入Select Single Party"
:disabled=this.flag1
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="Visible Name"
label="Party Name"
prop="infcon.pty.nam"
style="width: 100%"
>
<c-input
v-model="model.infcon.pty.nam"
maxlength="40"
placeholder="请输入External Visible Name"
placeholder="请输入External Party Name"
disabled
>
</c-input>
</el-form-item>
......@@ -142,6 +144,7 @@
v-model="model.infcon.seapty"
maxlength="24"
placeholder="请输入Party Name/BIC"
:disabled=this.flag2
></c-input>
</el-form-item>
</c-col>
......@@ -166,6 +169,7 @@
v-model="model.infcon.usr.extkey"
maxlength="8"
placeholder="请输入User ID"
disabled
>
</c-input>
</el-form-item>
......@@ -248,7 +252,7 @@
v-model="model.msgtyp"
style="width: 100%"
placeholder="请选择Swift type"
:code="codes.swftyp"
:code="swftyp"
>
</c-select>
</el-form-item>
......@@ -422,6 +426,8 @@ export default {
components: { "m-busbtn": BusNavbar },
data() {
return {
flag1:false,
flag2:false,
searol:[
{ label: "Ordering Customer", value: "ORC" },
{ label: "Ordering Institution", value: "ORI" },
......@@ -429,6 +435,14 @@ export default {
{ label: "Payee", value: "PYE" },
{ label: "Reimb. Bank Transfer", value: "RMT" },
],
swftyp:[
{ label: "MT103", value: "103" },
{ label: "MT202", value: "202" },
{ label: "MT910", value: "910" },
{ label: "CMT100", value: "CMT" },
{ label: "境内外币清算", value: "100" },
{ label: "Other", value: "OTH" },
],
cptselModel: new CptselModel().data,
searchToggle: true,
ownref: "",
......@@ -446,7 +460,7 @@ export default {
width: 100,
pattern: "code",
label: "状态",
code: "relstaEN",
code: this.codes.relstaEN,
},
'5 5 "币种" 80',
'6 6 "金额" 100',
......@@ -502,6 +516,25 @@ export default {
},
};
},
watch:{
"model.infcon.seapty": function () {
if (this.model.infcon.seapty == '') {
this.flag1 = false;
} else {
this.flag1 = true;
this.model.infcon.pty.extkey="";
}
},
"model.infcon.pty.extkey":function(){
if(this.model.infcon.pty.extkey == ''){
this.flag2 = false;
} else {
this.flag2 = true;
this.model.infcon.seapty="";
}
}
},
methods: {
...Event,
/* handleSearch(callback) {
......
......@@ -163,12 +163,13 @@
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input
<c-select
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
:code="docflg"
>
</c-input>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
......@@ -192,12 +193,13 @@
label="Document Type"
:prop="`${argadr.trans}.rec.docflg`"
>
<c-input
<c-select
v-model="model[argadr.trans].rec.docflg"
style="width: 100%"
disabled
:code="docflg"
>
</c-input>
</c-select>
</el-form-item>
</c-col>
</div>
......@@ -208,12 +210,13 @@
label="Document Set Status"
:prop="`${argadr.trans}.rec.docsta`"
>
<c-input
<c-select
v-model="model[argadr.trans].rec.docsta"
maxlength="1"
style="width: 100%"
disabled
:code="docsta"
>
</c-input>
</c-select>
</c-form-item>
</c-col>
</c-col>
......@@ -279,23 +282,33 @@ export default {
data() {
return {
data: [],
cur: [
{ label: "HKD", value: "HKD" },
{ label: "CHF", value: "CHF" },
{ label: "EUR", value: "EUR" },
{ label: "USD", value: "USD" },
{ label: "CAD", value: "CAD" },
{ label: "CNY", value: "CNY" },
{ label: "AUD", value: "AUD" },
{ label: "SGD", value: "SGD" },
{ label: "KRW", value: "KRW" },
{ label: "JPY", value: "JPY" },
{ label: "GBP", value: "GBP" },
{ label: "N/A(仅限汇总填报时使用)", value: "N/A" },
{ label: "SEK", value: "SEK" },
{ label: "NZD", value: "NZD" },
],
curtxt1: [
docflg: [
{ label: "Mixed Payment Documents", value: "M" },
{ label: "Sight Documents", value: "P" },
{ label: "Usance Documents(Acceptance)", value: "A" },
{ label: "Usance Documents(Deferred)", value: "D" },
],
docsta: [
{ label: "Goods released, Adv. of Payment received", value: "A" },
{ label: "Goods released, Adv. of Payment + docs", value: "B" },
{ label: "Adv. of Payment received, wait for docs", value: "C" },
{ label: "Advice of Payment and documents received", value: "D" },
{ label: "Adv. of Discrep. received, wait for docs", value: "E" },
{ label: "Advice of Discrepancy and docs received", value: "F" },
{ label: "Documents received", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
{ label: "Discrepant document received in trust", value: "T" },
{ label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" },
],
curtxt1: [
{ label: `CNY-人民币`, value: `CNY` },
{ label: `KRW-韩元`, value: `KRW` },
{ label: `NZD-新西兰元`, value: `NZD` },
......
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