Commit ba8d54f9 by suwenhao

gitopn待复核模块;

parent 8c42ad65
......@@ -36,14 +36,17 @@ export default {
if (res.respCode == SUCCESS) {
this.$refs['gridSelectDialog'].show = true;
this.$refs['gridSelectDialog'].cod = cod;
this.$refs['gridSelectDialog'].tableData = res.data && res.data.atpList.list;
this.$refs['gridSelectDialog'].pagination.total = Number((res.data && res.data.atpList.total) || 0);
this.$refs['gridSelectDialog'].tableData =
res.data && res.data.atpList.list;
this.$refs['gridSelectDialog'].pagination.total = Number(
(res.data && res.data.atpList.total) || 0
);
}
loading.close();
},
// 选中transaction弹框表格的行数据
async selectGridEtyPromptData(val) {
this.$emit('changeModel', val)
this.$emit('changeModel', val);
},
//查询列表
async handleSearch() {
......@@ -74,7 +77,7 @@ export default {
iniusr: '',
userId: 'ZL',
pageNum: this.pagination.pageIndex,
pageSize: this.pagination.pageSize
pageSize: this.pagination.pageSize,
};
//查询接口
const loading = this.loading();
......@@ -95,7 +98,7 @@ export default {
//交易详情
async onWaitDetail(idx, row) {
let viewurl = 'business/inftrnpsDetail';
let viewurl = 'business-new/inftrnpsDetail';
let params = {
inr: row.inr,
};
......@@ -125,22 +128,152 @@ export default {
}
);
this.$router.push({
name: 'Review' + trnName.charAt(0).toUpperCase() + trnName.substring(1),
query: { trn: row['INR'], operateId: operateId },
// name: 'Review-new' + trnName.charAt(0).toUpperCase() + trnName.substring(1),
path: 'review-new/' + row['inifrm'].toLowerCase(),
query: { trn: row['inr'], operateId: 'operateId' },
params: { prePageId: this.model.pageId },
});
},
async onRelrow(idx) {
this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(async () => {
const selIds = [idx + 1]; //rowno选中行
const selDst = 'trncorco.trnstm'; //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await this.executeRule('relrow', params);
if (rtnmsg.respCode == SUCCESS) {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({
title: '错误',
message: '复核失败!错误信息[' + errorMsg + ']',
});
} else {
this.$notify({
title: '成功',
message: '复核成功',
type: 'success',
});
// const that = this.root;
// that.executeRule("searow").then(res => {
// //TODO 处理数据逻辑
// that.$refs.inftrnps.stmData.data = res.data.trncorco_trnstm.rows;
// this.model.trncorco.trnstm = res.data.trncorco_trnstm;
// })
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
this.handleSearch();
});
}
} else {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
}
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({
title: '错误',
message: '复核失败!错误信息[' + errorMsg + ']',
});
}
});
},
//处理-退回
async onReprow(idx) {
this.$confirm('您确定退回该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(async () => {
const selIds = [idx + 1]; //rowno选中行
const selDst = 'trncorco.trnstm'; //列表对应后台模型中的stream
let params = { selDst: selDst, selIds: selIds };
let rtnmsg = await reprow(this.wrapper(params));
if (rtnmsg.respCode == SUCCESS) {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({
title: '错误',
message: '退回失败!错误信息[' + errorMsg + ']',
});
} else {
this.$notify({
title: '成功',
message: '退回成功',
type: 'success',
});
this.$store.dispatch('TagsView/delView', this.$route);
this.$router.history.push('/taskList', () => {
this.$store.commit('setTaskListTabVal', 'trnrel');
this.handleSearch();
});
}
} else {
let errorMsg = '';
let fieldErrorsFlag = JSON.stringify(rtnmsg.fieldErrors) == '{}';
if (!fieldErrorsFlag) {
let errorMsgkey = '';
let errorMsgVal = '';
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ';';
}
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({
title: '错误',
message: '退回失败!错误信息[' + errorMsg + ']',
});
}
});
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageIndex = 1
this.pagination.pageSize = val
this.handleSearch()
this.pagination.pageIndex = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageIndex = val
this.handleSearch()
}
this.pagination.pageIndex = val;
this.handleSearch();
},
},
};
<template>
<div class="m-review">
<div class="m-review-main">
<div class="m-review-content" style="width:50%;">
<slot></slot>
</div>
<div class="m-review-control">
<div class="remark-display" @click="handleShow">
<i v-show="showTip" class="el-icon-d-arrow-left"></i>
<i v-show="!showTip" class="el-icon-d-arrow-right"></i>
</div>
<div v-show="showTip" class="m-review-control-tab">
<el-tabs v-model="activeName">
<el-tab-pane label="复核意见" name="first">
<div class="m-review-control-detail">
<el-input size="small" type="textarea" v-model="reviewTip">
</el-input>
</div>
</el-tab-pane>
<el-tab-pane label="历史复核意见" name="last">
<div class="m-review-control-detail">
</div>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
<div class="m-review-action">
<el-button small type="primary" @click="handlePass">复核</el-button>
<el-button small type="primary" @click="handleRefuse">打回</el-button>
<el-button small @click="handleExit">退出</el-button>
</div>
</div>
</template>
<script>
export default {
name: 'ReviewWrapper',
props: {
},
data() {
return {
showTip: true,
activeName: 'first',
reviewTip: '',
}
},
methods: {
handleShow() {
this.showTip = !this.showTip;
},
handlePass() {
this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async () => {
let params = {
reviewTip: ''
}
this.$emit('handlePass', params)
})
},
handleRefuse() {
this.$confirm('您确定退回该笔交易?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async () => {
let params = {
reviewTip: ''
}
this.$emit('handleRefuse', params)
})
},
handleExit() {
this.$confirm('确认退出?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(async () => {
this.$emit('handleExit');
})
}
},
}
</script>
<style scoped>
.m-review-control-tab {
height: 100%;
flex: 1 1 0%;
width: 200px;
margin-right: 10px;
}
.el-button+.el-button {
margin-left: 10px;
}
</style>
\ No newline at end of file
<!-- 附言公共页面 -->
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="15">
<el-form-item
style="height: 200px"
label="一般提示"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<c-input-xml
disabled
:maxRows="10"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入提示内容"
@change="selectOrCheckboxRule('mtabut.coninf.oitinf.oit.inftxt')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
></c-input-xml>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item label="提示类型" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select
disabled
v-model="model.mtabut.coninf.oitinf.oit.inflev"
:disabled="GeneralIsEmpty"
placeholder="请选择"
style="width: 100%,margin-left:70px"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item
label="付款提示"
style="height: 200px"
prop="mtabut.coninf.oitset.oit.inftxt"
>
<c-input-xml
disabled
type="textarea"
:maxRows="10"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入提示内容"
@change="selectOrCheckboxRule('mtabut.coninf.oitset.oit.inftxt')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
></c-input-xml>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item label="提示类型" prop="mtabut.coninf.oitset.oit.inflev">
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
disabled
placeholder="请选择"
style="width: 100%,margin-left:70px"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
disabled
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 60%,margin-left:70px"
placeholder="请选择执行日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="指定复核人"
style="display: inline-block"
prop="mtabut.coninf.usr.extkey"
>
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled
placeholder="请输入用户编码"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
// 附言页签,勿改
import _ from '~/utils/Lodash.js';
import commonProcess from '~/mixin/commonProcess';
import IStreamInput from '~/components/IStreamInput';
export default {
components: { IStreamInput },
inject: ['root'],
props: ['model', 'codes'],
mixins: [commonProcess],
data() {
return {
inflev: [
{ label: '显示', value: '$' },
{ label: '不显示', value: '!' },
{ label: '提醒', value: '0' },
], //码表
test: '',
};
},
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, '');
}
},
},
computed: {
GeneralIsEmpty: {
get() {
var temp = this.model.mtabut.coninf.oitinf.oit.inftxt.rows;
if (temp != null) {
for (let i = 0; i < temp.length; i++) {
if (temp[i].trim().length > 0) {
return false;
}
}
}
return true;
},
},
SettlementIsEmpty: {
get() {
var temp = this.model.mtabut.coninf.oitset.oit.inftxt.rows;
if (temp != null) {
for (let i = 0; i < temp.length; i++) {
if (temp[i].trim().length > 0) {
return false;
}
}
}
return true;
},
},
},
created: function () {},
};
</script>
<style></style>
import Api from "~/service/Api"
export default {
methods: {
async init () {
const params = {
spt: this.toHandleRowData
}
const res = await Api.post('/service/gitopn/init', {
...params,
transName: this.trnName,
userId: window.sessionStorage.userId || 'ZL',
});
if (!res.data) {
return
}
if (res.data.addbcb) {
this.$set(this.model, 'addbcb', res.data.addbcb)
}
if (res.data.gitp) {
this.$set(this.model, 'gitp', res.data.gitp)
}
if (res.data.gidgrp) {
this.$set(this.model, 'gidgrp', res.data.gidgrp)
}
if (res.data.cfagit) {
this.$set(this.model, 'cfagit', res.data.cfagit)
}
if (res.data.cnybop) {
this.$set(this.model, 'cnybop', res.data.cnybop)
}
this.$set(this.model, 'setmod', {
...this.model.setmod,
setfeg: res.data.setfeg,
setfog: res.data.setfog,
setglg: res.data.setglg,
})
console.log(res)
},
async tabClick(tab) {
if (this.isInDisplay) {
return;
}
let name = tab.name;
switch (name) {
case 'ccvpan':
let ccvpanRequest = buildFn.builCcvpan(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.builDocpan(this.model, this.trnName);
this.processTrndoc(docpanRequest);
break;
case 'glepan':
let glentryRequest = buildFn.buildGlentry(this.model, this.trnName);
this.processGlentry(glentryRequest);
break;
default:
return;
}
},
//处理-复核
async handlePass(val) {
let params = {
}
let rtnmsg = await Api.post('', params);
if(rtnmsg.respCode === SUCCESS) {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' });
} else {
this.$notify({
title: '成功',
message: '复核成功',
type: 'success'
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel');
this.handleSearch()
});
}
} else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";";
}
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({ title: '错误', message: '复核失败!错误信息[' + errorMsg + ']' });
}
},
//处理-打回
async handleRefuse(val) {
let params = {
}
let rtnmsg = await Api.post('', params);
if (rtnmsg.respCode == SUCCESS) {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
}
errorMsg = errorMsgkey + ':' + errorMsgVal;
this.$notify.error({ title: '错误', message: '退回失败!错误信息[' + errorMsg + ']' });
} else {
this.$notify({
title: '成功',
message: '退回成功',
type: 'success'
});
this.$store.dispatch("TagsView/delView", this.$route)
this.$router.history.push("/taskList", () => {
this.$store.commit("setTaskListTabVal", 'trnrel');
this.handleSearch()
});
}
}
else {
let errorMsg = "";
let fieldErrorsFlag = (JSON.stringify(rtnmsg.fieldErrors) == "{}");
if (!fieldErrorsFlag) {
let errorMsgkey = "";
let errorMsgVal = "";
for (const key in rtnmsg.fieldErrors) {
errorMsgkey = key;
errorMsgVal = rtnmsg.fieldErrors[key];
errorMsg = errorMsg + errorMsgkey + ':' + errorMsgVal + ";";
}
} else if (rtnmsg.respMsg) {
errorMsg = rtnmsg.respMsg;
}
this.$notify.error({ title: '错误', message: '退回失败!错误信息[' + errorMsg + ']' });
}
},
//处理-退出
handleExit() {
}
}
}
\ No newline at end of file
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="附加金额"
prop="gidgrp.cbs.mac2.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.mac2.cur"
maxlength="3"
placeholder="请输入附加金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="附加金额余额" prop="gidgrp.cbs.opc2.cur">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.cur"
maxlength="3"
placeholder="请输入附加金额余额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.cbs.opc2.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.opc2.amt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="39C场" prop="gidgrp.blk.addamtcovc">
<c-input
disabled
type="textarea"
:rows="4"
v-model="model.gidgrp.blk.addamtcovc"
maxlength="780"
show-word-limit
placeholder="请输入39C场"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab" >
<el-collapse v-model="activeNames" @change="">
<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 commonProcess from "~/mixin/commonProcess";
import Event from "~/model/Gitopn/Event";
import Addbcb1 from "./Addbcb1";
import Coninfp from "~/components/review/coninfp";
export default {
components: {
"m-addbcb1": Addbcb1,
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["addbcb1"],
};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<el-col :span="24">
<el-form-item label="交易银行部意见">
<div
v-text="model.addbcb.label1"
data-path=".addbcb.label1"
class="lableSize"
></div>
<div
v-text="model.addbcb.label2"
data-path=".addbcb.label2"
class="lableSize"
></div>
<div
v-text="model.addbcb.label3"
data-path=".addbcb.label3"
class="lableSize"
></div>
<div
v-text="model.addbcb.label4"
data-path=".addbcb.label4"
class="lableSize"
></div>
</el-form-item>
</el-col>
<c-col :span="24">
<el-form-item label="国际部意见" prop="addbcb.label5">
<c-select
disabled
v-model="model.addbcb.label5"
style="width: 100%"
placeholder="请选择国际部意见"
>
<el-option
v-for="item in codes.label5"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
.lableSize {
font-size: 1px;
}
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="数据采集标志" prop="cfagit.cfaflg">
<c-select
disabled
v-model="model.cfagit.cfaflg"
style="width: 100%"
placeholder="请选择数据采集标志"
:code="codes.cfaflg1"
@change="cfaflgChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="cfagit.basflg" class="checkbox-left">
<c-checkbox disabled v-model="model.cfagit.basflg"
>签约信息</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="cfagit.dclflg" class="checkbox-left">
<c-checkbox disabled v-model="model.cfagit.dclflg"
>责任余额信息</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="cfagit.vrfflg" class="checkbox-left">
<c-checkbox disabled v-model="model.cfagit.vrfflg"
>履约信息</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfagit.ownextkey">
<c-select
disabled
v-model="model.cfagit.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
>
<el-option
v-for="item in codes.ownextkey1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {},
watch: {},
methods: {
...Event,
async cfaflgChange() {
let rtnmsg = await this.executeRule("cfagit.cfaflg");
if (rtnmsg.respCode == SUCCESS) {
// TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// 数据采集方式选择新增,会出现新的标签页,签约信息1,
// 而切换到签约信息1标签页会触发tabClick事件,UI合并后,需手动加此切换标签页方法
if(this.model.cfagit.cfaflg=="1"){
this.$nextTick(() => {
this.executeRule("cfagit.recp.conp").then((res) => {
if (res.respCode == SUCCESS)
//TODO 处理数据逻辑
this.updateModel(res.data);
});
});
}
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="2122跨境担保登记业务信息" name="voup" v-if="model.cnybop.vouflg == '1'">
<m-voup :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Cnyp1 from "./Cnyp1";
import Voup from "./Voup";
const tabNameToRulePathMapping = {
"voup": "cnybop.voup",
}
export default {
components: {
"m-cnyp1": Cnyp1,
"m-voup": Voup,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["cnyp1"],
};
},
methods: {
...Event,
handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg" label-width="167px;">
<c-select
disabled
v-model="model.cnybop.cnyflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2101表"
>
<el-option
v-for="item in codes.cnyflg"
: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="是否报送跨境人民币2107表" prop="cnybop.traflg" label-width="167px;">
<c-select
disabled
v-model="model.cnybop.traflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2107表"
>
<el-option
v-for="item in codes.traflg"
: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="是否报送跨境人民币2111表" prop="cnybop.outflg" label-width="167px;">
<c-select
disabled
v-model="model.cnybop.outflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2111表"
>
<el-option
v-for="item in codes.outflg"
: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="是否报送跨境人民币2106表" prop="cnybop.libflg" label-width="167px;">
<c-select
disabled
v-model="model.cnybop.libflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2106表"
>
<el-option
v-for="item in codes.libflg"
: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="是否报送跨境人民币2122表" prop="cnybop.vouflg" label-width="167px;">
<c-select
disabled
v-model="model.cnybop.vouflg"
style="width: 70%"
placeholder="请选择是否报送跨境人民币2122表"
>
<el-option
v-for="item in codes.vouflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="">
接收确认说明:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认指示" prop="gidgrp.rec.reccnfdet">
<c-select
disabled
v-model="model.gidgrp.rec.reccnfdet"
style="width: 100%"
placeholder="请选择确认指示"
>
<el-option
v-for="item in codes.cnfsta"
: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="确认行参考号" prop="gidgrp.cnr.pts.ref">
<c-input
disabled
v-model="model.gidgrp.cnr.pts.ref"
maxlength="16"
placeholder="请输入确认行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认行" prop="gidgrp.cnr.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gidgrp.cnr.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.cnr.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
disabled
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onCnrpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.cnr.pts.adrblk">
<c-input
disabled
type="textarea"
v-model="model.gidgrp.cnr.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="">
支出确认说明:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认指示" prop="gidgrp.rec.cnfdet">
<c-select
disabled
v-model="model.gidgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认指示"
>
<el-option
v-for="item in codes.cnfdet"
: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="确认行参考号 " prop="gidgrp.con.pts.ref">
<c-input
disabled
v-model="model.gidgrp.con.pts.ref"
maxlength="16"
placeholder="请输入确认行参考号 "
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="确认行" prop="gidgrp.con.pts.extkey">
<c-fullbox>
<c-input
disabled
v-model="model.gidgrp.con.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.con.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
disabled
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button
disabled
size="small"
type="primary"
@click="onConpDet"
>
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn">
<c-input
disabled
type="textarea"
v-model="model.gidgrp.con.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item v-if="model.gidgrp.rec.purposin == 'ISSU'" label="">
我行确认详细信息:
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gidgrp.rec.purposin == 'ISSU'"
label="确认状态 "
prop="gidgrp.rec.cnfsta"
>
<c-select
disabled
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择确认状态 "
>
<el-option
v-for="item in codes.cnfsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="10">
<el-form-item
v-if="model.gidgrp.rec.purposin == 'ISSU'"
label="确认金额"
prop="gidgrp.cbs.cnf.cur"
>
<c-input
disabled
v-model="model.gidgrp.cbs.cnf.cur"
maxlength="3"
placeholder="请输入确认金额"
></c-input>
</el-form-item>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<el-form-item label-width="5px" prop="gidgrp.cbs.cnf.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.cnf.amt"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'"
:span="2"
style="margin-left: 20px"
>
<span>or</span>
</c-col>
<c-col v-if="model.gidgrp.rec.purposin == 'ISSU'" :span="4">
<el-form-item label-width="5px" prop="gidgrp.rec.partcon">
<c-input
disabled
v-model="model.gidgrp.rec.partcon"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col
v-if="model.gidgrp.rec.purposin == 'ISSU'"
:span="2"
style="margin-left: 20px"
>
<span>%</span>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
v-if="model.gidgrp.rec.purposin == 'ISSU'"
label="确认日期"
prop="gidgrp.rec.cnfdat"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.cnfdat"
style="width: 100%"
placeholder="请选择确认日期"
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;"> </c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ==================================左边-外债编号================================ -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="对外担保编号" prop="cfagit.recp.dclp.exguarancode">
<c-input
v-model="model.cfagit.recp.dclp[0].exguarancode"
maxlength="28"
placeholder="请输入对外担保编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="cfagit.recp.dclp.actiontype">
<c-select
disabled
v-model="model.cfagit.recp.dclp[0].actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="担保责任余额变动日期"
prop="cfagit.recp.dclp.wabachandate"
>
<c-date-picker
disabled
type="date"
v-model="model.cfagit.recp.dclp[0].wabachandate"
style="width: 100%"
placeholder="请选择担保责任余额变动日期"
value-format="yyyy-MM-dd"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="担保责任余额" prop="cfagit.recp.dclp.basere">
<c-input
disabled
v-model="model.cfagit.recp.dclp[0].basere"
placeholder="请输入担保责任余额"
class="m-input-currency"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注" prop="cfagit.recp.dclp.remark">
<c-input
disabled
type="textarea"
v-model="model.cfagit.recp.dclp[0].remark"
maxlength="248"
show-word-limit
placeholder="请输入备注"
:rows="5"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ==================================右边-删除原因================================ -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="删除原因" prop="cfagit.recp.dclp.actiondesc">
<c-input
type="textarea"
v-model="model.cfagit.recp.dclp[0].actiondesc"
maxlength="248"
show-word-limit
placeholder="请输入删除原因"
:rows="5"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label=""
prop="cfagit.recp.dclp[0].acp"
class="checkbox-left"
>
<c-checkbox v-model="model.cfagit.recp.dclp[0].acp" disabled
>确认</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
watch: {},
};
</script>
<style></style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="18">
<c-col :span="24">
<el-form-item
v-if="model.gitp.gidtxtmodflg == ''"
label="保函文本可变因素"
prop="gidgrp.blk.gidtxt"
>
<c-xml-format-editor
:model="model.gidgrp.blk.gidtxt"
disabled
placeholder="请输入保函文本可变因素"
@blur="setTxt1"
></c-xml-format-editor>
</el-form-item>
<el-form-item
v-if="model.gitp.gidtxtmodflg == 'X'"
label="保函文本可变因素"
prop="gidgrp.blk.gtxgidtxt"
>
<c-xml-format-editor
disabled
:model="model.gidgrp.blk.gtxgidtxt"
placeholder="请输入保函文本可变因素"
@blur="setTxt2"
></c-xml-format-editor>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<c-checkbox
disabled
v-model="model.gitp.gidtxtmodflg"
style="margin: 0 0 0 10px"
class="checkbox-left"
@change="modflgChange"
>修改保函文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
disabled
v-model="model.gitp.chkgidtxt"
style="margin: 0 0 0 10px"
class="checkbox-left"
>允许</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdif"
>
查看系统文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhis"
>
查看历史文本
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflg == 'X'">
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxt"
>
显示文本
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-input
disabled
style="margin: 5px 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入"
></c-input>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin: 5px 0 0 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmod"
>
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getame/Event";
import InputXml from "~/components/InputXml";
export default {
components: { InputXml },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {async setTxt1(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
this.$nextTick(() => fn())
}
});
},
async setTxt2(val, fn){
// this.executeDefault("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
this.executeRule("gitp.gidgrp.blk.gtxgidtxt").then((res) => {
if ((res.respCode == SUCCESS)) {
this.updateModel(res.data);
this.$nextTick(() => fn())
}
});
},
...Event ,
async modflgChange() {
const rtnmsg = await this.executeRule("gitp.gidtxtmodflg");
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
}
},},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="16">
<c-col :span="24">
<el-form-item
v-if="model.gitp.gidtxtmodflgc == ''"
label="保函文本可变因素"
prop="gidgrp.blk.gtxgidtxt"
>
<c-input-xml
disabled
type="textarea"
:maxRows="14"
:model="model.gidgrp.blk.gtxgidtxtc"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素"
></c-input-xml>
</el-form-item>
<el-form-item
v-if="model.gitp.gidtxtmodflgc == 'X'"
label="保函文本可变因素 - 抵消保函文本"
prop="gidgrp.blk.gtxgidtxtc"
>
<c-input-xml
disabled
type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素 - 抵消保函文本"
></c-input-xml>
</el-form-item>
</c-col>
</c-col>
<c-col :span="6">
<c-col :span="24">
<el-form-item label-width="0px" prop="gidgrp.rec.ownref">
<c-input
style="margin: 0 0 0 10px; width: 50%"
v-model="model.gidgrp.rec.ownref"
maxlength="16"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-button
disabled
style="margin: 5px 0 5px 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox
disabled
v-model="model.gitp.gidtxtmodflgc"
style="margin: 0 0 0 10px;float:left;"
>修改保函文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
disabled
v-model="model.gitp.chkgidtxtc"
style="margin: 0 0 0 10px;float:left;"
>允许</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifc"
>
查看系统文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifhisc"
>
查看历史文本
</c-button>
</c-col>
<template v-if="model.gitp.gidtxtmodflgc == 'X'">
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpShwgidtxtc"
>
显示文本
</c-button>
</c-col>
</template>
<c-col :span="24">
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpGidtxtmodc"
>
修改中文保函文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import IStreamInput from "~/components/IStreamInput";
import Event from "~/model/Gitopn/Event";
export default {
components: { IStreamInput },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="是否SWIFT格式" prop="gitp.swiftflg">
<c-select
disabled
v-model="model.gitp.swiftflg"
style="width: 100%"
placeholder="请选择是否SWIFT格式"
:code="codes.swiftflg"
@change="eventFunction('gitp.swiftflg')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="model.gidgrp.cbs.max.cur == 'CNY'? 20 : 24">
<el-form-item label="对外担保类型" prop="gidgrp.rec.cfaguatyp">
<c-select
disabled
v-model="model.gidgrp.rec.cfaguatyp"
:style="model.gidgrp.cbs.max.cur == 'CNY'? 'width: 90%' :'width: 100%'"
placeholder="请选择对外担保类型"
:code="codes.cfaguatyp"
@change="cfaguatypChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable" v-if="model.gidgrp.cbs.max.cur == 'CNY'">
<c-checkbox disabled v-model="model.gidgrp.rec.cmtflg"
>跨境人民币保函</c-checkbox
>
</c-col>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="是否对外担保" prop="gidgrp.rec.fingua">
<c-select
disabled
v-model="model.gidgrp.rec.fingua"
style="width: 100%"
placeholder="请选择是否对外担保"
:code="codes.fingua"
@change="eventFunction('gidgrp.rec.fingua')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
computed: {},
methods: { ...Event,
async cfaguatypChange(){
if(this.model.gidgrp.rec.fingua=="Y" && this.model.cfagit.cfaflg=="1"){
//选择对外担保时,且对外担保数据采集标签页数据采集标志为'新增'时,担保类型改变,td切换到对外担保-签约信息1标签页时会触发tabClick事件,影响签约信息1页面数据。
//UI合并页面后,需要手动加tabClick切换标签页事件
let rtnmsg = await this.executeRule("cfagit.recp.conp");
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
}
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="开立方式" name="opnp">
<m-opnp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="基本信息" name="ovwp1">
<m-ovwp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="当事人描述" name="ptyp">
<m-ptyp :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" />
</el-collapse-item>
<el-collapse-item title="详细信息" name="detp">
<m-detp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="保函文本" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="确认详细信息"
name="confp"
v-if="model.gidgrp.rec.legfrm == 'STBY'"
>
<m-confp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外担保数据采集" name="cfap" v-if="model.gidgrp.rec.fingua == 'Y'">
<m-cfap :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外担保-签约信息1" name="conp" v-if="model.cfagit.cfaflg == '1'">
<m-conp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外担保-签约信息2" name="conp1" v-if="model.cfagit.cfaflg == '1'">
<m-conp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="对外担保-责任余额信息" name="dclpp" v-if="model.cfagit.cfaflg == '1'">
<m-dclpp :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" />
</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" />
</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" />
</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" />
</el-collapse-item>
<el-collapse-item title="Seq C : 保函文本" name="gidtxtpc" v-if="
model.gidgrp.rec.purpos == 'ISCO' ||
model.gidgrp.rec.purpos == 'ICCO'
">
<m-gidtxtpc :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Seq C : 附加金额" name="aacp" v-if="model.gitp.aacp.aacmod.addamtflg == 'X'">
<m-aacp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
import Ovwp1 from "./Ovwp1";
import Opnp from "./Opnp";
import Ptyp from "./Ptyp";
import Preperp from "./Preperp";
import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp";
import Confp from "./Confp";
import Cfap from "./Cfap";
import Conp from "./Conp";
import Conp1 from "./Conp1";
import Dclpp from "./Dclpp";
import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc";
import Preperpc from "./Preperpc";
import Detpc from "./Detpc";
import Gidtxtpc from "./Gidtxtpc";
import Aacp from "./Aacp";
const tabNameToRulePathMapping = {
"conp": "cfagit.recp.conp",
"voup": "cnybop.voup",
"cfap": "cfagit.cfap",
"dclpp": "Ebbp.dclpp",
"gidtxtp": "gitp.gidtxtp",
"ptypc": "gitp.ptypc",
"detp": "gitp.detp",
}
export default {
name: "Opnp",
components: {
"m-opnp": Opnp,
"m-ovwp1": Ovwp1,
"m-ptyp": Ptyp,
"m-preperp": Preperp,
"m-detp": Detp,
"m-gidtxtp": Gidtxtp,
"m-confp": Confp,
"m-cfap": Cfap,
"m-conp": Conp,
"m-conp1": Conp1,
"m-dclpp": Dclpp,
"m-ovwpc": Ovwpc,
"m-ptypc": Ptypc,
"m-preperpc": Preperpc,
"m-detpc": Detpc,
"m-gidtxtpc": Gidtxtpc,
"m-aacp": Aacp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["opnp"],
};
},
computed: {
},
methods: {
...Event,
handleChange(names){
// console.log(names);//激活的(展开的)面板的name数组集合
if (this.isInDisplay) {
return
}
const arr = []
for (let i = 0; i < names.length; i++) {
const n = names[i];
const path = tabNameToRulePathMapping[n]//取出激活/展开面板name对应的rulePath
if (path) {
arr.push(path)
}
}
// let rulePath = arr[arr.length-1]//取最后一个展开的面板的rulePath
let rulePath = arr.join(",");//把arr数组加入逗号分割,变成字符串
// if (name === "conp") {
// rulePath = "cfagit.recp.conp";
// }
// if (name === "voup") {
// rulePath = "cnybop.voup";
// }
// if (name === "cfap") {
// rulePath = "cfagit.cfap";
// }
// if (name === "dclpp") {
// rulePath = "Ebbp.dclpp";
// }
// if (name === "gidtxtp"){
// rulePath = "gitp.gidtxtp"
// }
// if (name === "ptypc"){
// rulePath = "gitp.ptypc"
// }
// if(name === "detp"){
// rulePath = "gitp.detp"
// }
if (!!rulePath) {//rulePath不为空串
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item
label="请求开证日期"
prop="gidgrp.rec.opndatc"
>
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.opndatc"
style="width: 100%"
placeholder="请选择请求开证日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函币种和金额" prop="gidgrp.cbs.mac.cur">
<c-select
disabled
:code="codes.gitopn_cur"
v-model="model.gidgrp.cbs.mac.cur"
style="width: 100%"
placeholder="请选择保函币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="0px" prop="gidgrp.cbs.mac.amt">
<c-input
disabled
v-model="model.gidgrp.cbs.mac.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入保函金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox disabled v-model="model.gitp.aacp.aacmod.addamtflg"
>附加金额</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函类型 " prop="gidgrp.rec.gartypc">
<c-select
disabled
v-model="model.gidgrp.rec.gartypc"
style="width: 100%"
placeholder="请选择保函类型 "
:code="getValues('gidgrp.rec.gartypc','gartypc')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.gartyptxtc">
<c-input
disabled
v-model="model.gidgrp.blk.gartyptxtc"
style="width: 100%"
placeholder="请输入保函类型 "
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="保函形式" prop="gidgrp.rec.legfrmc">
<c-select
disabled
v-model="model.gidgrp.rec.legfrmc"
style="width: 100%"
placeholder="请选择保函形式"
>
<el-option
v-for="item in codes.legfrmc1"
: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="需求指示 " prop="gidgrp.rec.demandc">
<c-select
disabled
v-model="model.gidgrp.rec.demandc"
style="width: 100%"
placeholder="请选择需求指示 "
>
<el-option
v-for="item in codes.demandc"
: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="要求语言"
prop="gidgrp.rec.stdwrduilc"
>
<c-select
disabled
v-model="model.gidgrp.rec.stdwrduilc"
style="width: 100%"
placeholder="请选择要求语言"
>
<el-option
v-for="item in codes.uiltxt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="保函文本格式" prop="gidgrp.rec.gtxinrc">
<c-select
disabled
v-model="model.gidgrp.rec.gtxinrc"
style="width: 100%"
placeholder="请选择保函文本格式"
>
<el-option
v-for="item in codes.gtxinr"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="申请条款" prop="gidgrp.blk.apprulc">
<c-select
disabled
v-model="model.gidgrp.blk.apprulc"
style="width: 100%"
placeholder="请选择申请条款"
>
<el-option
v-for="item in codes.apprulc"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxtc">
<c-input
disabled
style="width: 100%"
v-model="model.gidgrp.blk.apprultxtc"
maxlength="35"
placeholder="请输入申请条款"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="到期类型" prop="gidgrp.rec.exptyp">
<c-select
disabled
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择到期类型"
>
<el-option
v-for="item in codes.exptyp"
: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="保函效期" prop="gidgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择保函效期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="到期条件"
prop="gidgrp.blk.exptxt"
>
<c-input
disabled
type="textarea"
rows="5"
:disabled="model.gitp.exptxtmodflg == ''"
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
placeholder="请输入到期条件"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-checkbox
v-model="model.gitp.exptxtmodflg"
disabled
style="margin: 0 0 0 10px;float:left"
>是否手工修改保函文本</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px;width:100px;float:left"
@click="onGitpButdifexptxt"
>
查看系统文本
</c-button>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px;width:100px;float:left"
@click="onGitpButdifhisexptxt"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- <c-row> -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-col :span="16">
<c-form-item label="保函文本交付" prop="gidgrp.rec.delori">
<c-select
disabled
v-model="model.gidgrp.rec.delori"
style="width: 100%"
placeholder="请选择保函文本交付"
>
<el-option
v-for="item in codes.delori1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxt">
<c-input
disabled
v-model="model.gidgrp.rec.deloritxt"
maxlength="35"
placeholder="请输入保函文本交付"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="发送保函文本" prop="gidgrp.rec.sndto">
<c-select
disabled
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择发送保函文本"
:code="getValues('gidgrp.rec.sndto')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交付收款人" prop="gidgrp.rec.delto">
<c-select
disabled
v-model="model.gidgrp.rec.delto"
style="width: 100%"
placeholder="请选择交付收款人"
:code="getValues('gidgrp.rec.delto','delto1')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交付地址" prop="gidgrp.blk.deltoadr">
<c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.blk.deltoadr"
maxlength="210"
show-word-limit
placeholder="请输入交付地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="转让条件" prop="gidgrp.blk.trfcond">
<c-input
disabled
type="textarea"
rows="4"
v-model="model.gidgrp.blk.trfcond"
maxlength="6630"
show-word-limit
placeholder="请输入转让条件"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="费用承担人" prop="gidgrp.rec.chato">
<c-select
disabled
v-model="model.gidgrp.rec.chato"
style="width: 100%"
placeholder="请选择费用承担人"
:code="codes.gitopn_chato"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费">
<c-fullbox>
<template slot="footer">
<c-checkbox disabled v-model="model.gitp.chargi.chkast" class="checkbox-left">允许</c-checkbox>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收费代码的附加详情" prop="gidgrp.blk.feetxt">
<c-fullbox>
<c-input
disabled
type="textarea"
v-model="model.gidgrp.blk.feetxt"
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
></c-input>
<template slot="footer">
<!-- @click="onAcctagButtxmsel" -->
<c-button
disabled
size="small"
type="primary"
icon="el-icon-more"
@click="onChargiButtxmsel"
>
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item
v-if="model.gitp.prepermodflg == ''"
label="演示说明"
prop="gidgrp.blk.preper"
>
<c-input
disabled
type="textarea"
:rows="7"
v-model="model.gidgrp.blk.preper"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明"
></c-input>
</el-form-item>
<el-form-item
v-if="model.gitp.prepermodflg == 'X'"
label="演示说明"
prop="gidgrp.blk.atxpreper"
>
<c-input
disabled
type="textarea"
:rows="6"
v-model="model.gidgrp.blk.atxpreper"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明"
@blur="atxpreperBlur"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-checkbox
disabled
v-model="model.gitp.prepermodflg"
style="margin: 0 0 0 10px"
class="checkbox-left"
@change="modflgChange"
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
disabled
v-model="model.gitp.chkpreper"
class="checkbox-left"
style="margin: 0 0 0 10px"
>允许</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 100px;float:left;"
@click="onGitpButdifpreper"
>
查看系统文本
</c-button>
<c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 100px;float:left;"
type="primary"
@click="onGitpButdifhispreper"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
<!-- </c-row> -->
</div>
</template>
<script>
import _ from "lodash";
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {
...Event,
async atxpreperBlur() {
let rtnmsg = await this.executeRule("gidgrp.blk.atxpreper");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
async modflgChange() {
let rtnmsg = await this.executeRule("gitp.prepermodflg");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
created: function () {},
};
</script>
<style scoped>
</style>
<template>
<div class="eibs">
<c-row>
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<c-col :span="12">
<el-form-item
label="保函文本交付"
prop="gidgrp.rec.deloric"
>
<c-select
disabled
v-model="model.gidgrp.rec.deloric"
style="width: 100%"
placeholder="请选择保函文本交付"
:code="codes.deloric"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxtc">
<c-input
disabled
v-model="model.gidgrp.rec.deloritxtc"
maxlength="35"
placeholder="请输入保函文本交付"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item
label="交付收款人"
prop="gidgrp.rec.deltoc"
>
<c-select
disabled
v-model="model.gidgrp.rec.deltoc"
style="width: 100%"
placeholder="请选择交付收款人"
>
<el-option
v-for="item in codes.deltoc"
: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="交付地址"
prop="gidgrp.blk.deltoadrc"
>
<c-input
disabled
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadrc"
maxlength="210"
show-word-limit
placeholder="请输入交付地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="转让条件"
prop="gidgrp.blk.trfcondc"
>
<c-input
disabled
rows="5"
type="textarea"
v-model="model.gidgrp.blk.trfcondc"
maxlength="780"
show-word-limit
placeholder="请输入转让条件"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="收费代码的附加详情"
prop="gidgrp.blk.feetxtc"
>
<c-input
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.blk.feetxtc"
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-button
disabled
style="margin: 0 0 0 10px"
size="small"
type="primary"
icon="el-icon-more"
@click="onChargicButtxmsel"
>
</c-button>
<c-checkbox
disabled
style="margin: 0 0 0 10px"
v-model="model.gitp.chargic.chkast"
>允许</c-checkbox
>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="17">
<el-form-item
label="演示说明 "
prop="gidgrp.blk.preperc"
>
<c-input
disabled
rows="6"
type="textarea"
v-model="model.gidgrp.blk.preperc"
maxlength="6500"
show-word-limit
placeholder="请输入演示说明 "
></c-input>
</el-form-item>
</c-col>
<c-col :span="7">
<c-checkbox
disabled
v-model="model.gitp.prepercmodflg"
style="margin: 0 0 0 10px;float:left"
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
disabled
v-model="model.gitp.chkpreperc"
style="margin: 0 0 0 10px;float:left"
>允许</c-checkbox
>
<c-button
disabled
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 98px"
@click="onGitpButdifpreperc"
>
查看系统文本
</c-button>
<c-button
disabled
size="small"
style="margin: 5px 0 0 10px; width: 98px"
type="primary"
@click="onGitpButdifhispreperc"
>
查看历史文本
</c-button>
</c-col>
</c-col>
</c-col>
</c-col>
</c-row>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<ReviewWrapper
@handlePass="handlePass"
@handleRefuse="handleRefuse"
@handleExit="handleExit"
>
<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">
<!--PD000001 -->
<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>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane label="费用/账务" name="engp,setpan,glepan">
<c-content>
<div class="eibs-tab">
<el-collapse v-model="activeNames">
<el-collapse-item title="表外记账" name="engp">
<!-- 表外记账 -->
<m-engp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="结算" name="setpan">
<!-- 结算 -->
<m-setpan :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</c-content>
</el-tab-pane>
<!--PD000510 -->
<el-tab-pane label="备查/附言" name="addbcb">
<c-content>
<div class="eibs-tab">
<m-addbcb :model="model" :codes="codes" />
</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-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</c-page>
</div>
</ReviewWrapper>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Gitopn from "~/model/Gitopn";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Gitopn/Check";
import Default from "~/model/Gitopn/Default";
import Pattern from "~/model/Gitopn/Pattern";
import Opnp from "./Opnp";
import Ovwp from "./Ovwp";
import Ptyp from "./Ptyp";
import Detp from "./Detp";
import Gidtxtp from "./Gidtxtp";
import Cnyp from "./Cnyp";
import Addbcb from "./Addbcb";
import Voup from "./Voup";
import Cfap from "./Cfap";
import Preperp from "./Preperp";
import Ovwpc from "./Ovwpc";
import Ptypc from "./Ptypc";
import Detpc from "./Detpc";
import Gidtxtpc from "./Gidtxtpc";
import Preperpc from "./Preperpc";
import Confp from "./Confp";
import Conp from "./Conp";
import Conp1 from "./Conp1";
import Aacp from "./Aacp";
import Dclpp from "./Dclpp";
import event from "../event";
import Engp from "~/views/Public/Engp";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/components/business/setmod/views";
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import ReviewWrapper from "~/components/review/ReviewWrapper";
export default {
name: "Gitopn",
components: {
"m-opnp": Opnp,
"m-ovwp": Ovwp,
"m-ptyp": Ptyp,
"m-detp": Detp,
"m-gidtxtp": Gidtxtp,
"m-cnyp": Cnyp,
"m-addbcb": Addbcb,
"m-voup": Voup,
"m-cfap": Cfap,
"m-preperp": Preperp,
"m-ovwpc": Ovwpc,
"m-ptypc": Ptypc,
"m-detpc": Detpc,
"m-gidtxtpc": Gidtxtpc,
"m-preperpc": Preperpc,
"m-confp": Confp,
"m-conp": Conp,
"m-conp1": Conp1,
"m-dclpp": Dclpp,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-aacp": Aacp,
ReviewWrapper,
},
provide() {
return {
root: this,
activeNames: ["ovwp"],
};
},
mixins: [commonProcess, commonFuncs, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "gitopn",
model: new Gitopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
activeNames: ["engp"],
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
let name = tab.name;
let rulePath;
if (name === "conp") {
rulePath = "cfagit.recp.conp";
}
if (name === "voup") {
rulePath = "cnybop.voup";
}
if (name === "setpan") {
rulePath = "setmod.setpan";
}
if (name === "cfap") {
rulePath = "cfagit.cfap";
}
if (name === "dclpp") {
rulePath = "Ebbp.dclpp";
}
if (name === "gidtxtp"){
rulePath = "gitp.gidtxtp"
}
if (name === "ptypc"){
rulePath = "gitp.ptypc"
}
if(name === "detp"){
rulePath = "gitp.detp"
}
if (name === "engp") {
rulePath = "liaall.engp"
}
if (name === "ccvpan") {
rulePath = "liaall.liaccv.ccvpan"
}
if (!!rulePath) {
this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data);
}
});
}
},
},
created: async function () {
console.log("进入gitopn交易");
let res = await this.init({});
if (res && res.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
<template>
<ReviewWrapper>
<component :is="comName"></component>
</ReviewWrapper>
</template>
<script>
import { ReviewWrapper } from "~/components/gj-common.min.js";
//批量导入组件
const importAll = (r) => {
let cache = {};
r.keys().forEach(key => cache[key] = r(key));
return cache;
}
const allFile = importAll(require.context('./', true, /\.vue$/))
const componentsAll = {}
for(let key in allFile) {
const element = allFile[key].default;
componentsAll[element.name] = element
}
export default {
name: "ReviewWrapper",
components: { ReviewWrapper, ...componentsAll },
created() {
return {
comName: '',
}
},
mounted() {},
};
</script>
<style></style>
......@@ -10,7 +10,7 @@ import DocRouter from "../views/Docpan/DocRouter";
import ModelViewer from "../views/ModeViewer"
// 新交易模块
import Business from "./modules/business";
import Review from "./modules/review";
import StaticsRouter from "../views/Statics/StaticsRouter";
Vue.use(VueRouter);
......@@ -56,6 +56,7 @@ export const routes = [
],
},
{ path: "/review", component: Layout, children: ReviewRouter },
{ path: "/review-new", component: Layout, children: Review },
{ path: "/business", component: Layout, children: BusRouter },
{ path: "/business-new", component: Layout, children: Business },
{ path: "/statics", component: Layout, children: StaticsRouter },
......
......@@ -2,5 +2,6 @@ const Business = [
{ path: 'infgid', component: () => import('~/business/infgid/views'), name: 'infgid', meta: { title: '保函入口交易' } },
{ path: 'gitopn', component: () => import('~/business/gitopn/views'), name: 'gitopn', meta: { title: '进口保函开立' } },
{ path: 'sptpopup', component: () => import('~/business/sptsel/views/Sptpopup.vue'), name: 'sptsel', meta: { title: '待经办详情' } },
{ path: 'inftrnpsDetail', component: () => import('~/business/trnrel/views/InftrnpsDetail.vue'), name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
]
export default Business
const Business = [
{ path: 'gitopn', component: () => import('~/review/gitopn/views'), name: 'gitopn', meta: { title: '复核-Gitopn' } },
]
export default Business
......@@ -336,7 +336,7 @@ const BusRouter = [
{ path: 'botrad', component: Botrad, name: 'Botrad', meta: { title: '出口托收二次寄单' } },
{ path: 'sptpopup', component: Sptpopup, name: 'Sptpopup', meta: { title: '待经办详情' } },
{ path: 'trnfndsDetail', component: TrnfndsDetail, name: 'TrnfndsDetail', meta: { title: '已完成详情' } },
{ path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
// { path: 'inftrnpsDetail', component: InftrnpsDetail, name: 'InftrnpsDetail', meta: { title: '待复核详情' } },
{ path: 'infcld', component: Infcld, name: 'Infcld', meta: { title: '打包托收查询' } },
{ path: 'cltdav', component: Cltdav, name: 'Cltdav', meta: { title: '打包托收开立' } },
{ path: 'clttra', component: Clttra, name: 'Clttra', meta: { title: '打包托收催收' } },
......
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