Commit e04ed4c1 by lianyang

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents aad4abde abb02e17
......@@ -4192,6 +4192,10 @@ const CodeTable = {
{ label: "Advice of Payment (MT754)", value: "754" },
{ label: "Other", value: "OTH" },
],
advtyp1: [
{ label: "NPAY", value: "NPAY" },
{ label: "NACC", value: "NACC" },
],
limittype: [
{ label: "余额限额", value: "12" },
......@@ -4991,6 +4995,10 @@ const CodeTable = {
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
rebkpflg1: [
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
refper: [
{ label: "Same Week", value: "W=" },
{ label: "Same Half-Year", value: "H=" },
......
......@@ -13,6 +13,7 @@ export default {
"coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"coninf.oitset.oit.inflev" :Utils.defaultFunction,
"trn.relflg" :Utils.defaultFunction,
"recpan.glestm" :Utils.defaultFunction,
"trn.ownref" :Utils.defaultFunction,
"recpan.atp.cod" :Utils.defaultFunction,
"atp.cod" :Utils.defaultFunction,
......
......@@ -2,7 +2,7 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onUsfmodShwflt(){
async onUsfmodShwflt(){
let rtnmsg = await this.executeRule("usfmod.shwflt")
if(rtnmsg.respCode == SUCCESS)
{
......@@ -254,18 +254,29 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRecpanButprtgle(){
let rtnmsg = await this.executeRule("recpan.butprtgle")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleSearch() {
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.trncorco_trnstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
let rtnmsg = await this.executeRule("searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.trncorco_trnstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async handleReset() {
......
......@@ -233,4 +233,37 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.glestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recpan.transcode":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recpan.userid":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.acttyp":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"recpan.amt":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"recpan.pinno":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recpan.accno":[
{type: "string", required: false, message: "必输项"},
{max: 19,message:"长度不能超过19"}
],
"recpan.rescode":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptrel{
constructor () {
......@@ -88,6 +89,14 @@ export default class Cptrel{
},
wfestm:"", // WFEs for transaction for display .recpan.wfestm
trostm:"", // TROs for transaction for display .recpan.trostm
glestm:"", // GLEs for transaction .recpan.glestm
transcode:"", // Transaction Code .recpan.transcode
amt:"", // Amount .recpan.amt
pinno:"", // Pin No .recpan.pinno
userid:"", // UserID .recpan.userid
acttyp:"", // UserID .recpan.acttyp
accno:"", // Pin No. .recpan.accno
rescode:"", // Response Code .recpan.rescode
},
trn:{
ownref:"", // Reference .trn.ownref
......@@ -112,6 +121,7 @@ export default class Cptrel{
objinr:"", // Object .wfmmod.wfs.objinr
},
},
mtabut: new Pub().data.Mtabut,
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .coninf.oitinf.labinftxt
......
......@@ -72,13 +72,13 @@ export default {
// { type: "string", required: false, message: "必输项" },
// { max: 8, message: "长度不能超过8" },
{ type: "string", required: false},
{ pattern: /^-?([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在-999.9999~999.99999范围', trigger: "blur"},
{ pattern: /^([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在0~999.99999范围', trigger: "blur"},
],
"dedgrp.rec.nomton": [
// { type: "string", required: false, message: "必输项" },
// { max: 8, message: "长度不能超过8" }
{ type: "string", required: false},
{ pattern: /^-?([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在-999.9999~999.99999范围', trigger: "blur"},
{ pattern: /^([0]|\d{1,3})(\.\d{1,5})?$/, message: '不在0~999.99999范围', trigger: "blur"},
],
"dedgrp.cbs.max.cur": [
......
......@@ -6,6 +6,10 @@ import Pub from "../Public"
export default class Ditdav {
constructor() {
this.data = {
litapll1blk: "",
litapll2blk: "",
litapll3blk: "",
litapll4blk: "",
didgrp:{
rec:{
ownref:"", // 参考号 .didgrp.rec.ownref
......
......@@ -20,11 +20,11 @@ export default {
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.nom1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -35,11 +35,11 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.opn1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"lidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -60,10 +60,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"lidgrp.rec.opndat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.shpdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.adv.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -71,7 +71,7 @@ export default {
],
"lidgrp.rec.expdat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "date", required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expplc":[
{type: "string", required: false, message: "必输项"},
......
......@@ -300,20 +300,20 @@ export default {
"lidgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 135,message:"长度不能超过135"}
],
"lidgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.nomtop":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
"lidgrp.rec.nomton":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
],
// "lidgrp.rec.nomtop":[
// { required: false, message: ""},
// {max: 2,message:"长度不能超过2"}
// ],
// "lidgrp.rec.nomton":[
// { required: false, message: ""},
// {max: 2,message:"长度不能超过2"}
// ],
"lidgrp.apl.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -324,11 +324,11 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"lidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "lidgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"litp.advp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -354,7 +354,7 @@ export default {
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 135,message:"长度不能超过135"}
],
"lidgrp.adv.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -402,7 +402,7 @@ export default {
],
"lidgrp.ben.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.ben.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -442,7 +442,7 @@ export default {
],
"oldlidgrp.blk.narhis":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 500,message:"长度不能超过500"}
],
......@@ -455,10 +455,10 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.prepers18":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.rec.prepers18":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"litp.avbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
......@@ -483,7 +483,7 @@ export default {
],
"lidgrp.avb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过351"}
],
"lidgrp.avb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -500,7 +500,7 @@ export default {
],
"lidgrp.blk.feetxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
......@@ -534,7 +534,7 @@ export default {
],
"lidgrp.drw.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.drw.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -552,10 +552,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"lidgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "lidgrp.rec.tenmaxday":[
// {type: "string", required: false, message: "必输项"},
// {max: 3,message:"长度不能超过3"}
// ],
"lidgrp.rec.porloa":[
{type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"}
......@@ -616,7 +616,7 @@ export default {
],
"lidgrp.ini.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.ini.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -624,7 +624,7 @@ export default {
],
"lidgrp.a2b.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.a2b.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -687,7 +687,7 @@ export default {
],
"lidgrp.con.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 315,message:"长度不能超过315"}
],
"lidgrp.con.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -754,7 +754,7 @@ export default {
"lidgrp.blk.insbnk":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
{max: 8000,message:"长度不能超过8000"}
],
"lidgrp.blk.insbnkame":[
{type: "string", required: true, message: "必输项"},
......
......@@ -81,7 +81,7 @@
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta" style="width:100%" >
<c-select
:code="codes.docsta"
:code="codes.docstabot"
style="width:100%"
disabled v-model="model.bcdgrp.rec.docsta" placeholder="请输入Document Set Status"></c-select>
</el-form-item>
......@@ -154,7 +154,7 @@
<c-col :span="24">
<el-form-item label="SWIFT Advice Type" prop="advtyp">
<c-select
:code="codes.advtyp"
:code="codes.advtyp1"
v-model="model.advtyp" style="width:100%" placeholder="请选择SWIFT Advice Type">
</c-select>
</el-form-item>
......
......@@ -269,12 +269,12 @@
</el-form-item>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="交单行联行名称">
<c-input type="textarea" v-model="model.bddgrp.prb.pts.jigomc" style="width: 100%" maxlength="35"
show-word-limit placeholder="请输入联行名称" disabled></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
<!-- =========bottom-right======== -->
......@@ -300,6 +300,72 @@
</c-col>
<c-col :span="24">
<el-form-item label="交单行编号" prop="bddgrp.prb.pts.ref">
<c-input
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
style="width: 100%"
placeholder="请输入交单行编号"
@keyup.enter.native="ptsRefEvent"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行BIC" prop="bddgrp.prb.pts.extkey">
<c-input
v-model="model.bddgrp.prb.pts.extkey"
maxlength="16"
style="width: 100%"
placeholder="请输入交单行BIC"
@keyup.enter.native="showGridPromptDialog(`bddgrp.prb.pts.extkey`)"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行行号" prop="bddgrp.prb.pts.bankno">
<c-input
v-model="model.bddgrp.prb.pts.bankno"
maxlength="20"
style="width: 100%"
placeholder="请输入交单行联行行号"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
@keyup.enter.native="showGridPromptDialog('bddgrp.prb.pts.bankno')"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行联行名称" prop="bddgrp.prb.pts.jigomc">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.jigomc"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入联行名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单行地址" prop="bddgrp.prb.pts.dizhii">
<c-input
type="textarea"
v-model="model.bddgrp.prb.pts.dizhii"
style="width: 100%"
maxlength="35"
show-word-limit
placeholder="请输入交单行地址"
:disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="交单行" prop="bddgrp.rec.docprbrol">
<c-select v-model="model.bddgrp.rec.docprbrol" style="width: 100%" placeholder="请选择Presented by"
:code="getValues('bddgrp.rec.docprbrol')" @change="docprbrolChange">
......@@ -327,7 +393,7 @@
show-word-limit placeholder="请输入交单行地址" :disabled="model.bddgrp.rec.docprbrol == 'PRB' ? false : true">
</c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- <c-ptapdome
:disabledJigomc="true"
:disabledDizhii="true"
......@@ -348,7 +414,7 @@
<el-divider></el-divider>
</c-col>
<c-col :span="24" :offset="0">
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false"
<c-istream-table ref="bwxxIst" :list="stmData.data" :columns="stmData.columns" :paginationShow="false" @row-click="clounmSetting"
:showSelection="true">
</c-istream-table>
</c-col>
......@@ -586,6 +652,13 @@ export default {
},
methods: {
...Event,
clounmSetting(){
this.executeDefault("liaall.tenstmt").then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
frepayflgDefault(){
this.executeDefault("setmod.redamt").then((res) => {
if ((res.respCode == SUCCESS)) {
......
......@@ -363,7 +363,7 @@
placeholder="请选择Booking Procedure"
>
<el-option
v-for="item in codes.rebkpflg"
v-for="item in codes.rebkpflg1"
:key="item.value"
:label="item.label"
:value="item.value"
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
></c-istream-table>
</c-col>
<c-col :span="24">
<c-row>
<c-col :span="8">
<c-form-item label="Transaction Code" prop="recpan.transcode">
<c-input
v-model="model.recpan.transcode"
maxlength="5"
placeholder=""
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="UserID" prop="recpan.userid">
<c-input
v-model="model.recpan.userid"
maxlength="6"
placeholder=""
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="UserID" prop="recpan.acttyp">
<c-input v-model="model.recpan.acttyp" maxlength="2"></c-input>
</c-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="8">
<c-form-item label="Account Type" prop="recpan.amt">
<c-input v-model="model.recpan.amt"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="Pin No" prop="recpan.pinno">
<c-input v-model="model.recpan.pinno" maxlength="6"></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="Account No." prop="recpan.accno">
<c-input v-model="model.recpan.accno" maxlength="19"></c-input>
</c-form-item>
</c-col>
</c-row>
<c-row>
<c-col :span="8">
<c-form-item label="Response Code" prop="recpan.rescode">
<c-input v-model="model.recpan.rescode" maxlength="40"></c-input>
</c-form-item>
</c-col>
</c-row>
</c-col>
<!--====================原码==================== -->
<!-- <c-col :span="12">
<c-form-item label="GLEs for transaction" prop="recpan.glestm">
<c-input
v-model="model.recpan.glestm"
:placeholder="$t('other.please_enter') + 'GLEs for transaction'"
></c-input>
</c-form-item>
</c-col>
SF000157 : Transaction Code
<c-col :span="12">
<c-form-item :label="$t('trnp.SF000157')" prop="recpan.transcode">
<c-input
v-model="model.recpan.transcode"
maxlength="5"
:placeholder="$t('other.please_enter') + $t('trnp.SF000157')"
></c-input>
</c-form-item>
</c-col>
SF000160 : UserID
<c-col :span="12">
<c-form-item label="UserID" prop="recpan.userid">
<c-input
v-model="model.recpan.userid"
maxlength="6"
:placeholder="$t('other.please_enter') + 'UserID'"
></c-input>
</c-form-item>
</c-col>
SF000161 : Account Type
<c-col :span="12">
<c-form-item :label="$t('trnp.SF000160')" prop="recpan.acttyp">
<c-input
v-model="model.recpan.acttyp"
maxlength="2"
:placeholder="$t('other.please_enter') + $t('trnp.SF000160')"
></c-input>
</c-form-item>
</c-col>
SF000158 : Amount
<c-col :span="12">
<c-form-item :label="$t('trnp.SF000158')" prop="recpan.amt">
<c-input
v-model="model.recpan.amt"
:placeholder="$t('other.please_enter') + $t('trnp.SF000158')"
></c-input>
</c-form-item>
</c-col>
SF000159 : Pin No.
<c-col :span="12">
<c-form-item label="Pin No" prop="recpan.pinno">
<c-input
v-model="model.recpan.pinno"
maxlength="6"
:placeholder="$t('other.please_enter') + 'Pin No'"
></c-input>
</c-form-item>
</c-col>
SF000162 : Account No.
<c-col :span="12">
<c-form-item :label="$t('trnp.SF000159')" prop="recpan.accno">
<c-input
v-model="model.recpan.accno"
maxlength="19"
:placeholder="$t('other.please_enter') + $t('trnp.SF000159')"
></c-input>
</c-form-item>
</c-col>
SF000163 : Response Code
<c-col :span="12">
<c-form-item :label="$t('trnp.SF000163')" prop="recpan.rescode">
<c-input
v-model="model.recpan.rescode"
maxlength="40"
:placeholder="$t('other.please_enter') + $t('trnp.SF000163')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onRecpanButprtgle">
{{ $t("trnp.CG000231") }}
</c-button>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
stmData: {
columns: [
'0 1 "Account" 240 ',
'1 2 "Dt/Cr" 150 1 0 1 DBTCDT',
'2 3 "Cur" 137',
'3 4 "Booked Amt" 190 2 8 1 2',
'4 5 "Status" 150 1 0 1 GLE:EXPFLG',
'5 6 "Rate" 155 2 0 1 0',
'6 7 "Client Code" 195',
'15 8 "Income" 180 2 8',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SG000136 : 操作类型描述 -->
<!-- SG000155 : 操作流程 -->
<!-- SG000137 : TRN---Trn created -->
<c-col :span="12">
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
></c-istream-table>
</c-col>
<!-- ==================原码====================== -->
<!-- SG000136 : 操作类型描述 -->
<!-- SG000155 : 操作流程 -->
<!-- SG000137 : TRN---Trn created -->
<!-- <c-col :span="12">
<c-form-item label="stream of ore records" prop="orestr">
<c-input v-model="model.orestr" :placeholder="$t('other.please_enter')+'stream of ore records'"></c-input>
</c-form-item>
</c-col>
<!-- SG000143 : BRK---Break -->
<!-- SG000138 : COR---Correction -->
<!-- SG000139 : DEL---Trn deleted -->
<!-- SG000140 : REL---Trn released -->
<!-- SG000142 : INC---Message received -->
<!-- SG000141 : DES---Spt deleted -->
<!-- SG000144 : SPT---Spt Released -->
<!-- SG000145 : ROU---ReRounting -->
<!-- SG000152 : CAN---Order Canceled -->
<!-- SG000153 : SIG---Signature -->
</c-col> -->
<!-- SG000143 : BRK---Break -->
<!-- SG000138 : COR---Correction -->
<!-- SG000139 : DEL---Trn deleted -->
<!-- SG000140 : REL---Trn released -->
<!-- SG000142 : INC---Message received -->
<!-- SG000141 : DES---Spt deleted -->
<!-- SG000144 : SPT---Spt Released -->
<!-- SG000145 : ROU---ReRounting -->
<!-- SG000152 : CAN---Order Canceled -->
<!-- SG000153 : SIG---Signature -->
</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/Cptrel/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/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: [
'3 1 "操作类型" 280',
'2 2 "操作柜员" 280',
'4 3 "交易名称" 280',
'0 4 "进入交易时间" 304 20 30 1',
'1 5 "操作时间" 204 20 30 1',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000194 : Reference -->
<!-- S0000195 : Transaction Key -->
<!-- SF000196 : List of preceding and succeeding transactions with possible dependencies in case of correction / deletion -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Reference" prop="">
<c-input v-model="model.trn.ownref"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-input v-model="model.trn.objnam"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="Transaction Key">
<c-input v-model="model.trn.inr"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-istream-table
:list="stmData.data"
:columns="stmData.columns"
></c-istream-table>
</c-col>
<!-- ============================原码========================================= -->
<!-- S0000194 : Reference -->
<!-- S0000195 : Transaction Key -->
<!-- SF000196 : List of preceding and succeeding transactions with possible dependencies in case of correction / deletion -->
<!-- <c-col :span="12">
<c-form-item label="TROs for transaction for display" prop="recpan.trostm">
<c-input v-model="model.recpan.trostm" :placeholder="$t('other.please_enter')+'TROs for transaction for display'"></c-input>
</c-form-item>
</c-col>
</c-col>-->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptrel/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
stmData: {
columns: [
'0 1 "Ident No." 262 ',
'1 2 "TRN" 150',
'2 3 "Entry" 250 20 30 1',
'3 4 "Status" 180 1 0 1 RELSTA',
'4 5 "Own Reference" 230',
'5 6 "Object" 250',
}
},
methods:{...Event},
created:function(){
}
}
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000016 : Object -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Object" prop="">
<c-input v-model="model.wfmmod.wfs.objtyp"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="0">
<c-input v-model="model.wfmmod.wfs.objinr"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Object Name">
<c-input v-model="model.wfmmod.wfs.objnam"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns">
</c-istream-table>
</c-col>
<!-- =========================原码=============================== -->
<!-- S0000016 : Object
<c-col :span="12">
<el-form-item label="Table Used to Store Associated Object" prop="wfmmod.wfs.objtyp">
<c-select v-model="model.wfmmod.wfs.objtyp" style="width:100%" :placeholder="$t('other.please_enter')+'Table Used to Store Associated Object'">
......@@ -14,7 +40,7 @@
<c-input v-model="model.wfmmod.wfs.objinr" maxlength="8" :placeholder="$t('other.please_enter')+$t('trnp.S0000016')"></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : Object Name -->
S0000015 : Object Name
<c-col :span="12">
<c-form-item label="External Readable Object Identification" prop="wfmmod.wfs.objnam">
......@@ -26,30 +52,39 @@
<c-form-item label="WFEs for transaction for display" prop="recpan.wfestm">
<c-input v-model="model.recpan.wfestm" :placeholder="$t('other.please_enter')+'WFEs for transaction for display'"></c-input>
</c-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptrel/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/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: [
'1 1 "ID" 150',
'2 2 "Service" 225 1 0:0 1 SRVTXT',
'3 3 "Status" 155 1 0:0 1 WFE:STA',
'4 4 "Last Update" 202',
'5 5 "Retries" 160 1 0:1',
'6 6 "Text" 800',
'7 7 "Contrary Text" 800',
'8 8 "Target Time" 186',
],
data: [],
},
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -7,6 +7,35 @@
<el-tab-pane label="selection panel" name="inftrnps">
<m-inftrnps :model="model" :codes="codes"/>
</el-tab-pane>
<!-- 控制展示页面 -->
<el-tab-pane label="Transaction Header" name="trnp0" v-if="true">
<m-trnp0 :model="model" :codes="codes"></m-trnp0>
</el-tab-pane>
<el-tab-pane label="Workflow" name="trnpwfm" v-if="true">
<m-trnpwfm :model="model" :codes="codes"></m-trnpwfm>
</el-tab-pane>
<el-tab-pane label="Interface" name="gltrnps" v-if="true">
<m-gltrnps :model="model" :codes="codes"></m-gltrnps>
</el-tab-pane>
<el-tab-pane label="Complemtion" name="coninfp" v-if="true">
<m-coninfp :model="model" :codes="codes"></m-coninfp>
</el-tab-pane>
<el-tab-pane label="Dependencies" name="trnptro" v-if="true">
<m-trnptro :model="model" :codes="codes"></m-trnptro>
</el-tab-pane>
<el-tab-pane label="传票打印" name="subpena" v-if="true">
<m-subpena :model="model" :codes="codes"></m-subpena>
</el-tab-pane>
<el-tab-pane label="流程记录" name="orerec" v-if="true">
<m-orerec :model="model" :codes="codes"></m-orerec>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -19,13 +48,27 @@ import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cptrel/Check"
import Default from "~/model/Cptrel/Default"
import Pattern from "~/model/Cptrel/Pattern"
import Coninfp from "~/views/Public/Coninfp"
import Inftrnps from "./Inftrnps"
import Trnp0 from "./Trnp0"
import Trnpwfm from "./Trnpwfm"
import Trnptro from "./Trnptro"
import Subpena from "./Subpena"
import Orerec from "./Orerec"
import Gltrnps from "./Gltrnps"
export default {
name: "Cptrel",
components:{
"m-inftrnps" : Inftrnps,
"m-trnp0" : Trnp0,
"m-trnpwfm" : Trnpwfm,
"m-trnptro" :Trnptro,
"m-subpena" : Subpena,
"m-orerec" : Orerec,
"m-coninfp": Coninfp,
"m-gltrnps" : Gltrnps
},
provide() {
return {
......@@ -42,7 +85,7 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {...CodeTable
},
}
},
......
......@@ -102,7 +102,7 @@
></c-input>
</c-col>
<c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox disabled v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
<c-checkbox v-model="model.gitp.dzbhflg">电子保函标志</c-checkbox>
</c-col>
</c-col>
......@@ -149,7 +149,7 @@
</c-col> -->
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<el-form-item v-show="model.gitp.swiftflg=='Y'" label="Incoming Purpose " prop="gidgrp.rec.purposin">
<c-select :disabled="model.gitp.inc760==''" v-model="model.gidgrp.rec.purposin" style="width:100%" placeholder="请选择Incoming Purpose ">
<el-option
v-for="item in codes.purposin"
......@@ -219,6 +219,18 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
:code="codes.hndtyp2"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='N'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
......@@ -266,6 +278,24 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISCO'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp4"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos=='ISSU'" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
......@@ -274,6 +304,24 @@
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp3"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg=='Y'&&model.gidgrp.rec.purposin=='ISSU'&&model.gidgrp.rec.purpos==''" label="Handling Type" prop="gidgrp.rec.hndtyp">
<c-select
v-model="model.gidgrp.rec.hndtyp"
style="width: 100%"
placeholder="请选择Handling Type"
>
<el-option
v-for="item in codes.hndtyp5"
:key="item.value"
:label="item.label"
......@@ -759,7 +807,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg!='Y'" class="centerLable">
<c-col :span="4" v-if="model.gitp.swiftflg!='Y'" class="centerLable">
<c-checkbox v-model="model.gidgrp.rec.teskeyunc">
Test Key Unconfirmity
</c-checkbox>
......@@ -845,19 +893,9 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp!='OT'" rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap v-if="(model.gidgrp.rec.hndtyp=='OL'||model.gidgrp.rec.hndtyp=='')&&model.gitp.swiftflg!='Y'" :model="model" :argadr="{
title: 'Adv/Rcv bank',
grp: 'gidgrp',
rol: 'adv',
}"
@onAplpDet="onAdvpDet">
</c-ptap>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="Issuing Bank" prop="gidgrp.iss.pts.ref">
......@@ -916,7 +954,7 @@
>
<span style="font-family:'宋体';font-weight:bold">i</span>
</c-button>
<c-button :disabled="model.gidgrp.rec.hndtyp=='OT'" size="small" type="primary" @click="onBenpDet">
<c-button disabled size="small" type="primary" @click="onBenpDet">
Details
</c-button>
</template>
......@@ -925,9 +963,10 @@
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input :disabled="model.gidgrp.rec.hndtyp=='OT'" rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.ben.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item v-if="model.gitp.swiftflg!='Y'" label="被保证人" prop="gidgrp.gidcxm.warran">
<c-input
......
......@@ -38,11 +38,11 @@
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--gitp PD000210 Undertaking Text -->
<!-- <el-tab-pane label="Undertaking Text" name="gidtxtp">
<el-tab-pane label="Undertaking Text" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-tab-pane>
<el-tab-pane v-if="model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF'" label="Confirmation Details" name="confp">
<el-tab-pane v-if="model.gitp.swiftflg=='Y'&&(model.gidgrp.rec.legfrm=='STBY'||model.gidgrp.rec.purpos=='ACNF')" label="Confirmation Details" name="confp">
<m-confp :model="model" :codes="codes"/>
</el-tab-pane>
......
......@@ -53,23 +53,19 @@
<c-col :span="24">
<el-form-item label="Delivery to Address" prop="gidgrp.blk.deltoadr">
<c-input :disabled="model.gidgrp.rec.delto==''" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
<c-input :disabled="model.gidgrp.rec.delto==''" rows="4" type="textarea" v-model="model.gidgrp.blk.deltoadr" maxlength="35" show-word-limit placeholder="请输入Delivery to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Transfer Conditions" prop="gidgrp.blk.trfcond">
<c-input disabled type="textarea" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
<c-input disabled type="textarea" rows="4" v-model="model.gidgrp.blk.trfcond" maxlength="65" show-word-limit placeholder="请输入Transfer Conditions" ></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Charges Condition">
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Own Charges Borne by" prop="gidgrp.rec.chato">
<c-select v-model="model.gidgrp.rec.chato" style="width:100%" placeholder="请选择Own Charges Borne by">
<el-option
......@@ -94,7 +90,7 @@
<c-col :span="24">
<el-form-item label="Additional Details to Code for Charges" prop="gidgrp.blk.feetxt">
<c-fullbox>
<c-input type="textarea" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<c-input type="textarea" rows="4" v-model="model.gidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<template slot="footer">
<c-button size="small" type="primary" icon="el-icon-search" @click="onChargiButtxmsel">
...
......@@ -103,10 +99,7 @@
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="13">
<c-col :span="24">
<c-col :span="20">
<el-form-item label="Presentation Instr." prop="gidgrp.blk.preper">
<c-input :disabled="model.gitp.prepermodflg == ''" type="textarea" :rows="5" v-model="model.gidgrp.blk.preper" maxlength="65" show-word-limit placeholder="请输入Presentation Instr." ></c-input>
......@@ -122,6 +115,8 @@
vs. &History
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
......
......@@ -34,7 +34,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
<c-input disabled rows="4" type="textarea" v-model="model.gidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入地址名称" ></c-input>
</el-form-item>
</c-col>
......
......@@ -31,7 +31,9 @@
<!--PD000043 -->
<el-tab-pane label="Parties" name="ptyp">
<m-ptyp :model="model" :codes="codes"/>
<c-content>
<m-ptyp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<el-tab-pane v-if="model.gitp.swiftflg=='Y'||model.gitp.swiftflg==''" label="Presentation/Delivery" name="preperp">
......
......@@ -333,7 +333,8 @@ export default {
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
'4 4 "状态" 50',
// '4 4 "状态" 100',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 80',
],
......@@ -344,13 +345,13 @@ export default {
columns: [
'2 1 "Reference" 100 ',
'3 2 "Resp. User" 100 ',
'6 3 "Party Number" 150 ',
'6 3 "Applicant Party Number" 200 ',
'7 4 "Applicant" 150 ',
'8 5 "Party Number" 150 ',
'8 5 "Beneficiary Party Number" 200 ',
'9 6 "Beneficiary" 150 ',
'10 7 "Party Number" 150 ',
'10 7 "Issuing Party Number" 200 ',
'11 8 "Issuing Bank" 150 ',
'12 9 "Party Number" 150 ',
'12 9 "Purchasing Party Number" 200 ',
'13 10 "Purchasing bank" 150 ',
'1 11 "转卖日期" 150 ',
'4 12 "Opened" 150 ',
......
......@@ -64,7 +64,7 @@
placeholder="请选择贸易类型"
>
<el-option
v-for="item in codes.mylx"
v-for="item in codes.mytype"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -675,7 +675,8 @@ export default {
'1 1 "编号" 200',
'2 2 "交易名称" 100',
'3 3 "日期" 200',
'4 4 "状态" 50',
// '4 4 "状态" 50',
{ index: 4, position: 4, width: 100, pattern: 'code', label: '状态', code: this.codes.relstaEN },
'5 5 "币种" 80',
'6 6 "金额" 80',
],
......@@ -686,11 +687,11 @@ export default {
'1 1 "Reference" 100 ',
'2 2 "Resp. User" 100',
'3 3 "Tenor day" 100',
'7 4 "Party Number" 150 ',
'7 4 "Applicant Party Number" 200 ',
'8 5 "Applicant" 150 ',
'9 6 "Party Number" 150 ',
'9 6 "Beneficiary Party Number" 200 ',
'10 7 "Beneficiary" 150 ',
'11 8 "Party Number" 150 ',
'11 8 "Issuing Party Number" 200 ',
'12 9 "Issuing Bank" 150 ',
'4 10 "Opened" 150 ',
'5 11 "Expired" 150 ',
......
......@@ -164,17 +164,15 @@ export default {
created:async function(){
console.log("进入litacp交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
......@@ -47,7 +47,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
<c-select
:code="codes.avbby"
disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
</c-select>
</el-form-item>
</c-col>
......@@ -80,7 +82,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
<c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型">
</c-select>
</el-form-item>
</c-col>
......
......@@ -29,7 +29,7 @@
</el-tab-pane>
<el-tab-pane label="Booking" name="glepan">
<m-glepan :model="model" :code="codes"/>
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
......@@ -58,10 +58,12 @@
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"
import Litcan from "~/model/Litcan"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Litcan/Check"
import Default from "~/model/Litcan/Default"
import Pattern from "~/model/Litcan/Pattern"
......@@ -96,6 +98,7 @@ export default {
}
},
mixins: [commonProcess,commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){
return {
tabVal: "canp",
......@@ -120,19 +123,16 @@ export default {
created:async function(){
console.log("进入litcan交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
},
};
</script>
<style>
</style>
......@@ -362,10 +362,17 @@ export default {
"model.brdgrp.rec.advtyp":{
immediate:true,
handler(){
if(this.model.brdgrp.rec.advtyp == '750' || this.model.brdgrp.rec.advtyp == 'OTH'){
if(this.model.brdgrp.rec.advtyp == '750' ){
this.model.brdgrp.rec.advdat = ' '
}else if(this.model.brdgrp.rec.advtyp == '754' || this.model.brdgrp.rec.advtyp == 'OTH'){
}else if(this.model.brdgrp.rec.advtyp == '754'){
this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= ""
// this.model.brdgrp.blk.docdis= ''
}else if( this.model.brdgrp.rec.advtyp == 'OTH'){
this.model.brdgrp.rec.advdat = ' '
this.model.brdgrp.rec.disdat = ' '
// this.model.brdgrp.blk.docdisflg= ""
// this.model.brdgrp.blk.docdis= ''
}
}
}
......
......@@ -155,7 +155,8 @@ export default {
return {};
},
methods: { ...Event },
created: function() {}
created: function() {},
};
</script>
<style>
......
......@@ -145,17 +145,15 @@ export default {
created:async function(){
console.log("进入litdck交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{ //TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
......@@ -48,7 +48,10 @@
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
<c-select
disabled
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
......@@ -88,7 +91,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
<c-select
disabled
:code="codes.lcrtyp"
v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
</el-form-item>
</c-col>
......
......@@ -75,7 +75,10 @@
<c-col :span="24">
<el-form-item label="Amount Specification" prop="trnmod.swiadd.nomspc">
<c-select disabled v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明">
<c-select
disabled
:code="codes.nomspc"
v-model="model.trnmod.swiadd.nomspc" style="width:100%" placeholder="请选择金额说明">
</c-select>
</el-form-item>
</c-col>
......
......@@ -3,7 +3,12 @@
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Available with" prop="lidgrp.rec.avbwth">
<c-select disabled v-model="model.lidgrp.rec.avbwth" style="width:100%" placeholder="请选择Available with">
<c-select
disabled
:code="codes.avbwth"
v-model="model.lidgrp.rec.avbwth"
style="width:100%"
placeholder="请选择Available with">
</c-select>
</el-form-item>
</c-col>
......@@ -42,20 +47,27 @@
</c-col>
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select disabled
<c-select
disabled
:rows="4"
:code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择Available by">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Deferred Payment Details" prop="lidgrp.blk.defdet">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.defdet" maxlength="35" show-word-limit placeholder="请输入Deferred Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Drafts at" prop="lidgrp.blk.dftat">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input>
<c-input
:rows="4"
disabled type="textarea" v-model="model.lidgrp.blk.dftat" maxlength="35" show-word-limit placeholder="请输入Drafts at" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -130,7 +142,10 @@
<c-col :span="24">
<el-form-item label="Presentation Period" prop="lidgrp.blk.preper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
<c-input
disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入Presentation Period" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -138,24 +153,33 @@
</c-col>
<c-col :span="24">
<el-form-item label="Details of Charges" prop="lidgrp.blk.feetxt">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="35" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.feetxt" maxlength="315" show-word-limit placeholder="请输入Additional Details to Code for Charges" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Condition" prop="lidgrp.rec.chato">
<c-select disabled v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
<c-select disabled
:code="codes.chato"
v-model="model.lidgrp.rec.chato" style="width:100%" placeholder="请选择Drafts at">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Country or region Code" prop="lidgrp.rec.stacty">
<c-select disabled v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
<c-select
disabled
:code="codes.stacty"
v-model="model.lidgrp.rec.stacty" style="width:100%" placeholder="请选择Country Code Risk Country">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Mixed Payment Details" prop="lidgrp.blk.mixdet">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input>
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.mixdet" maxlength="35" show-word-limit placeholder="请输入Mixed Payment Details" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -165,7 +189,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Shipment Period" prop="lidgrp.blk.shpper">
<c-input disabled type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input>
<c-input disabled
:rows="4"
type="textarea" v-model="model.lidgrp.blk.shpper" maxlength="65" show-word-limit placeholder="请输入Shipment Period" ></c-input>
</el-form-item>
</c-col>
</el-col>
......
......@@ -29,7 +29,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="lidgrp.rec.lcrtyp">
<c-select disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
<c-select
:code="codes.lcrtyp"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择Form of L/C">
</c-select>
</el-form-item>
</c-col>
......@@ -70,7 +72,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="Amount Specification" prop="lidgrp.rec.nomspc">
<c-select disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
<c-select
:code="codes.nomspc"
disabled v-model="model.lidgrp.rec.nomspc" style="width:100%" placeholder="请选择Amount Specification">
</c-select>
</el-form-item>
</c-col>
......@@ -153,13 +157,17 @@
</c-col>
<c-col :span="12">
<el-form-item label="Confirm.Instructions" prop="lidgrp.rec.cnfdet">
<c-select disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions">
<c-select
:code="codes.cnfdet"
disabled v-model="model.lidgrp.rec.cnfdet" style="width:100%" placeholder="请选择Confirm. Instructions">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Mortgage Flag" prop="lidgrp.rec.guaflg">
<c-select disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
<c-select
:code="codes.guaflg"
disabled v-model="model.lidgrp.rec.guaflg" style="width:100%" placeholder="请选择Mortgage Flag">
</c-select>
</el-form-item>
</c-col>
......@@ -213,7 +221,7 @@
<c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.apl.pts.adrblk">
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.apl.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.apl.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -248,7 +256,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="lidgrp.adv.pts.adrblk">
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.adv.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
<c-input disabled type="textarea" :rows="4" v-model="model.lidgrp.adv.pts.adrblk" maxlength="135" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -219,17 +219,15 @@ export default {
created:async function(){
console.log("进入litdla交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
......@@ -83,7 +83,6 @@
>
</c-grid-ety-prompt-dialog>
</div>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -160,17 +159,15 @@ export default {
created:async function(){
console.log("进入litrog交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
},
}
</script>
<style>
......
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