Commit fe91e259 by 吴佳
parents 918ffa50 26d283eb
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -52,8 +52,8 @@ export default {
<style>
.m-table-search {
position: relative;
margin: -20px -20px 0 -30px;
padding: 20px 20px 10px 20px;
margin: -20px 0 0 0;
padding: 20px 0px 10px 20px;
border-bottom: 10px solid rgb(232, 232, 232);
}
.m-table-search-operation {
......
......@@ -4165,6 +4165,12 @@ const CodeTable = {
{ label: "票汇", value: "2" },
{ label: "其他", value: "3" },
],
paytype1: [
{ label: "电汇", value: "0" },
{ label: "票汇", value: "1" },
{ label: "信汇", value: "2" },
{ label: "其他", value: "3" },
],
payuil: [
{ label: "English", value: "EN" },
{ label: "Chinese", value: "CN" },
......@@ -5131,6 +5137,26 @@ const CodeTable = {
{ label: "MT103+MT910", value: "103910" },
{ label: "MT103", value: "103" },
],
swftyp1: [
{ label: "MT103", value: "103" },
{ label: "MT202 COV", value: "202" },
{ label: "MT910", value: "910" },
{ label: "Other", value: "OTH" },
{ label: "MT202", value: "200" },
{ label: "CMT100", value: "CMT" },
{ label: "hvps111", value: "HVP" },
{ label: "hvps112", value: "HVQ" },
{ label: "PKG001", value: "CMX" },
{ label: "PKG005", value: "CMY" },
{ label: "beps121", value: "BEP" },
{ label: "beps122", value: "BEQ" },
{ label: "beps125", value: "BES" },
{ label: "cips111", value: "CIU" },
{ label: "cips112", value: "CIV" },
{ label: "cips111", value: "CIW" },
{ label: "hvps115", value: "HVR" },
{ label: "FMT100", value: "FMS" },
],
swmfmt: [
{ label: "TradeConnect", value: "T" },
{ label: "DTA Import", value: "A" },
......@@ -5345,6 +5371,12 @@ const CodeTable = {
{ label: "补充", value: "B" },
{ label: "替换", value: "T" },
],
trntyp1: [
{ label: "贸易", value: "0" },
{ label: "非贸易", value: "1" },
{ label: "资本", value: "2" },
{ label: "其他", value: "3" },
],
troflg: [
{ label: "TRO entries exist", value: "Y" },
{ label: "No TRO entries exist", value: "" },
......
import Utils from "~/utils"
/**
* Bctcan Check规则
* Bptcan Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"trnmod.cipmod.cskfzh" :null,
"trnmod.cipmod.zjg1mc" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"trnmod.cipmod.fkrdz3" :null,
"trnmod.trndoc.dtemod.dtetagm07" :null,
"trnmod.cipmod.fkrdz4" :null,
"trnmod.trndoc.dtemod.dtetagm08" :null,
"trnmod.cipmod.fkrdz2" :null,
"trnmod.cipmod.skkhdz" :null,
"trnmod.trndoc.dtemod.dtetagm06" :null,
"trnmod.cipmod.fkrdz7" :null,
"trnmod.cipmod.fufeih" :null,
"trnmod.cipmod.fkrdz5" :null,
"trnmod.cipmod.fkrdz6" :null,
"trnmod.cipmod.skrdz7" :null,
"trnmod.cipmod.skrdz6" :null,
"liaall.limmod.ownref" :null,
"trnmod.cipmod.cfkrgj" :null,
"liaall.limmod.ecifno" :null,
"trnmod.cipmod.skrdz3" :null,
"trnmod.cipmod.skrdz2" :null,
"trnmod.cipmod.skrdz5" :null,
"trnmod.cipmod.skrdz4" :null,
"trnmod.cipmod.feiyon" :null,
"trnmod.cipmod.zjg2mc" :null,
"trnmod.cipmod.fuyns3" :null,
"bpdgrp.fia.pts.extkey" :null,
"trnmod.cipmod.fuyns4" :null,
"trnmod.cipmod.fuyns1" :null,
"trnmod.cipmod.fuyns2" :null,
"trnmod.cipmod.feecod" :null,
"bpdgrp.fia.pts.adrblk" :null,
"trnmod.cipmod.csfdz1" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"strinf" :null,
"bctp0.recget.sdamod.dadsnd" :null,
"sndmsg" :null,
"trnmod.cipmod.cffdz7" :null,
"trnmod.cipmod.skkhhh" :null,
"trnmod.cipmod.feiyn2" :null,
"trnmod.cipmod.cffdz1" :null,
"trnmod.cipmod.cffdz2" :null,
"trnmod.cipmod.cffdz3" :null,
"trnmod.cipmod.cffdz4" :null,
"trnmod.cipmod.cffdz5" :null,
"trnmod.cipmod.cffdz6" :null,
"trnmod.cipmod.skkhhm" :null,
"trnmod.cipmod.pyebchnam" :null,
"trnmod.cipmod.fkrkhh" :null,
"trnmod.cipmod.fkhkhh" :null,
"trnmod.cipmod.cfkfzh" :null,
"trnmod.cipmod.recsehbchnam" :null,
"trnmod.cipmod.fkhdzh" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"trnmod.cipmod.staonebchnam" :null,
"trnmod.cipmod.pyebchkey" :null,
"bpdgrp.fia.namelc" :null,
"trnmod.cipmod.cskzjh" :null,
"trnmod.cipmod.cskrzj" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"trnmod.cipmod.zjg2hh" :null,
"trnmod.cipmod.stasehbch" :null,
"mtabut.coninf.conexedat" :null,
"trnmod.cipmod.fkkhmc" :null,
"bpdgrp.fia.adrelc" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"trnmod.cipmod.ffeih2" :null,
"trnmod.cipmod.csfdz7" :null,
"trnmod.cipmod.csfdz6" :null,
"trnmod.cipmod.csfdz5" :null,
"trnmod.cipmod.csfdz4" :null,
"trnmod.cipmod.csfdz3" :null,
"trnmod.cipmod.csfdz2" :null,
"trnmod.cipmod.fuynh4" :null,
"trnmod.cipmod.fuynh2" :null,
"trnmod.cipmod.fuynh3" :null,
"setmod.docamt" :null,
"trnmod.cipmod.cskrgj" :null,
"trnmod.cipmod.recsehbch" :null,
"trnmod.cipmod.cfkrzj" :null,
"trnmod.cipmod.stasehbchnam" :null,
"trnmod.cipmod.cfkzjh" :null,
"trnmod.cipmod.zjg1hh" :null,
}
for (const key in checkObj) {
......
/**
* Bctcan Default规则
* Bptcan Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.misamt" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bpdgrp.fia.pts.extkey" :Utils.defaultFunction,
"bpdgrp.fia.adrelc" :Utils.defaultFunction,
"bpdgrp.fia.namelc" :Utils.defaultFunction,
"bpdgrp.fia.dbfadrblkcn" :Utils.defaultFunction,
"bpdgrp.fia.pts.adrblk" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction,
"bcdgrp.drr.pts.nam" :Utils.defaultFunction,
"bcdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bcdgrp.rmi.pts.nam" :Utils.defaultFunction,
"trnmod.cipmod.cskfzh" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"trnmod.cipmod.feecod" :Utils.defaultFunction,
"trnmod.cipmod.cfkzjl" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"trnmod.cipmod.ddmisu" :Utils.defaultFunction,
"trnmod.cipmod.ddmsu1" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"sndmsg" :Utils.defaultFunction,
"bcdgrp.rec.matdat" :Utils.defaultFunction,
"bcdgrp.cbs.opn1.amt" :Utils.defaultFunction,
"bcdgrp.dre.pts.nam" :Utils.defaultFunction,
"bpdgrp.cbs.max.amt" :Utils.defaultFunction,
"trnmod.cipmod.ddbhao" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"trnmod.cipmod.cskzjl" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"trnmod.cipmod.covflg" :Utils.defaultFunction,
"trnmod.cipmod.cfkfzh" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -2,8 +2,8 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCancolButtxmsel(){
let rtnmsg = await this.executeRule("cancol.buttxmsel")
async onFiapDet(){
let rtnmsg = await this.executeRule("fiap.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -14,8 +14,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -26,8 +26,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -38,8 +38,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -50,8 +50,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -62,8 +62,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -74,8 +74,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -86,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -98,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
async onTxmdtetagm06Buttxmsel(){
let rtnmsg = await this.executeRule("txmdtetagm06.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -110,8 +110,80 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
async onTxmdtetagm07Buttxmsel(){
let rtnmsg = await this.executeRule("txmdtetagm07.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTxmdtetagm08Buttxmsel(){
let rtnmsg = await this.executeRule("txmdtetagm08.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Bftset{
constructor () {
this.data = {
......@@ -149,6 +150,10 @@ export default class Bftset{
},
},
},
bptbck:{
bptbckg:[], // .bptbck.bptbckg
dscbckcur:"", // currency discount paid back .bptbck.dscbckcur
},
dedgrp:{
rec:{
ownref:"", // 参考号 .dedgrp.rec.ownref
......
......@@ -306,15 +306,6 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"bopmod.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
......@@ -336,6 +327,10 @@ export default {
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
......@@ -412,4 +407,13 @@ export default {
"bopmod.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
}
\ No newline at end of file
import Api from "~/service/Api";
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cptadv{
constructor () {
this.data = {
......@@ -17,9 +19,9 @@ export default class Cptadv{
cur71f:"", // 发报行扣费金额 .cpdgrp.rec.cur71f
amt71f:"", // 发报行扣费金额 .cpdgrp.rec.amt71f
f23b:"", // 银行操作码 .cpdgrp.rec.f23b
pyeact:"", // 收款人号 .cpdgrp.rec.pyeact
pyeact:"", // 收款人号 .cpdgrp.rec.pyeact
sztyp:"", // 收支类型 .cpdgrp.rec.sztyp
orcact:"", // 汇款人号 .cpdgrp.rec.orcact
orcact:"", // 汇款人号 .cpdgrp.rec.orcact
trntyp:"", // 汇款性�'� .cpdgrp.rec.trntyp
paytype:"", // 汇款方式 .cpdgrp.rec.paytype
gors:"", // 收款对象 .cpdgrp.rec.gors
......@@ -140,6 +142,15 @@ export default class Cptadv{
payeecountcode:"", // 收款人常驻国家/地区代码 .cptp.payeecountcode
uetr:"", // Uetr .cptp.uetr
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
lendoc:{
actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum
},
bopmod:{
szflg:"", // 申报类型 .bopmod.szflg
basflg:"", // 基础数据 .bopmod.basflg
......@@ -150,73 +161,6 @@ export default class Cptadv{
outchargeamt:"", // 国外银行扣费(涉外收入申报专用) .bopmod.outchargeamt
acttyp:"", // 款项来源 .bopmod.acttyp
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog: {
setfol: []
},
setfeg: {
setfel: []
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
doceot: [],
},
},
lendoc:{
actflg:"", // Input Account .lendoc.actflg
account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum
},
cnybop:{
cnyflg:"", // 是否报送跨境人民币2101表 .cnybop.cnyflg
traflg:"", // 是否报送跨境人民币2107表 .cnybop.traflg
......
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref")
......@@ -218,10 +219,25 @@ export default {
},
async onOpnpButgetref() {
let rtnmsg = await this.executeRule("ditp.butgetref")
let rtnmsg = await this.executeRule("cptp.getref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async swftypChange() {
let rtnmsg = await this.executeRule("cpdgrp.rec.swftyp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$message({
type: 'success',
message: '获取成功!'
......
import Utils from "~/utils"
/**
* Detame Check规则
*/
let checkObj = {
"dedgrp.iss.pts.dizhii" :null,
"dedgrp.apl.namelc" :null,
"dedgrp.rec.lcrtyp" :null,
"dedgrp.blk.lcrgod" :null,
"dedgrp.avb.pts.bankno" :null,
"dedgrp.apb.pts.bankno" :null,
"dedgrp.rmb.pts.bankno" :null,
"dedgrp.beb.pts.bankno" :null,
"dedgrp.apc.pts.jigomc" :null,
"dedgrp.ben.adrelc" :null,
"dedgrp.apl.pts.adrblk" :null,
"dedgrp.adv.pts.jigomc" :null,
"dedgrp.blk.preper" :null,
"dedgrp.ben.namelc" :null,
"dedgrp.ben.pts.extkey" :null,
"dedgrp.rec.mytype" :null,
"dedgrp.apc.pts.dizhii" :null,
"dedgrp.iss.pts.extkey" :null,
"dedgrp.adv.pts.dizhii" :null,
"dedgrp.cmb.pts.bankno" :null,
"dedgrp.apl.adrelc" :null,
"dedgrp.rmb.pts.jigomc" :null,
"dedgrp.avb.pts.dizhii" :null,
"dedgrp.adv.pts.extkey" :null,
"dedgrp.rec.sdsrfs" :null,
"dedgrp.beb.pts.jigomc" :null,
"dedgrp.cmb.pts.jigomc" :null,
"dedgrp.apb.pts.jigomc" :null,
"dedgrp.blk.dftat" :null,
"dedgrp.rec.avbwth" :null,
"dedgrp.iss.pts.bankno" :null,
"dedgrp.cbs.max2.amt" :null,
"dedgrp.rec.shpdat" :null,
"dedgrp.blk.adlcnd" :null,
"dedgrp.ben.pts.adrblk" :null,
"dedgrp.rec.tenmaxday" :null,
"dedgrp.blk.insbnk" :null,
"dedgrp.blk.defdet" :null,
"dedgrp.apl.pts.extkey" :null,
"dedgrp.iss.pts.jigomc" :null,
"dedgrp.cmb.pts.dizhii" :null,
"dedgrp.adv.pts.bankno" :null,
"dedgrp.rec.expplc" :null,
"dedgrp.apc.pts.bankno" :null,
"dedgrp.rec.avbby" :null,
"dedgrp.rmb.pts.dizhii" :null,
"dedgrp.blk.lcrdoc" :null,
"detp.usr.extkey" :null,
"dedgrp.blk.addamtcov" :null,
"dedgrp.rec.opndat" :null,
"dedgrp.avb.pts.jigomc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Detame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dedgrp.ben.adrelc" :Utils.defaultFunction,
"dedgrp.ben.namelc" :Utils.defaultFunction,
"dedgrp.adv.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.cbs.max.amt" :Utils.defaultFunction,
"dedgrp.rec.avbwth" :Utils.defaultFunction,
"dedgrp.iss.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.nom1.amt" :Utils.defaultFunction,
"dedgrp.cbs.nom1.cur" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.apl.pts.extkey" :Utils.defaultFunction,
"dedgrp.apl.adrelc" :Utils.defaultFunction,
"dedgrp.apl.namelc" :Utils.defaultFunction,
"dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.shpdat" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.rec.avbby" :Utils.defaultFunction,
"detp.usr.extkey" :Utils.defaultFunction,
"dedgrp.ben.pts.extkey" :Utils.defaultFunction,
"dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.cbs.max2.amt" :Utils.defaultFunction,
"dedgrp.blk.addamtcov" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.adrblk" :Utils.defaultFunction,
"dedgrp.apl.pts.adrblk" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.rec.rejflg" :Utils.defaultFunction,
"detp.dzlhhh" :Utils.defaultFunction,
"dedgrp.rec.shppar" :Utils.defaultFunction,
"dedgrp.rec.fqzytgfw" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onDetpButgetref(){
let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdftatButtxmsel(){
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Detame{
constructor () {
this.data = {
detp:{
zchday:"", // 最迟装运/服务提供日 .detp.zchday
usr:{
extkey:"", // 所属客户经理 .detp.usr.extkey
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .detp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.benp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .detp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.aplp.ptsget.sdamod.dadsnd
},
},
},
recget:{
sdamod:{
seainf:"", // .detp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.recget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .detp.usrget.sdamod.seainf
},
},
upamt:"", // 大写金额 .detp.upamt
dzlhhh:"", // 发起参与机构 .detp.dzlhhh
hwfwms:"", // 槧物/服务描述 .detp.hwfwms
hwtype:"", // 槧物\\服务类型 .detp.hwtype
fenzhu:"", // 分期装运 .detp.fenzhu
sdysfs:"", // 手输运输方式/服务提供方式 .detp.sdysfs
hwzydi:"", // '运装运地/服务提供低 .detp.hwzydi
},
dedgrp:{
rec:{
ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 有效日期 .dedgrp.rec.expdat
expplc:"", // 有效地点 .dedgrp.rec.expplc
shptrs:"", // 转运 .dedgrp.rec.shptrs
tenmaxday:"", // Maximum Tenor .dedgrp.rec.tenmaxday
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomtop:"", // 溢短装 .dedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .dedgrp.rec.nomton
mytype:"", // 贸易类型 .dedgrp.rec.mytype
elcflg:"", // 是否通过电证系统 .dedgrp.rec.elcflg
avbby:"", // 信用证兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 是否可转让 .dedgrp.rec.lcrtyp
dkflg:"", // 是否代开信用证 .dedgrp.rec.dkflg
rejflg:"", // 是否通知客户 .dedgrp.rec.rejflg
stagod:"", // Goods Code for Statistics .dedgrp.rec.stagod
avbwth:"", // Available with .dedgrp.rec.avbwth
isyifu:"", // 是否可议付 .dedgrp.rec.isyifu
idcode:"", // 申请人统一社会信用代码 .dedgrp.rec.idcode
bdflg:"", // 是否可保兑 .dedgrp.rec.bdflg
kzref:"", // 信用证编号 .dedgrp.rec.kzref
shppar:"", // Partial Shipment .dedgrp.rec.shppar
fqzytgfw:"", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
fqtime:"", // 分期时镧表 .dedgrp.rec.fqtime
shppro:"", // 服务提供地点 .dedgrp.rec.shppro
tratyp:"", // 运输方式 .dedgrp.rec.tratyp
sdsrfs:"", // 输入运输方式 .dedgrp.rec.sdsrfs
conno:"", // 合同编号 .dedgrp.rec.conno
concur:"", // 合同币种 .dedgrp.rec.concur
shpfro:"", // 分期装运/提供服务 .dedgrp.rec.shpfro
shpto:"", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
conamt:"", // 合同金额 .dedgrp.rec.conamt
},
cbs:{
nom1:{
cur:"", // 金额 .dedgrp.cbs.nom1.cur
amt:"", // 金额 .dedgrp.cbs.nom1.amt
},
max:{
cur:"", // 最大金额 .dedgrp.cbs.max.cur
amt:"", // Balance .dedgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .dedgrp.cbs.max2.cur
amt:"", // Additional Amount .dedgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .dedgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .dedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.ben.namelc
adrelc:"", // 地址 .dedgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.ben.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.apl.namelc
adrelc:"", // 地址 .dedgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.apl.dbfadrblkcn
},
blk:{
dftat:"", // 远期付款指示 .dedgrp.blk.dftat
preper:"", // 交单期限 .dedgrp.blk.preper
defdet:"", // 远期付款指示 .dedgrp.blk.defdet
rejadvrsn:"", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
lcrgod:"", // Description of Goods .dedgrp.blk.lcrgod
lcrdoc:"", // 单据条款 .dedgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .dedgrp.blk.adlcnd
insbnk:"", // 给付款、 .dedgrp.blk.insbnk
stamet:"", // 声明 .dedgrp.blk.stamet
addamtcov:"", // Covered .dedgrp.blk.addamtcov
},
beb:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Detopn Check规则
*/
let checkObj = {
"dedgrp.iss.pts.dizhii" :null,
"dedgrp.apl.namelc" :null,
"dedgrp.rec.lcrtyp" :null,
"dedgrp.rec.nomton" :null,
"dedgrp.rec.nomtop" :null,
"dedgrp.blk.lcrgod" :null,
"dedgrp.avb.pts.bankno" :null,
"dedgrp.apb.pts.bankno" :null,
"dedgrp.cbs.nom1.amt" :null,
"dedgrp.rmb.pts.bankno" :null,
"dedgrp.rec.rejflg" :null,
"dedgrp.beb.pts.bankno" :null,
"dedgrp.apc.pts.jigomc" :null,
"dedgrp.ben.adrelc" :null,
"dedgrp.apl.pts.adrblk" :null,
"dedgrp.adv.pts.jigomc" :null,
"dedgrp.cbs.nom1.cur" :null,
"dedgrp.blk.preper" :null,
"dedgrp.ben.namelc" :null,
"dedgrp.ben.pts.extkey" :null,
"dedgrp.rec.mytype" :null,
"dedgrp.apc.pts.dizhii" :null,
"dedgrp.iss.pts.extkey" :null,
"dedgrp.adv.pts.dizhii" :null,
"dedgrp.cmb.pts.bankno" :null,
"dedgrp.rec.expdat" :null,
"dedgrp.apl.adrelc" :null,
"dedgrp.rmb.pts.jigomc" :null,
"dedgrp.blk.rejadvrsn" :null,
"dedgrp.avb.pts.dizhii" :null,
"dedgrp.adv.pts.extkey" :null,
"dedgrp.rec.sdsrfs" :null,
"dedgrp.beb.pts.jigomc" :null,
"dedgrp.cmb.pts.jigomc" :null,
"dedgrp.apb.pts.jigomc" :null,
"dedgrp.blk.dftat" :null,
"dedgrp.rec.avbwth" :null,
"dedgrp.iss.pts.bankno" :null,
"dedgrp.cbs.max2.amt" :null,
"dedgrp.rec.shpdat" :null,
"dedgrp.blk.adlcnd" :null,
"dedgrp.ben.pts.adrblk" :null,
"dedgrp.rec.tenmaxday" :null,
"dedgrp.blk.insbnk" :null,
"dedgrp.blk.defdet" :null,
"dedgrp.apl.pts.extkey" :null,
"dedgrp.iss.pts.jigomc" :null,
"dedgrp.ben.pts.ref" :null,
"dedgrp.rec.kzref" :null,
"dedgrp.cmb.pts.dizhii" :null,
"dedgrp.adv.pts.bankno" :null,
"detp.dzlhhh" :null,
"dedgrp.rec.elcflg" :null,
"dedgrp.rec.expplc" :null,
"dedgrp.apc.pts.bankno" :null,
"dedgrp.rec.avbby" :null,
"dedgrp.rmb.pts.dizhii" :null,
"dedgrp.blk.lcrdoc" :null,
"detp.usr.extkey" :null,
"dedgrp.blk.addamtcov" :null,
"dedgrp.rec.opndat" :null,
"dedgrp.avb.pts.jigomc" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Detopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dedgrp.ben.adrelc" :Utils.defaultFunction,
"dedgrp.ben.namelc" :Utils.defaultFunction,
"dedgrp.adv.pts.extkey" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.cbs.max.amt" :Utils.defaultFunction,
"dedgrp.blk.adlcnd" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.rec.avbwth" :Utils.defaultFunction,
"dedgrp.iss.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.nom1.amt" :Utils.defaultFunction,
"dedgrp.cbs.nom1.cur" :Utils.defaultFunction,
"dedgrp.apl.pts.extkey" :Utils.defaultFunction,
"dedgrp.apl.adrelc" :Utils.defaultFunction,
"dedgrp.apl.namelc" :Utils.defaultFunction,
"dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.shpdat" :Utils.defaultFunction,
"dedgrp.rec.avbby" :Utils.defaultFunction,
"detp.usr.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.extkey" :Utils.defaultFunction,
"dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.blk.preper" :Utils.defaultFunction,
"dedgrp.cbs.max2.amt" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.blk.addamtcov" :Utils.defaultFunction,
"dedgrp.ben.pts.adrblk" :Utils.defaultFunction,
"dedgrp.apl.pts.adrblk" :Utils.defaultFunction,
"dedgrp.blk.insbnk" :Utils.defaultFunction,
"dedgrp.rec.bdflg" :Utils.defaultFunction,
"dedgrp.rec.rejflg" :Utils.defaultFunction,
"detp.dzlhhh" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.rec.shppar" :Utils.defaultFunction,
"dedgrp.rec.fqzytgfw" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils/index"
export default {
async onDetpButgetref(){
let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBenpDet(){
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAplpDet(){
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdftatButtxmsel(){
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onPreperButtxmsel(){
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrgodButtxmsel(){
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLcrdocButtxmsel(){
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onAdlcndButtxmsel(){
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInsbnkButtxmsel(){
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Detopn{
constructor () {
this.data = {
detp:{
zchday:"", // 最迟装运/服务提供日 .detp.zchday
usr:{
extkey:"", // 所属客户经理 .detp.usr.extkey
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .detp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.benp.ptsget.sdamod.dadsnd
},
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .detp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.aplp.ptsget.sdamod.dadsnd
},
},
},
recget:{
sdamod:{
seainf:"", // .detp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .detp.recget.sdamod.dadsnd
},
},
usrget:{
sdamod:{
seainf:"", // .detp.usrget.sdamod.seainf
},
},
upamt:"", // 大写金额 .detp.upamt
dzlhhh:"", // 发起参与机构 .detp.dzlhhh
hwfwms:"", // 槧物/服务描述 .detp.hwfwms
hwtype:"", // 槧物\\服务类型 .detp.hwtype
fenzhu:"", // 分期装运 .detp.fenzhu
sdysfs:"", // 手输运输方式/服务提供方式 .detp.sdysfs
hwzydi:"", // '运装运地/服务提供低 .detp.hwzydi
},
dedgrp:{
rec:{
ownref:"", // 编号 .dedgrp.rec.ownref
opndat:"", // 开立日期 .dedgrp.rec.opndat
shpdat:"", // Shipment Date .dedgrp.rec.shpdat
expdat:"", // 有效日期 .dedgrp.rec.expdat
expplc:"", // 有效地点 .dedgrp.rec.expplc
shptrs:"", // 转运 .dedgrp.rec.shptrs
tenmaxday:"", // Maximum Tenor .dedgrp.rec.tenmaxday
nam:"", // Externally Displayed Name to Identify the Contract .dedgrp.rec.nam
nomtop:"", // 溢短装 .dedgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .dedgrp.rec.nomton
mytype:"", // 贸易类型 .dedgrp.rec.mytype
elcflg:"", // 是否通过电证系统 .dedgrp.rec.elcflg
avbby:"", // 信用证兑付方式 .dedgrp.rec.avbby
lcrtyp:"", // 是否可转让 .dedgrp.rec.lcrtyp
dkflg:"", // 是否代开信用证 .dedgrp.rec.dkflg
rejflg:"", // 是否通知客户 .dedgrp.rec.rejflg
stagod:"", // Goods Code for Statistics .dedgrp.rec.stagod
avbwth:"", // Available with .dedgrp.rec.avbwth
isyifu:"", // 是否可议付 .dedgrp.rec.isyifu
idcode:"", // 申请人统一社会信用代码 .dedgrp.rec.idcode
bdflg:"", // 是否可保兑 .dedgrp.rec.bdflg
kzref:"", // 信用证编号 .dedgrp.rec.kzref
shppar:"", // Partial Shipment .dedgrp.rec.shppar
fqzytgfw:"", // 分期装运/提供服务 .dedgrp.rec.fqzytgfw
fqtime:"", // 分期时镧表 .dedgrp.rec.fqtime
shppro:"", // 服务提供地点 .dedgrp.rec.shppro
tratyp:"", // 运输方式 .dedgrp.rec.tratyp
sdsrfs:"", // 输入运输方式 .dedgrp.rec.sdsrfs
conno:"", // 合同编号 .dedgrp.rec.conno
concur:"", // 合同币种 .dedgrp.rec.concur
shpfro:"", // 分期装运/提供服务 .dedgrp.rec.shpfro
shpto:"", // 货物运输或交货方式/服务方式 .dedgrp.rec.shpto
conamt:"", // 合同金额 .dedgrp.rec.conamt
},
cbs:{
nom1:{
cur:"", // 金额 .dedgrp.cbs.nom1.cur
amt:"", // 金额 .dedgrp.cbs.nom1.amt
},
max:{
cur:"", // 最大金额 .dedgrp.cbs.max.cur
amt:"", // Balance .dedgrp.cbs.max.amt
},
max2:{
cur:"", // Additional Amount .dedgrp.cbs.max2.cur
amt:"", // Additional Amount .dedgrp.cbs.max2.amt
},
opn2:{
cur:"", // Open Add. Amount .dedgrp.cbs.opn2.cur
amt:"", // Open Add. Amount .dedgrp.cbs.opn2.amt
},
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.ben.namelc
adrelc:"", // 地址 .dedgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.ben.dbfadrblkcn
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .dedgrp.apl.namelc
adrelc:"", // 地址 .dedgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .dedgrp.apl.dbfadrblkcn
},
blk:{
dftat:"", // 远期付款指示 .dedgrp.blk.dftat
preper:"", // 交单期限 .dedgrp.blk.preper
defdet:"", // 远期付款指示 .dedgrp.blk.defdet
rejadvrsn:"", // 拒绝通知理由 .dedgrp.blk.rejadvrsn
lcrgod:"", // Description of Goods .dedgrp.blk.lcrgod
lcrdoc:"", // 单据条款 .dedgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .dedgrp.blk.adlcnd
insbnk:"", // 给付款、 .dedgrp.blk.insbnk
stamet:"", // 声明 .dedgrp.blk.stamet
addamtcov:"", // Covered .dedgrp.blk.addamtcov
},
beb:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
adv:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
rmb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Detsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Detsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"dedgrp.rec.opndat" :Utils.defaultFunction,
"trpnttyp" :Utils.defaultFunction,
"sptpenltbt" :Utils.defaultFunction,
"sptpenltbt_descr" :Utils.defaultFunction,
"bppnttyp" :Utils.defaultFunction,
"dtdgrp.adt.pts.nam" :Utils.defaultFunction,
"bpdgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"mtdgrp.cbs.max.cur" :Utils.defaultFunction,
"trnpenltbt" :Utils.defaultFunction,
"trnpenltbt_descr" :Utils.defaultFunction,
"dtdgrp.be2.pts.nam" :Utils.defaultFunction,
"bfdgrp.iss.pts.nam" :Utils.defaultFunction,
"mtdgrp.be1.pts.nam" :Utils.defaultFunction,
"fpdgrp.inv.pts.nam" :Utils.defaultFunction,
"mtdgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.fia.pts.nam" :Utils.defaultFunction,
"dfdgrp.apl.pts.nam" :Utils.defaultFunction,
"dtdgrp.avt.pts.nam" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"dtdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"bfdgrp.rec.ownref" :Utils.defaultFunction,
"bfdgrp.cbs.max.cur" :Utils.defaultFunction,
"dtdgrp.be1.pts.nam" :Utils.defaultFunction,
"mtdgrp.cbs.max.amt" :Utils.defaultFunction,
"sptpentrbp" :Utils.defaultFunction,
"sptpentrbp_descr" :Utils.defaultFunction,
"dedgrp.iss.pts.nam" :Utils.defaultFunction,
"fpdgrp.rec.opndat" :Utils.defaultFunction,
"dfdgrp.dff.pts.nam" :Utils.defaultFunction,
"bfdgrp.prb.pts.nam" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"bpdgrp.rec.fintyp" :Utils.defaultFunction,
"mtdgrp.be2.pts.nam" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"dfdgrp.rec.ownref" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
"fpdgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.ben.pts.nam" :Utils.defaultFunction,
"trdgrp.fip.pts.nam" :Utils.defaultFunction,
"dedgrp.apl.pts.nam" :Utils.defaultFunction,
"bfdgrp.apl.pts.nam" :Utils.defaultFunction,
"trdgrp.rec.ownref" :Utils.defaultFunction,
"fpdgrp.sel.pts.nam" :Utils.defaultFunction,
"trnpentrbp_descr" :Utils.defaultFunction,
"trnpentrbp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
......@@ -14,12 +14,15 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onInfbutDsp(){
let rtnmsg = await this.executeRule("infbut.dsp")
async onInfbutDsp(idx,row){
let params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm,infbut.dsp",params)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$emit('updateShowPanel', true)
}
else
{
......
......@@ -8,16 +8,24 @@ export default {
//TODO 处理数据逻辑
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
//console.log("smhstm:",rtnmsg);
if (rtnmsg.data.infbut_dspstm.rows.length == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
type: 'success'
});
}
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInfbutDsp() {
async onInfbutDsp(row) {
let rtnmsg = await this.executeRule("infbut.dsp")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//console.log(rtnmsg);
console.log("rows:", row);
console.log("你猜", rtnmsg);
}
else {
......@@ -28,6 +36,7 @@ export default {
let rtnmsg = await this.executeRule("infbut.userow")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//console.log("use测试:",rtnmsg);
}
else {
......@@ -35,7 +44,24 @@ export default {
}
},
async onInfbutClr() {
let rtnmsg = await this.executeRule("infbut.clr")
this.model.infcon.seaownref = "";
this.model.infcon.searef = "";
this.model.infcon.pty.extkey = "";
this.model.infcon.seapty = "";
this.model.infcon.opndatfrom = "";
this.model.infcon.opndatto = "";
this.model.infcon.seaamtfr = "";
this.model.infcon.seaamtto = "";
this.model.infcon.seasta = "";
this.model.infcon.usr.extkey = "";
this.model.infcon.nam = "";
this.model.infcon.hndtyp = "";
this.model.infcon.pty.nam = "";
this.model.infcon.searol = "";
this.model.infcon.seacur = "";
this.stmData.data = "";
//let rtnmsg = await this.executeRule("infbut.clr")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......@@ -55,7 +81,27 @@ export default {
}
},
async onInfbutExi() {
let rtnmsg = await this.executeRule("infbut.exi")
this.$confirm("确认退出?", "", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning",
})
.then((res) => {
// this.$router.back();
this.$store.dispatch("TagsView/delView", this.$route);
this.handleExit && this.handleExit();
if (this.$route.query && this.$route.query.routeParams) {
setTimeout(() => {
this.$router.back();
}, 500);
} else {
setTimeout(() => {
this.$router.push("/home");
}, 500);
}
})
.catch(() => {});
//let rtnmsg = await this.executeRule("infbut.exi")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
......
......@@ -76,11 +76,11 @@ export default {
],
"ledgrp.rec.nomtop": [
{ type: "string", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.ben.adrelc": [
......@@ -103,7 +103,7 @@ export default {
{ max: 16, message: "长度不能超过16" }
],
"ledgrp.rec.opndat": [
{ required: false, message: "输入正确的日期" }
{ required: true, message: "输入正确的日期" }
],
"ledgrp.rec.preadvdt": [
{ required: false, message: "输入正确的日期" }
......@@ -137,7 +137,7 @@ export default {
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.expdat": [
{ required: false, message: "输入正确的日期" }
{ required: true, message: "输入正确的日期" }
],
"ledgrp.iss.adrelc": [
{ type: "string", required: true, message: "必输项" },
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bptcan/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -291,12 +291,12 @@
<c-col :span="24">
<el-form-item label="付款行地址" prop="trnmod.cipmod.fkhdzh">
<c-input
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.fkhdzh"
maxlength="35"
show-word-limit
placeholder="请输入付款行地址"
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.fkhdzh"
maxlength="35"
show-word-limit
placeholder="请输入付款行地址"
></c-input>
</el-form-item>
</c-col>
......@@ -348,54 +348,54 @@
<c-col :span="24">
<el-form-item label="收款行行号" prop="trnmod.cipmod.skkhhh">
<c-input
v-model="model.trnmod.cipmod.skkhhh"
maxlength="35"
placeholder="请输入收款行行号"
v-model="model.trnmod.cipmod.skkhhh"
maxlength="35"
placeholder="请输入收款行行号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款行行名" prop="trnmod.cipmod.skkhhm">
<c-input
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.skkhhm"
maxlength="35"
show-word-limit
placeholder="请输入收款行行名"
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.skkhhm"
maxlength="35"
show-word-limit
placeholder="请输入收款行行名"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款行地址" prop="trnmod.cipmod.skkhdz">
<c-input
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.skkhdz"
maxlength="35"
show-word-limit
placeholder="请输入收款行地址"
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.skkhdz"
maxlength="35"
show-word-limit
placeholder="请输入收款行地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款行账号" prop="trnmod.cipmod.skkhzh">
<c-input
v-model="model.trnmod.cipmod.skkhzh"
maxlength="35"
placeholder="请输入收款行账号"
v-model="model.trnmod.cipmod.skkhzh"
maxlength="35"
placeholder="请输入收款行账号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附言3" prop="trnmod.cipmod.fuynh3">
<c-input
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.fuynh3"
maxlength="35"
show-word-limit
placeholder="请输入附言3"
type="textarea"
:rows="1"
v-model="model.trnmod.cipmod.fuynh3"
maxlength="35"
show-word-limit
placeholder="请输入附言3"
></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Stream of fee conditions of passed object" prop="trnmod.ptsmod.fecinf.fecstm">
<c-input v-model="model.trnmod.ptsmod.fecinf.fecstm" placeholder="请输入Stream of fee conditions of passed object"></c-input>
</el-form-item>
</c-col>
<c-row>
<c-col :span="23" :offset="1">
<span>Fee Conditions</span>
</c-col>
</c-row>
<c-row>
<c-col :span="2" :offset="1">
<el-form-item label="" label-width="0px" prop="trnmod.ptsmod.fecinf.fecstm">
<c-input
type="textarea"
:rows="10"
v-model="model.trnmod.ptsmod.fecinf.fecstm"
placeholder="请输入Stream of fee conditions of passed object"
></c-input>
</el-form-item>
</c-col>
</c-row>
</div>
</template>
<script>
......
<template>
<div class="eibs-tab">
</div>
<c-col :span="24" style="">
<c-istream-table-docpan :list="stmData.data" :columns="stmData.columns">
<el-table-column label="Limit Type">
<template slot-scope="scope">
<c-select
v-model="
model.trnmod.trndoc.doceot[scope.row.index].cortyp
"
style="width: 100%"
disabled
placeholder="请选择"
>
<el-option
v-for="item in codes.doceotCortyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</template>
</el-table-column>
</c-istream-table-docpan>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbe"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="Limit Type"
sortable
width="150">
</el-table-column>
<el-table-column
prop="cur"
label="业务币种"
sortable
width="80">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="90">
</el-table-column>
<el-table-column
prop="reqtyp1"
label="Req.Typel"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="reqtyp2"
label="Req.Type2"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="credat"
label="额度日期"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ptynam"
label="客户名称"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ownref"
label="业务编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbe.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmcbb"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmcbb.total">
</el-pagination>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.liaall.limmod.limpfp.clmpty"
style="width: 100%"
>
<el-table-column
prop="limvar"
label="额度类型"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dghfxh"
label="恢复序号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="100">
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="100">
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.liaall_limmod_limpfp_clmpty.total">
</el-pagination>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......
......@@ -103,6 +103,9 @@ import TrnfndsDetail from "./Trnrel/Trnfnd/TrnfndsDetail"
import Sptpopup from "./Sptsel/Sptpopup"
import Infdet from "./Infdet"
import Infbfd from "./Infbfd"
import Detopn from "./Detopn"
import Detame from "./Detame"
import Detsel from "./Detsel"
import Bftsnd from "./Bftsnd"
import Bftset from "./Bftset"
import Detdrv from "./Detdrv"
......@@ -220,6 +223,11 @@ const BusRouter = [
{ path: 'bdtset', component: Bdtset, name: 'Bdtset', meta: { title: '信用证付款' } },
{ path: 'infdet', component: Infdet, name: 'Infdet', meta: { title: '卖方信用证查询' } },
{ path: 'infbfd', component: Infbfd, name: 'Infbfd', meta: { title: '卖方信用证单据查询' } },
{ path: 'detopn', component: Detopn, name: 'Detopn', meta: { title: '信用证开立' } },
{ path: 'detame', component: Detame, name: 'Detame', meta: { title: '信用证修改' } },
{ path: 'detsel', component: Detsel, name: 'Detsel', meta: { title: '信用证查询' } },
{ path: 'bftsnd', component: Bftsnd, name: 'Bftsnd', meta: { title: '卖方信用证寄单' } },
{ path: 'bftset', component: Bftset, name: 'Bftset', meta: { title: '卖方信用证收款' } },
{ path: 'detdrv', component: Detdrv, name: 'Detdrv', meta: { title: '卖方信用证收单' } },
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<c-row>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2101表" label-width="160px">
<c-select v-model="model.cnybop.cnyflg" style="width:100%" placeholder="请选择是否报送跨境人民币2101表">
</c-select>
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2101表"
>
<el-option
v-for="item in codes.cnyflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2107表" label-width="160px">
<c-select v-model="model.cnybop.traflg" style="width:100%" placeholder="请选择是否报送跨境人民币2107表">
</c-select>
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2107表"
disabled
>
<el-option
v-for="item in codes.traflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2111表" label-width="160px">
<c-select v-model="model.cnybop.outflg" style="width:100%" placeholder="请选择是否报送跨境人民币2111表">
</c-select>
<c-select
v-model="model.cnybop.outflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2111表"
disabled
>
<el-option
v-for="item in codes.outflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2106表" label-width="160px">
<c-select v-model="model.cnybop.libflg" style="width:100%" placeholder="请选择是否报送跨境人民币2106表">
</c-select>
<c-select
v-model="model.cnybop.libflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2106表"
disabled
>
<el-option
v-for="item in codes.libflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<el-form-item label="是否报送跨境人民币2122表" label-width="160px">
<c-select v-model="model.cnybop.vouflg" style="width:100%" placeholder="请选择是否报送跨境人民币2122表">
</c-select>
<c-select
v-model="model.cnybop.vouflg"
style="width: 100%"
placeholder="请选择是否报送跨境人民币2122表"
disabled
>
<el-option
v-for="item in codes.vouflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
</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/Cptadv/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptadv/Event";
export default {
inject: ['root'],
inject: ["root"],
mixins: [CommonProcess],
props:["model","codes"],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
props: ["model", "codes"],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-row>
<!-- ============== 顶部============================== -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="业务编号" style="width:100%">
<el-form-item label="业务编号" style="width:100%" prop="cpdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.cpdgrp.rec.ownref"
......@@ -26,7 +25,7 @@
size="small"
type="primary"
:disabled="this.flag"
@click="onCptpGetref"
@click="commonExecuteRule('cptp.getref')"
>
获取
</c-button>
......@@ -36,7 +35,7 @@
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Name">
<el-form-item label="Name" prop="cpdgrp.rec.nam">
<c-input
v-model="model.cpdgrp.rec.nam"
maxlength="40"
......@@ -50,7 +49,7 @@
<!-- ========================左边======================= -->
<c-col :span="11">
<c-col :span="24">
<el-form-item label="清算编号" style="width:100%">
<el-form-item label="清算编号" style="width:100%" prop="cpdgrp.rec.sysno">
<c-fullbox>
<c-input
v-model="model.cpdgrp.rec.sysno"
......@@ -73,11 +72,12 @@
</c-col>
<c-col :span="13">
<el-form-item label="汇款金额">
<el-form-item label="汇款金额" prop="cpdgrp.cbs.nom1.cur">
<c-select
v-model="model.cpdgrp.cbs.nom1.cur"
style="width: 95%"
placeholder="请选择Currency"
@change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
>
<el-option
v-for="item in codes.cur"
......@@ -89,26 +89,26 @@
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" style="text-align: left">
<el-form-item label="" label-width="0" style="text-align: left" prop="cpdgrp.cbs.nom1.amt">
<c-input
v-model="model.cpdgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入汇款金额"
@change="commonExecuteNotify()"
></c-input>
</el-form-item>
</c-col>
<c-col :span="13">
<el-form-item label="所属行">
<c-col :span="14">
<el-form-item label="所属行" prop="cpdgrp.rec.othbch">
<c-input
v-model="model.cpdgrp.rec.othbch"
maxlength="8"
placeholder="请输入所属行"
style="width:95%"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="汇款语种" label-width="100px">
<c-col :span="10">
<el-form-item label="汇款语种" label-width="60px" style="margin-left: 12px" prop="cptp.payuil">
<c-select
v-model="model.cptp.payuil"
style="width: 100%"
......@@ -125,13 +125,14 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人常驻国家/地区代码">
<el-form-item label="付款人常驻国家/地区代码" prop="cptp.draweecountcode">
<c-fullbox>
<c-input
v-model="model.cptp.draweecountcode"
maxlength="3"
placeholder="请输入付款人常驻国家/地区代码"
style="width:100%"
@keyup.enter.native="showGridPromptDialog('cptp.draweecountcode')"
></c-input>
<template slot="footer">
<c-button
......@@ -147,7 +148,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="我行费用负担">
<el-form-item label="我行费用负担" prop="cpdgrp.rec.detchgcod">
<c-select
v-model="model.cpdgrp.rec.detchgcod"
style="width: 100%"
......@@ -163,7 +164,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物类型">
<el-form-item label="货物类型" prop="cpdgrp.rec.stagod">
<c-select
v-model="model.cpdgrp.rec.stagod"
style="width: 100%"
......@@ -182,8 +183,8 @@
<!-- ========================右边======================= -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<el-form-item label="汇款性质">
<c-col :span="13">
<el-form-item label="汇款性质" prop="cpdgrp.rec.trntyp">
<c-select
v-model="model.cpdgrp.rec.trntyp"
style="width: 100%"
......@@ -198,8 +199,8 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="汇款方式">
<c-col :span="11">
<el-form-item label="汇款方式" label-width="40%" prop="cpdgrp.rec.paytype">
<c-select
v-model="model.cpdgrp.rec.paytype"
style="width: 100%"
......@@ -214,8 +215,8 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收款对象">
<c-col :span="13">
<el-form-item label="收款对象" prop="cpdgrp.rec.gors">
<c-select
v-model="model.cpdgrp.rec.gors"
style="width: 100%"
......@@ -231,8 +232,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="收支类型">
<c-col :span="11">
<el-form-item label="收支类型" label-width="40%" prop="cpdgrp.rec.sztyp">
<c-select
v-model="model.cpdgrp.rec.sztyp"
style="width: 100%"
......@@ -248,7 +249,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Uetr">
<el-form-item label="Uetr" prop="cptp.uetr">
<c-fullbox>
<c-input
v-model="model.cptp.uetr"
......@@ -264,8 +265,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="解付日期">
<c-col :span="13">
<el-form-item label="解付日期" prop="cpdgrp.rec.paydat">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.paydat"
......@@ -274,18 +275,19 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="起息日">
<c-col :span="11">
<el-form-item label="起息日" label-width="40%" prop="cpdgrp.rec.valdat">
<c-date-picker
type="date"
v-model="model.cpdgrp.rec.valdat"
style="width: 100%"
placeholder="请选择起息日"
@change="commonExecuteNotify()"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="客户类型">
<c-col :span="13">
<el-form-item label="客户类型" prop="cpdgrp.rec.clityp">
<c-select
v-model="model.cpdgrp.rec.clityp"
style="width: 100%"
......@@ -301,12 +303,15 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="报文类型">
<c-col :span="11">
<el-form-item label="报文类型" label-width="40%" prop="cpdgrp.rec.swftyp">
<c-select
v-model="model.cpdgrp.rec.swftyp"
style="width: 100%"
placeholder="请选择报文类型"
:disabled="model.cpdgrp.cbs.nom1.amt === '0.000'"
@change="commonExecuteRule('cpdgrp.rec.swftyp')"
>
<el-option
v-for="item in codes.swftypOpnp"
......@@ -318,8 +323,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="国外费用">
<c-col :span="11">
<el-form-item label="国外费用" prop="cpdgrp.rec.feecur">
<c-select
v-model="model.cpdgrp.rec.feecur"
style="width: 100%"
......@@ -336,11 +341,12 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="20px">
<c-col :span="13">
<el-form-item label="" label-width="10px" prop="cpdgrp.rec.feeamt">
<c-input
v-model="model.cpdgrp.rec.feeamt"
placeholder="请输入国外费用金额"
style="width: 64%"
></c-input>
<c-checkbox v-model="model.cpdgrp.rec.tsnflg"
>同名划转标志</c-checkbox
......@@ -1006,11 +1012,11 @@
<c-input type="textarea" v-model="model.cpdgrp.pye.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col> -->
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptadv/Event";
......@@ -1034,14 +1040,29 @@ export default {
};
},
methods: { ...Event,
onSeainf(){}
onSeainf(){},
commonExecuteRule(ruleName){
this.executeRule(ruleName).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
commonExecuteNotify(){
this.executeNotify().then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
}
});
},
},
created: function () {
console.log(this.root);
},
computed: {
flag() {
return this.model.cpdgrp.pye.pts.extkey == "" || this.model.cpdgrp.rec.ownref != "";
return this.model.cpdgrp.pye.pts.extkey == "";
//return this.model.cpdgrp.pye.pts.extkey == "" || this.model.cpdgrp.rec.ownref != "";
},
},
};
......
<template>
<c-page title="汇入汇款">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -10,16 +23,19 @@
size="small"
>
<c-tabs ref="elment" :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1">
<el-tab-pane label="基本信息" name="opnp1">
<!--PD000020 -->
<c-content>
<m-opnp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<!--PD000006 -->
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
......@@ -47,6 +63,7 @@
</c-tabs>
</el-form>
</div>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</c-page>
</template>
<script>
......@@ -55,17 +72,21 @@ import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Cptadv from "~/model/Cptadv";
import CommonProcess from "~/mixin/CommonProcess";
import Pattern from "~/model/Cptadv/Pattern";
import CommonFuncs from "~/mixin/CommonFuncs";
import Opnp1 from "./Opnp1";
import Docpan2 from "./Docpan2";
import Wg from "./Wg";
import Pattern from "~/model/Cptadv/Pattern";
import Default from "~/model/Cptadv/Default";
import Check from "~/model/Cptadv/Check";
// import Setpan from "./Setpan";
// import Coninfp from "./Coninfp";
// import Docpan from "./Docpan";
import Doctre from "./Doctre";
import Cnyp from "./Cnyp";
import Doctre from "~/views/Public/Doctre";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Ptap from "~/views/Public/Ptap";
......@@ -76,6 +97,7 @@ export default {
"m-opnp1": Opnp1,
"m-wg": Wg,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
......@@ -88,7 +110,8 @@ export default {
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: "opnp1",
......@@ -96,7 +119,10 @@ export default {
model: new Cptadv().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules: Pattern,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Own Ref(Tag 20)" prop="sespay.ownref">
<c-input v-model="model.sespay.ownref" maxlength="16" placeholder="请输入Own Ref(Tag 20)"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Beneficiary Institution Account" prop="sespay.beiacc">
<c-input v-model="model.sespay.beiacc" maxlength="34" placeholder="请输入Beneficiary Institution Account"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sender to receiver Information to NOSTRO correspondent" prop="sespay.strinf202">
<c-input type="textarea" v-model="model.sespay.strinf202" maxlength="35" show-word-limit placeholder="请输入Sender to receiver Information to NOSTRO correspondent" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCod202Buttxmsel">
...
</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/Ditopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- <c-col :span="11">
<el-form-item label="File Receiver">
<c-input
v-model="model.trnmod.trndoc.filrecv"
placeholder="请输入File Receiver"
></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="Document tree">
<c-input
v-model="model.trnmod.trndoc.doctrestm"
placeholder="请输入Document tree"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item
label="Outgoing Correspondence,Attachments and other Documents"
label-width="400px"
>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- ========================左====================== -->
<c-col :span="14">
<c-col :span="24">
<div style="height: 300px; width: 100%;border:1px #ebeef5 solid">
<el-tree
:data="data"
:props="defaultProps"
@node-click="handleNodeClick"
></el-tree>
</div>
</c-col>
<c-col :span="24" style="margin-top:10px">
<c-col :span="4">
<el-form-item label="Connected Ducuments" v-show="isShow1 || isShow2"></el-form-item>
<el-form-item label="" v-show="!(isShow1 || isShow2)"></el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="">
<c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow1">Show Incoming Messages</c-checkbox> -->
</c-col>
<c-col :span="8" :offset="2">
<el-form-item label="">
<c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox>
</el-form-item>
<!-- <c-checkbox v-model="isShow2">Show Outgoing Messages</c-checkbox> -->
</c-col>
</c-col>
<c-col :span="22" :offset="1">
<c-table
:border="true"
:list="data1"
style="width:80%,text-align:center"
v-show="isShow1 || isShow2"
>
<el-table-column label="Type" width="auto"></el-table-column>
<el-table-column label="Document" width="auto"></el-table-column>
<el-table-column label="Cre.TRN" width="auto"></el-table-column>
<el-table-column label="Date" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
<el-table-column label="" width="auto"></el-table-column>
</c-table>
</c-col>
</c-col>
<!-- ==============右============= -->
<c-col :span="6" :offset="1">
<c-col :span="24">
<c-button size="small" type="primary" @click="onTrndocButshw">
Show
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButadd">
详情
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 40px">
<c-button size="small" type="primary" @click="onTrndocButnew">
Add New
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" type="primary" @click="onTrndocButattto">
Attach to
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 15px">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
Delete
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 80px">
<c-button size="small" type="primary" @click="onTrndocButatt">
Attach
</c-button>
</c-col>
<c-col :span="24" style="margin-top: 150px">
<c-button size="small" type="primary" @click="onTrndocButatt">
i
</c-button>
</c-col>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span
v-text="model.trnmod.trndoc.doclbl"
data-path=".trnmod.trndoc.doclbl"
>
</span>
</c-col> -->
<!-- <c-col :span="11" style="margin-top: 20px">
<el-form-item label="Connected Documents">
<c-input
v-model="model.trnmod.trndoc.condocstm"
placeholder="请输入Connected Documents"
></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="11" :offset="1" style="margin-top: 20px">
<el-form-item label="">
<c-input
v-model="model.trnmod.trndoc.rcvatt.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
data1:[],
isShow1: false,
isShow2: false,
data: [
{
label: "Internal",
children: [{ label: "'Free Message' via Letter" }],
},
],
};
},
methods: { ...Event,
handleNodeClick(){} ,
defaultProps(){}
},
created: function () {},
};
</script>
<style>
</style>
......@@ -13,12 +13,12 @@
<c-col :span="11">
<el-form-item
label="业务编号"
prop="cptp.recget.sdamod.dadsnd"
prop="cpdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.cptp.recget.sdamod.dadsnd"
v-model="model.cpdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
disabled
......@@ -322,6 +322,7 @@
:disabled="
model.cpdgrp.cbs.nom1.amt === '0.000'
"
@change="swftypChange"
>
<!-- :disabled="model.cptp.liqtyp != 'C' && model.cptp.liqtyp != 'S' && model.cptp.liqtyp != ''" -->
<el-option
......@@ -465,14 +466,13 @@ export default {
...Event,
onCptpGetref() {},
onCptpGetmod() {},
},
created: function () {},
computed: {
flag() {
return (
this.model.cpdgrp.orc.pts.extkey == "" ||
this.model.cpdgrp.rec.ownref != ""
this.model.cpdgrp.orc.pts.extkey == ""
// && this.model.cpdgrp.rec.ownref != ""
);
},
},
......
......@@ -11,7 +11,7 @@
:validate-on-rule-change="false"
>
<el-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="Overview" name="opnp1">
<el-tab-pane label="汇款信息" name="opnp1">
<!--PD000020 -->
<c-content>
<m-opnp1 :model="model" :codes="codes" />
......@@ -23,7 +23,7 @@
<m-AdditionalInfo :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="账务" name="setpan">
<!--PD000000 -->
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
......@@ -33,17 +33,17 @@
<m-glepan :model="model" :codes="codes" ref="glepan"/>
</el-tab-pane>
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<!--PD000000 -->
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="报文及面函" name="docpan">
<!--PD000529 -->
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="附件" name="doctre">
<!--PD000546 -->
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
......@@ -76,6 +76,14 @@
<el-tab-pane label="Payment 103 PYE USD" name="Payment103">
<m-Payment :model="model" :codes="codes" />
</el-tab-pane>
<!-- <el-tab-pane label="Payment 103 PYE USD" name="Payment103">
<m-Payment103 :model="model" :codes="codes" />
</el-tab-pane> -->
<!-- <el-tab-pane label="Payment 202 PYE USD" name="Payment202">
<m-Payment202 :model="model" :codes="codes" />
</el-tab-pane> -->
</el-tabs>
</el-form>
</div>
......@@ -94,7 +102,6 @@ import Default from "~/model/Cptopn/Default";
import Check from "~/model/Cptopn/Check";
import Opnp1 from "./Opnp1";
import Coninfp from "./Coninfp";
import Doctre from "./Doctre";
import Finp from "./Finp";
import Wg from "./Wg";
import Cnyp from "./Cnyp";
......@@ -103,7 +110,10 @@ import Dbb from "./Dbb.vue"
import Outp from "./Outp.vue"
import AdditionalInfo from "./AdditionalInfo.vue"
import Payment from "./Payment103.vue"
// import Payment103 from "./Det103.vue"
// import Payment202 from "./Det202.vue"
import Doctre from "~/views/Public/Doctre";
import Glepan from "~/views/Public/Glepan"
import Setpan from "~/views/Public/Setpan"
import Docpan from "~/views/Public/Docpan"
......@@ -124,7 +134,10 @@ export default {
"m-dbb": Dbb,
"m-outp": Outp,
"m-AdditionalInfo": AdditionalInfo,
"m-Payment": Payment
"m-Payment": Payment,
// "m-Payment103": Payment103,
// "m-Payment202": Payment202
},
provide() {
return {
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.cur">
<c-select v-model="model.dedgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.amt">
<c-input v-model="model.dedgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.cur">
<c-select v-model="model.dedgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.amt">
<c-input v-model="model.dedgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="dedgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.dedgrp.blk.addamtcov" maxlength="35" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Description of Goods" prop="dedgrp.blk.lcrgod">
<c-input type="textarea" v-model="model.dedgrp.blk.lcrgod" maxlength="65" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrgodButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwfwms" data-path=".detp.hwfwms" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwtype" data-path=".detp.hwtype" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Goods Code for Statistics" prop="dedgrp.rec.stagod">
<c-select v-model="model.dedgrp.rec.stagod" style="width:100%" placeholder="请选择Goods Code for Statistics">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="单据条款" prop="dedgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.dedgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="附加条款" prop="dedgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.dedgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="给付款、" prop="dedgrp.blk.insbnk">
<c-input type="textarea" v-model="model.dedgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入给付款、" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</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/Detame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Partial Shipment" prop="dedgrp.rec.shppar">
<c-select v-model="model.dedgrp.rec.shppar" style="width:100%" placeholder="请选择Partial Shipment">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwzydi" data-path=".detp.hwzydi" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" style="width:100%" placeholder="请选择分期装运/提供服务">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.shpfro">
<c-input type="textarea" v-model="model.dedgrp.rec.shpfro" maxlength="35" show-word-limit placeholder="请输入分期装运/提供服务" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分期时镧表" prop="dedgrp.rec.fqtime">
<c-input type="textarea" v-model="model.dedgrp.rec.fqtime" maxlength="35" show-word-limit placeholder="请输入分期时镧表" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="货物运输或交货方式/服务方式" prop="dedgrp.rec.shpto">
<c-input type="textarea" v-model="model.dedgrp.rec.shpto" maxlength="35" show-word-limit placeholder="请输入货物运输或交货方式/服务方式" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="运输方式" prop="dedgrp.rec.tratyp">
<c-select v-model="model.dedgrp.rec.tratyp" style="width:100%" placeholder="请选择运输方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.detp.sdysfs" data-path=".detp.sdysfs" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="输入运输方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="35" show-word-limit placeholder="请输入输入运输方式" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input type="textarea" v-model="model.dedgrp.rec.shppro" maxlength="35" show-word-limit placeholder="请输入服务提供地点" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入合同编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同币种" prop="dedgrp.rec.concur">
<c-select v-model="model.dedgrp.rec.concur" style="width:100%" placeholder="请选择合同币种">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="合同金额" prop="dedgrp.rec.conamt">
<c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入合同金额"></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="22" :offset="1">
<el-form-item label="Printf of info Export L/C">
</el-form-item>
</c-col>
<!-- XMLPanel prtpan的内置block -->
<c-col :span="22" :offset="1">
<el-form-item label="" label-width="20px" prop="prtpanblk">
<c-input
type="textarea"
:rows="20"
v-model="model.prtpanblk"
maxlength="200"
show-word-limit
placeholder="请输入XMLPanel prtpan的内置block"
></c-input>
</el-form-item>
<c-col :span="12">
<el-form-item label="声明" prop="dedgrp.blk.stamet">
<c-input type="textarea" v-model="model.dedgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
......@@ -23,7 +12,7 @@
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"
import Event from "~/model/Detame/Event"
export default {
inject: ['root'],
......
<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">
<!--PD000017 -->
<el-tab-pane label="PD000017" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000405 -->
<el-tab-pane label="PD000405" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000494 -->
<el-tab-pane label="PD000494" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000525 -->
<el-tab-pane label="PD000525" name="detp2">
<m-detp2 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000548 -->
<el-tab-pane label="PD000548" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="PD000001" name="aamp">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Detame from "~/model/Detame"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Detame/Check"
import Default from "~/model/Detame/Default"
import Pattern from "~/model/Detame/Pattern"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Detp1 from "./Detp1"
import Detp2 from "./Detp2"
import Stament from "./Stament"
import Aamp from "./Aamp"
export default {
name: "Detame",
components:{
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-detp1" : Detp1,
"m-detp2" : Detp2,
"m-stament" : Stament,
"m-aamp" : Aamp,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "detame",
model: new Detame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入detame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.cur">
<c-select v-model="model.dedgrp.cbs.max2.cur" style="width:100%" placeholder="请选择Additional Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Additional Amount" prop="dedgrp.cbs.max2.amt">
<c-input v-model="model.dedgrp.cbs.max2.amt" placeholder="请输入Additional Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.cur">
<c-select v-model="model.dedgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择Open Add. Amount">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Add. Amount" prop="dedgrp.cbs.opn2.amt">
<c-input v-model="model.dedgrp.cbs.opn2.amt" placeholder="请输入Open Add. Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Covered" prop="dedgrp.blk.addamtcov">
<c-input type="textarea" v-model="model.dedgrp.blk.addamtcov" maxlength="35" show-word-limit placeholder="请输入Covered" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="24">
<el-form-item label="货物描述" prop="dedgrp.blk.lcrgod">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货物类型" prop="dedgrp.rec.stagod">
<c-select v-model="model.dedgrp.rec.stagod" style="width:70%" placeholder="请选择货物类型">
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="单据要求" prop="dedgrp.blk.lcrdoc">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="附加条款" prop="dedgrp.blk.adlcnd">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示" prop="dedgrp.blk.insbnk">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.dedgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" ></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.detp.hwfwms" data-path=".detp.hwfwms" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwtype" data-path=".detp.hwtype" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="单据条款" prop="dedgrp.blk.lcrdoc">
<c-input type="textarea" v-model="model.dedgrp.blk.lcrdoc" maxlength="65" show-word-limit placeholder="请输入单据条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onLcrdocButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="附加条款" prop="dedgrp.blk.adlcnd">
<c-input type="textarea" v-model="model.dedgrp.blk.adlcnd" maxlength="65" show-word-limit placeholder="请输入附加条款" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onAdlcndButtxmsel">
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="给付款、" prop="dedgrp.blk.insbnk">
<c-input type="textarea" v-model="model.dedgrp.blk.insbnk" maxlength="65" show-word-limit placeholder="请输入给付款、" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onInsbnkButtxmsel">
...
</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/Detopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="分批装运货物" prop="dedgrp.rec.shppar">
<c-select v-model="model.dedgrp.rec.shppar" style="width:50%" placeholder="请选择">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:50%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="dedgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.dedgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="dedgrp.rec.tratyp">
<c-col :span="10">
<c-select v-model="model.dedgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" :disabled="model.dedgrp.rec.mytype == 'F'">
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-col>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'H'" label="手输运输方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == 'F'" label="服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.dedgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="dedgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.dedgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="dedgrp.rec.conno">
<c-input v-model="model.dedgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同金额" prop="dedgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.dedgrp.rec.concur" style="width:90%" placeholder="请选择">
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input v-model="model.dedgrp.rec.conamt" placeholder="请输入"></c-input>
</c-col>
</el-form-item>
</c-col>
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="货物转运地(港)" prop="dedgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpfro" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="货物目的地/交货地(港)" prop="dedgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shpto" :disabled="model.dedgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="dedgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.dedgrp.rec.shppro" :disabled="model.dedgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.hwzydi" data-path=".detp.hwzydi" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.detp.sdysfs" data-path=".detp.sdysfs" > </span>
</c-col>
-->
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Detopn/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-content class="eibs-tab" :height="200">
<div class="infTopBtn">
<c-button size="small" type="primary">toSearch</c-button>
<el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled>Use</c-button>
<c-button size="small" type="primary" disabled>Loginfo</c-button>
<c-button size="small" type="primary">Exit</c-button>
</div>
<c-row class="infrow" style="margin-top:50px;">
<c-col :span="8" :offset="1">
<c-checkbox v-model="model.infcon.chksubcon">
incl. all subcontracts
</c-checkbox>
</c-col>
<c-col :span="14">
<c-checkbox v-model="model.infcon.chktrnsta">
only active transactions
</c-checkbox>
</c-col>
<!-- stream for TRN to selected contract -->
<c-col :span="22" :offset="1">
<el-form-item label-width="10px" prop="infcon.trnstm">
<c-input
type="textarea"
:rows="12"
v-model="model.infcon.trnstm"
placeholder="请输入stream for TRN to selected contract"
></c-input>
</el-form-item>
</c-col>
</c-row>
</c-content>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="声明" prop="dedgrp.blk.stamet">
<c-input type="textarea" v-model="model.dedgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"
import Event from "~/model/Detopn/Event"
export default {
inject: ['root'],
......
<template>
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<!-- <el-button size="small">保存模板</el-button> -->
<!-- <el-button size="small">使用模板</el-button> -->
<el-button size="small">制裁信息</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000494 -->
<el-tab-pane label="其他当事人" name="detp1">
<c-content>
<m-detp1 :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000525 -->
<el-tab-pane label="详细信息" name="detp2">
<m-detp2 :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000405 -->
<el-tab-pane label="单据要求" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用及账务" name="setpan">
<c-content>
<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="engp">
<!--PD000027 -->
<c-content>
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000548 -->
<!--
<el-tab-pane label="PD000548" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
-->
<!--PD000001 -->
<!--
<el-tab-pane label="PD000001" name="aamp">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Detopn from "~/model/Detopn";
import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Check from "~/model/Detopn/Check";
import Default from "~/model/Detopn/Default";
import Pattern from "~/model/Detopn/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Detp1 from "./Detp1";
import Detp2 from "./Detp2";
import Stament from "./Stament";
import Aamp from "./Aamp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Detopn",
components:{
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-detp1" : Detp1,
"m-detp2" : Detp2,
"m-stament" : Stament,
"m-aamp" : Aamp,
"m-setpan" : Setpan,
"m-glepan": Glepan,
"m-engp": Engp,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-limitbody" : Limitbody,
},
provide() {
return {
root: this
}
},
// mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data(){
return {
tabVal: "",
trnName: "detopn",
model: new Detopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
tabClick(){
}
},
created:async function(){
console.log("进入detopn交易");
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if(rtnmsg.respCode == SUCCESS)
{
//更新数据
Utils.copyValueFromVO(this.model,rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<el-table
:data="data"
border
stripe
:show-header="false"
:cell-style="cellSttyle"
>
<el-table-column prop="title" align="center">
<template slot-scope="scope">
<c-button
@click.native="onNarBtnClick(scope.row.url, scope.row.hotsubx)"
:title="scope.row.title"
:disabled="scope.row.disabled"
>{{ scope.row.title }}</c-button
>
<!-- <el-link
:disabled="scope.row.disabled"
:href="scope.row.url"
v-if="scope.row.title"
>{{ scope.row.title }}</el-link
> -->
</template>
</el-table-column>
</el-table>
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
export default {
inject: ["root"],
props: ["data", "model"],
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
cellSttyle: { height: "25px" },
};
},
methods: {
//各入口按钮请求
async onNarBtnClick(href, hotsubx) {
let rtnmsg = await this.executeRule(`cfgfil.hotsub${hotsubx}`);
console.log("cfgfil.code:" + this.model.cfgfil[`subtrn${hotsubx}`]);
if ((rtnmsg.respCode == SUCCESS)) {
this.$router.history.push(href);
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
},
};
</script>
<style>
a {
text-decoration-line: none;
color: #606266;
}
a:hover {
color: blue;
}
</style>
\ No newline at end of file
<template>
<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">
<!--PD000035 -->
<el-tab-pane label="查询" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<!-- </div> -->
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Detsel from "~/model/Detsel"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Detsel/Check"
import Default from "~/model/Detsel/Default"
import Pattern from "~/model/Detsel/Pattern"
import Sel from "./Sel"
export default {
name: "Detsel",
components:{
"m-sel" : Sel,
},
provide() {
return {
root: this
}
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "detsel",
model: new Detsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入detsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -180,7 +180,7 @@ export default {
root: this,
};
},
mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [CommonProcess,CommonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
......
......@@ -170,7 +170,7 @@
padding: 10px 0 10px 30px;
background-color: #f7faff;
}
.eContainer {
/* .eContainer {
padding: 3px 15px;
}
} */
</style>
\ No newline at end of file
......@@ -318,9 +318,8 @@
<c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="操作" width="140" fixed="right">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)"
>操作</a
>
<c-button size="small" type="primary" style="margin-left: 0" @click="onInfbutDsp(scope.$index,scope.row)">Display</c-button
>
</template>
</el-table-column>
</c-istream-table>
......@@ -342,29 +341,32 @@ export default {
searchToggle: true,
stmData: {
columns: [
'1 1 "Reference" 120 ',
'2 1 "Resp. User" 1200 ',
'3 1 "PYE NO." 120 ',
'1 2 "Party Number" 150',
'2 2 "Payee Customer" 150',
'3 2 "PYE.Customer CN" 150',
'1 3 "Party Number" 150',
'2 3 "Ord.Customer" 150',
'3 3 "Ord.Customer CN" 150',
'1 4 "Party Number" 150',
'2 4 "Ord.Institution" 150',
'3 4 "ORC NO." 150',
'1 5 "Party Number" 150',
'2 5 "Paying Bank" 150',
'1 6 "Opened" 100',
'2 6 "Value" 100',
'1 7 "Closed" 100',
'1 8 "Cur" 100',
'2 8 "Cur" 100',
'1 9 "Paym.Amount" 150',
'2 9 "Amount rcvd." 150',
'1 10 "Pyectycod" 150',
'1 11 "Orcctycod" 150',
'1 1 "Reference" 150 ',
'2 2 "Resp. User" 100 ',
'12 3 "PYE NO." 100 ',
'9 4 "Payee.Party Number" 150',
'10 5 "Payee Customer" 250',
'11 6 "PYE.Customer CN" 130',
'13 7 "Ord.Party Number" 150',
'14 8 "Ord.Customer" 250',
'15 9 "Ord.Customer CN" 130',
'16 10 "1.Party Number" 150',
'17 11 "Ord.Institution" 200',
'12 12 "ORC NO." 150',
'18 13 "2.Party Number" 150',
'19 14 "Paying Bank" 150',
//'3 15 "Opened" 140',
{index:3,position:15,width:140,pattern:'time',label:'Opened'},
//'4 16 "Value" 140',
{index:4,position:16,width:140,pattern:'time',label:'Value'},
//'5 17 "Closed" 140',
{index:5,position:17,width:140,pattern:'time',label:'Closed'},
'20 18 "1.Cur" 80',
'22 19 "2.Cur" 80',
'21 20 "Paym.Amount" 120',
'23 21 "Amount rcvd." 120',
'6 22 "Pyectycod" 100',
'7 23 "Orcctycod" 100',
],
data: [],
},
......@@ -372,7 +374,7 @@ export default {
},
methods: {
...Event,
handleSearch(callback) {
/* handleSearch(callback) {
setTimeout(() => {
this.$notify.info({
title: "提示",
......@@ -381,7 +383,7 @@ export default {
// 执行子组件回调函数控制按钮状态
callback();
}, 1000);
},
}, */
handleReset() {},
},
created: function () {},
......
......@@ -32,13 +32,14 @@
<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="tabClick">
<m-infsea v-show="!showPanel" :model="model" :codes="codes" @updateShowPanel="updateShowPanel($event)"/>
<c-tabs v-show="showPanel" v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="查询信息" name="infsea">
<!-- <el-tab-pane label="查询信息" name="infsea">
<c-content :height="120">
<m-infsea :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<el-tab-pane label="汇款信息" name="infconp">
<c-content>
......@@ -97,6 +98,15 @@
</el-tab-pane>
</c-tabs>
</el-form>
<div>
<c-button
v-show="showPanel"
style="margin-left: 90%;bottom: 10%;position:sticky"
size="small"
@click="showPanel=false">
返回
</c-button>
</div>
</div>
</template>
<script>
......@@ -151,7 +161,7 @@
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "infsea",
tabVal: "",
trnName: "infcpd",
model: new Infcpd().data,
checkRules: Check,
......@@ -160,12 +170,21 @@
rules: null,
codes: { ...CodeTable },
showflg: true,
showPanel:false,
}
},
methods: {
tabClick() {
}
},
async updateShowPanel(value) {
this.showPanel = value;
if(value){
this.tabVal = "infconp"
}else{
this.tabVal = ""
}
},
},
created: async function () {
console.log("进入infcpd交易");
......
......@@ -254,8 +254,8 @@ export default {
}
</script>
<style scoped>
.eContainer {
/* .eContainer {
padding: 3px 15px;
}
} */
</style>
<template>
<c-content class="eibs-tab" :height="200">
<div class="infTopBtn">
<c-button size="small" type="primary">toSearch</c-button>
<el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled>Use</c-button>
<c-button size="small" type="primary" disabled>Loginfo</c-button>
<c-button size="small" type="primary">Exit</c-button>
</div>
<c-row class="infrow" style="margin-top:50px;">
<!-- Additional Conditions -->
<c-col :span="19" :offset="1">
<el-form-item label="附加条件" label-width="100px" prop="ledgrp.blk.adlcnd">
<c-input
type="textarea"
:rows="16"
v-model="model.ledgrp.blk.adlcnd"
maxlength="65"
show-word-limit
placeholder="请输入附加条件"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onAdlcndButtxmsel"
>
...
</c-button>
</c-col>
<!-- Special payment conditions for beneficiary exists -->
<c-col :span="24" class="adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcbenflg">
受益人特殊付款条款
</c-checkbox>
</c-col>
<!-- Special Payment Conditions for specified Bank only -->
<c-col :span="22" class="adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.spcrcbflg">
收款银行特殊付款条款
</c-checkbox>
</c-col>
<!-- Red/Green Clause -->
<c-col :span="22" :offset="1" class="adcp_cheak">
<c-checkbox v-model="model.ledgrp.rec.redclsflg">
Red/Green Clause
</c-checkbox>
</c-col>
<!-- Instructions to Pay,accept,negot,bank -->
<c-col :span="19" :offset="1">
<el-form-item label="付款、承兑、议付银行指示" label-width="100px" prop="ledgrp.blk.insbnk">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.insbnk"
maxlength="65"
show-word-limit
placeholder="付款、承兑、议付银行指示"
></c-input>
</el-form-item>
</c-col>
<c-col :span="3" :offset="1">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onInsbnkButtxmsel"
>
...
</c-button>
</c-col>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
.adcp_button{
margin: 20px 0 0 -10px;
}
.adcp_cheak {
margin: 0px 0 10px 150px;
}
</style>
<template>
<div class="busnavbar">
<div class="busnavbar-items">
<c-button v-for="(item,index) in codeList" v-bind:key="index" @click.native="onNarBtnClick(item.code,index)" :title="item.title" :disabled="item.isDis==='N'">{{item.label}}</c-button>
<c-button
v-for="(item,index) in codeList"
v-bind:key="index"
@click.native="onNarBtnClick(item.code,index)"
:title="item.title"
:disabled="item.isDis==='N'">{{item.label}}
</c-button>
</div>
</div>
</template>
......@@ -29,18 +35,16 @@ export default {
},
methods:{
//各入口按钮请求
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.$emit("onChoose",code.toLowerCase());
}else{
async onNarBtnClick(code,i){
this.model.cfgfil.subtrn1= code
let rtnmsg = await this.executeRule("cfgfil.hotsub1")
console.log("cfgfil.code:" + this.model.cfgfil.subtrn1);
if(rtnmsg.respCode == SUCCESS){
this.$emit("onChoose",code.toLowerCase());
}else{
}
},
}
},
},
computed:{
codeList(){
......@@ -48,7 +52,7 @@ export default {
return this.navcode.map(item=>{
let entireItem = {...item}
//TODO 根据数据判断当前的code,是否可以继续
// entireItem.enable = item.isDis
//entireItem.enable = item.isDis
return entireItem
})
}
......@@ -56,9 +60,9 @@ export default {
watch:{
"ownref":async function(n, o){
if(!this.ownref){
console.log("11111")
// onTigger()
return;
console.log("11111")
//onTigger()
return;
}
}
},
......@@ -66,20 +70,19 @@ export default {
mounted(){
this.$nextTick(function(){
this.$on('childmethods',async function(){
//请求按钮数据
this.model.lidgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
//请求按钮数据
this.model.lidgrp.rec.ownref = this.ownref
console.log("ownref:" + this.ownref );
let rtnmsg = await this.executeRule("lidgrp.rec.ownref")
if(rtnmsg.respCode == SUCCESS){
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.lidgrp.rec.inr = rtnmsg.data.lidgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
// console.log("btnstmStr:"+btnStr);
//重置数组
this.navcode.length = 0
this.model.cfgfil.btnstm = rtnmsg.data.cfgfil_btnstm.rows
//给inr赋值,后面弹窗里面的按钮请求会用到
this.model.lidgrp.rec.inr = rtnmsg.data.lidgrp_rec_inr
const idx = this.model.cfgfil.btnstm.length
let btnStr = this.model.cfgfil.btnstm
//console.log("btnstmStr:"+btnStr);
for(let i=0; i < idx; i++){
//获取数组中每行的数据
let arr = btnStr[i].split("\t");
......
<template>
<c-content class="eibs-tab" :height="200">
<div class="infTopBtn">
<c-button size="small" type="primary">toSearch</c-button>
<el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled>Use</c-button>
<c-button size="small" type="primary" disabled>Loginfo</c-button>
<c-button size="small" type="primary">Exit</c-button>
</div>
<c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-istream-table :list="this.model.infbut.dspstm" :columns="columns">
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column>
</c-istream-table>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
curownref:"",
initdialog:false,
columns:[
"1 1 \"Ext.Id\" 150",
"1 2 \"Type of Entry\" 130",
"1 3 \"Type\" 100",
"1 4 \"Date\" 130",
"1 5 \"Cur\" 100",
"2 5 \"Cur\" 100",
"1 6 \"Amount\" 130",
"2 6 \"Conv.Amount\" 130",
"1 7 \"Rel.\" 100",
"1 8 \"Created\" 130",
"2 8 \"End Date\" 130",
"1 9 \"Description\" 150",
"2 9 \"Account\" 130",
"1 10 \"Trn ID\" 130",
"2 10 \"CBE ID\" 130",
]
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<c-content class="eibs-tab" :height="200">
<div class="infTopBtn">
<c-button size="small" type="primary">toSearch</c-button>
<el-button-group>
<c-button size="small" type="primary" icon="el-icon-arrow-left" disabled></c-button>
<c-button size="small" type="primary" icon="el-icon-arrow-right" disabled></c-button>
</el-button-group>
<c-button size="small" type="primary">Print</c-button>
<c-button size="small" type="primary" disabled>Use</c-button>
<c-button size="small" type="primary" disabled>Loginfo</c-button>
<c-button size="small" type="primary">Exit</c-button>
</div>
<c-row class="infrow" style="margin-top:50px;">
<c-col :span="11" :offset="1">
<el-form-item label="CBS Column" prop="infcon.cbctxt">
<c-select
v-model="model.infcon.cbctxt"
style="width:100%"
placeholder="请选择CBS Column">
</c-select>
</el-form-item>
</c-col>
</c-row>
<c-row style="margin-top:20px; padding: 0 10px 0 10px;">
<c-istream-table :list="this.model.infcon.cbbstm" :columns="columns">
<el-table-column prop="op" label="OP" width="100">
<template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
</template>
</el-table-column>
</c-istream-table>
</c-row>
</c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infled/Event"
import cPage from '../../../components/c-page.vue';
export default {
components: { cPage },
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
curownref:"",
initdialog:false,
columns:[
"1 1 \"Ext.Id\" 150",
"1 2 \"Begin\" 150",
"1 3 \"End\" 150",
"1 4 \"Cur\" 120",
"1 5 \"Balance\" 150",
"1 6 \"Cur\" 120",
"1 7 \"Converted Amount\" 150",
"1 8 \"CBE ID\" 150",
]
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</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