Commit e638e84e by WH

Merge remote-tracking branch 'origin/settle-test-20230110' into settle-test-20230110

parents b3eeeeca 7b91eb91
......@@ -43,7 +43,6 @@
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import event from '../event'
export default {
inject: ["root"],
props: ["model", "codes"],
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="备查表" name="addbcb1">
<m-addbcb1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse v-model="activeNames">
<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>
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
......@@ -19,24 +19,22 @@ import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
import Addbcb1 from "./Addbcb1";
export default {
components: {
"m-coninfp": Coninfp,
"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: {
},
created: function () { },
components: {
"m-coninfp": Coninfp,
"m-addbcb1": Addbcb1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: {
},
created: function () { },
};
</script>
......
<template>
<div class="eibs-tab">
<!-- S0000003 : 货物税号 DE!-->
<c-row>
<c-col :span="24">
<c-col :span="12">
......
......@@ -2,32 +2,32 @@
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="修改日期" name="amedat20" v-if="model.gitp.swiftflg == 'Y'">
<m-amedat20 :model="model" :codes="codes" />
<m-amedat20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="演示/交付" name="preperp" v-if="model.gitp.swiftflg == 'Y'">
<m-preperp :model="model" :codes="codes" />
<m-preperp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 演示/交付" name="preperpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-preperpc :model="model" :codes="codes" />
<m-preperpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函修改" name="ameps20">
<m-ameps20 :model="model" :codes="codes" />
<m-ameps20 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C:保函修改" name="amecp" v-if="
model.gitp.swiftflg == 'Y' &&
(model.trnmod.swiadd.purposame == 'ISCA' ||
model.trnmod.swiadd.purposame == 'ICCA')
">
<m-amecp :model="model" :codes="codes" />
<m-amecp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp" v-if="model.gitamep.prtflg == 'X'">
<m-gidtxtp :model="model" :codes="codes" />
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 保函文本" name="gidtxtpc" v-if="
model.gitp.swiftflg == 'Y' &&
......@@ -35,34 +35,34 @@
model.trnmod.swiadd.purposame == 'ICCA') &&
model.gitamep.prtflg == 'X'
">
<m-gidtxtpc :model="model" :codes="codes" />
<m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="概要" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 概要" name="ovwpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ovwpc :model="model" :codes="codes" />
<m-ovwpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :model="model" :codes="codes" />
<m-ptyp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 当事人描述" name="ptypc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-ptypc :model="model" :codes="codes" />
<m-ptypc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 详细信息" name="detpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-detpc :model="model" :codes="codes" />
<m-detpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="历史信息" name="amephis">
<m-amephis :model="model" :codes="codes" />
......@@ -71,7 +71,7 @@
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-amephisc :model="model" :codes="codes" />
<m-amephisc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aacp" v-if="
model.gitp.swiftflg == 'Y' &&
......@@ -79,7 +79,7 @@
model.trnmod.swiadd.purposame == 'ICCA') &&
model.trnmod.swiadd.addamtflgc == 'X'
">
<m-aacp :model="model" :codes="codes" />
<m-aacp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq. C: 附加金额" name="aamp20" v-if="
......@@ -88,7 +88,7 @@
model.trnmod.swiadd.addamtflg == 'X' &&
model.gidgrp.rec.purpos != 'ISSU'
">
<m-aamp20 :model="model" :codes="codes" />
<m-aamp20 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
......
......@@ -24,8 +24,8 @@
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -42,7 +42,7 @@
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......
......@@ -101,7 +101,6 @@ import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre";
import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Coninfp from "~/views/Public/Coninfp";
......
......@@ -15,7 +15,7 @@ export default {
...docpan,
...ccvpan,
async init () {
const res = await Api.post('/service/gitcan/init', {
const res = await Api.post('/service/gitcrj/init', {
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
gidInr: this.$route.query.inr
......@@ -84,7 +84,7 @@ export default {
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
let res = await Api.post('/service/gircrj/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
......@@ -131,7 +131,7 @@ export default {
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gitopn/initHndtyp', params);
let res = await Api.post('/service/gitcrj/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
......
<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>
<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>
......@@ -14,16 +15,16 @@ 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(){
inject: ['root'],
props:["model","codes"],
mixins: [event],
data(){
return {
}
},
methods:{},
created:function(){
}
}
</script>
<style>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse v-model="activeNames">
<el-collapse-item title="拒付详情" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="银行指令" name="gitbin">
<m-gitbin :model="model" :codes="codes" />
<m-gitbin :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
......@@ -22,8 +21,8 @@
export default {
components:{
"m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin,
"m-gitsetp1" : Gitsetp1,
"m-gitbin" : Gitbin,
},
inject: ["root"],
props: ["model", "codes"],
......
......@@ -90,7 +90,7 @@ export default {
tbl: 'LG',
};
const loading = this.loading();
let res = await Api.post('/service/gitopn/getOwnRef', params);
let res = await Api.post('/service/gitcrq/getOwnRef', params);
if (res.respCode == SUCCESS) {
loading.close();
this.model.gidgrp.rec.ownref = res.data;
......@@ -137,7 +137,7 @@ export default {
},
transName: trnName.toUpperCase(),
};
let res = await Api.post('/service/gitopn/initHndtyp', params);
let res = await Api.post('/service/gitcrq/initHndtyp', params);
if (res.respCode == SUCCESS) {
this.$set(this.codes, 'voHndtyp', res.data);
}
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :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>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :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>
......@@ -17,20 +17,20 @@ import Utils from "~/utils";
import event from '../event'
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
},
created: function () { },
};
</script>
......
<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="gitdetp">
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
<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="gitdetp">
<m-gitdetp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
......@@ -18,21 +18,21 @@ import Gitdetp from "./Gitdetp";
import Gitsetp1 from "./Gitsetp1";
export default {
components: {
"m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: {
},
created: function () { },
components: {
"m-gitdetp": Gitdetp,
"m-gitsetp1": Gitsetp1,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
methods: {
},
created: function () { },
};
</script>
<style>
......
......@@ -13,8 +13,8 @@
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......@@ -31,7 +31,7 @@
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
<m-glentry :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
......
......@@ -41,7 +41,7 @@
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<el-tab-pane label="费用/账务" name="setmod">
<c-content>
<m-setmod
:model="model"
......
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/gitset/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/gitset/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/gitset/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';
/**
* Gitsel Check规则
*/
let checkObj = {
'recget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gidgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'recget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gidgrp.cbs.max.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.cbs.max.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'gidgrp.apl.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gidgrp.cbs.opn1.cur': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.cbs.opn1.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
'gidgrp.ben.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gidgrp.rec.expdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gidgrp.rec.liadat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gcdget.sdamod.dadsnd': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdgrp.rec.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gcdgrp.rec.ownref': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'gcdget.sdamod.seainf': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'gidgrp.ctr.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'gidgrp.adv.pts.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.rec.docprbrol': [
{ type: 'string', required: false, message: '必输项' },
{ max: 3, message: '长度不能超过3' },
],
'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.rec.clmdat': [
{ type: 'date', required: false, message: '输入正确的日期' },
],
'gidgrp.iss.pts.nam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 40, message: '长度不能超过40' },
],
'cfgfil.bitmap': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside5': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg5': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside9': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg9': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub1': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub3': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg2': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside6': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg6': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside10': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg10': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub4': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub5': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub6': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside3': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg3': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside7': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg7': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside11': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg11': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub7': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub8': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub9': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg4': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside4': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside8': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg8': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.regside12': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotreg12': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub10': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
'cfgfil.hotsub11': [
{ type: 'string', required: false, message: '必输项' },
{ max: 16, message: '长度不能超过16' },
],
};
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key);
}
}
export default checkObj;
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Gitsel{
constructor () {
this.data = {
setmod: {
setglg: {
setgllidx: {
setgrp: {
actser: {
pts: new Pts().data,
},
rcvcor2: {
pts: new Pts().data,
},
rcvcor: {
pts: new Pts().data,
},
snd756: {
pts: new Pts().data,
},
ori: {
pts: new Pts().data,
},
bei: {
pts: new Pts().data,
},
tri: {
pts: new Pts().data,
}
},
sespay: {
beiacc: '',
strinf202: '',
strinf: '',
rcvcor2acc: '',
ownref: '',
corbnk: '',
oriacc: '',
evebnk: '',
coract: '',
rcvcoracc: '',
triacc: ''
}
}
},
doccur: ''
},
cnybop: {
saddwordout: '',
sbankname: '',
outflg: '',
cnyflg: '',
cnyout: {
spayeeacct: '',
sorilevyno: '',
spayeeorgcode: '',
foffshoreamt: '',
cpayeeattr: '',
spayercountrycode: '',
fcustomsamt: '',
spayeracct: '',
frecordamt: '',
sbankorgcode: '',
sbanktrano: '',
fonshoreamt: '',
dpayeedate: '',
spayeecny: '',
spk: '',
ftotalamt: '',
iaccountperiod: '',
sbalancemode: '',
smidtransbank: '',
sswiftbic: '',
cpayeraccttyp: '',
fpayeeamt: '',
fprepayeeamt: '',
fnogoodsamt: ''
},
spayername: '',
traflg: '',
vouflg: '',
outscale: '',
libflg: '',
spayeename: ''
},
bopmod: {
dbfgrp: {
bas: {
actiontype: '',
actuamt: '',
custype: '',
othacc: '',
custnm: '',
methods: '',
rptno: '',
txccy: '',
lcyamt: '',
lcbgno: '',
tenor: '',
actuccy: '',
ownextkey: '',
idcode: '',
fcyamt: '',
issdate: '',
fcyacc: '',
txamt: '',
buscode: '',
outchargeamt: '',
oppuser: '',
lcyacc: '',
actiondesc: '',
outchargeccy: '',
othamt: '',
exrate: '',
custcod: ''
}
},
ownextkey: '',
dbcp: {
baspp: {
acp: ''
}
},
dbfp: {
baspp: {
acp: ''
}
},
acttyp: '',
szflg: '',
dbcgrp: {
bas: {
actiontype: '',
custype: '',
actuamt: '',
othacc: '',
custnm: '',
methods: '',
rptno: '',
txccy: '',
lcyamt: '',
lcbgno: '',
tenor: '',
actuccy: '',
ownextkey: '',
idcode: '',
fcyamt: '',
issdate: '',
fcyacc: '',
txamt: '',
buscode: '',
outchargeamt: '',
oppuser: '',
lcyacc: '',
actiondesc: '',
outchargeccy: '',
othamt: '',
exrate: '',
custcod: ''
}
},
basflg: ''
},
mtabut: {
clsflg: ''
},
gctp: {
recget: {
sdamod: {
seainf: ''
}
},
gcthdr: '',
prechkdat: '',
prbp: {
ptsget: {
sdamod: {
seainf: ''
}
},
det: ''
},
othp: {
ptsget: {
sdamod: {
seainf: ''
}
},
det: ''
},
ischktyp: '',
gidget: {
sdamod: {
seainf: ''
}
},
getrefbut: ''
},
gcdgrp: {
prb: {
pts: new Pts().data,
},
rec: {
cannowflg: '',
frepaylg: '',
ownref: '',
clmdat: '',
payrol: '',
nam: '',
docprbrol: '',
frepayflg: ''
},
oth: {
pts: new Pts().data,
},
cbs: {
opn1: {
cur: '',
amt: ''
},
opn2: {
cur: ''
},
max: {
cur: '',
amt: ''
},
max2: {
amt: ''
}
},
ben: {
pts: new Pts().data,
},
apl: {
pts: new Pts().data,
}
},
Gitsetp1: '',
paypsb: '',
gidgrp: {
rec: {
reddat: '',
invref: '',
cmtflg: '',
expdat: '',
liadat: '',
rptref: '',
ownref: '',
expflg: '',
gartyp: ''
},
cbs: {
opn1: {
cur: '',
amt: ''
}
},
tag39c: ''
},
gtisetp1: '',
liaall: {
limmod: {
limpfp: {
clmpty: '',
clmcbe: '',
clmcbb: '',
}
}
},
trnmod: {
reconebch: '',
cmtflg: '',
cipmod: {
recsehbchnam: '',
zjg1mc: '',
zjg2mc: '',
fuynh4: '',
dddbsh: '',
fukrhm: '',
fkhdzh: '',
stasehbchnam: '',
covflg: '',
recsehbch: '',
fuynh3: '',
dafnzh: '',
fuynh2: '',
fkrkhh: '',
staonebchnam: '',
fkkhmc: '',
skkhhh: '',
ddmisu: '',
pyebchkey: '',
ddbhao: '',
skkhhm: '',
staonebch: '',
fkhkhh: '',
stasehbch: '',
zjg1hh: '',
zjg2hh: '',
dafnmc: '',
skkhzh: '',
fuyns4: '',
fuyns3: '',
fuyns2: '',
fkkhzh: '',
fuyns1: '',
pyebchnam: ''
},
swftyp: '',
reconebchnam: '',
commen: '',
bustyp: '',
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">
<!-- SG000227 : 收款直接参与者行号 -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-form-item label="收款直接参与者行号" prop="trnmod.reconebch">
<c-input
v-model="model.trnmod.reconebch"
maxlength="35"
placeholder=""
></c-input>
</c-form-item>
</c-col>
<!-- SG000228 : 收款直接参与者名称 -->
<c-col :span="24">
<c-form-item label="收款直接参与者名称" prop="trnmod.reconebchnam">
<c-input
type="textarea"
v-model="model.trnmod.reconebchnam"
rows="3"
maxlength="35"
show-word-limit
placeholder=""
></c-input>
</c-form-item>
</c-col>
<!-- SG000229 : 附言 -->
<c-col :span="24">
<c-form-item label="附言" prop="trnmod.commen">
<c-input
type="textarea"
v-model="model.trnmod.commen"
rows="2"
maxlength="30"
show-word-limit
placeholder=""
></c-input>
</c-form-item>
</c-col>
<!-- SG000230 : 业务种类 -->
<c-col :span="24">
<el-form-item label="业务种类" prop="trnmod.bustyp">
<c-select
v-model="model.trnmod.bustyp"
style="width: 100%"
:code="codes.bustyp"
placeholder=""
>
</c-select>
</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 {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" >
<el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopmod.basflg && model.bopmod.szflg == '1'">
<m-basp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="境内付款/承兑通知书-基础信息" name="basp1" v-if="model.bopmod.basflg && model.bopmod.szflg == '2'">
<m-basp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="2111跨境支出信息" name="outp" v-if="model.cnybop.outflg == '1'">
<m-outp :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 Wg from "./Wg";
import Cnyp1 from "./Cnyp1";
import Basp from "./Basp";
import Basp1 from "./Basp1";
import Outp from "./Outp";
const tabNameToRulePathMapping = {
'basp': "bopmod.dbcp.basp",
'basp1': "bopmod.dbfp.basp",
"outp": "cnybop.outp",
}
export default {
inject: ["root"],
components: {
"m-wg": Wg,
"m-cnyp1": Cnyp1,
"m-basp": Basp,
"m-basp1": Basp1,
"m-outp": Outp,
},
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["wg"],
};
},
methods: {
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item
label="是否报送跨境人民币2101表"
prop="cnybop.cnyflg"
label-width="168px"
>
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
:code="codes.cnyflg"
disabled
placeholder="请选择是否报送跨境人民币2101表"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="是否报送跨境人民币2107表"
prop="cnybop.traflg"
label-width="168px"
>
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
disabled
:code="codes.traflg"
placeholder="请选择是否报送跨境人民币2107表"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="是否报送跨境人民币2111表"
prop="cnybop.outflg"
label-width="168px"
>
<c-select
v-model="model.cnybop.outflg"
style="width: 100%"
:disabled="!model.gidgrp.rec.cmtflg"
:code="codes.outflg"
placeholder="请选择是否报送跨境人民币2111表"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="是否报送跨境人民币2106表"
prop="cnybop.libflg"
label-width="168px"
>
<c-select
v-model="model.cnybop.libflg"
disabled
style="width: 100%"
:code="codes.libflg"
placeholder="请选择是否报送跨境人民币2106表"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="是否报送跨境人民币2122表"
prop="cnybop.vouflg"
label-width="168px"
>
<c-select
v-model="model.cnybop.vouflg"
disabled
style="width: 100%"
:code="codes.vouflg"
placeholder="请选择是否报送跨境人民币2122表"
>
</c-select>
</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 {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<el-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="报文MT 756的详细信息" label-width="200px">
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="发送报文:"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.snd756.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.setgll[idx].setgrp.snd756.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('setmod.setglg.setgll(' + (idx + 1) + ').setgrp.snd756.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
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="'setmod.setglg.setgll.'+idx+'.setgrp.snd756.pts.adrblk'"
>
<c-input
:rows="4"
type="textarea"
v-model="model.setmod.setglg.setgll[idx].setgrp.snd756.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="发报行的代理行(Tag 53a)"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.actser.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.setgll[idx].setgrp.actser.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onActserpDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="地址"
:prop="'setmod.setglg.setgll.' + idx + '.setgrp.actser.pts.adrblk'"
>
<c-input
:rows="4"
type="textarea"
v-model="model.setmod.setglg.setgll[idx].setgrp.actser.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收报行的代理行(Tag 54a)"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.rcvcor2.pts.extkey'"
>
<c-fullbox>
<c-input
v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor2.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog('gcdgrp.prb.pts.extkey')
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="地址"
:prop="'setmod.setglg.setgll.'+idx+'.setgrp.rcvcor2.pts.adrblk'"
>
<c-input
:rows="4"
type="textarea"
v-model="model.setmod.setglg.setgll[idx].setgrp.rcvcor2.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="收报行代理行帐号"
:prop="'setmod.setglg.setgll.'+idx+'.sespay.rcvcor2acc'"
>
<c-input
v-model="model.setmod.setglg.setgll[idx].sespay.rcvcor2acc"
maxlength="34"
placeholder="请输入收报行代理行的帐号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="发送给收报行信息(Tag 72)"
:prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf'"
>
<c-fullbox>
<c-input
type="textarea"
:rows="4"
v-model="model.setmod.setglg.setgll[idx].sespay.strinf"
maxlength="35"
show-word-limit
placeholder="请输入给收报行的附言(MT756的72栏)"
></c-input>
<template slot="footer">
<c-button
size="small"
type="primary"
icon="el-icon-more"
style="margin: 0 0 0 3px"
@click="
showGridPromptDialog(
'setmod.setglg.setgll.sespay.cod.buttxmsel',
null,
null,
{ TXT: 'setmod.setglg.setgll[' + idx + '].sespay.strinf' },
{ TXT: false },
'doxpDialog'
)
"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
</el-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","idx"],
mixins: [event],
data() {
return {};
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="索赔付款" name="gitsetp1">
<m-gitsetp1 ref="gitsetp1" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="索赔付款(1)" name="gitsetp">
<m-gitsetp ref="gitsetp" :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="CIPS" name="cips"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<m-cips :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="CIPS2" name="cips2"
v-if="model.trnmod.cmtflg == 'P'&&model.gidgrp.rec.cmtflg">
<m-cips2 :model="model" :codes="codes" />
</el-collapse-item>
<!-- <el-collapse-item title="通知付款(MT756)" name="det756">
<m-det756 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="头寸调拨(MT202)" name="det202cv"
v-if=" model.trnmod.cmtflg == 'C' || model.gcdgrp.cbs.max.cur != 'CNY' ">
<m-det202cv :model="model" :codes="codes" />
</el-collapse-item>
-->
<el-collapse-item v-for="(pac, idx) in pacs" :key="idx" :title="pac.title" :name="pac.name">
<m-det756 v-if="pac.type === '756'" :model="model" :codes="codes" :idx="pac.idx"/>
<m-det202cv v-else-if="pac.type === '202'" :model="model" :codes="codes" :idx="pac.idx" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import Utils from "~/utils";
import event from '../event'
import Det756 from "./Det756";
import Det202cv from "./Det202cv";
import Cips from "./Cips";
import Cips2 from "./Cips2";
import Gitsetp1 from "./Gitsetp1";
import Gitsetp from "./Gitsetp";
const tabNameToRulePathMapping = {
"cips": "trnmod.cipmod.cips",
}
export default {
components: {
"m-gitsetp1": Gitsetp1,
"m-gitsetp": Gitsetp,
"m-det756": Det756,
"m-det202cv": Det202cv,
"m-cips": Cips,
"m-cips2": Cips2,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
activeNames: ["gitsetp1"],
};
},
computed: {
pacs() {
const pa = []
const setgll = this.model.setmod.setglg.setgll
for (let i = 0; i < setgll.length; i++) {
const setg = setgll[i];
// 765和202页面出现条件(费用/账务页面:结算,处理方式是PAC时,756和202页面才能显示)
if (setg.dsp === 'PAC') {
const temp = []
temp.push(setg.rol )
temp.push(setg.acccur )
temp.push(setg.fmtaccamt )
pa.push({ idx: i, title: '通知付款(MT756 ' + temp.join(' ') + ')', name: 'det756_' + temp.join('_'), type: '756' })
pa.push({ idx: i, title: '头寸调拨(MT202 ' + temp.join(' ') + ')', name: 'det202cv_' + temp.join('_'), type: '202' })
}
}
if(pa.length !== 0){
tabNameToRulePathMapping[pa[0].name] = "setmod.setglg.setgll(2).sespay.det756";
tabNameToRulePathMapping[pa[1].name] = "setmod.setglg.setgll(2).sespay.det202cv";
}
return pa;
}
},
methods: {
},
created: function () {},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs">
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbe || []"
style="width: 100%"
>
<el-table-column
prop="limtyp"
label="限制类型"
sortable
width="120"
>
</el-table-column>
<el-table-column prop="cur" label="业务币种" sortable width="100">
</el-table-column>
<el-table-column
prop="cbeamt"
label="业务发生额"
sortable
width="120"
>
</el-table-column>
<el-table-column
prop="reqtyp1"
label="需求类型1"
sortable
width="120"
>
</el-table-column>
<el-table-column
prop="limcbeamt"
label="额度发生额"
sortable
width="120"
>
</el-table-column>
<el-table-column
prop="reqtyp2"
label="需求类型2"
sortable
width="120"
>
</el-table-column>
<el-table-column
prop="ckcbeamt"
label="敞口发生额"
sortable
width="120"
>
</el-table-column>
<el-table-column prop="credat" label="额度日期" sortable width="180">
</el-table-column>
<el-table-column
prop="ptyextkey"
label="客户编号"
sortable
width="100"
>
</el-table-column>
<el-table-column prop="ptynam" label="客户名称" sortable width="100">
</el-table-column>
<el-table-column prop="ownref" label="业务编号" sortable width="100">
</el-table-column>
<el-table-column
prop="ccvbl"
label="合同保证金比例"
sortable
width="150"
>
</el-table-column>
<el-table-column prop="limvar" label="额度类型" sortable width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100"
>
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmcbb || []"
style="width: 100%"
>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="tzhamt"
label="调整后业务余额"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzhccv"
label="调整后保证金比例"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzhlimamt"
label="调整后拟占用额度"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzhlimck"
label="调整后拟占用敞口"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzqamt"
label="调整前业务余额"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzqccv"
label="调整后保证金比例"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzqlimamt"
label="调整前已占用额度"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="tzqlimck"
label="调整前已占用敞口"
sortable
width="150"
>
</el-table-column>
</c-table>
</div>
</c-col>
<c-col :span="24">
<div class="e-table-wrapper">
<c-table
:list="this.model.liaall.limmod.limpfp.clmpty || []"
style="width: 100%"
>
<el-table-column prop="limvar" label="额度类型" sortable width="100">
</el-table-column>
<el-table-column
prop="dgzylimvar"
label="额度品种"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dglimcur"
label="额度币种"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgsxlimamt"
label="授信额度"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgyylimamt"
label="已用额度"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgkylimamt"
label="可用额度"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgcklimamt"
label="授信敞口"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgyylimck"
label="已用敞口"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgkylimck"
label="可用敞口"
sortable
width="100"
>
</el-table-column>
<el-table-column prop="dghfxh" label="恢复序号" sortable width="100">
</el-table-column>
<el-table-column
prop="dgzylimref"
label="额度编号"
sortable
width="100"
>
</el-table-column>
<el-table-column
prop="dgzyliminfref"
label="额度明细编号"
sortable
width="120"
>
</el-table-column>
<el-table-column
prop="dgccvbl"
label="保证金比例"
sortable
width="120"
>
</el-table-column>
</c-table>
</div>
</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">
<!-- S0000012 : 申报类型 -->
<c-col :span="24" style="margin-top: 20px">
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="申报类型" label-width="120px" prop="bopmod.szflg">
<c-select
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
>
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源">
<c-select
v-model="model.bopmod.acttyp"
style="width: 100%"
placeholder="请选择款项来源"
:disabled="model.bopmod.szflg != 1"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号">
<c-select
v-model="model.bopmod.ownextkey"
:code="codes.ownextkey1"
style="width: 100%"
placeholder="请选择地区机构号"
:disabled="model.bopmod.szflg == 3 || model.bopmod.szflg == ''"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="7">
<el-form-item class="checkbox-left">
<c-checkbox
v-model="model.bopmod.basflg"
:disabled="model.bopmod.szflg != '1' && model.bopmod.szflg != '2'"
>基础数据</c-checkbox
>
</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 {};
},
watch:{
"model.bopmod.szflg":{
immediate:true,
handler(val ,oldVal){
if(val=="3"){
this.model.bopmod.ownextkey=''
}
if(val=="2"){
this.model.bopmod.ownextkey='08350012'
}
if(val=="1"){
this.model.bopmod.ownextkey='08350012'
}
},
}
},
methods: { },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="进口保函赔付">
<!-- <c-function-btn>
<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"
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">
<!--PD000027 -->
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="统一授信" name="limitbody,shisuan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames1">
<el-collapse-item title="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="表外记账" name="engp">
<c-content>
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="会计分录" name="glepan">
<c-content>
<m-glentry :model="model" :codes="codes" />
</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">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000002 -->
<el-tab-pane label="申报信息" name="cnyp">
<c-content>
<m-cnyp :model="model" :codes="codes" />
</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-page>
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Gitset from "../model";
import operationFunc from "~/mixin/operationFunc";
import Limitbody from "~/views/Public/Limitbody";
import Engp from "~/components/business/engp/views";
import Doctre from "~/views/Public/Doctre";
import Ccvpan from "~/components/business/ccvpan/views";
import Docpan from "~/components/business/docpan/views";
import Setpan from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
import Setmod from "~/components/business/setmod/views";
import Coninfp from "~/views/Public/Coninfp";
import Ovwp from "./Ovwp";
import Cnyp from "./Cnyp";
import Shisuan from "./Shisuan";
import event from '../event';
export default {
name: "Gitset",
components: {
"m-ovwp": Ovwp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-cnyp": Cnyp,
"m-shisuan": Shisuan,
"m-limitbody": Limitbody,
"m-setmod":Setmod,
"m-glentry":Glentry
},
provide() {
return {
root: this,
};
},
mixins: [event, operationFunc], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "gitset",
model: new Gitset().data,
rules: null,
codes: { ...CodeTable },
activeNames: ["engp"],
promptData: {
title: 'Select a Party',
columns: [
{
prop: 'ptyInr',
label: 'Party Number'
},
{
prop: 'inr',
label: 'Address Number'
},
{
prop: 'branch',
label: 'Branch Code'
},
{
prop: 'bchName',
label: 'Branch Name'
},
{
prop: 'adrName',
label: 'Address Name'
},
{
prop: 'adr1',
label: 'Address1'
},
{
prop: 'locCty',
label: 'City'
},
{
prop: 'locZip',
label: 'Zip'
},
{
prop: 'bicCode',
label: 'BIC'
}
],
data: []
}
};
},
methods: {
},
mounted () {
this.init()
},
};
</script>
<style>
</style>
......@@ -307,7 +307,7 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<!-- <c-col :span="8">
<el-form-item
label="处理类型"
style="width: 100%"
......@@ -325,7 +325,7 @@
></el-option>
</c-select>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="8">
<el-form-item
label="保函文本类型"
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse v-model="activeNames">
<el-collapse-item title="取消信息" name="canp">
<m-canp :model="model" :codes="codes" />
</el-collapse-item>
......@@ -30,10 +30,7 @@ export default {
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
......
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