Commit ea7e721d by 郭旭

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

parents af28f2b1 539fd361
...@@ -3785,12 +3785,13 @@ const CodeTable = { ...@@ -3785,12 +3785,13 @@ const CodeTable = {
{ label: "通知/确认", value: "LETOPN" }, { label: "通知/确认", value: "LETOPN" },
], ],
hndtyp: [ hndtyp: [
{ label: "他行委托我行转开的保函登记", value: "FR" }, // { label: "他行委托我行转开的保函登记", value: "FR" },
{ label: "他行委托我行开立保函", value: "OT" }, // { label: "他行委托我行开立保函", value: "OT" },
{ label: "我行直接开立保函", value: "OL" }, { label: "我行直接开立保函", value: "OL" },
{ label: "通知保函", value: "FI" }, // { label: "通知保函", value: "FI" },
{ label: "我行通知或转往保函指定的通知行", value: "FA" }, // { label: "我行通知或转往保函指定的通知行", value: "FA" },
{ label: "我行委托他行开立保函", value: "OC" }, { label: "我行委托他行开立保函", value: "OC" },
], ],
seahndtyp1: [ seahndtyp1: [
{ label: "我行直接开立保函", value: "OL" }, { label: "我行直接开立保函", value: "OL" },
...@@ -4786,8 +4787,13 @@ const CodeTable = { ...@@ -4786,8 +4787,13 @@ const CodeTable = {
{ label: "等待响应", value: "" }, { label: "等待响应", value: "" },
], ],
objtyp: [ objtyp: [
{ label: "规则", value: "ORD" }, // { label: "规则", value: "ORD" },该选项和TD中不一样
{ label: "交易", value: "TRN" }, // { label: "交易", value: "TRN" },该选项和TD中不一样
{ label: "default", value: "" },
{ label: "country", value: "CTY" },
{ label: "party", value: "PTY" },
{ label: "group", value: "HEQ" },
], ],
obsper: [ obsper: [
{ label: "15分钟", value: "003" }, { label: "15分钟", value: "003" },
...@@ -6397,7 +6403,7 @@ const CodeTable = { ...@@ -6397,7 +6403,7 @@ const CodeTable = {
{ label: "银行信贷证明", value: "V" }, { label: "银行信贷证明", value: "V" },
{ label: "其他融资类保函", value: "W" }, { label: "其他融资类保函", value: "W" },
{ label: "加贸保函", value: "X" }, { label: "加贸保函", value: "X" },
{ label: "备用信用证备用信用证", value: "Y" }, { label: "备用信用证", value: "Y" },
{ label: "其他非融资类保函", value: "Z" }, { label: "其他非融资类保函", value: "Z" },
], ],
typsel: [ typsel: [
......
import Utils from "~/utils"
/**
* Gctadd Check规则
*/
let checkObj = {
"gcdgrp.prb.adrelc" :null,
"gcdgrp.oth.namelc" :null,
"gcdgrp.oth.adrelc" :null,
"gcdgrp.prb.pts.extkey" :null,
"gctp.ischktyp" :null,
"gctp.prechkdat" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"gcdgrp.apl.pts.nam" :null,
"mtabut.coninf.conexedat" :null,
"gcdgrp.oth.pts.extkey" :null,
"gcdgrp.oth.pts.adrblk" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Gctadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"gidgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.rec.ownref" :Utils.defaultFunction,
"gcdgrp.cbs.max.cur" :Utils.defaultFunction,
"gcdgrp.apl.pts.nam" :Utils.defaultFunction,
"gcdgrp.cbs.max.amt" :Utils.defaultFunction,
"gidgrp.rec.liadat" :Utils.defaultFunction,
"gidgrp.rec.gartyp" :Utils.defaultFunction,
"gctp.ischktyp" :Utils.defaultFunction,
"gcdgrp.ben.pts.nam" :Utils.defaultFunction,
"gcdgrp.prb.pts.extkey" :Utils.defaultFunction,
"gcdgrp.prb.adrelc" :Utils.defaultFunction,
"gcdgrp.prb.namelc" :Utils.defaultFunction,
"gcdgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.prb.pts.adrblk" :Utils.defaultFunction,
"gcdgrp.oth.pts.extkey" :Utils.defaultFunction,
"gcdgrp.oth.adrelc" :Utils.defaultFunction,
"gcdgrp.oth.namelc" :Utils.defaultFunction,
"gcdgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"gcdgrp.oth.pts.adrblk" :Utils.defaultFunction,
"gidgrp.cbs.opn1.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"gidgrp.rec.expdat" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"gcdgrp.rec.docprbrol" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPrbpDet(){
let rtnmsg = await this.executeRule("prbp.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: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"gctp.gidget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.gidget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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位" }
],
"gctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gidgrp.rec.liadat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gcdgrp.rec.clmdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.prechkdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.prbp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.prb.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gctp.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gctp.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gcdgrp.oth.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"gcdgrp.oth.adrelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"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"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Gctadd{
constructor () {
this.data = {
gctp:{
liafldlab:"", // Label for Field Liability .gctp.liafldlab
expfldlab:"", // Label for Field Validity .gctp.expfldlab
aplmullab:"", // Label, that is set, if there are multiple applicants .gctp.aplmullab
lialab:"", // Label unlimited Liability .gctp.lialab
explab:"", // Label unlimited Validity .gctp.explab
gidget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .gctp.gidget.sdamod.dadsnd
seainf:"", // .gctp.gidget.sdamod.seainf
},
},
recget:{
sdamod:{
seainf:"", // .gctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.recget.sdamod.dadsnd
},
},
adaflg:"", // Add. Amount .gctp.adaflg
prbp:{
ptsget:{
sdamod:{
seainf:"", // .gctp.prbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.prbp.ptsget.sdamod.dadsnd
},
},
},
othp:{
ptsget:{
sdamod:{
seainf:"", // .gctp.othp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .gctp.othp.ptsget.sdamod.dadsnd
},
},
},
prechkdat:"", // 预计核验日期 .gctp.prechkdat
ischktyp:"", // 是否需要核验 .gctp.ischktyp
},
gidgrp:{
rec:{
ownref:"", // Guarantee .gidgrp.rec.ownref
expdat:"", // Valid until .gidgrp.rec.expdat
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
liadat:"", // Liability until .gidgrp.rec.liadat
},
cbs:{
opn1:{
cur:"", // Currency .gidgrp.cbs.opn1.cur
amt:"", // Balance .gidgrp.cbs.opn1.amt
},
},
},
gcdgrp:{
rec:{
ownref:"", // Claim Number .gcdgrp.rec.ownref
nam:"", // Name .gcdgrp.rec.nam
clmdat:"", // Date of Claim .gcdgrp.rec.clmdat
docprbrol:"", // Presented by .gcdgrp.rec.docprbrol
payrol:"", // Payer .gcdgrp.rec.payrol
},
cbs:{
max:{
cur:"", // Amount Claimed .gcdgrp.cbs.max.cur
amt:"", // Balance .gcdgrp.cbs.max.amt
},
opn1:{
cur:"", // Open Amount .gcdgrp.cbs.opn1.cur
amt:"", // Balance .gcdgrp.cbs.opn1.amt
},
},
apl:{
pts:new Pts().data,
},
ben:{
pts:new Pts().data,
},
prb:{
pts:new Pts().data,
namelc:"", // 名称 .gcdgrp.prb.namelc
adrelc:"", // 地址 .gcdgrp.prb.adrelc
dbfadrblkcn:"", // Chinese address .gcdgrp.prb.dbfadrblkcn
},
oth:{
pts:new Pts().data,
namelc:"", // 名称 .gcdgrp.oth.namelc
adrelc:"", // 地址 .gcdgrp.oth.adrelc
dbfadrblkcn:"", // Chinese address .gcdgrp.oth.dbfadrblkcn
},
},
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
},
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -223,6 +223,7 @@ import Gitfre from "./Gitfre" ...@@ -223,6 +223,7 @@ import Gitfre from "./Gitfre"
import Trtrcl from "./Trtrcl" import Trtrcl from "./Trtrcl"
import Trtset from "./Trtset" import Trtset from "./Trtset"
import Trtcan from "./Trtcan" import Trtcan from "./Trtcan"
import Gctadd from "./Gctadd"
// import Dbiusr from "./Dbiusr" // import Dbiusr from "./Dbiusr"
// import Dbibch from "./Dbibch" // import Dbibch from "./Dbibch"
// import Infact from "./Infact" // import Infact from "./Infact"
...@@ -573,6 +574,7 @@ const BusRouter = [ ...@@ -573,6 +574,7 @@ const BusRouter = [
{ path: 'trtrcl', component: Trtrcl, name: 'Trtrcl', meta: { title: '进口融资索汇' }}, { path: 'trtrcl', component: Trtrcl, name: 'Trtrcl', meta: { title: '进口融资索汇' }},
{ path: 'trtset', component: Trtset, name: 'Trtset', meta: { title: '进口融资还款' } }, { path: 'trtset', component: Trtset, name: 'Trtset', meta: { title: '进口融资还款' } },
{ path: 'trtcan', component: Trtcan, name: 'Trtcan', meta: { title: '进口融资注销' } }, { path: 'trtcan', component: Trtcan, name: 'Trtcan', meta: { title: '进口融资注销' } },
{ path: 'gctadd', component: Gctadd, name: 'Gctadd', meta: { title: '保函索赔编辑参考号' } },
// { path: 'Dbiusr', component: Dbiusr, name: 'Dbiusr', meta: { title: 'Dbiusr' } }, // { path: 'Dbiusr', component: Dbiusr, name: 'Dbiusr', meta: { title: 'Dbiusr' } },
// { path: 'Dbibch', component: Dbibch, name: 'Dbibch', meta: { title: 'Dbibch' } }, // { path: 'Dbibch', component: Dbibch, name: 'Dbibch', meta: { title: 'Dbibch' } },
{ path: 'Ordrel', component: Ordrel, name: 'Ordrel', meta: { title: 'Ordrel' } }, { path: 'Ordrel', component: Ordrel, name: 'Ordrel', meta: { title: 'Ordrel' } },
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Litcan/Event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
//"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<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/Gctadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="索赔信息" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Gctadd/Event"
import Gitsetp1 from "./Gitsetp1";
export default {
components: {
"m-gitsetp1": Gitsetp1,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["gitsetp1"],
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</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">
<!--PD000031 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<m-addbcb :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
</c-function-btn>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Gctadd from "~/model/Gctadd"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs"
import Check from "~/model/Gctadd/Check"
import Default from "~/model/Gctadd/Default"
import Pattern from "~/model/Gctadd/Pattern"
import Ovwp from "./Ovwp"
import Coninfp from "./Coninfp"
import Addbcb from "./Addbcb"
export default {
name: "Gctadd",
components:{
"m-ovwp" : Ovwp,
"m-coninfp" : Coninfp,
"m-addbcb": Addbcb,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "ovwp",
trnName: "gctadd",
trnType: "",
model: new Gctadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable },
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入gctadd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
};
</script>
<style>
</style>
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label=""> <el-form-item label="" v-if="model.fremsg.sndmt!='59'">
<c-checkbox v-model="model.fremsg.flg" <c-checkbox v-model="model.fremsg.flg"
>发送确认保函真实性报文</c-checkbox >发送确认保函真实性报文</c-checkbox
> >
......
...@@ -3,22 +3,23 @@ ...@@ -3,22 +3,23 @@
<!-- SF000256 : Form of Undertaking --> <!-- SF000256 : Form of Undertaking -->
<c-col :span="12" style="padding-right: 20px"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label=" form of undertaking" prop="fremsg.tag22d"> <el-form-item label="承诺形式" prop="fremsg.tag22d">
<c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.tag22d" :placeholder="formundertaking"> <c-select v-model="model.fremsg.tag22d" style="width:100%" :code="codes.legfrm3" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000257 : Undertaking Number --> <!-- SF000257 : Undertaking Number -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label=" Undertaking Number " prop="fremsg.tag23"> <c-form-item label="企业编号" prop="fremsg.tag23">
<c-input v-model="model.fremsg.tag23" maxlength="16" :placeholder="$t('other.please_enter')+$t('fremsg.SF000257')"></c-input> <c-input v-model="model.fremsg.tag23" maxlength="16" placeholder=""></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- SF000258 : Issuer of Undertak. --> <!-- SF000258 : Issuer of Undertak. -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="索赔" prop="fremsg.issrol"> <el-form-item label="发行人" prop="fremsg.issrol">
<c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择索赔当事人" code="codes.payrol" <c-select v-model="model.fremsg.issrol" style="width: 100%" placeholder="请选择发行人" :code="codes.payrol"
@change="eventFunction('fremsg.issrol')" @change="eventFunction('fremsg.issrol')"
> >
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value"> <!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
...@@ -58,16 +59,16 @@ ...@@ -58,16 +59,16 @@
<!-- SF000259 : Function --> <!-- SF000259 : Function -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Function" prop="fremsg.tag23h"> <el-form-item label="功能" prop="fremsg.tag23h">
<c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" :placeholder="$t('other.please_enter')+$t('fremsg.SF000259')"> <c-select v-model="model.fremsg.tag23h" style="width:100%" :code="codes.tag23h" placeholder="">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- SF000260 : Details of Request --> <!-- SF000260 : Details of Request -->
<c-col :span="24"> <c-col :span="24">
<c-form-item label="Details of Request" prop="fremsg.tag45d"> <c-form-item label="请求的详细信息" prop="fremsg.tag45d">
<c-input type="textarea" v-model="model.fremsg.tag45d" :code="codes.tag45d" :rows="5" maxlength="65" show-word-limit :placeholder="$t('other.please_enter')+$t('fremsg.SF000260')" ></c-input> <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-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -84,7 +85,7 @@ export default { ...@@ -84,7 +85,7 @@ export default {
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data(){
return { return {
} }
}, },
......
...@@ -63,7 +63,10 @@ ...@@ -63,7 +63,10 @@
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash"> <c-function-btn
:handleSubmit="handleSubmit.bind(this,'cfabut.sav')"
:handleCheck="handleCheck.bind(this,'cfabut.chk')"
:handleStash="handleStash">
</c-function-btn> </c-function-btn>
</div> </div>
......
...@@ -42,46 +42,46 @@ export const Pattern = { ...@@ -42,46 +42,46 @@ export const Pattern = {
"gidtxt": [ "gidtxt": [
], ],
"gartyp": [ "gartyp": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"hndtyp": [ "hndtyp": [
{ "required": true, "message": "必输项", "type": "string" } { "required": false, "message": "必输项", "type": "string" }
], ],
"objtyp": [ "objtyp": [
{ "required": true, "message": "必输项", "type": "string" }, { "required": false, "message": "必输项", "type": "string" },
], ],
"objinr": [ "objinr": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" } { "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
], ],
"gtxpri": [ "gtxpri": [
{ required: true, message: "必输项", type: "string" } { required: false, message: "必输项", type: "string" }
], ],
"expflg": [ "expflg": [
{ required: false, "message": "必输项", "type": "string" }, { required: false, "message": "必输项", "type": "string" },
], ],
"uil": [ "uil": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" } { "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
], ],
"laborcdat": [ "laborcdat": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" } { "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
], ],
"labaddinf": [ "labaddinf": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": false, "message": "必输项", "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" } { "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
], ],
"legfrm": [ "legfrm": [
{ "required": true, "message": "必输项", "type": "string" } { "required": false, "message": "必输项", "type": "string" }
], ],
"covgodsrvdft": [ "covgodsrvdft": [
{ "type": "string", "trigger": "blur" }, { "type": "string", "trigger": "blur" },
{ "max": 420, "message": "最大长度420个字符", "trigger": "blur" } { "max": 420, "message": "最大长度420个字符", "trigger": "blur" }
], ],
"etgextkey": [ "etgextkey": [
{"required": true, "type": "string", "message": "必输项", "trigger": "blur"}, {"required": false, "type": "string", "message": "必输项", "trigger": "blur"},
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" } { "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
] ]
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="编号" prop="extkey"> <el-form-item label="保函编号" prop="extkey">
<c-input <c-input
v-model="model.extkey" v-model="model.extkey"
placeholder="请输入编号" placeholder="请输入编号"
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="名字" prop="nam"> <el-form-item label="保函名字" prop="nam">
<c-input <c-input
v-model="model.nam" v-model="model.nam"
placeholder="请输入名字" placeholder="请输入保函名字"
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
...@@ -54,11 +54,13 @@ ...@@ -54,11 +54,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="保函类型" prop="gartyp"> <el-form-item label="保函类型" prop="gartyp">
<c-input <c-select
style="width: 100%"
v-model="model.gartyp" v-model="model.gartyp"
placeholder="请输入保函类型" placeholder="请选择保函类型"
:code="getCodesByKey('typgar')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -122,7 +124,7 @@ ...@@ -122,7 +124,7 @@
<c-select style="width: 100%" <c-select style="width: 100%"
v-model="model.expflg" v-model="model.expflg"
placeholder="请选择无责任担保标志" placeholder="请选择无责任担保标志"
:code="getCodesByKey('expflg')" :code="getCodesByKey('gtxexpflg')"
> >
</c-select> </c-select>
<!-- <c-input--> <!-- <c-input-->
...@@ -134,11 +136,13 @@ ...@@ -134,11 +136,13 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="语言" prop="uil"> <el-form-item label="语言" prop="uil">
<c-input <c-select
style="width: 100%"
v-model="model.uil" v-model="model.uil"
placeholder="请输入语言" placeholder="请输入语言"
:code="getCodesByKey('gtxuil')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -164,7 +168,7 @@ ...@@ -164,7 +168,7 @@
<c-select style="width: 100%" <c-select style="width: 100%"
v-model="model.legfrm" v-model="model.legfrm"
placeholder="请选择格式" placeholder="请选择格式"
:code="getCodesByKey('legfrm')" :code="getCodesByKey('legfrm1')"
> >
</c-select> </c-select>
<!-- <c-input--> <!-- <c-input-->
......
...@@ -12,23 +12,80 @@ ...@@ -12,23 +12,80 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="编号" prop="extkey"> <el-form-item label="保函编号" prop="extkey">
<c-input <c-input
v-model="model.extkey" v-model="model.extkey"
placeholder="请输入名称" placeholder="请输入名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="处理类型" prop="hndtyp">
<c-select style="width: 100%"
v-model="model.hndtyp"
placeholder="请选择处理类型"
:code="getCodesByKey('hndtyp')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="语言" prop="uil">
<c-select style="width: 100%"
v-model="model.uil"
placeholder="请输入语言"
:code="getCodesByKey('gtxuil')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24">
<el-form-item label="格式" prop="legfrm">
<c-select style="width: 100%"
v-model="model.legfrm"
placeholder="请输入格式"
:code="getCodesByKey('legfrm1')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="无责任担保标志" prop="expflg">
<c-select style="width: 100%"
v-model="model.expflg"
placeholder="请输入无责任担保标志"
:code="getCodesByKey('gtxexpflg')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- 右 -->
<c-col :span="12" class="col-right"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="名字" prop="nam"> <el-form-item label="保函名字" prop="nam">
<c-input <c-input
v-model="model.nam" v-model="model.nam"
placeholder="请输入名字" placeholder="请输入保函名字"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函类型" prop="gartyp">
<c-select
style="width: 100%"
v-model="model.gartyp"
placeholder="请选择保函类型"
:code="getCodesByKey('typgar')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
...@@ -66,16 +123,18 @@ ...@@ -66,16 +123,18 @@
> >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="objtyp" prop="objtyp"> <el-form-item label="对象类型" prop="objtyp">
<c-input <c-select
style="width: 100%"
v-model="model.objtyp" v-model="model.objtyp"
placeholder="请输入objtyp" placeholder="请输入对象类型"
:code="getCodesByKey('objtyp')"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> --> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="objinr" prop="objinr"> <el-form-item label="objinr" prop="objinr">
<c-input <c-input
...@@ -85,45 +144,35 @@ ...@@ -85,45 +144,35 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
</c-col>
<!------------- 右 ----------> <c-col :span="24">
<!-- <c-col :span="12" class="col-right"> <el-form-item label="优先级" prop="gtxpri">
<c-col :span="24"> <c-select style="width: 100%"
<el-form-item label="gtxpri" prop="gtxpri">
<c-input
v-model="model.gtxpri" v-model="model.gtxpri"
placeholder="请输入gtxpri" placeholder="请输入优先级"
> :code="getCodesByKey('gtxpri')"
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="expflg" prop="expflg">
<c-input
v-model="model.expflg"
placeholder="请输入expflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="uil" prop="uil">
<c-input
v-model="model.uil"
placeholder="请输入uil"
> >
</c-input> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="laborcdat" prop="laborcdat"> <c-col :span="24">
<c-input <el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-date-picker style="width: 100%"
v-model="model.laborcdat" v-model="model.laborcdat"
placeholder="请输入laborcdat" placeholder="请输入日期"
> >
</c-input> </c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<!------------- 右 ---------->
<!-- <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="labaddinf" prop="labaddinf"> <el-form-item label="labaddinf" prop="labaddinf">
<c-input <c-input
...@@ -133,15 +182,7 @@ ...@@ -133,15 +182,7 @@
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<el-form-item label="legfrm" prop="legfrm">
<c-input
v-model="model.legfrm"
placeholder="请输入legfrm"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="covgodsrvdft" prop="covgodsrvdft"> <el-form-item label="covgodsrvdft" prop="covgodsrvdft">
<c-input <c-input
...@@ -246,22 +287,22 @@ export default { ...@@ -246,22 +287,22 @@ export default {
gtxData: [], gtxData: [],
gtxColumns: [ gtxColumns: [
// { label: 'inr', prop: 'inr', width: 'auto' }, // { label: 'inr', prop: 'inr', width: 'auto' },
// { label: 'extkey', prop: 'extkey', width: 'auto' }, { label: '保函编号', prop: 'extkey', width: '120%' },
{ label: '名字', prop: 'nam', width: 'auto' }, { label: '保函名字', prop: 'nam', width: '120%' },
// { label: 'ver', prop: 'ver', width: 'auto' }, // { label: 'ver', prop: 'ver', width: 'auto' },
// { label: 'gidtxt', prop: 'gidtxt', width: 'auto' }, // { label: 'gidtxt', prop: 'gidtxt', width: 'auto' },
{ label: '保函类型', prop: 'gartyp', width: 'auto' }, { label: '保函类型', prop: 'gartyp', width: '120%' },
{ label: '处理类型', prop: 'hndtyp', width: 'auto' }, { label: '处理类型', prop: 'hndtyp', width: '120%' },
// { label: 'objtyp', prop: 'objtyp', width: 'auto' }, { label: '对象类型', prop: 'objtyp', width: '120%' },
// { label: 'objinr', prop: 'objinr', width: 'auto' }, // { label: 'objinr', prop: 'objinr', width: 'auto' },
// { label: 'gtxpri', prop: 'gtxpri', width: 'auto' }, { label: '优先级', prop: 'gtxpri', width: '100%' },
// { label: 'expflg', prop: 'expflg', width: 'auto' }, { label: '无责任担保标志', prop: 'expflg', width: '140%' },
// { label: 'uil', prop: 'uil', width: 'auto' }, { label: '语言', prop: 'uil', width: 'auto' },
// { label: 'laborcdat', prop: 'laborcdat', width: 'auto' }, { label: '保函文本中的交易日期', prop: 'laborcdat', width: '180%' },
// { label: 'labaddinf', prop: 'labaddinf', width: 'auto' }, // { label: 'labaddinf', prop: 'labaddinf', width: 'auto' },
// { label: 'legfrm', prop: 'legfrm', width: 'auto' }, { label: '格式', prop: 'legfrm', width: 'auto' },
// { label: 'covgodsrvdft', prop: 'covgodsrvdft', width: 'auto' }, // { label: 'covgodsrvdft', prop: 'covgodsrvdft', width: 'auto' },
{ label: '实体组', prop: 'etgextkey', width: 'auto' }, // { label: '实体组', prop: 'etgextkey', width: 'auto' },
], ],
}; };
}, },
......
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="客户信息查询"> <c-page title="保函文本查询">
<el-form <el-form
:model="model" :model="model"
ref="modelForm" ref="modelForm"
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
> >
<c-tabs v-model="tabVal" ref="elment" type="card"> <c-tabs v-model="tabVal" ref="elment" type="card">
<!--PD000039 --> <!--PD000039 -->
<el-tab-pane label="客户查询" name="infsea"> <el-tab-pane label="保函文本查询" name="infsea">
<c-content> <c-content>
<m-infsea :model="model" ref="infsea" /> <m-infsea :model="model" ref="infsea" />
</c-content> </c-content>
......
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