Commit aef83c86 by WF1020

gitcrj修改

parent 00d68b5b
......@@ -119,7 +119,7 @@ export default {
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
let res = await Api.post('/service/gitame/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
......
......@@ -2,7 +2,7 @@
<div class="eContainer">
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
......@@ -11,7 +11,7 @@
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
<m-ccvpan :model="model" :codes="codes" :buildLiaccv="buildLiaccv" />
</c-content>
</el-tab-pane>
......@@ -129,7 +129,6 @@ export default {
rules: formRules,
trnType: "",
model: new Gitame().data,
rules: null,
codes: {
...CodeTable,
},
......
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import setmod from '~/components/business/setmod/event';
import glentry from '~/components/business/glentry/event';
import engp from '~/components/business/engp/event';
import docpan from '~/components/business/docpan/event';
import ccvpan from '~/components/business/ccvpan/event';
import Utils from "~/utils"
export default {
mixins: [commonFunctions],
methods: {
...setmod,
...glentry,
...engp,
...docpan,
...ccvpan,
async init () {
const res = await Api.post('/service/gitcan/init', {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
gidInr: this.$route.query.inr
});
if (!res.data) {
return
}
this.copyValueFromVoData(this.model, res.data)
this.copyValueFromVoData(this.model.setmod.setfeg, res.data.setfeg)
this.copyValueFromVoData(this.model.setmod.setfog, res.data.setfog)
this.copyValueFromVoData(this.model.setmod.setglg, res.data.setglg)
},
// 兼容处理在前端model中定义了字段,后端返回的数据中不存在字段的问题
copyValueFromVoData (model, data) {
let keysList = Object.keys(model)
keysList.map((key) => {
if (data[key]) {
if (Utils.typeOf(model[key]) === 'Object') {
this.copyValueFromVoData(model[key], data[key])
} else {
this.$set(model, key, data[key])
}
}
})
},
async tabClick(tab) {
console.log(tab)
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.buildCcvpan(this.model, this.trnName);
this.processLiaccv(ccvpanRequest);
break;
case 'engp':
let engpRequest = buildFn.buildEngp(this.model, this.trnName);
this.processLiaall(engpRequest);
break;
case 'setpan':
let setfegRequest = buildFn.buildSetfeg(this.model, this.trnName);
// 此处利用回调是为了等setfeg的接口调用完成后才去获取setglg参数,由于setglg参数依赖于setfeg函数的返回值
this.processSetpan(setfegRequest, () => {
return buildFn.buildSetglg(this.model, this.trnName);
});
break;
case 'docpan':
let docpanRequest = buildFn.buildDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
default:
return;
}
},
// 点击获取按钮拉取当前key字段下的表单数据
queryFormData(key) {
console.log(key);
},
// 业务信息=》基本信息=》保函编号-----获取保函编号
async queryOwnref() {
let params = {
ptainr: this.model.gidgrp.apl.pts.ptainr,
businessType: 'LG',
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
}
},
// 获取gitopn弹框表格数据
async queryGridEtyPromptDialogData(type, ptytyp) {
let params = {
userId: window.sessionStorage.userId || 'ZL',
ptytyp: ptytyp,
extkey: this.model.gidgrp[type.toLowerCase()].pts.extkey,
};
let res = await Api.post('/service/ptspta/list', params);
if (res.respCode == SUCCESS) {
this.root.$refs['etyDialog'].show = true;
this.root.promptData.data = res.data.ptaInfos;
this.root.promptData.type = type;
}
},
// 选中gitopn弹框表格的行数据
async selectGridEtyPromptData(row) {
let params = {
...row,
};
let res = await Api.post('/service/ptspta/fetch', params);
if (res.respCode == SUCCESS) {
this.$set(this.model.gidgrp, row.role.toLowerCase(), res.data);
}
},
// 业务信息=》基本信息=》支出目的
purposChange(key, value) {
this.handleChangeForm(key, value);
},
// 初始化保函开立类型码表下拉列表
async queryHndtypCodeTableList(trnName) {
let params = {
gitp: {
swiftflg: this.model.gitp.swiftflg,
},
gidgrp: {
rec: {
purpos: this.model.gidgrp.rec.purpos,
},
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gitopn/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
},
// 是否SWIFT格式修改--联动保函开立类型
handleChangeSwiftflg() {
this.queryHndtypCodeTableList(this.root.trnName);
},
// 支出目的修改--联动保函开立类型
handleChangePurpos() {
this.queryHndtypCodeTableList(this.root.trnName);
},
buildLiaccv () {
let params = {
...buildFn.buildCommonData(this.model, this.trnName),
liaccvg: this.model.liaccv.liaccvg,
oldamt: this.model.liaccv.oldamt,
chgamt: this.model.liaccv.chgamt,
concur: this.model.liaccv.concur,
};
return params
},
// 公共组件setmod处理方式改变触发联动
changeSetmodModel (emitParams) {
let reqParams = {}
switch (emitParams.code) {
case 'processMethods':
reqParams = buildFn.buildSetglg(this.model, this.trnName);
this.calcPayDetail(reqParams)
break
case 'changeDsp':
let index = emitParams.index;
let setglgRequest = buildFn.buildSetglg(this.model, this.trnName);
setglgRequest.setglg = {setgll: emitParams.list};
this.setgllAccts(setglgRequest, index);
break
default:
return
}
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Gitcrj Check规则
*/
let checkObj = {
"liaall.limmod.limpts.oth.pts.extkey" :null,
"gcdgrp.prb.adrelc" :null,
"liaall.limmod.ownref" :null,
"liaall.limmod.ecifno" :null,
"gcdgrp.oth.namelc" :null,
"gcdgrp.blk.disdoc" :null,
"gcdgrp.oth.adrelc" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"setmod.dspflg" :null,
"gcdgrp.prb.pts.extkey" :null,
"trnmod.swiadd.strinfs20" :null,
"gcdgrp.prb.namelc" :null,
"gcdgrp.prb.pts.adrblk" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"gcdgrp.apl.pts.nam" :null,
"gcdgrp.rec.msgdat" :null,
"mtabut.coninf.conexedat" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"setmod.docamt" :null,
"gcdgrp.oth.pts.extkey" :null,
"gcdgrp.oth.pts.adrblk" :null,
"mtabut.clsflg" :null,
"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: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"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"}
],
"gctp.recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"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: "string", 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: "string", 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: "输入正确的日期"}
],
"lettername":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"rejtypsel":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"gcdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"gcdgrp.rec.msgdat":[
{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"}
],
"trnmod.swiadd.strinfs20":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"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"}
],
"gcdgrp.blk.disdoc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.zmqacc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"trnmod.trndoc.advnam":[
{type: "string", required: false, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.amdapl":[
{type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"}
],
"trnmod.trndoc.advdoc":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.filrecv":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"trnmod.trndoc.doctrestm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.rcvatt.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"instxt":[
{type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"}
],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gitcrj{
constructor () {
this.data = {
rejtypsel: '',
instxt: '',
mtabut: {
clsflg: ''
},
gctp: {
recget: {
sdamod: {
seainf: ''
}
},
gcthdr: '',
adaflg: '',
gidget: {
sdamod: {
seainf: ''
}
}
},
gcdgrp: {
blk: {
disdoc: ''
},
prb: {
pts: new Pts().data,
rec: {
msgdat: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: ''
},
oth: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
max: {
cur: '',
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
gidgrp: {
rec: {
expdat: '',
liadat: '',
ownref: '',
expflg: '',
gartyp: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
}
},
lettername: '',
trnmod: {
swiadd: {
strinfs20: ''
}
}
},
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
liaccv: new Pub().data.Liaccv,
docpan: new Pub().data.Docpan,
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px;">
<el-form-item label="银行指令" prop="instxt">
<c-input type="textarea" v-model="model.instxt" maxlength="65"
:rows="8"
show-word-limit placeholder="请输入银行指令" ></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import event from '../event'
export default {
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px">
<c-col
:span="16"
v-if="model.gidgrp.rec.expflg == 'X' || model.gidgrp.rec.expdat != ''"
>
<el-form-item
label="保函编号"
prop="gidgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col
:span="24"
v-if="model.gidgrp.rec.expflg != 'X' && model.gidgrp.rec.expdat == ''"
>
<el-form-item
label="保函编号"
prop="gidgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.rec.ownref"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp.gidget.sdamod.seainf"
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="8" v-if="model.gidgrp.rec.expflg == 'X'">
<el-form-item style="margin-left: 20px" label="我行责任敞口">
</el-form-item>
</c-col>
<c-col :span="8" v-if="model.gidgrp.rec.expdat != ''">
<el-form-item
label="保函效期"
label-width="50px"
prop="gidgrp.rec.expdat"
>
<c-date-picker
type="date"
v-model="model.gidgrp.rec.expdat"
disabled
style="width: 100%"
placeholder="请选择保函效期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="索赔编号"
prop="gcdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox>
<c-input
v-model="model.gcdgrp.rec.ownref"
maxlength="8"
placeholder="请输入"
disabled
></c-input>
<template slot="footer">
<c-button
v-model="model.gctp.recget.sdamod.seainf"
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
<c-button
size="small"
type="primary"
v-model="model.gctp.gcthdr"
disabled
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item
label="索赔金额"
prop="gcdgrp.cbs.max.cur"
previewLabel="信用证币种"
>
<c-input
v-model="model.gcdgrp.cbs.max.cur"
maxlength="3"
disabled
placeholder="请输入索赔金额"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item
previewLabel="信用证金额"
style="text-align: left"
label-width="5px"
prop="gcdgrp.cbs.max.amt"
>
<c-input-currency
v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入信用证金额"
disabled
></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="5">
<c-checkbox
v-model="model.gctp.adaflg"
disabled
style="
margin-left: 18px;
height: 32px;
line-height: 32px;
padding-bottom: 2px;
"
>附加金额
</c-checkbox>
</c-col>
<c-col :span="11">
<c-form-item
label="保函余额"
prop="gcdgrp.cbs.opn1.cur"
previewLabel="信用证币种"
>
<c-select
v-model="model.gcdgrp.cbs.opn1.cur"
placeholder=""
style="width: 100%"
disabled
>
<!-- <el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<c-form-item
previewLabel="信用证金额"
style="text-align: left"
label-width="5px"
prop="gcdgrp.cbs.opn1.amt"
>
<c-input-currency
v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入"
disabled
></c-input-currency>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函种类" prop="gidgrp.rec.gartyp">
<c-select
disabled
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函种类"
:code="codes.typgar"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat == 'X'">
<el-form-item label="我行责任敞口"> </el-form-item>
</c-col>
<c-col :span="24" v-if="model.gidgrp.rec.liadat != ''">
<el-form-item label="责任截至日" prop="gidgrp.rec.liadat">
<c-date-picker
type="date"
v-model="model.gidgrp.rec.liadat"
disabled
style="width: 100%"
placeholder="请选择责任截至日"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="索赔日期" prop="gcdgrp.rec.clmdat">
<c-input
v-model="model.gcdgrp.rec.clmdat"
maxlength="40"
disabled
placeholder="请输入索赔日期"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="12">
<c-form-item
label="保函余额"
prop="gidgrp.cbs.opn1.cur"
previewLabel="信用证币种"
>
<c-select
v-model="model.gidgrp.cbs.opn1.cur"
placeholder=""
style="width: 100%"
disabled
>
<!-- <el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> -->
</c-select>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item
previewLabel="信用证金额"
style="text-align: left"
label-width="5px"
prop="gidgrp.cbs.opn1.amt"
>
<c-input-currency-min
v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入信用证金额"
disabled
></c-input-currency-min>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="简略信息" prop="gcdgrp.rec.nam">
<c-input
v-model="model.gcdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="申请人参考号" prop="gcdgrp.apl.pts.ref">
<c-input
v-model="model.gcdgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="当事人名称" prop="gcdgrp.apl.pts.nam">
<c-input
v-model="model.gcdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入当事人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人参考号" prop="gcdgrp.ben.pts.ref">
<c-input
v-model="model.gcdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人名称" prop="gcdgrp.ben.pts.nam">
<c-input
v-model="model.gcdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入受益人名称"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="信函名称" prop="lettername">
<c-input
v-model="model.lettername"
maxlength="40"
placeholder="请输入信函名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="选择拒付类型" prop="rejtypsel">
<c-select
v-model="model.rejtypsel"
style="width: 100%"
placeholder=""
:code="rejtypsel"
></c-select>
</el-form-item>
</c-col>
<c-col :span="18">
<el-form-item label="拒付日期" prop="gcdgrp.rec.msgdat">
<c-date-picker
type="date"
v-model="model.gcdgrp.rec.msgdat"
style="width: 100%"
placeholder="请选择拒付日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="6">
<c-checkbox
v-model="model.mtabut.clsflg"
style="margin-left: 20px"
:disabled="model.rejtypsel != 'R'"
>是否闭卷</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="拒付原因" prop="trnmod.swiadd.strinfs20">
<c-input
type="textarea"
v-model="model.trnmod.swiadd.strinfs20"
maxlength="50"
:rows="10"
show-word-limit
placeholder="请输入拒付原因"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="文件清除" prop="gcdgrp.blk.disdoc">
<c-fullbox>
<c-input
type="textarea"
v-model="model.gcdgrp.blk.disdoc"
maxlength="35"
rows="3"
show-word-limit
placeholder="请输入文件清除"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 0 0 10px; padding: 1px 1px"
size="small"
type="primary"
icon="el-icon-more"
@click="
showGridPromptDialog(
'gctp.disdoc.buttxmsel',
null,
null,
{ TXT: 'gcdgrp.blk.disdoc' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="margin-top: 15px; padding-left: 20px">
<c-col :span="24">
<c-form-item label="索赔当事人" prop="gcdgrp.rec.docprbrol">
<c-select
v-model="model.gcdgrp.rec.docprbrol"
placeholder="请选择索赔当事人"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函编号" prop="gcdgrp.prb.pts.ref">
<c-input
v-model="model.gcdgrp.prb.pts.ref"
maxlength="16"
disabled
placeholder="请输入保函编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.prb.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gcdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
<c-button
size="small"
type="primary"
style="margin: 0 0"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.prb.pts.adrblk">
<c-input
disabled
type="textarea"
rows="4"
v-model="model.gcdgrp.prb.pts.adrblk"
maxlength="100"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item label="向索人" prop="gcdgrp.rec.payrol">
<c-select
v-model="model.gcdgrp.rec.payrol"
placeholder="请选择向索人"
style="width: 100%"
disabled
>
<el-option
v-for="item in codes.payrol"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.oth.pts.extkey">
<c-fullbox>
<c-input
v-model="model.gcdgrp.oth.pts.extkey"
maxlength="16"
disabled
placeholder="请输入"
>
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-info"
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="gcdgrp.oth.pts.adrblk">
<c-input
type="textarea"
rows="4"
v-model="model.gcdgrp.oth.pts.adrblk"
maxlength="100"
disabled
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
rejtypsel: [
{ label: "待定指令", value: "I" },
{ label: "直接返回单据", value: "R" },
],
typgar2: [
{ label: "农民工工资保函", value: "1" },
{ label: "农民工工资保函2", value: "2" },
],
};
},
watch: {
"model.rejtypsel": {
immediate: true,
handler(val, oldval) {
if (this.model.rejtypsel == "I") {
this.model.mtabut.clsflg = "";
} else if (this.model.rejtypsel == "R") {
this.model.mtabut.clsflg = "X";
}
},
},
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="拒付详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
import Gitsetp1 from "./Gitsetp1"
import Gitbin from "./Gitbin"
export default {
components:{
"m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page title="进口保函拒付">
<!-- <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-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="费用/账务" name="setpann">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="附言" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan">
<c-content>
<m-docpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件信息" name="doctre">
<c-content>
<m-doctre :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectGridEtyPromptData"
>
</c-grid-ety-prompt-dialog>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable";
import Gitsetp1 from "./Gitsetp1";
import Gitcrj from "../model";
import Gitbin from "./Gitbin";
import event from '../event'
import Limitbody from "~/components/business/limitbody/views";
import Doctre from "~/components/business/doctre/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp";
import Ovwp from "./Ovwp";
export default {
name: "Gitcrj",
components: {
"m-gitsetp1": Gitsetp1,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-gitbin": Gitbin,
"m-limitbody": Limitbody,
"m-ovwp": Ovwp,
},
provide() {
return {
root: this,
};
},
mixins: [event,operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "gitcrj",
model: new Gitcrj().data,
codes: { ...CodeTable },
rules: formRules,
activeNames: ["setpan", "coninfp"],
};
},
methods: {
},
mounted () {
this.init()
},
};
</script>
<style>
</style>
......@@ -8,5 +8,6 @@ const Business = [
{ path: 'inftrnpsDetail', component: () => import('~/business/trnrel/views/InftrnpsDetail.vue'), name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'litopn', component: () => import('~/business/litopn/views'), name: 'litopn', meta: { title: '进口信用证开立' } },
{ path: 'gitcrq', component: () => import('~/business/gitcrq/views'), name: 'gitcrq', meta: { title: '保函索赔登记' } },
{ path: 'gitcrj', component: () => import('~/business/gitcrj/views'), name: 'gitcrj', meta: { title: '进口保函拒付' } },
]
export default Business
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