Commit 82386829 by 郭旭

Merge remote-tracking branch 'origin/development-202206' into development-202206

parents 7e1612c7 ccc86434
<template>
<c-rich-text-editor
ref="editor"
v-model="value"
v-bind="$attrs"
@blur="blurEvent"
......@@ -18,16 +19,33 @@ export default {
};
},
watch: {
model() {
let rows = this.model["rows"] || [];
this.value = this.show(rows);
model: function (newVal, oldVal) {
this.updateValue();
},
},
mounted() {
this.updateValue();
},
methods: {
updateValue() {
let rows = this.model["rows"] || [];
let enabled = false;
if (this.$refs.editor.quill) {
enabled = this.$refs.editor.quill.isEnabled();
this.$refs.editor.quill.enable(false);
}
this.value = this.show(rows);
this.$nextTick(() => {
if (this.$refs.editor.quill) {
this.$refs.editor.quill.enable(enabled);
}
});
},
// 修改文本后的失去焦点事件
blurEvent(quill) {
if (this.model && this.model.rows) {
// const v = this.format(this.value);
const v = this.format(quill.getText());
const v = this.format(this.value);
// const v = this.format(quill.getText());
this.model["rows"].length = 0;
this.model["rows"].unshift(v);
// this.$emit("change", v);
......@@ -56,13 +74,13 @@ export default {
return strs;
},
format: function (value) {
if (this.isXml) {
var len = value.length;
value = value.replace(/\n/g, "<br/>");
var head = "<?xml version='1.0'?><tdfmt sel-start='" + len + "'>";
var tail = "</tdfmt>";
return head + value + tail;
}
// if (this.isXml) {
// var len = value.length;
// value = value.replace(/\n/g, "<br/>");
// var head = "<?xml version='1.0'?><tdfmt sel-start='" + len + "'>";
// var tail = "</tdfmt>";
// return head + value + tail;
// }
return value;
},
},
......
......@@ -7271,6 +7271,11 @@ const CodeTable = {
{ label: "备用信用证", value: "STBY" },
{ label: "其他", value: "DEPU" },
],
legfrm3: [
{ label: "见索即付保函", value: "DGAR" },
{ label: "备用信用证", value: "STBY" },
{ label: "其他", value: "UNDK" },
],
deloric: [
{ label: "用集合", value: "COLL" },
{ label: "用快递(例如Fedex, DHL, UPS)", value: "COUR" },
......@@ -7694,7 +7699,25 @@ const CodeTable = {
{ label: "对方是境外联署机构,即双方有共同母公司,但相互持有表决权<10%或相互不持有表决权", value: "3" },
{ label: "对方与本机构/被代理居民机构/委托人吴关联关系、关系未知,或两机构均处于中国境内", value: "4" },
],
tag23h:[
{ label: 'General information advice (DTA/E,SWT,BOL)', value: 'GENINFAD' },
{ label: 'Financing request (SWT,BOL)', value: 'REQFINAN' },
{ label: 'Advice of fraud attempt (SWT,BOL)', value: 'FRAUDMSG' },
{ label: 'Status information (BOL)', value: 'REIMBURS' },
{ label: 'Opening of a service call by Trade Operations (SWT,BOL)', value: 'CLSVOPEN' },
{ label: 'Closing of a service call by Trade Operations (SWT,BOL)', value: 'CLSVCLOS' },
{ label: 'Other request (BOL,DTA/E,SWT)', value: 'OTHERFNC' },
{ label: 'Confirmation (BOL)', value: 'CNF' },
{ label: 'Status information (BOL)', value: 'STA' },
{ label: 'Correction of Order (DTA)', value: 'DTAKORRE' },
{ label: 'Status request (BOL,DTA/E)', value: 'DTASTATU' },
{ label: 'Pre-debit notification (SWT)', value: 'PREDENOT' },
{ label: 'Transfer of a undertaking (SWT,BOL)', value: 'TRANSFER' },
{ label: 'Issue of a free-form undertaking such as a dependent guarantee (SWT,BOL)', value: 'ISSUANCE' },
{ label: 'Request to issue an undertaking (SWT,BOL)', value: 'REQISSUE' },
{ label: 'Request to amend an undertaking (BOL,SWT)', value: 'REQAMEND' },
{ label: 'Amendment of a free-form undertaking e.g. dependent guar. (BOL,SWT)', value: 'ISSAMEND' },
],
}
export default CodeTable;
......@@ -21,7 +21,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -46,7 +46,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -61,7 +61,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -21,7 +21,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -34,7 +34,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Getfre{
constructor () {
this.data = {
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
......@@ -120,67 +125,67 @@ export default class Getfre{
det:"", // Query/ Answer .fremsg.det
tag77a:"", // Narrative (77A) .fremsg.tag77a
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // 减少后的结算金额 .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
redamt:"", // 减少的金额 .setmod.redamt
setamt:"", // Reduced Amount to settle .setmod.setamt
redamttxt:"", // 注释 .setmod.redamttxt
},
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
},
swiadd:{
amenbr:"", // Number of Amendm. .trnmod.swiadd.amenbr
amestatxt:"", // Reason for Rejection .trnmod.swiadd.amestatxt
},
},
// setmod:{
// docamttyplab:"", // settled amount description as label .setmod.docamttyplab
// retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
// ref:"", // our reference .setmod.ref
// doccur:"", // 减少后的结算金额 .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
// redamt:"", // 减少的金额 .setmod.redamt
// setamt:"", // Reduced Amount to settle .setmod.setamt
// redamttxt:"", // 注释 .setmod.redamttxt
// },
// 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
// },
// swiadd:{
// amenbr:"", // Number of Amendm. .trnmod.swiadd.amenbr
// amestatxt:"", // Reason for Rejection .trnmod.swiadd.amestatxt
// },
// },
pageId: "" // ctx的key
}
}
......
......@@ -114,7 +114,7 @@ export default {
"fremsg.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
{max: 300,message:"长度不能超过300"}
],
"fremsg.othccp.ptsget.sdamod.dadsnd":[
......
......@@ -14,6 +14,7 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
onExtkey() {},
async onGitpButdifhiscovgodsrv(){
let rtnmsg = await this.executeRule("gitp.butdifhiscovgodsrv")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -447,7 +447,7 @@ export default {
"gidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"gidgrp.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
......
import Utils from "~/utils"
/**
* Gitpca Check规则
*/
let checkObj = {
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"newref" :null,
"setmod.docamt" :null,
"gidgrp.rec.expdat" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Gitpca Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gidgrp.cbs.opn1.cur" :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,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gidgrp.rec.hndtyp" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"gidgrp.cbs.max.cur" :Utils.defaultFunction,
"gidgrp.cbs.max.amt" :Utils.defaultFunction,
"gidgrp.rec.purcan" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gidgrp.iss.pts.nam" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"gidgrp.ben.pts.nam" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"gidgrp.apl.pts.nam" :Utils.defaultFunction,
"gidgrp.ctr.pts.nam" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSetmodDet(){
let rtnmsg = await this.executeRule("setmod.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButshw(){
let rtnmsg = await this.executeRule("trndoc.butshw")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButadd(){
let rtnmsg = await this.executeRule("trndoc.butadd")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButnew(){
let rtnmsg = await this.executeRule("trndoc.butnew")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButattto(){
let rtnmsg = await this.executeRule("trndoc.butattto")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButdel(){
let rtnmsg = await this.executeRule("trndoc.butdel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onTrndocButatt(){
let rtnmsg = await this.executeRule("trndoc.butatt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onWrkpDet(){
let rtnmsg = await this.executeRule("wrkp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOthpDet(){
let rtnmsg = await this.executeRule("othp.det")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet1(){
let rtnmsg = await this.executeRule("limpts.get1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimptsGet2(){
let rtnmsg = await this.executeRule("limpts.get2")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLimmodTrycal(){
let rtnmsg = await this.executeRule("limmod.trycal")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"gitp0.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gitp0.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.ctr.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gidgrp.iss.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"newref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.swiadd.strinf":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"canmsg":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Gitpca{
constructor () {
this.data = {
gitp0:{
explab:"", // Label unlimited Validity .gitp0.explab
lialab:"", // Label unlimited lLability .gitp0.lialab
aplmullab:"", // Label, that is set, if there are multiple applicants .gitp0.aplmullab
expfldlab:"", // Label for Field Validity .gitp0.expfldlab
liafldlab:"", // Label for Field Lability .gitp0.liafldlab
recget:{
sdamod:{
seainf:"", // .gitp0.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gitp0.recget.sdamod.dadsnd
},
},
},
gidgrp:{
rec:{
ownref:"", // Reference .gidgrp.rec.ownref
nam:"", // Externally Displayed Name to Identify the Contract .gidgrp.rec.nam
hndtyp:"", // Handling Type .gidgrp.rec.hndtyp
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purcan:"", // Reason of Cancelation .gidgrp.rec.purcan
},
cbs:{
max:{
cur:"", // Currency .gidgrp.cbs.max.cur
amt:"", // Balance .gidgrp.cbs.max.amt
},
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
ctr:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
},
newref:"", // New Reference .newref
trnmod:{
swiadd:{
strinf:"", // Sender to receiver info Tag 72 .trnmod.swiadd.strinf
},
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
autflg:"", // Authentication .autflg
mtabut:{
clsflg:"", // Close Flag .mtabut.clsflg
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
canmsg:"", // 撤销文书 .canmsg
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
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
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Cptadv from "./Cptadv"
import Gctadd from "./Gctadd"
import Gitpca from "./Gitpca"
import Botrad from "./Botrad"
import Gitatt from "./Gitatt"
......@@ -344,6 +345,7 @@ import Dbdusr from "~/views/Statics/Dbdusr";
*/
const BusRouter = [
{ path:'gctadd',component:Gctadd, name:'Gctadd', meta:{title:'保函索赔编辑参考号'}},
{ path:'gitpca',component:Gitpca, name:'Gitpca', meta:{title:'关税保函预注销'}},
{ path:'gitfee',component:Gitfee, name:'Gitfee', meta:{title:'进口保函收费'}},
{ path:'getfee',component:Getfee, name:'Getfee', meta:{title:'附加传入信息'}},
{ path: 'gitatt', component: Gitatt, name: 'Gitatt', meta: { title: '绑定电子凭证' } },
......@@ -525,6 +527,7 @@ const BusRouter = [
{ path: 'gitcrj', component: Gitcrj, name: 'Gitcrj', meta: { title: '进口保函拒付' } },
{ path: 'gctcan', component: Gctcan, name: 'Gctcan', meta: { title: '保函赔付注销' } },
{ path: 'getfre', component: Getfre, name: 'Getfre', meta: { title: '自由格式报文' } },
{ path: 'gitfre', component: Gitfre, name: 'Gitfre', meta: { title: '自由格式报文' } },
{ path: 'gitdla', component: Gitdla, name: 'Gitdla', meta: { title: '减额后处理' } },
{ path: 'getfee', component: Getfee, name: 'Getfee', meta: { title: '费用结算' } },
......
......@@ -46,37 +46,46 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="12">
<c-form-item
label="索赔金额"
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
<c-select
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
placeholder=""
style="width: 100%"
disabled
placeholder="请输入索赔金额"
></c-input>
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<c-col :span="12">
<c-form-item
previewLabel="信用证金额"
style="text-align: left"
style="text-align: left ; width:100%"
label-width="5px"
prop="gcdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.gcdgrp.cbs.max.amt"
style="width: 100%"
placeholder="请输入索赔金额"
disabled
></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="11">
<c-col :span="12">
<c-form-item
label="保函余额"
prop="gcdgrp.cbs.opn1.cur"
......@@ -99,7 +108,7 @@
</c-form-item>
</c-col>
<c-col :span="8">
<c-col :span="12">
<c-form-item
previewLabel="信用证金额"
style="text-align: left"
......
......@@ -154,10 +154,16 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="8" class="centerLable">
<c-checkbox v-model="model.xxtfee.intmbu.umbflg"
<c-col :span="24">
<el-form-item
style="text-align: left"
label-width="0"
prop="xxtfee.intmbu.umbflg"
>
<c-checkbox v-model="model.xxtfee.intmbu.umbflg" class=""
>重新预定</c-checkbox
>
</el-form-item>
</c-col>
<!-- <c-col :span="13" >
......
......@@ -3,14 +3,14 @@
<!-- SF000077 : Query/ Answer -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000077')" prop="fremsg.det">
<c-form-item label="需求/答复" prop="fremsg.det">
<c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000077')" ></c-input>
</c-form-item>
</c-col>
<!-- SF000078 : Narrative (77A) -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000078')" prop="fremsg.tag77a">
<c-form-item label="叙述内容" prop="fremsg.tag77a">
<c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000078')" ></c-input>
</c-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- SF000256 : Form of Undertaking -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000256')" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000256')">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000257 : Undertaking Number -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000257')" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" :placeholder="$t('other.please_enter')+$t('fremsg.SF000257')"></c-input>
<c-col :span="24">
<c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item>
</c-col>
<!-- SF000258 : Issuer of Undertak. -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000258')" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000258')">
</c-select>
</el-form-item>
</c-col>
<!-- SF000289 : Extended Maturity -->
<c-col :span="12">
<el-form-item label="New Maturity Date" prop="fremsg.swiadd.newmatdat">
<c-date-picker type="date" v-model="model.fremsg.swiadd.newmatdat" style="width:100%" :placeholder="$t('other.please_enter')+'New Maturity Date'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="fremsg.issp.ptsget.sdamod.dadsnd">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="fremsg.iss.pts.extkey">
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="fremsg.issp.ptsget.sdamod.seainf">
<c-input v-model="model.fremsg.issp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onIsspDet">
{{$t('ptsp.CF000081')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="名称" prop="fremsg.iss.namelc">
<c-input type="textarea" v-model="model.fremsg.iss.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="发行人" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择发行人" :code="codes.payrol"
@change="eventFunction('fremsg.issrol')"
>
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="fremsg.iss.pts.adrblk">
<c-input type="textarea" v-model="model.fremsg.iss.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
<template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button style="margin: 0 0" size="small" type="primary" @click="">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="fremsg.iss.dbfadrblkcn">
<c-input type="textarea" v-model="model.fremsg.iss.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="fremsg.iss.adrelc">
<c-input type="textarea" v-model="model.fremsg.iss.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
</c-col>
<!-- SF000259 : Function -->
<c-col :span="12">
<el-form-item :label="$t('fremsg.SF000259')" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :placeholder="$t('other.please_enter')+$t('fremsg.SF000259')">
<c-col :span="24">
<el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select>
</el-form-item>
</c-col>
<!-- SF000260 : Details of Request -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000260')" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000260')" ></c-input>
<c-col :span="24">
<c-form-item label="请求的详细信息" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" :code="tag45d" :rows="5" maxlength="65" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -106,7 +85,7 @@ export default {
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
return {
}
},
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="业务信息" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
<el-collapse-item title="业务信息" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="赔偿声明" name="revp" v-if="model.fremsg.sndmt == 'REV'">
<m-revp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759p" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Rejp" name="Rejp" v-if="model.fremsg.sndmt=='AME'">
<m-rejp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'">
<m-fredet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Getamc/Event";
import Gitfrep1 from "./Gitfrep1";
import Mt759p from "./Mt759p";
import Detp from "./Detp";
import Fredet from "./Fredet";
import Revp from "./Revp";
import Rejp from "./Rejp";
export default {
components: {
"m-gitfrep1": Gitfrep1,
components: {
"m-gitfrep1": Gitfrep1,
"m-mt759p": Mt759p,
"m-detp": Detp,
"m-fredet": Fredet,
"m-revp": Revp,
"m-rejp": Rejp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["ovwp1"],
};
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
activeNames: ["ovwp1"],
}
},
methods:{...Event,handleChange(){}},
created:function(){
}
}
</script>
methods: { ...Event, handleChange() {} },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="自由格式报文">
<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">
<!--getfre PD000141 Common Messages -->
<el-tab-pane label="业务信息" name="ovwp">
<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"
>
<!--getfre PD000141 Common Messages -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<!--setmod PD000000 Settlement -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="备查/附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="报文/面函" name="docpan">
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-docpan :model="model" :codes="codes" />
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane :label="$t('trndoc.PD000546')" name="doctre">
<m-doctre :model="model" :codes="codes"/>
</el-tab-pane>
<!--fremsg PD000255 Message Details MT759 -->
<el-tab-pane :label="$t('fremsg.PD000255')" name="mt759p">
<m-mt759p :model="model" :codes="codes"/>
</el-tab-pane>
<!--setmod PD000020 Settlement Details Panel -->
<el-tab-pane :label="$t('setmod.PD000020')" name="detp">
<m-detp :model="model" :codes="codes"/>
</el-tab-pane>
<!--fremsg PD000076 Message Details -->
<el-tab-pane :label="$t('fremsg.PD000076')" name="fredet">
<m-fredet :model="model" :codes="codes"/>
</el-tab-pane>
<!--getfre PD000333 Declaration of Indemnity -->
<el-tab-pane :label="$t('getfre.PD000333')" name="revp">
<m-revp :model="model" :codes="codes"/>
</el-tab-pane>
<!--getfre PD000343 Rejection of Amendment -->
<el-tab-pane :label="$t('getfre.PD000343')" name="rejp">
<m-rejp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :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>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Getfre from "~/model/Getfre"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Getfre/Check"
import Default from "~/model/Getfre/Default"
import Pattern from "~/model/Getfre/Pattern"
import Gitfrep1 from "./Gitfrep1"
import Ovwp from "./Ovwp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Getfre from "~/model/Getfre";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Getfre/Check";
import Default from "~/model/Getfre/Default";
import Pattern from "~/model/Getfre/Pattern";
import Gitfrep1 from "./Gitfrep1";
import Ovwp from "./Ovwp";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "./Coninfp"
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Mt759p from "./Mt759p"
import Detp from "./Detp"
import Fredet from "./Fredet"
import Revp from "./Revp"
import Rejp from "./Rejp"
import Mt759p from "./Mt759p";
import Detp from "./Detp";
import Fredet from "./Fredet";
import Revp from "./Revp";
import Rejp from "./Rejp";
export default {
name: "Getfre",
name: "Getfre",
components:{
"m-ovwp" : Ovwp,
"m-gitfrep1" : Gitfrep1,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-mt759p" : Mt759p,
"m-detp" : Detp,
"m-fredet" : Fredet,
"m-revp" : Revp,
"m-rejp" : Rejp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "getfre",
trnType: "",
model: new Getfre().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "getfre",
trnType: "",
model: new Getfre().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入getfre交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入getfre交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -18,10 +18,14 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<el-form-item label-width="5px" prop="gidgrp.cbs.mac2.amt">
<c-input
class="m-input-currency"
v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入"
@keyup.enter.native="
defaultFunction('gidgrp.cbs.mac2.amt', model.gidgrp.cbs.mac2.amt)
"
></c-input>
</el-form-item>
</c-col>
......@@ -42,6 +46,7 @@
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
disabled
class="m-input-currency"
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入"
></c-input>
......
......@@ -95,6 +95,7 @@
v-model="model.gidgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认指示"
disabled
>
<el-option
v-for="item in codes.cnfdet"
......
......@@ -7,13 +7,13 @@
<el-form-item
v-if="model.gitp.gidtxtmodflgc == ''"
label="保函文本可变因素"
prop="gidgrp.blk.gtxgidtxt"
prop="gidgrp.blk.gidtxtc"
>
<c-input-xml
:disabled="model.gitp.gidtxtmodflgc == ''"
type="textarea"
:maxRows="14"
:model="model.gidgrp.blk.gtxgidtxtc"
:model="model.gidgrp.blk.gidtxtc"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素"
......@@ -24,14 +24,22 @@
label="保函文本可变因素 - 抵消保函文本"
prop="gidgrp.blk.gtxgidtxtc"
>
<c-input-xml
<!-- <c-input-xml
type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素 - 抵消保函文本"
></c-input-xml>
></c-input-xml> -->
<c-xml-format-editor
:model="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素 - 抵消保函文本"
@blur="setTxt2"
></c-xml-format-editor>
</el-form-item>
</c-col>
</c-col>
......
......@@ -18,9 +18,7 @@
<c-col :span="model.gidgrp.cbs.max.cur == 'CNY'? 20 : 24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
:disabled="
model.gidgrp.rec.fingua == 'N' || model.gidgrp.rec.fingua == ''
"
disabled
v-model="model.gidgrp.rec.cfaguatyp"
:style="model.gidgrp.cbs.max.cur == 'CNY'? 'width: 90%' :'width: 100%'"
placeholder="请选择对外担保类型"
......@@ -47,6 +45,7 @@
placeholder="请选择是否对外担保"
:code="codes.fingua"
@change="eventFunction('gidgrp.rec.fingua')"
disabled
>
</c-select>
</el-form-item>
......
......@@ -7,19 +7,19 @@
<c-col :span="16">
<c-col :span="24">
<el-form-item v-if="model.gitp.gidtxtmodflg == ''" label="保函文本可变因素" prop="gidgrp.blk.gidtxt">
<c-xml-format-editor :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="16"
:model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入保函文本可变因素">
<c-xml-format-editor :disabled="model.gitp.gidtxtmodflg == ''" key="model.gidgrp.blk.gidtxt" @blur="setTxt1"
:model="model.gidgrp.blk.gidtxt" placeholder="请输入保函文本可变因素">
</c-xml-format-editor>
</el-form-item>
<el-form-item v-if="model.gitp.gidtxtmodflg == 'X'" label="保函文本可变因素" prop="gidgrp.blk.gtxgidtxt">
<c-xml-format-editor type="textarea" :model="model.gidgrp.blk.gtxgidtxt" rows="16" maxlength="65"
show-word-limit placeholder="请输入保函文本可变因素"></c-xml-format-editor>
<c-xml-format-editor type="textarea" :model="model.gidgrp.blk.gtxgidtxt" key="model.gidgrp.blk.gtxgidtxt" @blur="setTxt2"
placeholder="请输入保函文本可变因素"></c-xml-format-editor>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="12" :offset="12">
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin: 0 0 0 10px" class="checkbox-left">修改保函文本</c-checkbox>
<c-checkbox v-model="model.gitp.gidtxtmodflg" style="margin: 0 0 0 10px" class="checkbox-left" @change="modflgChange">修改保函文本</c-checkbox>
</c-col>
<c-col :span="24" :offset="12">
<c-checkbox v-model="model.gitp.chkgidtxt" style="margin: 0 0 0 10px" class="checkbox-left">允许</c-checkbox>
......@@ -82,7 +82,42 @@ export default {
data() {
return {};
},
methods: { ...Event },
methods: {
...Event,
async modflgChange() {
const rtnmsg = await this.executeRule("gitp.gidtxtmodflg");
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
}
},
async setTxt1(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
this.$nextTick(() => fn())
}
});
},
async setTxt2(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
this.$nextTick(() => fn())
}
});
},
},
created: function () { },
};
</script>
......
......@@ -3,15 +3,15 @@
<!-- SF000077 : Query/ Answer -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000077')" prop="fremsg.det">
<c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000077')" ></c-input>
<c-form-item label="查询/答复" prop="fremsg.det">
<c-input type="textarea" v-model="model.fremsg.det" maxlength="35" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
<!-- SF000078 : Narrative (77A) -->
<c-col :span="12">
<c-form-item :label="$t('fremsg.SF000078')" prop="fremsg.tag77a">
<c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000078')" ></c-input>
<c-form-item label="描述" prop="fremsg.tag77a">
<c-input type="textarea" v-model="model.fremsg.tag77a" maxlength="35" show-word-limit placeholder="" ></c-input>
</c-form-item>
</c-col>
</div>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="Gitfrep1" name="Gitfrep1">
<el-collapse-item title="公共报文" name="Gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759p" name="Mt759p">
<el-collapse-item title="Mt759报文详情" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
<m-mt759p :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Rejp" name="Rejp">
<el-collapse-item title="拒绝修正" name="Rejp" v-if="model.fremsg.sndmt=='AME'">
<m-rejp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Fredet" name="Fredet">
<el-collapse-item title="报文详情 " name="Fredet" v-if="model.fremsg.sndmt=='95'||model.fremsg.sndmt=='96'">
<m-fredet :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
......
......@@ -3,15 +3,15 @@
<!-- SF000344 : Number of Amendm. -->
<c-col :span="12">
<c-form-item :label="$t('gitfre.SF000344')" prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" :placeholder="$t('other.please_enter')+$t('gitfre.SF000344')"></c-input>
<c-form-item label="修改次数" prop="trnmod.swiadd.amenbr">
<c-input v-model="model.trnmod.swiadd.amenbr" placeholder="请输入修改次数"></c-input>
</c-form-item>
</c-col>
<!-- SF000345 : Reason for Rejection -->
<c-col :span="12">
<c-form-item :label="$t('gitfre.SF000345')" prop="trnmod.swiadd.amestatxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.amestatxt" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+$t('gitfre.SF000345')" ></c-input>
<c-form-item label="修改说明" prop="trnmod.swiadd.amestatxt">
<c-input type="textarea" v-model="model.trnmod.swiadd.amestatxt" maxlength="35" show-word-limit placeholder="请输入修改说明" ></c-input>
</c-form-item>
</c-col>
</div>
......
<template>
<c-page title="自由格式报文">
<div class="eContainer">
<c-page title="自由格式报文">
<el-form
:model="model"
:rules="rules"
......@@ -60,24 +60,34 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash">
</c-function-btn>
<c-function-btn
:handleSubmit="handleSubmit.bind(this,'cfabut.sav')"
:handleCheck="handleCheck.bind(this,'cfabut.chk')"
:handleStash="handleStash">
</c-function-btn>
</div>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"
import Gitfre from "~/model/Gitfre"
import commonProcess from "~/mixin/commonProcess"
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitfre/Check"
import Default from "~/model/Gitfre/Default"
......@@ -101,20 +111,21 @@ export default {
},
provide() {
return {
root: this
root: this,
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "gitfre",
trnType: "",
model: new Gitfre().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
codes: { ...CodeTable },
}
},
methods:{
......
......@@ -31,7 +31,12 @@ export default {
activeNames: ["addbcb1"],
};
},
methods: { ...Event },
methods: {
...Event,
handleChange() {
}
},
created: function () {},
};
</script>
......
......@@ -23,6 +23,7 @@
:model="model.gidgrp.blk.gidtxt"
:disabled="model.gitp.gidtxtmodflg == ''"
placeholder="请输入保函文本可变因素"
key="model.gidgrp.blk.gidtxt"
@blur="setTxt1"
></c-xml-format-editor>
</el-form-item>
......@@ -42,7 +43,8 @@
></c-input-xml> -->
<c-xml-format-editor
:model="model.gidgrp.blk.gtxgidtxt"
placeholder="请输入保函文本可变因素"
placeholder="请输入保函文本可变因素"
key="model.gidgrp.blk.gtxgidtxt"
@blur="setTxt2"
></c-xml-format-editor>
</el-form-item>
......@@ -153,7 +155,8 @@ export default {
data() {
return {};
},
methods: {async setTxt1(val, fn){
methods: {
async setTxt1(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
......
......@@ -16,9 +16,9 @@
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp">
<!-- <el-collapse-item title="保函文本" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse-item> -->
<el-collapse-item
title="确认详细信息"
name="confp"
......@@ -86,7 +86,7 @@ import Opnp from "./Opnp";
import Ptyp from "./Ptyp";
import Preperp from "./Preperp";
import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp";
// import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp";
import Cfap from "./Cfap";
import Conp from "./Conp";
......@@ -104,7 +104,7 @@ const tabNameToRulePathMapping = {
"voup": "cnybop.voup",
"cfap": "cfagit.cfap",
"dclpp": "Ebbp.dclpp",
"gidtxtp": "gitp.gidtxtp",
// "gidtxtp": "gitp.gidtxtp",
"ptypc": "gitp.ptypc",
"detp": "gitp.detp",
}
......@@ -117,7 +117,7 @@ export default {
"m-ptyp": Ptyp,
"m-preperp": Preperp,
"m-detp": Detp,
"m-gidtxtp": Gidtxtp,
// "m-gidtxtp": Gidtxtp,
"m-confp": Confp,
"m-cfap": Cfap,
"m-conp": Conp,
......
......@@ -404,6 +404,7 @@
v-if="model.gitp.swiftflg != 'Y'"
label="保函开立日期"
prop="gidgrp.rec.opndat"
key="gidgrp.rec.opndat"
>
<c-date-picker
type="date"
......@@ -1406,6 +1407,9 @@ export default {
this.model.gidgrp.rec.gtxinr = "<NILTXT>";
}
},
"model.gidgrp.ben.pts.adrblk": function (newVal, oldVal) {
this.executeDefault("gidgrp.benadrlin")
}
},
methods: {
...Event,
......
......@@ -11,13 +11,19 @@
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 -->
<!--PD000001 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="保函文本" name="gidtxtp">
<c-content>
<m-gidtxtp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
......
<template>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="保函编号" prop="gidgrp.rec.ownref" style="width: 100%">
<c-fullbox>
<c-input v-model="model.gidgrp.rec.ownref" maxlength="8" placeholder="请输入" disabled></c-input>
<template slot="footer">
<c-button style="margin: 0 0 0 10px; padding: 0 12px" size="small" type="primary" @click="onSeainf">
<i class="el-icon-info"></i>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur" previewLabel="信用证币种">
<c-select v-model="model.gidgrp.cbs.max.cur" style="width: 100%" :code="codes.cur" disabled placeholder="请输入"></c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gidgrp.cbs.max.amt">
<c-input-currency v-model="model.gidgrp.cbs.max.amt" placeholder="请输入信用证金额" disabled></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox v-model="model.gitp0.gitp0s20" disabled style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
">附加金额</c-checkbox>
</c-col>
<c-col :span="11">
<c-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur" previewLabel="信用证币种">
<c-select v-model="model.gidgrp.cbs.opn1.cur" placeholder="请选择保函余额币种" style="width: 100%" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency v-model="model.gidgrp.cbs.opn1.amt" placeholder="请输入" disabled></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="接收目的" prop="gidgrp.rec.purposin">
<c-input v-model="model.gidgrp.rec.purposin" maxlength="16" disabled placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="报文目的" prop="gidgrp.rec.purpos">
<c-input v-model="model.gidgrp.rec.purpos" disabled maxlength="16" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select disabled v-model="model.gidgrp.rec.gartyp" style="width: 100%" placeholder="请选择保函种类"
:code="codes.typgar">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat == 'X'">
<el-form-item label="我行责任敞口"> </el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat != ''">
<el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
<c-date-picker type="date" v-model="model.gidgrp.rec.liadat" disabled style="width: 100%"
placeholder="请选择责任截至日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="到期" prop="gidgrp.rec.expdat">
<c-date-picker type="date" disabled v-model="model.gidgrp.rec.expdat" style="width: 100%" placeholder="请选择">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="5px" prop="gidgrp.rec.exptyp">
<c-input v-model="model.gidgrp.rec.exptyp" disabled placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="注销原因" prop="gidgrp.rec.purcan">
<c-select v-model="model.gidgrp.rec.purcan" style="width: 100%" placeholder="请选择注销原因" :code="codes.purcan">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="新保函编号" prop="newref">
<c-input v-model="model.newref" :disabled="model.gidgrp.rec.purcan != 'RN'" maxlength="16"
placeholder="请输入新保函编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="免税文本和特殊条款" prop="trnmod.swiadd.strinf">
<c-input type="textarea" v-model="model.trnmod.swiadd.strinf" rows="6" maxlength="35" show-word-limit
placeholder="请输入"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ======================右边====================== -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="gidgrp.rec.nam">
<c-input v-model="model.gidgrp.rec.nam" disabled maxlength="40" placeholder="请输入简略信息"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人" prop="gidgrp.apl.pts.nam">
<c-input v-model="model.gidgrp.apl.pts.nam" disabled maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人" prop="gidgrp.ben.pts.nam">
<c-input v-model="model.gidgrp.ben.pts.nam" disabled maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="帐户行" prop="gidgrp.ctr.pts.nam">
<c-input v-model="model.gidgrp.ctr.pts.nam" disabled maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行" prop="gidgrp.iss.pts.nam">
<c-input v-model="model.gidgrp.iss.pts.nam" disabled maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="安全验证" prop="autflg">
<c-select v-model="model.autflg" style="width: 100%" placeholder="请选择安全验证" :code="codes.autflg"
:disabled="model.gidgrp.rec.purcan != 'RR'">
</c-select>
</el-form-item>
</c-col>
<!-- :indeterminate="model.gidgrp.rec.purcan != 'RR'" mtabut.clsflgp-->
<c-col :span="24" :offset="6">
<c-checkbox disabled checked v-model="model.mtabut.clsflgp" style="
margin-left: 15px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
">
关闭标志</c-checkbox>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpca/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {
...Event,
change() {
if (this.model.gidgrp.rec.purcan != "RR") {
this.model.mtabut.clsflgp = "X"
} else {
this.model.mtabut.clsflgp = ""
}
},
},
created: function () {
trntyp: [];
},
};
</script>
<style>
</style>
......@@ -56,7 +56,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitfre/Event"
import Event from "~/model/Gitpca/Event"
export default {
inject: ['root'],
......
......@@ -33,7 +33,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitfre/Event"
import Event from "~/model/Gitpca/Event"
export default {
inject: ['root'],
......
......@@ -79,7 +79,7 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitfre/Event"
import Event from "~/model/Gitpca/Event"
export default {
inject: ['root'],
......
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<!-- SF000062 : Liability -->
<!-- SF000085 : Sight Amount -->
<c-col :span="12">
<c-form-item label="our reference" prop="setmod.ref">
<c-input v-model="model.setmod.ref" maxlength="16" :placeholder="$t('other.please_enter')+'our reference'"></c-input>
<c-form-item :label="$t('liaall.SF000085')" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.docamttyplab" data-path=".setmod.docamttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="document currency" prop="setmod.doccur">
<c-select v-model="model.setmod.doccur" style="width:100%" :placeholder="$t('other.please_enter')+'document currency'">
</c-select>
</el-form-item>
<c-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" :placeholder="$t('other.please_enter')+'Sight Amount Percentage'"></c-input>
</c-form-item>
</c-col>
<!-- SF000088 : % -->
<!-- SF000063 : Amount not yet assigned -->
<c-col :span="12">
<c-form-item label="document amount" prop="setmod.docamt">
<c-input v-model="model.setmod.docamt" :placeholder="$t('other.please_enter')+'document amount'"></c-input>
<c-form-item :label="$t('liaall.S0000099')" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" :placeholder="$t('other.please_enter')+$t('liaall.S0000099')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 类型 -->
<c-col :span="12">
<el-form-item label="Type of settlement" prop="setmod.dspflg">
<c-select v-model="model.setmod.dspflg" style="width:100%" :placeholder="$t('other.please_enter')+'Type of settlement'">
</c-select>
</el-form-item>
<c-form-item :label="$t('liaall.SF000063')" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" :placeholder="$t('other.please_enter')+$t('liaall.SF000063')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
<c-button size="small" type="primary" @click="onLiaallButmisamt">
{{$t('liaall.CF000061')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
<c-button size="small" type="primary" @click="onLiaallButmissig">
{{$t('liaall.CF000083')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<!-- S0000098 : Old Amount booked externally -->
<c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input>
<c-form-item :label="$t('liaall.S0000098')" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" :placeholder="$t('other.please_enter')+$t('liaall.S0000098')"></c-input>
</c-form-item>
</c-col>
<!-- S0000099 : External Booking Amount -->
<c-col :span="12">
<span v-text="model.setmod.zmqacclab" data-path=".setmod.zmqacclab" > </span>
</c-col>
<!-- S0000001 : Foreign Commission / Charges: -->
<!-- S0000001 : Own Commission / Charges: -->
<!-- SF000001 : Settlement: -->
<c-col :span="12">
<span v-text="model.setmod.setglg.labdspflg" data-path=".setmod.setglg.labdspflg" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" :placeholder="$t('other.please_enter')+'Total booking amount external assinged'"></c-input>
</c-form-item>
</c-col>
<!-- SF000065 : Change Plan -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitfre/Event"
import Event from "~/model/Gitpca/Event"
export default {
inject: ['root'],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="ECIFNO" prop="liaall.limmod.ecifno">
<c-input v-model="model.liaall.limmod.ecifno" maxlength="22" :placeholder="$t('other.please_enter')+'ECIFNO'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.wrklab" data-path=".liaall.limmod.limpts.wrklab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlab" data-path=".liaall.limmod.limpts.othlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.othlabss" data-path=".liaall.limmod.limpts.othlabss" > </span>
</c-col>
<!-- S0001138 : 业务编号 -->
<c-col :span="12">
<c-form-item label="国结业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" :placeholder="$t('other.please_enter')+'国结业务编号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.wrkp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="liaall.limmod.othp.ptsget.sdamod.dadsnd">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.wrk.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.wrkp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.wrkp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onWrkpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="liaall.limmod.limpts.oth.pts.extkey">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="liaall.limmod.othp.ptsget.sdamod.seainf">
<c-input v-model="model.liaall.limmod.othp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onOthpDet">
{{$t('ptsp.CF000082')}}
</c-button>
</c-col>
<!-- S0001135 : 业务余额 -->
<c-col :span="12">
<c-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" :placeholder="$t('other.please_enter')+'业务余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.wrk.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="liaall.limmod.limpts.oth.pts.nam">
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
</c-col>
<!-- S0001136 : 保证金 -->
<!-- S0000011 : 额度类型 -->
<c-col :span="12">
<c-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" :placeholder="$t('other.please_enter')+'保证金余额'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg1">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet1">
{{$t('limpts.C0000013')}}
</c-button>
</c-col>
<!-- S0000012 : 额度类型 -->
<c-col :span="12">
<el-form-item label="Flag to Mark Non-revolving Limits" prop="liaall.limmod.limpts.nonrevflg2">
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width:100%" :placeholder="$t('other.please_enter')+'Flag to Mark Non-revolving Limits'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimptsGet2">
{{$t('limpts.C0000014')}}
</c-button>
</c-col>
<!-- S0001137 : 余额 -->
<c-col :span="12">
<span v-text="model.liaall.limmod.limpts.lsh" data-path=".liaall.limmod.limpts.lsh" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" :placeholder="$t('other.please_enter')+'合同流水号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000018 : 合同流水号 -->
<c-col :span="12">
<c-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" :placeholder="$t('other.please_enter')+'合同流水号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLimmodTrycal">
{{$t('limmod.C0000005')}}
</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/Gitpca/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="注销" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
<!-- <el-collapse-item title="Mt769" name="Mt769p" v-if="model.gidgrp.rec.purcan == 'RR'">-->
<!-- <m-mt769p :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitpca/Event";
import Canp from "./Canp";
// import Mt769p from "./Mt769p";
export default {
components: {
"m-canp": Canp,
//"m-mt769p": Mt769p,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["canp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () { },
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="关税保函预注销">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<!-- <el-tab-pane label="保证金" name="ccvpan">-->
<!-- <c-content>-->
<!-- <m-ccvpan :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000001 -->
<!-- <el-tab-pane label="统一授信" name="limitbody">-->
<!-- <c-content>-->
<!-- <m-limitbody :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!-- <el-tab-pane label="费用/账务" name="engp,setpan,glepan">-->
<!-- <c-content>-->
<!-- <div class="eibs-tab">-->
<!-- <el-collapse v-model="activeNames">-->
<!-- <el-collapse-item title="表外记账" name="engp">-->
<!-- &lt;!&ndash; 表外记账 &ndash;&gt;-->
<!-- <m-engp :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="结算" name="setpan">-->
<!-- &lt;!&ndash; 结算 &ndash;&gt;-->
<!-- <m-setpan :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- <el-collapse-item title="会计分录" name="glepan">-->
<!-- &lt;!&ndash; 会计分录 &ndash;&gt;-->
<!-- <m-glepan :model="model" :codes="codes" />-->
<!-- </el-collapse-item>-->
<!-- </el-collapse>-->
<!-- </div>-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000510 -->
<!-- <el-tab-pane label="备查/附言" name="addbcb">-->
<!-- <c-content>-->
<!-- <m-addbcb :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!-- <el-tab-pane label="报文/面函" name="docpan">-->
<!-- <c-content>-->
<!-- <m-docpan :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--trndoc PD000546 Attachments -->
<!-- <el-tab-pane label="附件" name="doctre">-->
<!-- <c-content>-->
<!-- <m-doctre :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gitpca from "~/model/Gitpca"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Gitpca/Check"
import Default from "~/model/Gitpca/Default"
import Pattern from "~/model/Gitpca/Pattern"
import Canp from "./Canp"
import Engp from "./Engp"
import Ovwp from "./Ovwp";
// import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
export default {
name: "Gitpca",
components:{
"m-canp" : Canp,
"m-engp" : Engp,
// "m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-limitbody" : Limitbody,
"m-ovwp": Ovwp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "gitpca",
trnType: "",
model: new Gitpca().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gitpca交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<ReviewWrapper>
<Gitadd></Gitadd>
</ReviewWrapper>
</template>
<script>
import Gitadd from "~/views/Business/Gitadd";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitadd",
components: { ReviewWrapper, Gitadd },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitfre></Gitfre>
</ReviewWrapper>
</template>
<script>
import Gitfre from "~/views/Business/Gitfre";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitfre",
components: { ReviewWrapper, Gitfre },
created() {},
mounted() {},
};
</script>
<style></style>
import ReviewGctadd from "./Business/ReviewGctadd.vue";
import ReviewGitfee from "./Business/ReviewGitfee.vue";
import ReviewGitfre from "./Business/ReviewGitfre.vue";
import ReviewGetfee from "./Business/ReviewGetfee.vue";
import ReviewGitatt from "./Business/ReviewGitatt.vue";
import ReviewDitopn from "./Business/ReviewDitopn.vue";
......@@ -119,6 +120,7 @@ import ReviewGitcrj from "./Business/ReviewGitcrj.vue";
import ReviewGitset from "./Business/ReviewGitset.vue";
import ReviewGctcan from "./Business/ReviewGctcan.vue";
import ReviewGiteng from "./Business/ReviewGiteng.vue";
import ReviewGitadd from "./Business/ReviewGitadd.vue";
import ReviewBttrcl from "./Business/ReviewBttrcl.vue";
import ReviewBttset from "./Business/ReviewBttset.vue";
......@@ -261,6 +263,8 @@ const ReviewRouter = [
{ path: "gitcrj", component: ReviewGitcrj, name: "ReviewGitcrj", meta: { title: "复核-Gitcrj" } },
{ path: "gctcan", component: ReviewGctcan, name: "ReviewGctcan", meta: { title: "复核-Gctcan" } },
{ path: "giteng", component: ReviewGiteng, name: "ReviewGiteng", meta: { title: "复核-Giteng" } },
{ path: "gitfre", component: ReviewGitfre, name: "ReviewGitfre", meta: { title: "复核-Gitfre" } },
{ path: "gitadd", component: ReviewGitadd, name: "ReviewGitadd", meta: { title: "复核-Gitadd" } },
{ path: "bttrcl", component: ReviewBttrcl, name: "ReviewBttrcl", meta: { title: "复核-Bttrcl" } },
{ path: "bttset", component: ReviewBttset, name: "ReviewBttset", meta: { title: "复核-Bttset" } },
......
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