Commit 0b1b1894 by wangna

gitplb页面新增

parent 4636d3e6
......@@ -1777,6 +1777,7 @@ const CodeTable = {
{ label: "修改", value: "2" },
{ label: "新增", value: "1" },
{ label: "变动", value: "3" },
{ label: "履约", value: "5" },
],
cfaguatyp: [
......@@ -7336,10 +7337,7 @@ const CodeTable = {
atxinr: [
{ label: "空白文本(用于电子SWIFT消息)", value: "<NILTXT>" },
],
cfaflg1: [
{ label: "不报送", value: "4" },
{ label: "新增", value: "1" },
],
uiltxt1: [
{ label: "EN 英文", value: "EN" },
{ label: "CN 中文", value: "CN" },
......
......@@ -29,6 +29,9 @@ export default class Giteng{
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purpos:"",
exptyp:"",
liatypc:"",
},
cbs:{
max:{
......
......@@ -29,6 +29,9 @@ export default class Gitplb{
gartyp:"", // Type of Undertaking .gidgrp.rec.gartyp
expdat:"", // Valid until .gidgrp.rec.expdat
liadat:"", // Liability until .gidgrp.rec.liadat
purpos:"",
exptyp:"",
liatypc:"",
},
cbs:{
max:{
......@@ -56,6 +59,17 @@ export default class Gitplb{
setmod:{
doccur:"", // Agreed Amount .setmod.doccur
},
cfagit:{
cfaflg:"", // 数据采集标志 .cfagit.cfaflg
basflg:"", // 签约信息 .cfagit.basflg
ownextkey:"", // 地区机构号 .cfagit.ownextkey
dclflg:"", // �'�任余额信息 .cfagit.dclflg
vrfflg:"", // 履约信息 .cfagit.vrfflg
visflg:"", //是否显示资本项目页面
recp:{
dclp:[],
},
},
chgdat:"", // Change Date Booking .chgdat
chgamt:"", // Change Amount .chgamt
pageId: "", // ctx的key
......
<template>
<div class="eibs">
<!-- ====================左边======================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="数据采集标志" prop="cfagit.cfaflg">
<c-select
v-model="model.cfagit.cfaflg"
style="width: 100%"
placeholder="请选择数据采集标志"
:code="getValues('cfagit.cfaflg', 'cfaflg')"
@change="cfaflgChange"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="cfagit.ownextkey">
<c-select
v-model="model.cfagit.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="8">
<c-checkbox v-model="model.cfagit.basflg" disabled>签约信息</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.cfagit.dclflg" disabled
>责任余额信息</c-checkbox
>
</c-col>
<c-col :span="8">
<c-checkbox v-model="model.cfagit.vrfflg" disabled>履约信息</c-checkbox>
</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/Gitplb/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: {
...Event,
async cfaflgChange() {
let rtnmsg = await this.executeDefault("cfagit.cfaflg");
if (rtnmsg.respCode == SUCCESS) {
// TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// 数据采集方式选择新增,会出现新的标签页,签约信息1,
// 而切换到签约信息1标签页会触发tabClick事件,UI合并后,需手动加此切换标签页方法
if (this.model.cfagit.cfaflg == "3") {
this.$nextTick(() => {
this.executeDefault("cfagit.recp.dclp").then((res) => {
if (res.respCode == SUCCESS)
//TODO 处理数据逻辑
this.updateModel(res.data);
});
});
}
}
},
},
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
v-model="model.cfagit.recp.dclp[0].actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="担保责任余额变动日期"
prop="cfagit.recp.dclp.wabachandate"
>
<c-date-picker
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-currency-min
v-model="model.cfagit.recp.dclp[0].basere"
placeholder="请输入担保责任余额"
></c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="备注" prop="cfagit.recp.dclp.remark">
<c-input
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>
......@@ -156,7 +156,7 @@
<c-col :span="13">
<el-form-item
v-show="model.gidgrp.rec.liadat != ''"
v-show="model.gidgrp.rec.liatypc != ''"
label="责任日期"
prop="gidgrp.rec.liadat"
>
......
......@@ -4,6 +4,22 @@
<el-collapse-item title="事后赔偿责任" name="gitsetp1">
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="对外担保数据采集"
name="cfap"
v-if="model.cfagit.visflg != ''"
>
<m-cfap :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="对外担保-责任余额信息"
name="dclpp"
v-if="model.cfagit.cfaflg == '3'"
>
<m-dclpp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
......@@ -13,10 +29,14 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Giteng/Event";
import Gitsetp1 from "./Gitsetp1";
import Cfap from "./Cfap";
import Dclpp from "./Dclpp";
export default {
components: {
"m-gitsetp1": Gitsetp1,
"m-cfap": Cfap,
"m-dclpp": Dclpp,
},
inject: ["root"],
props: ["model", "codes"],
......@@ -26,7 +46,9 @@ export default {
activeNames: ["gitsetp1"],
};
},
methods: { ...Event },
methods: {
...Event,
},
created: function () {},
};
</script>
......
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