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"
let checkObj = {
"ccdgrp.cbs.max.cur" :null,
"ccdgrp.dro.pts.extkey" :null,
"setmod.dspflg" :null,
"ccdgrp.cor.pts.adrblk" :null,
"ccdgrp.cbs.max.amt" :null,
"ccdgrp.rec.purflg" :null,
......@@ -19,12 +20,15 @@ let checkObj = {
"ccdgrp.rec.tocsel" :null,
"ccdgrp.pre.namelc" :null,
"ccdgrp.rec.modset" :null,
"mtabut.coninf.conexedat" :null,
"ccdgrp.cor.adrelc" :null,
"ccdgrp.cor.pts.extkey" :null,
"ccdgrp.rec.ownref" :null,
"ccdgrp.dro.adrelc" :null,
"ccdgrp.col.adrelc" :null,
"ccdgrp.blk.setins" :null,
"ccdgrp.pre.pts.adrblk" :null,
"setmod.docamt" :null,
"ccdgrp.pre.pts.extkey" :null,
}
......
......@@ -6,31 +6,44 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
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,
"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.adrelc" :Utils.defaultFunction,
"ccdgrp.pre.namelc" :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.adrblk" :Utils.defaultFunction,
"ccdgrp.cbs.max.cur" :Utils.defaultFunction,
"ccdgrp.cor.adrelc" :Utils.defaultFunction,
"ccdgrp.cor.namelc" :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处理
......@@ -2,15 +2,15 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf(data) {
},
async onCctmodButgetref() {
let rtnmsg = await this.executeRule("cctmod.butgetref")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
this.$message({
type: 'success',
message: '获取成功!'
});
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......@@ -56,5 +56,88 @@ export default {
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 {
{type: "string", required: true, message: "必输项"},
{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 Pts from "../Common/Pts"
export default class Cctdav {
constructor() {
import Pub from "../Public"
export default class Cctdav{
constructor () {
this.data = {
mtabut: {
coninf: {
oitset: {
oit: {
inftxt: "",
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
},
oitinf: {
oit: {
inftxt: "",
inflev: "",
max:{
cur:"", // Draft Amount .ccdgrp.cbs.max.cur
amt:"", // Draft Amount .ccdgrp.cbs.max.amt
},
},
usr: {
extkey: "",
cor:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.cor.namelc
adrelc:"", // 地址 .ccdgrp.cor.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.cor.dbfadrblkcn
},
conexedat: "",
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
},
trnmod: {
trndoc: {
doceot: "",
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
},
liaall: {
liaallg: "",
},
setmod: {
setglg: {
setgll: "",
cctp:{
recget:{
sdamod:{
seainf:"", // .cctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.recget.sdamod.dadsnd
},
glemod: {
gleshwstm: "", // Booking stream to Display .setmod.glemod.gleshwstm
setfol: "",
},
setfog: {
setfol: "",
corp:{
ptsget:{
sdamod:{
seainf:"", // .cctp.corp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.corp.ptsget.sdamod.dadsnd
},
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
prep:{
ptsget:{
sdamod:{
seainf:"", // .cctp.prep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.prep.ptsget.sdamod.dadsnd
},
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
},
drop:{
ptsget:{
sdamod:{
seainf:"", // .cctp.drop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.drop.ptsget.sdamod.dadsnd
},
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
colp:{
ptsget:{
sdamod:{
seainf:"", // .cctp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.colp.ptsget.sdamod.dadsnd
},
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
usr:{
extkey:"", // User ID .cctp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .cctp.usrget.sdamod.seainf
},
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
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<!--- 左边--->
<!-- ====================左边======================= -->
<c-col :span="11">
<c-col :span="20">
<c-col :span="24">
<el-form-item label="Our Reference" prop="ccdgrp.rec.ownref">
<c-fullbox>
<c-input
v-model="model.ccdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Our Reference"
placeholder="请输入Reference"
disabled
></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
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" @click="onCctmodButgetref">
Get Ref
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</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>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
@click="onCctmodButgetref"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="11">
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Draft Amount" prop="ccdgrp.cbs.max.cur">
<c-select
v-model="model.ccdgrp.cbs.max.cur"
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>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item prop="ccdgrp.cbs.max.amt">
<c-input
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.max.amt"
placeholder="请输入Draft Amount"
></c-input>
style="text-align: left; width: 100%"
placeholder="请输入Document Amount"
@keyup.enter.native="
defaultFunction('ccdgrp.cbs.max.amt', model.ccdgrp.cbs.max.amt)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="10">
<c-col :span="12">
<el-form-item label="Open Amount" prop="ccdgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.ccdgrp.cbs.opn1.cur"
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>
</el-form-item>
</c-col>
<c-col :span="14">
<el-form-item prop="ccdgrp.cbs.opn1.amt">
<c-input
<c-col :span="12">
<el-form-item
style="text-align: left"
label-width="20px"
prop="ccdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.ccdgrp.cbs.opn1.amt"
placeholder="请输入Open Amount"
></c-input>
style="text-align: left; width: 100%"
placeholder="请输入"
:disabled="true"
@keyup.enter.native="
defaultFunction(
'ccdgrp.cbs.opn1.amt',
model.ccdgrp.cbs.opn1.amt
)
"
></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Form of Clean Coll." prop="ccdgrp.rec.ccform">
<c-select
v-model="model.ccdgrp.rec.ccform"
style="width: 100%"
placeholder="请选择Form of Clean Coll."
:code="codes.ccform"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Mode of Collection" prop="ccdgrp.rec.modset">
<c-select
v-model="model.ccdgrp.rec.modset"
style="width: 100%"
placeholder="请选择Mode of Collection"
:code="codes.modset"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Disposition " prop="ccdgrp.rec.purflg">
<c-select
v-model="model.ccdgrp.rec.purflg"
style="width: 100%"
placeholder="请选择Payment Disposition "
:code="codes.purflg"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Type of Check" prop="ccdgrp.rec.tocsel">
<c-select
v-model="model.ccdgrp.rec.tocsel"
style="width: 100%"
placeholder="请选择Type of Check"
:code="codes.tocsel"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="TYPE OF PRESENTER" prop="ccdgrp.rec.pretyp">
<c-select
v-model="model.ccdgrp.rec.pretyp"
style="width: 100%"
placeholder="请选择TYPE OF PRESENTER"
:code="codes.pretyp"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Check Number" prop="ccdgrp.rec.chcknum">
<c-input
v-model="model.ccdgrp.rec.chcknum"
......@@ -146,7 +177,8 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Date of Order" prop="ccdgrp.orddat">
<c-date-picker
type="date"
......@@ -156,7 +188,8 @@
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Date of Draft" prop="ccdgrp.rec.chkdat">
<c-date-picker
type="date"
......@@ -167,7 +200,7 @@
</el-form-item>
</c-col>
<c-col :span="11">
<c-col :span="22">
<el-form-item label="resp.usr" prop="cctp.usr.extkey">
<c-input
v-model="model.cctp.usr.extkey"
......@@ -176,7 +209,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-col :span="2">
<el-form-item label="" label-width="15px">
<c-button size="small" type="primary;width:10%" @click="onSeainf"
>i</c-button
......@@ -229,8 +262,33 @@
></c-input>
</el-form-item>
</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="24">
<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>
<c-page title="光票托收建立">
<div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form
:model="model"
:rules="rules"
......@@ -11,96 +22,107 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000001 -->
<el-tab-pane label="基本信息" name="cctdav">
<m-cctdav :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="帐务" name="setpan">
<!--PD000000 -->
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cctdav PD000001 -->
<el-tab-pane label="Establish Clean Collection" name="cctdav1">
<c-content>
<m-setpan :model="model" :codes="codes" />
<m-cctdav1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546
<el-tab-pane label="附件" name="doctre">
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
-->
<el-tab-pane label="或有" name="engp">
<m-engp :model="model" :codes="codes" />
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--glemod PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<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>
</c-page>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Cctdav from "~/model/Cctdav";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Cctdav/Check";
import Default from "~/model/Cctdav/Default";
import Pattern from "~/model/Cctdav/Pattern";
import Cctdav1 from "./Cctdav1";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp";
import Engp from "~/views/Public/Engp";
// import Docpan from "./Docpan";
// import Doctre from "./Doctre";
// import Coninfp from "./Coninfp";
// import Setpan from "./Setpan";
// import Glepan from "./Glepan";
import Setinsp from "./Setinsp";
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";
export default {
name: "Cctdav1",
name: "Cctdav",
components: {
"m-setpan": Setpan,
"m-cctdav": Cctdav1,
"m-coninfp": Coninfp,
"m-engp": Engp,
//"m-doctre": Doctre,
"m-cctdav1": Cctdav1,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-setinsp": Setinsp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "cctdav",
tabVal: "cctdav1",
trnName: "cctdav",
trnType: "",
model: new Cctdav().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
codes: { ...CodeTable },
};
},
methods: {
tabClick() {},
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
},
created: async function () {
console.log("进入cctdav交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
......
......@@ -19,7 +19,7 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="8">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select
disabled
......@@ -38,7 +38,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
disabled
......@@ -57,12 +57,12 @@
</el-form-item>
</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">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox>
</el-form-item>
</c-col> -->
</c-col>
</c-col>
</div>
</template>
......
......@@ -224,6 +224,7 @@
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
placeholder="请选择Applicable Rules"
:code="codes.apprulc"
>
</c-select>
</el-form-item>
......@@ -420,7 +421,6 @@
v-model="model.gidgrp.blk.apprul"
style="width: 100%"
placeholder="请选择Applicable Rules"
>
</c-select>
</el-form-item>
......@@ -643,8 +643,10 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="6" v-if="model.gitp.swiftflg == 'N'" class="centerLable">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
<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
>
</c-col>
......
......@@ -49,7 +49,7 @@
<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-input v-model="model.setmod.zmqacc" maxlength="20" :placeholder="$t('other.please_enter')+'自区主号'"></c-input>
</c-form-item>
</c-col>
......
......@@ -18,7 +18,7 @@
<c-date-picker
type="date"
v-model="scope.row.matdat"
value-format="YYYY-MM-DD"
value-format="yyyy-MM-dd"
placeholder="请选择Date"
style="width: 100%"
@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