Commit 2c6f6dda by liuxin

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

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 3c49753d 8eadf118
...@@ -6,6 +6,7 @@ import Utils from "~/utils" ...@@ -6,6 +6,7 @@ import Utils from "~/utils"
let checkObj = { let checkObj = {
"ccdgrp.cbs.max.cur" :null, "ccdgrp.cbs.max.cur" :null,
"ccdgrp.dro.pts.extkey" :null, "ccdgrp.dro.pts.extkey" :null,
"setmod.dspflg" :null,
"ccdgrp.cor.pts.adrblk" :null, "ccdgrp.cor.pts.adrblk" :null,
"ccdgrp.cbs.max.amt" :null, "ccdgrp.cbs.max.amt" :null,
"ccdgrp.rec.purflg" :null, "ccdgrp.rec.purflg" :null,
...@@ -19,12 +20,15 @@ let checkObj = { ...@@ -19,12 +20,15 @@ let checkObj = {
"ccdgrp.rec.tocsel" :null, "ccdgrp.rec.tocsel" :null,
"ccdgrp.pre.namelc" :null, "ccdgrp.pre.namelc" :null,
"ccdgrp.rec.modset" :null, "ccdgrp.rec.modset" :null,
"mtabut.coninf.conexedat" :null,
"ccdgrp.cor.adrelc" :null, "ccdgrp.cor.adrelc" :null,
"ccdgrp.cor.pts.extkey" :null, "ccdgrp.cor.pts.extkey" :null,
"ccdgrp.rec.ownref" :null, "ccdgrp.rec.ownref" :null,
"ccdgrp.dro.adrelc" :null, "ccdgrp.dro.adrelc" :null,
"ccdgrp.col.adrelc" :null, "ccdgrp.col.adrelc" :null,
"ccdgrp.blk.setins" :null,
"ccdgrp.pre.pts.adrblk" :null, "ccdgrp.pre.pts.adrblk" :null,
"setmod.docamt" :null,
"ccdgrp.pre.pts.extkey" :null, "ccdgrp.pre.pts.extkey" :null,
} }
......
...@@ -6,31 +6,44 @@ import Api from "~/service/Api"; ...@@ -6,31 +6,44 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"ccdgrp.col.pts.extkey" :Utils.defaultFunction,
"ccdgrp.col.adrelc" :Utils.defaultFunction,
"ccdgrp.col.namelc" :Utils.defaultFunction,
"ccdgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.dro.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.cbs.max.amt" :Utils.defaultFunction,
"cctp.usr.extkey" :Utils.defaultFunction, "cctp.usr.extkey" :Utils.defaultFunction,
"ccdgrp.dro.pts.extkey" :Utils.defaultFunction, "ccdgrp.pre.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,
"ccdgrp.col.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.pre.pts.extkey" :Utils.defaultFunction, "ccdgrp.pre.pts.extkey" :Utils.defaultFunction,
"ccdgrp.pre.adrelc" :Utils.defaultFunction, "ccdgrp.pre.adrelc" :Utils.defaultFunction,
"ccdgrp.pre.namelc" :Utils.defaultFunction, "ccdgrp.pre.namelc" :Utils.defaultFunction,
"ccdgrp.pre.dbfadrblkcn" :Utils.defaultFunction, "ccdgrp.pre.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.col.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.pre.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.rec.ownref" :Utils.defaultFunction,
"ccdgrp.dro.adrelc" :Utils.defaultFunction,
"ccdgrp.dro.namelc" :Utils.defaultFunction,
"ccdgrp.dro.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.rec.ccform" :Utils.defaultFunction,
"ccdgrp.rec.modset" :Utils.defaultFunction,
"ccdgrp.cor.pts.extkey" :Utils.defaultFunction, "ccdgrp.cor.pts.extkey" :Utils.defaultFunction,
"ccdgrp.cor.pts.adrblk" :Utils.defaultFunction,
"ccdgrp.cbs.max.cur" :Utils.defaultFunction,
"ccdgrp.cor.adrelc" :Utils.defaultFunction, "ccdgrp.cor.adrelc" :Utils.defaultFunction,
"ccdgrp.cor.namelc" :Utils.defaultFunction, "ccdgrp.cor.namelc" :Utils.defaultFunction,
"ccdgrp.cor.dbfadrblkcn" :Utils.defaultFunction, "ccdgrp.cor.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.col.pts.extkey" :Utils.defaultFunction,
"ccdgrp.rec.ccform" :Utils.defaultFunction,
"ccdgrp.cbs.max.amt" :Utils.defaultFunction,
"ccdgrp.cbs.max.cur" :Utils.defaultFunction,
"ccdgrp.col.adrelc" :Utils.defaultFunction,
"ccdgrp.col.namelc" :Utils.defaultFunction,
"ccdgrp.col.dbfadrblkcn" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"ccdgrp.cor.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"ccdgrp.rec.modset" :Utils.defaultFunction,
"ccdgrp.dro.pts.extkey" :Utils.defaultFunction,
"ccdgrp.dro.adrelc" :Utils.defaultFunction,
"ccdgrp.dro.namelc" :Utils.defaultFunction,
"ccdgrp.dro.dbfadrblkcn" :Utils.defaultFunction,
"ccdgrp.dro.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"ccdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -2,15 +2,15 @@ import Api from "~/service/Api" ...@@ -2,15 +2,15 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
onSeainf(data) {
},
async onCctmodButgetref() { async onCctmodButgetref() {
let rtnmsg = await this.executeRule("cctmod.butgetref") let rtnmsg = await this.executeRule("cctmod.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
...@@ -56,5 +56,88 @@ export default { ...@@ -56,5 +56,88 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); 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 onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onSetinsButtxmsel() {
let rtnmsg = await this.executeRule("setins.buttxmsel")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
onSeainf() {
},
} }
\ No newline at end of file
...@@ -183,4 +183,92 @@ export default { ...@@ -183,4 +183,92 @@ export default {
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"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"}
],
"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"}
],
"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"}
],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"ccdgrp.blk.setins":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cctdav { export default class Cctdav{
constructor() { constructor () {
this.data = { this.data = {
mtabut: { ccdgrp:{
coninf: { rec:{
oitset: { ownref:"", // Our Reference .ccdgrp.rec.ownref
oit: { nam:"", // Name of CC contract .ccdgrp.rec.nam
inftxt: "", regref:"", // Register Ref. .ccdgrp.rec.regref
ccform:"", // Form of Clean Coll. .ccdgrp.rec.ccform
modset:"", // Mode of Collection .ccdgrp.rec.modset
purflg:"", // Payment Disposition .ccdgrp.rec.purflg
tocsel:"", // Type of Check .ccdgrp.rec.tocsel
pretyp:"", // TYPE OF PRESENTER .ccdgrp.rec.pretyp
chcknum:"", // Check Number .ccdgrp.rec.chcknum
chkdat:"", // Date of Draft .ccdgrp.rec.chkdat
},
cbs:{
opn1:{
cur:"", // Open Amount .ccdgrp.cbs.opn1.cur
amt:"", // Open Amount .ccdgrp.cbs.opn1.amt
},
max:{
cur:"", // Draft Amount .ccdgrp.cbs.max.cur
amt:"", // Draft Amount .ccdgrp.cbs.max.amt
},
},
cor:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.cor.namelc
adrelc:"", // 地址 .ccdgrp.cor.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.cor.dbfadrblkcn
},
pre:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.pre.namelc
adrelc:"", // 地址 .ccdgrp.pre.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.pre.dbfadrblkcn
},
dro:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.dro.namelc
adrelc:"", // 地址 .ccdgrp.dro.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.dro.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.col.namelc
adrelc:"", // 地址 .ccdgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.col.dbfadrblkcn
},
orddat:"", // Date of Order .ccdgrp.orddat
blk:{
setins:"", // Settlement Instructions .ccdgrp.blk.setins
},
}, },
}, cctp:{
oitinf: { recget:{
oit: { sdamod:{
inftxt: "", seainf:"", // .cctp.recget.sdamod.seainf
inflev: "", dadsnd:"", // Drag Drop Sender .cctp.recget.sdamod.dadsnd
},
},
corp:{
ptsget:{
sdamod:{
seainf:"", // .cctp.corp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.corp.ptsget.sdamod.dadsnd
},
},
},
prep:{
ptsget:{
sdamod:{
seainf:"", // .cctp.prep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.prep.ptsget.sdamod.dadsnd
},
},
},
drop:{
ptsget:{
sdamod:{
seainf:"", // .cctp.drop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.drop.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .cctp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.colp.ptsget.sdamod.dadsnd
},
},
},
usr:{
extkey:"", // User ID .cctp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .cctp.usrget.sdamod.seainf
},
},
}, },
}, pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
usr: { mtabut: new Pub().data.Mtabut,
extkey: "", trnmod: new Pub().data.Trnmod,
}, }
}
conexedat: "",
},
},
trnmod: {
trndoc: {
doceot: "",
},
},
liaall: {
liaallg: "",
},
setmod: {
setglg: {
setgll: "",
},
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
setfol: "",
},
setfog: {
setfol: "",
},
setfeg: {
setfel: "",
},
},
ccdgrp: {
rec: {
ownref: "", // Our Reference .ccdgrp.rec.ownref
nam: "", // Name of CC contract .ccdgrp.rec.nam
regref: "", // Register Ref. .ccdgrp.rec.regref
ccform: "", // Form of Clean Coll. .ccdgrp.rec.ccform
modset: "", // Mode of Collection .ccdgrp.rec.modset
purflg: "", // Payment Disposition .ccdgrp.rec.purflg
tocsel: "", // Type of Check .ccdgrp.rec.tocsel
pretyp: "", // TYPE OF PRESENTER .ccdgrp.rec.pretyp
chcknum: "", // Check Number .ccdgrp.rec.chcknum
chkdat: "", // Date of Draft .ccdgrp.rec.chkdat
},
cbs: {
opn1: {
cur: "", // Open Amount .ccdgrp.cbs.opn1.cur
amt: "", // Open Amount .ccdgrp.cbs.opn1.amt
},
max: {
cur: "", // Draft Amount .ccdgrp.cbs.max.cur
amt: "", // Draft Amount .ccdgrp.cbs.max.amt
},
},
cor: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.cor.namelc
adrelc: "", // 地址 .ccdgrp.cor.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.cor.dbfadrblkcn
},
pre: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.pre.namelc
adrelc: "", // 地址 .ccdgrp.pre.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.pre.dbfadrblkcn
},
dro: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.dro.namelc
adrelc: "", // 地址 .ccdgrp.dro.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.dro.dbfadrblkcn
},
col: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.col.namelc
adrelc: "", // 地址 .ccdgrp.col.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.col.dbfadrblkcn
},
orddat: "", // Date of Order .ccdgrp.orddat
},
cctp: {
recget: {
sdamod: {
seainf: "", // .cctp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.recget.sdamod.dadsnd
},
},
corp: {
ptsget: {
sdamod: {
seainf: "", // .cctp.corp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.corp.ptsget.sdamod.dadsnd
},
},
},
prep: {
ptsget: {
sdamod: {
seainf: "", // .cctp.prep.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.prep.ptsget.sdamod.dadsnd
},
},
},
drop: {
ptsget: {
sdamod: {
seainf: "", // .cctp.drop.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.drop.ptsget.sdamod.dadsnd
},
},
},
colp: {
ptsget: {
sdamod: {
seainf: "", // .cctp.colp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.colp.ptsget.sdamod.dadsnd
},
},
},
usr: {
extkey: "", // User ID .cctp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .cctp.usrget.sdamod.seainf
},
},
},
pageId: "" // ctx的key
}
}
} }
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<!--- 左边---> <!-- ====================左边======================= -->
<c-col :span="11"> <c-col :span="11">
<c-col :span="20">
<el-form-item label="Our Reference" prop="ccdgrp.rec.ownref">
<c-input
v-model="model.ccdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Our Reference"
></c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" @click="onCctmodButgetref">
Get Ref
</c-button>
</c-col>
</c-col>
<!-- 右边-->
<c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name of CC contract" prop="ccdgrp.rec.nam"> <el-form-item label="Our Reference" prop="ccdgrp.rec.ownref">
<c-input <c-fullbox>
v-model="model.ccdgrp.rec.nam" <c-input
maxlength="40" v-model="model.ccdgrp.rec.ownref"
placeholder="请输入Name of CC contract" maxlength="16"
></c-input> placeholder="请输入Reference"
</el-form-item> disabled
</c-col> ></c-input>
<c-col :span="24"> <template slot="footer">
<el-form-item label="Register Ref." prop="ccdgrp.rec.regref"> <c-button
<c-input style="margin: 0 10px 0 10px; padding: 0 12px"
v-model="model.ccdgrp.rec.regref" size="small"
maxlength="16" type="primary"
placeholder="请输入Register Ref." @click="onSeainf"
></c-input> >
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onCctmodButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
</c-row>
<c-row> <c-col :span="12">
<c-col :span="11">
<c-col :span="10">
<el-form-item label="Draft Amount" prop="ccdgrp.cbs.max.cur"> <el-form-item label="Draft Amount" prop="ccdgrp.cbs.max.cur">
<c-select <c-select
v-model="model.ccdgrp.cbs.max.cur" v-model="model.ccdgrp.cbs.max.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Draft Amount" placeholder="请选择Currency"
> >
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="12">
<el-form-item prop="ccdgrp.cbs.max.amt"> <el-form-item
<c-input style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.max.amt" v-model="model.ccdgrp.cbs.max.amt"
placeholder="请输入Draft Amount" style="text-align: left; width: 100%"
></c-input> placeholder="请输入Document Amount"
@keyup.enter.native="
defaultFunction('ccdgrp.cbs.max.amt', model.ccdgrp.cbs.max.amt)
"
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Open Amount" prop="ccdgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="ccdgrp.cbs.opn1.cur">
<c-select <c-select
disabled
v-model="model.ccdgrp.cbs.opn1.cur" v-model="model.ccdgrp.cbs.opn1.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择Open Amount" placeholder="请选择Currency"
> >
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="14"> <c-col :span="12">
<el-form-item prop="ccdgrp.cbs.opn1.amt"> <el-form-item
<c-input style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.opn1.amt" v-model="model.ccdgrp.cbs.opn1.amt"
placeholder="请输入Open Amount" style="text-align: left; width: 100%"
></c-input> placeholder="请输入"
:disabled="true"
@keyup.enter.native="
defaultFunction(
'ccdgrp.cbs.opn1.amt',
model.ccdgrp.cbs.opn1.amt
)
"
></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Form of Clean Coll." prop="ccdgrp.rec.ccform"> <el-form-item label="Form of Clean Coll." prop="ccdgrp.rec.ccform">
<c-select <c-select
v-model="model.ccdgrp.rec.ccform" v-model="model.ccdgrp.rec.ccform"
style="width: 100%" style="width: 100%"
placeholder="请选择Form of Clean Coll." placeholder="请选择Form of Clean Coll."
:code="codes.ccform"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Mode of Collection" prop="ccdgrp.rec.modset"> <el-form-item label="Mode of Collection" prop="ccdgrp.rec.modset">
<c-select <c-select
v-model="model.ccdgrp.rec.modset" v-model="model.ccdgrp.rec.modset"
style="width: 100%" style="width: 100%"
placeholder="请选择Mode of Collection" placeholder="请选择Mode of Collection"
:code="codes.modset"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Payment Disposition " prop="ccdgrp.rec.purflg"> <el-form-item label="Payment Disposition " prop="ccdgrp.rec.purflg">
<c-select <c-select
v-model="model.ccdgrp.rec.purflg" v-model="model.ccdgrp.rec.purflg"
style="width: 100%" style="width: 100%"
placeholder="请选择Payment Disposition " placeholder="请选择Payment Disposition "
:code="codes.purflg"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Type of Check" prop="ccdgrp.rec.tocsel"> <el-form-item label="Type of Check" prop="ccdgrp.rec.tocsel">
<c-select <c-select
v-model="model.ccdgrp.rec.tocsel" v-model="model.ccdgrp.rec.tocsel"
style="width: 100%" style="width: 100%"
placeholder="请选择Type of Check" placeholder="请选择Type of Check"
:code="codes.tocsel"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="TYPE OF PRESENTER" prop="ccdgrp.rec.pretyp"> <el-form-item label="TYPE OF PRESENTER" prop="ccdgrp.rec.pretyp">
<c-select <c-select
v-model="model.ccdgrp.rec.pretyp" v-model="model.ccdgrp.rec.pretyp"
style="width: 100%" style="width: 100%"
placeholder="请选择TYPE OF PRESENTER" placeholder="请选择TYPE OF PRESENTER"
:code="codes.pretyp"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Check Number" prop="ccdgrp.rec.chcknum"> <el-form-item label="Check Number" prop="ccdgrp.rec.chcknum">
<c-input <c-input
v-model="model.ccdgrp.rec.chcknum" v-model="model.ccdgrp.rec.chcknum"
...@@ -146,7 +177,8 @@ ...@@ -146,7 +177,8 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Date of Order" prop="ccdgrp.orddat"> <el-form-item label="Date of Order" prop="ccdgrp.orddat">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -156,7 +188,8 @@ ...@@ -156,7 +188,8 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Date of Draft" prop="ccdgrp.rec.chkdat"> <el-form-item label="Date of Draft" prop="ccdgrp.rec.chkdat">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -167,7 +200,7 @@ ...@@ -167,7 +200,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="22">
<el-form-item label="resp.usr" prop="cctp.usr.extkey"> <el-form-item label="resp.usr" prop="cctp.usr.extkey">
<c-input <c-input
v-model="model.cctp.usr.extkey" v-model="model.cctp.usr.extkey"
...@@ -176,7 +209,7 @@ ...@@ -176,7 +209,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="1"> <c-col :span="2">
<el-form-item label="" label-width="15px"> <el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf" <c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button >i</c-button
...@@ -229,8 +262,33 @@ ...@@ -229,8 +262,33 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- 右边-->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Name of CC contract" prop="ccdgrp.rec.nam">
<c-input
v-model="model.ccdgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of CC contract"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Register Ref." prop="ccdgrp.rec.regref">
<c-input
v-model="model.ccdgrp.rec.regref"
maxlength="16"
placeholder="请输入Register Ref."
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Presenter Ref. No." prop="ccdgrp.pre.pts.ref"> <el-form-item label="Presenter Ref. No." prop="ccdgrp.pre.pts.ref">
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<!-- S0000579 : Display Type -->
<c-col :span="12">
<c-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+'Infotext'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" :placeholder="$t('other.please_enter')+'Infotext Level'">
</c-select>
</el-form-item>
</c-col>
<!-- SF000019 : 执行日期 -->
<c-col :span="12">
<el-form-item :label="$t('coninf.SF000019')" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" :placeholder="$t('other.please_enter')+$t('coninf.SF000019')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SF000020 : Send for Release to -->
<c-col :span="12">
<c-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" :placeholder="$t('other.please_enter')+'User ID'"></c-input>
</c-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/Cctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- SF000545 : Correspondence -->
<c-col :span="12">
<span v-text="model.trnmod.trndoc.advlabel" data-path=".trnmod.trndoc.advlabel" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证落款" prop="trnmod.trndoc.advnam">
<c-input v-model="model.trnmod.trndoc.advnam" maxlength="50" :placeholder="$t('other.please_enter')+'国内证落款'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="修改申请人名称" prop="trnmod.trndoc.amdapl">
<c-input type="textarea" v-model="model.trnmod.trndoc.amdapl" maxlength="50" show-word-limit :placeholder="$t('other.please_enter')+'修改申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.amdnam" data-path=".trnmod.trndoc.amdnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="国内证通知书" prop="trnmod.trndoc.advdoc">
<c-input v-model="model.trnmod.trndoc.advdoc" maxlength="1" :placeholder="$t('other.please_enter')+'国内证通知书'"></c-input>
</c-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/Cctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000552 : Outgoing Correspondence, Attachments and other Documents -->
<c-col :span="12">
<c-form-item label="File Receiver" prop="trnmod.trndoc.filrecv">
<c-input v-model="model.trnmod.trndoc.filrecv" :placeholder="$t('other.please_enter')+'File Receiver'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Document tree" prop="trnmod.trndoc.doctrestm">
<c-input v-model="model.trnmod.trndoc.doctrestm" :placeholder="$t('other.please_enter')+'Document tree'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButshw">
{{$t('trndoc.CF000547')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButadd">
{{$t('trndoc.CF000548')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButnew">
{{$t('trndoc.CF000553')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButattto">
{{$t('trndoc.CG001184')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onTrndocButdel">
{{$t('trndoc.CF000549')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.trnmod.trndoc.doclbl" data-path=".trnmod.trndoc.doclbl" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwinc">{{$t('trndoc.CF000556')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.trnmod.trndoc.shwout">{{$t('trndoc.CF000557')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onTrndocButatt">
{{$t('trndoc.CF000551')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item label="Connected Documents" prop="trnmod.trndoc.condocstm">
<c-input v-model="model.trnmod.trndoc.condocstm" :placeholder="$t('other.please_enter')+'Connected Documents'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="trnmod.trndoc.rcvatt.seainf">
<c-input v-model="model.trnmod.trndoc.rcvatt.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-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/Cctdav/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">
<c-form-item label="Booking stream to Display" prop="setmod.glemod.gleshwstm">
<c-input v-model="model.setmod.glemod.gleshwstm" :placeholder="$t('other.please_enter')+'Booking stream to Display'"></c-input>
</c-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/Cctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000066 : Settlement Instructions -->
<c-col :span="12">
<c-form-item label="Settlement Instructions" prop="ccdgrp.blk.setins">
<c-input type="textarea" v-model="model.ccdgrp.blk.setins" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+'Settlement Instructions'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onSetinsButtxmsel">
{{$t('cctp.C0000068')}}
</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/Cctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000002 : 参考号 -->
<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>
</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-col>
<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>
</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-col>
<c-col :span="12">
<c-checkbox v-model="model.setmod.xreflg">{{$t('setmod.CF000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSetmodDet">
{{$t('setmod.CF000032')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.setmod.retmsg" data-path=".setmod.retmsg" > </span>
</c-col>
<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>
</c-col>
<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>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template> <template>
<c-page title="光票托收建立"> <div class="eContainer">
<div class="eContainer"> <c-function-btn
<c-bus-button :$pntvm="this"></c-bus-button> :handleSubmit="handleSubmit"
<el-form :handleCheck="handleCheck"
:model="model" :handleStash="handleStash"
:rules="rules" >
ref="modelForm" <el-button size="small">备忘录</el-button>
label-width="150px" <el-button size="small">影像信息</el-button>
label-position="right" <el-button size="small">保存模板</el-button>
size="small" <el-button size="small">使用模板</el-button>
:validate-on-rule-change="false" <el-button size="small">制裁信息</el-button>
> <el-button size="small">拆分报文</el-button>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <el-button size="small">智能提示</el-button>
<!--PD000001 --> </c-function-btn>
<el-tab-pane label="基本信息" name="cctdav"> <el-form
<m-cctdav :model="model" :codes="codes" /> :model="model"
</el-tab-pane> :rules="rules"
<el-tab-pane label="帐务" name="setpan"> ref="modelForm"
<!--PD000000 --> label-width="150px"
<c-content> label-position="right"
<m-setpan :model="model" :codes="codes" /> size="small"
</c-content> :validate-on-rule-change="false"
</el-tab-pane> >
<el-tab-pane label="附言" name="coninfp"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<m-coninfp :model="model" :codes="codes" /> <!--cctdav PD000001 -->
</el-tab-pane> <el-tab-pane label="Establish Clean Collection" name="cctdav1">
<c-content>
<!--PD000529 --> <m-cctdav1 :model="model" :codes="codes" />
<el-tab-pane label="报文及面函" name="docpan"> </c-content>
<m-docpan :model="model" :codes="codes" /> </el-tab-pane>
</el-tab-pane> <!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<!--PD000546 <m-docpan :model="model" :codes="codes" />
<el-tab-pane label="附件" name="doctre"> </el-tab-pane>
<m-doctre :model="model" :codes="codes" /> <!--trndoc PD000546 Attachments -->
</el-tab-pane> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
--> </el-tab-pane>
<el-tab-pane label="或有" name="engp"> <!--coninf PD000000 Completion -->
<m-engp :model="model" :codes="codes" /> <el-tab-pane label="Completion" name="coninfp">
</el-tab-pane> <m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan"> <!--setmod PD000000 Settlement -->
<m-glepan :model="model" :codes="codes" /> <el-tab-pane label="Settlement" name="setpan">
</el-tab-pane> <m-setpan :model="model" :codes="codes" />
</c-tabs> </el-tab-pane>
</el-form> <!--glemod PD000001 -->
</div> <el-tab-pane label="Bookings" name="glepan">
</c-page> <m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--cctp PD000065 Settlement Instructions -->
<el-tab-pane label="Settlement Instructions" name="setinsp">
<m-setinsp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Cctdav from "~/model/Cctdav"; import Cctdav from "~/model/Cctdav";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Cctdav/Check"; import Check from "~/model/Cctdav/Check";
import Default from "~/model/Cctdav/Default"; import Default from "~/model/Cctdav/Default";
import Pattern from "~/model/Cctdav/Pattern"; import Pattern from "~/model/Cctdav/Pattern";
import Cctdav1 from "./Cctdav1"; import Cctdav1 from "./Cctdav1";
import Setpan from "~/views/Public/Setpan"; // import Docpan from "./Docpan";
import Coninfp from "~/views/Public/Coninfp"; // import Doctre from "./Doctre";
import Engp from "~/views/Public/Engp"; // import Coninfp from "./Coninfp";
// import Setpan from "./Setpan";
// import Glepan from "./Glepan";
import Setinsp from "./Setinsp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
//import Doctre from "~/views/Public/Doctre"; import Doctre from "~/views/Public/Doctre";
import Coninfp from "~/views/Public/Coninfp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan"; import Glepan from "~/views/Public/Glepan";
export default { export default {
name: "Cctdav1", name: "Cctdav",
components: { components: {
"m-setpan": Setpan, "m-cctdav1": Cctdav1,
"m-cctdav": Cctdav1,
"m-coninfp": Coninfp,
"m-engp": Engp,
//"m-doctre": Doctre,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
"m-glepan": Glepan, "m-glepan": Glepan,
"m-setinsp": Setinsp,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "cctdav", tabVal: "cctdav1",
trnName: "cctdav", trnName: "cctdav",
trnType: "",
model: new Cctdav().data, model: new Cctdav().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: {...CodeTable}, codes: { ...CodeTable },
}; };
}, },
methods: { methods: {
tabClick() {}, myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
}, },
created: async function () { created: async function () {
console.log("进入cctdav交易"); console.log("进入cctdav交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="8">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua"> <el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select <c-select
disabled disabled
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp"> <el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select <c-select
disabled disabled
...@@ -57,12 +57,12 @@ ...@@ -57,12 +57,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="8"> <c-col :span="8" v-if="model.gidgrp.cbs.max.cur=='CNY'">
<el-form-item label="" prop="model.gidgrp.rec.cmtflg"> <el-form-item label="" prop="model.gidgrp.rec.cmtflg">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg" <c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox> >跨境人民币保函</c-checkbox>
</el-form-item> </el-form-item>
</c-col> --> </c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
......
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
v-model="model.gidgrp.blk.apprul" v-model="model.gidgrp.blk.apprul"
style="width: 100%" style="width: 100%"
placeholder="请选择Applicable Rules" placeholder="请选择Applicable Rules"
:code="codes.apprulc"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -420,7 +421,6 @@ ...@@ -420,7 +421,6 @@
v-model="model.gidgrp.blk.apprul" v-model="model.gidgrp.blk.apprul"
style="width: 100%" style="width: 100%"
placeholder="请选择Applicable Rules" placeholder="请选择Applicable Rules"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -643,8 +643,10 @@ ...@@ -643,8 +643,10 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="6" v-if="model.gitp.swiftflg == 'N'" class="centerLable"> <c-col :span="6" v-if="model.gidgrp.cbs.max.cur=='CNY'&&model.gitp.swiftflg=='N'" class="centerLable">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg" <c-checkbox
disabled
v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox >跨境人民币保函</c-checkbox
> >
</c-col> </c-col>
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<c-col :span="12"> <c-col :span="12">
<c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc"> <c-form-item label="自�'�区主�'�号" prop="setmod.zmqacc">
<c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自�'�区主�'�号'"></c-input> <c-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自区主号'"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<c-date-picker <c-date-picker
type="date" type="date"
v-model="scope.row.matdat" v-model="scope.row.matdat"
value-format="YYYY-MM-DD" value-format="yyyy-MM-dd"
placeholder="请选择Date" placeholder="请选择Date"
style="width: 100%" style="width: 100%"
@change="executeDefault('liaall.liaallg.matdat')" @change="executeDefault('liaall.liaallg.matdat')"
......
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