Commit 1f7a1714 by yuqiao

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents ff8e87a5 95a94cfc
......@@ -49,7 +49,7 @@ export default {
}
</script>
<style>
<style scoped>
.m-table-search {
position: relative;
margin: -20px 0 0 0;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -28,7 +28,8 @@ const tabNameToRulePathMapping = {
"dclpp":"recp.dclp(1).dclpp",
"conp":"cfabpt.recp.conp",
"cfactlp":"cfactlp",//资本项目标签页切换触发点击切换标签页事件
"cnyp1":"cnybop.cnyp1"//跨境人民申报标签页切换触发点击切换标签页事件
"cnyp1":"cnybop.cnyp1",//跨境人民申报标签页切换触发点击切换标签页事件
"shisuan":"liaall.limmod.shisuan"
}
export default {
......
......@@ -36,7 +36,7 @@ export default {
"gidgrp.cbs.opn1.amt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"gidgrp.ben.pts.nam":[
......
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"gidgrp.cbs.max.amt":[
{type: "stirng", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -48,7 +48,7 @@ export default {
"ameamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{ pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"amedat":[
{type: "string", required: false, message: "必输项"},
......@@ -75,7 +75,7 @@ export default {
"gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -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:{
......
......@@ -90,7 +90,7 @@ export default {
],
"xxtfee.intmbu.ums.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
// {max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.ums.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -125,7 +125,7 @@ export default {
],
"xxtfee.intmbu.umh.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
// {max: 35,message:"长度不能超过35"}
],
"xxtfee.intmbu.umh.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......
......@@ -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
......
import Api from "~/service/Api";
export function queryByPage(data) {
return Api.post("/manager/txm/queryByPage", data);
}
export function queryById(inr) {
return Api.post(`/manager/txm/queryById`, { inr });
}
export function add(data) {
return Api.post("/manager/txm/add", data);
}
export function edit(data) {
return Api.post("/manager/txm/edit", data);
}
export function deleteById(inr) {
return Api.post(`/manager/txm/deleteById`, { inr });
}
......@@ -343,6 +343,8 @@ import Dbausr from "~/views/Statics/Dbausr";
import Dbiusr from "~/views/Statics/Dbiusr";
import Dbeusr from "~/views/Statics/Dbeusr";
import Dbdusr from "~/views/Statics/Dbdusr";
import Inftxm2 from "~/views/Statics/Inftxm";
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -701,5 +703,7 @@ const BusRouter = [
{ path: 'dbiusr/:inr', component: Dbiusr, name: 'StaticsDbiusr', meta: { title: (tag) => { return '柜员详情: ' + tag.params.inr } } },
{ path: 'dbeusr/:inr', component: Dbeusr, name: 'StaticsDbeusr', meta: { title: (tag) => { return '柜员修改: ' + tag.params.inr } } },
{ path: 'dbdusr/:inr', component: Dbdusr, name: 'StaticsDbdusr', meta: { title: (tag) => { return '柜员删除: ' + tag.params.inr } } },
{ path: 'inftxm2', component: Inftxm2, name: 'StaticsInftxm', meta: { title: '固定格式文本查询' } },
]
export default BusRouter
\ No newline at end of file
......@@ -76,6 +76,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
}
else
......
......@@ -6,7 +6,7 @@
<c-col :span="24">
<el-form-item label="Debit Party" prop="xxtfee.intmbu.umsrol">
<c-select v-model="model.xxtfee.intmbu.umsrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Debit Party'">
:placeholder="$t('other.please_enter')+'Debit Party'" :code="getValues('xxtfee.intmbu.umsrol', 'rolall')">
</c-select>
</el-form-item>
</c-col>
......@@ -48,7 +48,7 @@
<c-col :span="24">
<el-form-item label="Credit Party" prop="xxtfee.intmbu.umhrol">
<c-select v-model="model.xxtfee.intmbu.umhrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Credit Party'">
:placeholder="$t('other.please_enter')+'Credit Party'" :code="getValues('xxtfee.intmbu.umhrol', 'rolall')">
</c-select>
</el-form-item>
</c-col>
......
......@@ -66,24 +66,26 @@
style="width: 100%"
placeholder="请选择保函余额币种"
@keyup.enter.native="nom1CurEvent"
:code ="codes.cur"
>
<el-option
<!-- <el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-option> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input-currency
<c-input-currency-min
disabled
v-model="model.gidgrp.cbs.opn1.amt"
></c-input-currency>
></c-input-currency-min>
</el-form-item>
</c-col>
</c-col>
......@@ -120,7 +122,7 @@
v-model="model.gidgrp.rec.gartyp"
style="width: 100%"
placeholder="请选择保函类型"
:code="codes.typgar"
:code="codes.typgar5"
>
</c-select>
</el-form-item>
......@@ -154,13 +156,13 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="9">
<el-form-item
style="text-align: left"
label-width="0"
prop="xxtfee.intmbu.umbflg"
>
<c-checkbox v-model="model.xxtfee.intmbu.umbflg" class=""
<c-checkbox v-model="model.xxtfee.intmbu.umbflg" class="" @change="eventFunction('xxtfee.intmbu.umbflg')"
>重新预定</c-checkbox
>
</el-form-item>
......
......@@ -5,9 +5,6 @@
<m-gitsetp1 :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="重新预定" name="cltrns" v-if="model.xxtfee.intmbu.umbflg">
<m-cltrns :model="model" :codes="codes" />
</el-collapse-item>
......@@ -23,7 +20,7 @@
import Event from "~/model/Getfee/Event";
import Gitsetp1 from "./Gitsetp1";
import Cltrns from "./Cltrns";
export default {
components:{
"m-gitsetp1" : Gitsetp1,
......@@ -41,7 +38,8 @@
};
},
methods: { ...Event },
methods: { ...Event,
},
created: function () {},
};
</script>
......
......@@ -145,7 +145,8 @@ export default {
pattern: Pattern,
rules: null,
codes: {
},
...CodeTable,
},
}
},
methods:{
......
......@@ -375,8 +375,6 @@
@change="eventFunction('fremsg.msgrol')"
:code="codes.payrol"
>
<!-- <el-option v-for="item in codes.docprbrol" :key="item.value" :label="item.label" :value="item.value">
</el-option> -->
</c-select>
</el-form-item>
</c-col>
......
......@@ -52,7 +52,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -133,7 +132,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......
......@@ -192,8 +192,8 @@
created: function () {},
};
</script>
<style>
.ql-editor {
<style scoped>
.quill-editor >>> .ql-editor {
min-height: 250px;
max-height: 500px;
}
......
......@@ -154,6 +154,10 @@
created: function () {},
};
</script>
<style>
<style scoped>
.quill-editor >>> .ql-editor {
min-height: 250px;
max-height: 500px;
}
</style>
\ No newline at end of file
......@@ -722,7 +722,6 @@
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -797,7 +796,6 @@
</c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -870,7 +868,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -944,7 +941,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......
......@@ -27,7 +27,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -78,7 +77,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -132,7 +130,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -184,7 +181,6 @@
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -244,7 +240,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
......@@ -303,7 +298,6 @@
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
......
......@@ -22,6 +22,7 @@
<c-input
v-model="model.gidgrp.cbs.mac2.amt"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -59,6 +60,7 @@
maxlength="780"
show-word-limit
placeholder="请输入39C场"
disabled
></c-input>
</el-form-item>
</c-col>
......
......@@ -39,7 +39,7 @@
<c-col :span="24">
<el-form-item label="处理类型" prop="gidgrp.rec.hndtyp">
<c-input disabled v-model="model.gidgrp.rec.hndtyp" maxlength="40" placeholder="请输入处理类型"></c-input>
<c-input disabled v-model="model.gidgrp.rec.hndtyp" maxlength="40" placeholder="请输入处理类型" :code="getValues('gidgrp.rec.hndtyp', 'hndtyp1')"></c-input>
</el-form-item>
</c-col>
......@@ -47,7 +47,7 @@
<el-form-item label="业务类型" prop="gidgrp.rec.gartyp">
<c-select
disabled
:code="codes.avbby"
:code="codes.typgar"
v-model="model.gidgrp.rec.gartyp" style="width:100%" placeholder="请选择业务类型">
</c-select>
</el-form-item>
......
......@@ -17,7 +17,7 @@
placeholder="请选择确认指示"
>
<el-option
v-for="item in codes.cnfsta"
v-for="item in codes.cnfflg1"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -95,6 +95,7 @@
v-model="model.gidgrp.rec.cnfdet"
style="width: 100%"
placeholder="请选择确认指示"
disabled
>
<el-option
v-for="item in codes.cnfdet"
......@@ -185,6 +186,7 @@
v-model="model.gidgrp.rec.cnfsta"
style="width: 100%"
placeholder="请选择确认状态 "
disabled
>
<el-option
v-for="item in codes.cnfsta"
......@@ -218,6 +220,7 @@
<c-input
v-model="model.gidgrp.cbs.cnf.amt"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -233,6 +236,7 @@
<c-input
v-model="model.gidgrp.rec.partcon"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -256,6 +260,7 @@
v-model="model.gidgrp.rec.cnfdat"
style="width: 100%"
placeholder="请选择确认日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......
......@@ -14,6 +14,7 @@
v-model="model.gidgrp.rec.orcref"
maxlength="35"
placeholder="请输入合同号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -111,6 +112,7 @@
maxlength="350"
show-word-limit
placeholder="请输入合同标的"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -120,6 +122,7 @@
v-model="model.gitp.covgodsrvmodflg"
style="margin: 0 0 0 10px"
class="checkbox-left"
disabled
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
......@@ -127,6 +130,7 @@
v-model="model.gitp.covgod.chkast"
style="margin: 0 0 0 10px;"
class="checkbox-left"
disabled
>允许</c-checkbox
>
<c-button
......@@ -251,7 +255,7 @@
prop="gidgrp.rec.jurlaws20"
>
<c-select
:disabled="model.gitp.swiftflg != 'Y'"
disabled
v-model="model.gidgrp.rec.jurlaws20"
style="width: 100%"
placeholder="请选择适用法律"
......@@ -306,7 +310,7 @@
prop="gidgrp.rec.jurplc"
>
<c-input
:disabled="model.gidgrp.rec.jurlaws20 == ''"
disabled
v-model="model.gidgrp.rec.jurplc"
maxlength="35"
placeholder="请输入仲裁地"
......@@ -423,6 +427,7 @@
v-model="model.gidgrp.gidcxm.benefi"
maxlength="80"
placeholder="请输入受益人名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -503,6 +508,7 @@
maxlength="9750"
show-word-limit
placeholder="请输入直接Swift添加"
disabled
></c-input-xml>
</el-form-item>
</c-col>
......@@ -578,7 +584,7 @@
prop="gidgrp.rec.jurplc"
>
<c-input
:disabled="model.gidgrp.rec.jurlaws20 == ''"
disabled
v-model="model.gidgrp.rec.jurplc"
maxlength="35"
placeholder="请输入仲裁地"
......
......@@ -65,6 +65,7 @@
show-word-limit
placeholder="请输入Underly. Transact. Det."
@blur="atxcovgodsrvcBlur"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -74,14 +75,14 @@
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.covgodsrvcmodflg"
style="margin: 0 0 0 10px"
@change="modflgChange"
@change="modflgChange" disabled
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
class="checkbox-left"
v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gitp.covgodc.chkast"
style="margin: 0 0 0 10px"
style="margin: 0 0 0 10px" disabled
>允许</c-checkbox
>
<c-button
......@@ -183,6 +184,7 @@
v-model="model.gidgrp.rec.jurlawc"
style="width: 100%"
placeholder="请选择适用法律"
disabled
>
<el-option
v-for="item in codes.ctytxt1"
......@@ -212,7 +214,7 @@
prop="gidgrp.rec.jurplcc"
>
<c-input
:disabled="model.gidgrp.rec.jurlawc == ''"
disabled
v-model="model.gidgrp.rec.jurplcc"
maxlength="35"
placeholder="请输入仲裁地"
......
<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="model.gitp.gidtxtmodflgc == ''"
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
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
style="margin: 5px 0 5px 10px"
size="small"
type="primary"
@click="onGitpButgetref"
>
获取
</c-button>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.gidtxtmodflgc"
style="margin: 0 0 0 10px;float:left;"
>修改保函文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
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
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/Gitdla/Event";
export default {
components: { IStreamInput },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<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.gidtxtc"
>
<c-input-xml
:disabled="model.gitp.gidtxtmodflgc == ''"
type="textarea"
:maxRows="14"
:model="model.gidgrp.blk.gidtxtc"
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
type="textarea"
:modle="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素 - 抵消保函文本"
></c-input-xml> -->
<c-xml-format-editor
:model="model.gidgrp.blk.gtxgidtxtc"
:maxRows="16"
maxlength="32500"
show-word-limit
placeholder="请输入保函文本可变因素 - 抵消保函文本"
@blur="setTxt2"
></c-xml-format-editor>
</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
v-model="model.gitp.gidtxtmodflgc"
style="margin: 0 0 0 10px;float:left;"
>修改保函文本</c-checkbox
>
</c-col>
<c-col :span="24">
<c-checkbox
v-model="model.gitp.chkgidtxtc"
style="margin: 0 0 0 10px;float:left;"
disabled
>允许</c-checkbox
>
</c-col>
<c-col :span="24">
<c-button
size="small"
type="primary"
style="margin: 5px 0 0 10px; width: 50%"
@click="onGitpButdifc"
>
查看系统文本
</c-button>
</c-col>
<c-col :span="24">
<c-button
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
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="model.gitp.gidtxtmodflg == '' || model.gidgrp.rec.giduil != 'CN'"
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/Gitadd/Event";
export default {
components: { IStreamInput },
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style scoped>
.quill-editor >>> .ql-editor {
min-height: 250px;
max-height: 500px;
}
</style>
\ No newline at end of file
<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="accp">
<m-accp :model="model" :codes="codes" />
</el-collapse-item>
......@@ -22,6 +19,7 @@
<el-collapse-item title="保函文本" name="gidtxtp">
<m-gidtxtp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item
title="确认详细信息"
name="confp"
......@@ -29,48 +27,46 @@
>
<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="
<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="
<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="开立方式" name="opnp">
<m-opnp :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>
......@@ -137,7 +133,7 @@ export default {
mixins: [commonProcess],
data() {
return {
activeNames: ["opnp"],
activeNames: ["accp"],
};
},
computed: {
......
......@@ -161,7 +161,7 @@
style="width: 100%"
placeholder="请选择保函开立类型"
@change="hndtypChange"
:code="getValues('gidgrp.rec.hndtyp', 'hndtyp')"
:code="getValues('gidgrp.rec.hndtyp', 'hndtyp1')"
disabled
>
</c-select>
......@@ -175,7 +175,7 @@
style="width: 100%"
placeholder="请选择保函种类"
@change="gartypChange"
:code="getValues('gidgrp.rec.gartyp','typgar')"
:code="codes.typgar"
disabled
>
</c-select>
......@@ -541,6 +541,7 @@
<c-checkbox
v-model="model.gidgrp.rec.liaflg"
disabled
class="checkbox-left"
>我行责任敞口</c-checkbox
>
</el-form-item>
......
......@@ -13,6 +13,7 @@
v-model="model.gidgrp.rec.opndatc"
style="width: 100%"
placeholder="请选择请求开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -25,6 +26,7 @@
v-model="model.gidgrp.cbs.mac.cur"
style="width: 100%"
placeholder="请选择保函币种"
disabled
>
</c-select>
</el-form-item>
......@@ -35,13 +37,16 @@
v-model="model.gidgrp.cbs.mac.amt"
style="margin: 0 0 0 10px; width: 80%"
placeholder="请输入保函金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg"
<el-form-item label-width="0px" prop="gitp.aacp.aacmod.addamtflg">
<c-checkbox v-model="model.gitp.aacp.aacmod.addamtflg" disabled @change="defaultFunction()"
>附加金额</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
......@@ -52,6 +57,7 @@
style="width: 100%"
placeholder="请选择保函类型 "
:code="getValues('gidgrp.rec.gartypc','gartypc')"
disabled
>
<!-- -->
<!-- <el-option
......@@ -82,6 +88,7 @@
v-model="model.gidgrp.rec.legfrmc"
style="width: 100%"
placeholder="请选择保函形式"
disabled
>
<el-option
v-for="item in codes.legfrmc1"
......@@ -99,6 +106,7 @@
v-model="model.gidgrp.rec.demandc"
style="width: 100%"
placeholder="请选择需求指示 "
disabled
>
<el-option
v-for="item in codes.demandc"
......@@ -119,6 +127,7 @@
v-model="model.gidgrp.rec.stdwrduilc"
style="width: 100%"
placeholder="请选择要求语言"
disabled
>
<el-option
v-for="item in codes.uiltxt"
......@@ -138,6 +147,7 @@
v-model="model.gidgrp.rec.gtxinrc"
style="width: 100%"
placeholder="请选择保函文本格式"
disabled
>
<el-option
v-for="item in codes.gtxinr"
......@@ -157,6 +167,7 @@
v-model="model.gidgrp.blk.apprulc"
style="width: 100%"
placeholder="请选择申请条款"
disabled
>
<el-option
v-for="item in codes.apprulc"
......@@ -171,7 +182,7 @@
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.blk.apprultxtc">
<c-input
:disabled="model.gidgrp.blk.apprulc != 'OTHR'"
disabled
style="width: 100%"
v-model="model.gidgrp.blk.apprultxtc"
maxlength="35"
......@@ -187,6 +198,7 @@
v-model="model.gidgrp.rec.exptyp"
style="width: 100%"
placeholder="请选择到期类型"
disabled
>
<el-option
v-for="item in codes.exptyp"
......@@ -201,7 +213,7 @@
<c-col :span="24">
<el-form-item label="保函效期" prop="gidgrp.rec.expdat">
<c-date-picker
:disabled="model.gidgrp.rec.exptyp == 'OPEN'"
disabled
type="date"
v-model="model.gidgrp.rec.expdat"
style="width: 100%"
......@@ -219,7 +231,7 @@
<c-input
type="textarea"
rows="5"
:disabled="model.gitp.exptxtmodflg == ''"
disabled
v-model="model.gidgrp.blk.exptxt"
maxlength="780"
show-word-limit
......@@ -230,11 +242,7 @@
<c-col :span="7">
<c-checkbox
v-model="model.gitp.exptxtmodflg"
:disabled="
model.gidgrp.rec.exptyp == 'FIXD' ||
model.gidgrp.rec.exptyp == 'OPEN' ||
model.gidgrp.rec.exptyp == ''
"
disabled
style="margin: 0 0 0 10px;float:left"
>是否手工修改保函文本</c-checkbox
>
......
......@@ -7,10 +7,7 @@
<c-col :span="16">
<c-form-item label="保函文本交付" prop="gidgrp.rec.delori">
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
disabled
v-model="model.gidgrp.rec.delori"
style="width: 100%"
placeholder="请选择保函文本交付"
......@@ -28,10 +25,7 @@
<c-col :span="8">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxt">
<c-input
:disabled="
model.gidgrp.rec.delori != 'COUR' &&
model.gidgrp.rec.delori != 'OTHR'
"
disabled
v-model="model.gidgrp.rec.deloritxt"
maxlength="35"
placeholder="请输入保函文本交付"
......@@ -43,10 +37,7 @@
<c-col :span="24">
<el-form-item label="发送保函文本" prop="gidgrp.rec.sndto">
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
disabled
v-model="model.gidgrp.rec.sndto"
style="width: 100%"
placeholder="请选择发送保函文本"
......@@ -59,10 +50,7 @@
<c-col :span="24">
<el-form-item label="交付收款人" prop="gidgrp.rec.delto">
<c-select
:disabled="
model.gidgrp.rec.purpos == 'ICCO' ||
model.gidgrp.rec.purpos == 'ISCO'
"
disabled
v-model="model.gidgrp.rec.delto"
style="width: 100%"
placeholder="请选择交付收款人"
......@@ -75,9 +63,7 @@
<c-col :span="24">
<el-form-item label="交付地址" prop="gidgrp.blk.deltoadr">
<c-input
:disabled="
model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != ''
"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.blk.deltoadr"
......@@ -111,6 +97,7 @@
style="width: 100%"
placeholder="请选择费用承担人"
:code="codes.gitopn_chato"
disabled
>
</c-select>
</el-form-item>
......@@ -119,7 +106,7 @@
<el-form-item label="收费">
<c-fullbox>
<template slot="footer">
<c-checkbox v-model="model.gitp.chargi.chkast" class="checkbox-left">允许</c-checkbox>
<c-checkbox v-model="model.gitp.chargi.chkast" class="checkbox-left" disabled>允许</c-checkbox>
</template>
</c-fullbox>
</el-form-item>
......@@ -133,6 +120,7 @@
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
disabled
></c-input>
<template slot="footer">
<!-- @click="onAcctagButtxmsel" -->
......@@ -141,6 +129,7 @@
type="primary"
icon="el-icon-more"
@click="onChargiButtxmsel"
disabled
>
</c-button>
</template>
......@@ -178,6 +167,7 @@
show-word-limit
placeholder="请输入演示说明"
@blur="atxpreperBlur"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -187,6 +177,7 @@
style="margin: 0 0 0 10px"
class="checkbox-left"
@change="modflgChange"
disabled
>是否手工修改保函文本</c-checkbox
>
......@@ -194,6 +185,7 @@
v-model="model.gitp.chkpreper"
class="checkbox-left"
style="margin: 0 0 0 10px"
disabled
>允许</c-checkbox
>
<c-button
......
......@@ -14,6 +14,7 @@
style="width: 100%"
placeholder="请选择保函文本交付"
:code="codes.deloric"
disabled
>
</c-select>
</el-form-item>
......@@ -21,10 +22,7 @@
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.deloritxtc">
<c-input
:disabled="
model.gidgrp.rec.deloric != 'OTHR' &&
model.gidgrp.rec.deloric != 'COUR'
"
disabled
v-model="model.gidgrp.rec.deloritxtc"
maxlength="35"
placeholder="请输入保函文本交付"
......@@ -41,6 +39,7 @@
v-model="model.gidgrp.rec.deltoc"
style="width: 100%"
placeholder="请选择交付收款人"
disabled
>
<el-option
v-for="item in codes.deltoc"
......@@ -58,7 +57,7 @@
prop="gidgrp.blk.deltoadrc"
>
<c-input
:disabled="model.gidgrp.rec.deltoc != 'OTHR'"
disabled
type="textarea"
rows="4"
v-model="model.gidgrp.blk.deltoadrc"
......@@ -100,6 +99,7 @@
maxlength="210"
show-word-limit
placeholder="请输入收费代码的附加详情"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -110,12 +110,13 @@
type="primary"
icon="el-icon-more"
@click="onChargicButtxmsel"
disabled
>
</c-button>
<c-checkbox
style="margin: 0 0 0 10px"
v-model="model.gitp.chargic.chkast"
v-model="model.gitp.chargic.chkast" disabled
>允许</c-checkbox
>
</c-col>
......@@ -128,7 +129,7 @@
prop="gidgrp.blk.preperc"
>
<c-input
:disabled="model.gitp.prepercmodflg == ''"
disabled
rows="6"
type="textarea"
v-model="model.gidgrp.blk.preperc"
......@@ -141,12 +142,12 @@
<c-col :span="7">
<c-checkbox
v-model="model.gitp.prepercmodflg"
style="margin: 0 0 0 10px;float:left"
style="margin: 0 0 0 10px;float:left" disabled
>是否手工修改保函文本</c-checkbox
>
<c-checkbox
v-model="model.gitp.chkpreperc"
style="margin: 0 0 0 10px;float:left"
style="margin: 0 0 0 10px;float:left" disabled
>允许</c-checkbox
>
<c-button
......
......@@ -11,6 +11,7 @@
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -24,6 +25,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -34,7 +36,7 @@
<i class="el-icon-info"></i>
</c-button>
<c-button
:disabled="model.gidgrp.apl.pts.adrblk == ''"
disabled
size="small"
type="primary"
@click="onAplpDet"
......@@ -130,6 +132,7 @@
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入开证行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -143,6 +146,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
disabled
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
......@@ -185,6 +189,7 @@
v-model="model.gidgrp.ctr.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -198,6 +203,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
disabled
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
......@@ -208,7 +214,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onCtrpDet">
<c-button size="small" type="primary" @click="onCtrpDet" disabled>
详情
</c-button>
</template>
......@@ -224,6 +230,7 @@
v-model="model.gidgrp.ctr.pts.adrblk"
show-word-limit
placeholder="请输入地址名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -242,6 +249,7 @@
v-model="model.gidgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -255,6 +263,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
disabled
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
......@@ -298,6 +307,7 @@
v-model="model.gidgrp.ctr.pts.ref"
maxlength="16"
placeholder="请输入账户/对象参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -311,6 +321,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctr.pts.extkey`)
"
disabled
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
......@@ -321,7 +332,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onCtrpDet">
<c-button size="small" type="primary" @click="onCtrpDet" disabled>
详情
</c-button>
</template>
......@@ -331,7 +342,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ctr.pts.adrblk">
<c-input
:disabled="model.gidgrp.ctr.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.ctr.pts.adrblk"
......@@ -355,6 +366,7 @@
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -371,6 +383,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -381,7 +394,7 @@
<i class="el-icon-info"></i>
</c-button>
<c-button
:disabled="model.gidgrp.rec.hndtyp == 'OT'"
disabled
size="small"
type="primary"
@click="onBenpDet"
......@@ -395,10 +408,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
:disabled="
model.gidgrp.rec.hndtyp == 'OT' ||
model.gidgrp.ben.pts.adrblk != ''
"
disabled
rows="4"
type="textarea"
maxlength="140"
......@@ -422,6 +432,7 @@
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -442,6 +453,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -492,6 +504,7 @@
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -505,6 +518,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
disabled
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
......@@ -515,7 +529,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onBenpDet">
<c-button size="small" type="primary" @click="onBenpDet" disabled>
详情
</c-button>
</template>
......@@ -525,7 +539,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
:disabled="model.gidgrp.ben.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
......@@ -543,6 +557,7 @@
v-model="model.gidgrp.atb.pts.ref"
maxlength="16"
placeholder="请输入通知行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -556,6 +571,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.atb.pts.extkey`)
"
disabled
></c-input>
<!-- @blur="benBlur" -->
<template slot="footer">
......@@ -566,7 +582,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onAtbpDet">
<c-button size="small" type="primary" @click="onAtbpDet" disabled>
详情
</c-button>
</template>
......@@ -576,7 +592,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.atb.pts.adrblk">
<c-input
:disabled="model.gidgrp.atb.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.atb.pts.adrblk"
......@@ -602,6 +618,7 @@
size="mini"
@click="handleEdit(scope.$index, scope.row)"
type="primary"
disabled
>详情</el-button
>
</template>
......
......@@ -9,6 +9,7 @@
v-model="model.gidgrp.apc.pts.ref"
maxlength="16"
placeholder="请输入申请人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -22,6 +23,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apc.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -31,7 +33,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onApcpDet">
<c-button size="small" type="primary" @click="onApcpDet" disabled>
详情
</c-button>
</template>
......@@ -41,7 +43,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.apc.pts.adrblk">
<c-input
:disabled="model.gidgrp.apc.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.apc.pts.adrblk"
......@@ -58,6 +60,7 @@
v-model="model.gidgrp.ctc.pts.ref"
maxlength="16"
placeholder="请输入债务人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -71,6 +74,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ctc.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -80,7 +84,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onCtcpDet">
<c-button size="small" type="primary" @click="onCtcpDet" disabled>
详情
</c-button>
</template>
......@@ -90,7 +94,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ctc.pts.adrblk">
<c-input
:disabled="model.gidgrp.ctc.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.ctc.pts.adrblk"
......@@ -110,6 +114,7 @@
v-model="model.gidgrp.bec.pts.ref"
maxlength="16"
placeholder="请输入国际受益人参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -123,6 +128,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.bec.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -132,7 +138,7 @@
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onBecpDet">
<c-button size="small" type="primary" @click="onBecpDet" disabled>
详情
</c-button>
</template>
......@@ -142,7 +148,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.bec.pts.adrblk">
<c-input
:disabled="model.gidgrp.bec.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.bec.pts.adrblk"
......@@ -160,6 +166,7 @@
v-model="model.gidgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入开证行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -173,6 +180,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
......@@ -184,7 +192,7 @@
<i class="el-icon-info"></i>
</c-button>
<c-button
:disabled="model.gidgrp.iss.pts.adrblk == ''"
disabled
size="small"
type="primary"
@click="onIsspDet"
......@@ -198,7 +206,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.iss.pts.adrblk">
<c-input
:disabled="model.gidgrp.iss.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.iss.pts.adrblk"
......@@ -217,6 +225,7 @@
v-model="model.gidgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入最终收款行参考号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -233,6 +242,7 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
disabled
></c-input>
<template slot="footer">
<c-button
......@@ -243,7 +253,7 @@
<i class="el-icon-info"></i>
</c-button>
<c-button
:disabled="model.gidgrp.ben.pts.adrblk == ''"
disabled
size="small"
type="primary"
@click="onBenpDet"
......@@ -257,7 +267,7 @@
<c-col :span="24">
<el-form-item label="地址名称" prop="gidgrp.ben.pts.adrblk">
<c-input
:disabled="model.gidgrp.ben.pts.adrblk != ''"
disabled
rows="4"
type="textarea"
v-model="model.gidgrp.ben.pts.adrblk"
......
......@@ -4,9 +4,9 @@
<c-col :span="12" style="padding-right: 20px">
<!-- SF000009 : Debit Party -->
<c-col :span="24">
<el-form-item label="Debit Party" prop="xxtfee.intmbu.umsrol">
<c-select v-model="model.xxtfee.intmbu.umsrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Debit Party'">
<el-form-item label="借贷人" prop="xxtfee.intmbu.umsrol">
<c-select disabled v-model="model.xxtfee.intmbu.umsrol" style="width:100%"
placeholder="请输入借贷人">
</c-select>
</el-form-item>
</c-col>
......@@ -17,13 +17,13 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="xxtfee.intmbu.ums.pts.extkey">
<el-form-item label="" prop="xxtfee.intmbu.ums.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.ums.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog(`xxtfee.intmbu.ums.pts.extkey`)"
<c-input disabled
v-model="model.xxtfee.intmbu.ums.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog(`xxtfee.intmbu.ums.pts.extkey`)"
></c-input>
<template v-slot:footer>
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
......@@ -36,7 +36,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="xxtfee.intmbu.ums.pts.adrblk">
<el-form-item label="" prop="xxtfee.intmbu.ums.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.xxtfee.intmbu.ums.pts.adrblk" maxlength="140"
show-word-limit placeholder="请输入地址名称"></c-input>
</el-form-item>
......@@ -46,9 +46,9 @@
<c-col :span="12" style="padding-left: 20px">
<!-- SF000007 : Credit Party -->
<c-col :span="24">
<el-form-item label="Credit Party" prop="xxtfee.intmbu.umhrol">
<c-select v-model="model.xxtfee.intmbu.umhrol" style="width:100%"
:placeholder="$t('other.please_enter')+'Credit Party'">
<el-form-item label="当事人" prop="xxtfee.intmbu.umhrol">
<c-select disabled v-model="model.xxtfee.intmbu.umhrol" style="width:100%"
placeholder="请输入当事人">
</c-select>
</el-form-item>
</c-col>
......@@ -59,13 +59,13 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="External Key of Address" prop="xxtfee.intmbu.umh.pts.extkey">
<el-form-item label="" prop="xxtfee.intmbu.umh.pts.extkey">
<c-fullbox>
<c-input
v-model="model.xxtfee.intmbu.umh.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog(`xxtfee.intmbu.umh.pts.extkey`)"
<c-input disabled
v-model="model.xxtfee.intmbu.umh.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="showGridPromptDialog(`xxtfee.intmbu.umh.pts.extkey`)"
></c-input>
<template v-slot:footer>
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary">
......@@ -78,7 +78,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址名称" prop="xxtfee.intmbu.umh.pts.adrblk">
<el-form-item label="" prop="xxtfee.intmbu.umh.pts.adrblk">
<c-input disabled rows="4" type="textarea" v-model="model.xxtfee.intmbu.umh.pts.adrblk" maxlength="140"
show-word-limit placeholder="请输入地址名称"></c-input>
</el-form-item>
......
......@@ -19,9 +19,8 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
<c-select disabled v-model="model.gidgrp.cbs.max.cur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value">
</el-option>
<c-select disabled v-model="model.gidgrp.cbs.max.cur" style="width: 100%" :code="codes.cur"
placeholder="请选择币种">
</c-select>
</el-form-item>
</c-col>
......@@ -83,12 +82,15 @@
<!-- Rebooking -->
<c-col :span="24">
<el-form-item label="" prop="xxtfee.intmbu.umbflg">
<c-checkbox v-model="model.xxtfee.intmbu.umbflg" class="checkbox-left">Rebooking</c-checkbox>
<c-checkbox v-model="model.xxtfee.intmbu.umbflg" class="checkbox-left"
@change="eventFunction( 'xxtfee.intmbu.umbflg')">Rebooking
</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- 右侧 -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span=" 12
" style="padding-left: 20px">
<!-- SF000274 : Name 简略信息 -->
<c-col :span="24">
<el-form-item label="简略信息" prop="gidgrp.rec.nam">
......
......@@ -31,6 +31,7 @@
<el-form-item label="" prop="fremsg.iss.pts.extkey">
<c-fullbox>
<c-input v-model="model.fremsg.iss.pts.extkey" maxlength="16" placeholder="请输入"
:disabled="model.fremsg.issrol!=''"
@keyup.enter.native="
showGridPromptDialog('fremsg.iss.pts.extkey')
"></c-input>
......@@ -49,6 +50,7 @@
<c-col :span="24">
<el-form-item label="" prop="fremsg.iss.pts.adrblk">
<c-input :rows="4" type="textarea" v-model="model.fremsg.iss.pts.adrblk"
:disabled="model.fremsg.issrol!=''"
maxlength="300" show-word-limit placeholder="请输入">
</c-input>
</el-form-item>
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="公共报文" name="Gitfrep1">
<el-collapse-item title="公共报文" name="gitfrep1">
<m-gitfrep1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt759报文详情" name="Mt759p" v-if="model.fremsg.sndmt=='59'">
......
......@@ -126,6 +126,9 @@ export default {
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if(this.isInDisplay){
this.restoreDisplay();
}
} else {
this.$notify.error({title: '错误', message: '服务请求失败!'});
......
<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>
......
......@@ -200,6 +200,7 @@ export default {
{ inifrm: "infpty", ininam: "客户信息查询", pntmiu: "10" },
{ inifrm: "inftrl", ininam: "交易权限查询", pntmiu: "10" },
{ inifrm: "infusr", ininam: "柜员信息查询", pntmiu: "10" },
{ inifrm: "inftxm2", ininam: "固定格式文本查询", pntmiu: "10"},
// { inifrm: "gitset", ininam: "进口保函赔付", pntmiu: "13" },
// { inifrm: "gitcrq", ininam: "进口保函索赔登记", pntmiu: "13" },
{ inifrm: "14", ininam: "服务管理", pntmiu: "" },
......
<template>
<ReviewWrapper>
<Getfre></Getfre>
</ReviewWrapper>
</template>
<script>
import Getfre from "~/views/Business/Getfre";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGetfre",
components: { ReviewWrapper, Getfre },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
<template>
<ReviewWrapper>
<Gitdla></Gitdla>
</ReviewWrapper>
</template>
<script>
import Gitdla from "~/views/Business/Gitdla";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewGitdla",
components: { ReviewWrapper, Gitdla },
created() {},
mounted() {},
};
</script>
<style></style>
\ No newline at end of file
......@@ -3,6 +3,7 @@ import ReviewGitfee from "./Business/ReviewGitfee.vue";
import ReviewGitpca from "./Business/ReviewGitpca.vue";
import ReviewGitfre from "./Business/ReviewGitfre.vue";
import ReviewGetfee from "./Business/ReviewGetfee.vue";
import ReviewGetfre from "./Business/ReviewGetfre.vue";
import ReviewGitatt from "./Business/ReviewGitatt.vue";
import ReviewDitopn from "./Business/ReviewDitopn.vue";
import ReviewDitdck from "./Business/ReviewDitdck.vue";
......@@ -124,6 +125,7 @@ import ReviewGitenc from "./Business/ReviewGitenc.vue";
import ReviewGiteng from "./Business/ReviewGiteng.vue";
import ReviewGitplb from "./Business/ReviewGitplb.vue";
import ReviewGitadd from "./Business/ReviewGitadd.vue";
import ReviewGitdla from "./Business/ReviewGitdla.vue";
import ReviewBttrcl from "./Business/ReviewBttrcl.vue";
import ReviewBttset from "./Business/ReviewBttset.vue";
......@@ -140,6 +142,7 @@ const ReviewRouter = [
{ path: "gitfee", component:ReviewGitfee, name: "ReviewGitfee", meta: { title:"复核-进口保函收费"} },
{ path: "gitpca", component:ReviewGitpca, name: "ReviewGitpca", meta: { title:"复核-关税保函预注销"} },
{ path: "getfee", component:ReviewGetfee, name: "ReviewGetfee", meta: { title:"复核-附加传入信息"} },
{ path: "getfre", component:ReviewGetfre, name: "ReviewGetfre", meta: { title:"复核-自由格式报文"} },
{ path: "gitatt", component:ReviewGitatt, name: "ReviewGitatt", meta: { title:"复核-绑定电子凭证"} },
{ path: "ditopn", component: ReviewDitopn, name: "ReviewDitopn", meta: { title: "复核-买方信用证开立" } },
{ path: "ditdck", component: ReviewDitdck, name: "ReviewDitdck", meta: { title: "复核-买方信用证到单" } },
......@@ -275,6 +278,7 @@ const ReviewRouter = [
{ path: "gitplb", component: ReviewGitplb, name: "ReviewGitplb", meta: { title: "复核-Gitplb" } },
{ path: "gitfre", component: ReviewGitfre, name: "ReviewGitfre", meta: { title: "复核-Gitfre" } },
{ path: "gitadd", component: ReviewGitadd, name: "ReviewGitadd", meta: { title: "复核-Gitadd" } },
{ path: "gitdla", component: ReviewGitdla, name: "ReviewGitdla", meta: { title: "复核-Gitdla" } },
{ path: "bttrcl", component: ReviewBttrcl, name: "ReviewBttrcl", meta: { title: "复核-Bttrcl" } },
{ path: "bttset", component: ReviewBttset, name: "ReviewBttset", meta: { title: "复核-Bttset" } },
......
<template>
<m-txm ref="txm" title="dbatxm" type="add"></m-txm>
</template>
<script>
import Dbitxm from "~/views/Statics/Dbitxm";
export default {
name: "StaticsDbatxm",
components: {
"m-txm": Dbitxm
},
data() {
return {};
},
mounted() {
this.$refs.fec.rules['fecList'] = [
{ type: 'array', required: true, min: 1, message: '地址信息栏不能为空' }
]
}
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-txm title="dbdtxm" type="delete"></m-txm>
</template>
<script>
import Dbitxm from "~/views/Statics/Dbitxm";
export default {
name: "StaticsDbdatp",
components: {
"m-txm": Dbitxm
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-txm title="dbetxm" type="edit"></m-txm>
</template>
<script>
import Dbitxm from "~/views/Statics/Dbitxm";
export default {
name: "StaticsDbeatp",
components: {
"m-txm": Dbitxm
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Txm {
constructor() {
this.data = {
inr: "",
extkey: "",
nam: "",
txt: "",
uil: "",
ver: "",
etgextkey: "",
};
}
}
export const Pattern = {
inr: [
{ required: true, message: "必输项", type: "string", trigger: "blur" },
{ max: 8, message: "最大长度8个字符", trigger: "blur" },
],
};
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<el-form-item label="INR" prop="inr" v-if="type !== 'add'">
<c-input v-model="model.inr" placeholder="请输入主键">
</c-input>
</el-form-item>
<el-form-item label="名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入名称">
</c-input>
</el-form-item>
<!-- <el-form-item label="实体组" prop="etgextkey" style="width:100%">
<c-select v-model="model.etgextkey" style="width:100%" placeholder="请选择实体组">
<el-option v-for="item in entyGrp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item> -->
<el-form-item label="实体组" prop="etgextkey">
<c-input v-model="model.etgextkey" placeholder="请输入实体组">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12" class="col-right">
<el-form-item label="EXTKEY" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入外键">
</c-input>
</el-form-item>
<el-form-item label="语言" prop="uil" style="width:100%">
<c-select v-model="model.uil" style="width:100%" placeholder="请选择语言">
<el-option v-for="item in getCodesByKey('uiltxt')" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24" class="col-left">
<el-form-item label="内容" prop="txt">
<c-input-format type="textarea" v-model="model.txt" :maxRows="6" :maxCols="35"
placeholder="请输入内容"></c-input-format>
</el-form-item>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
export default {
name: "",
entyGrp: [],
props: ["model","type"],
data() {
return {};
},
methods: {
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="title">
<el-form ref="modelForm" label-width="120px" size="small" label-position="right" :model="model" :rules="rules"
:validate-on-rule-change="false" :disabled="isDisabled">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="固定格式文本信息" name="txm">
<c-content>
<m-txm-info :model="model" :type="type"/>
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<div style="text-align: center">
<c-button type="primary" style="margin-right: 10px" @click="commitAdd" v-if="type === 'add'">提 交</c-button>
<c-button type="primary" style="margin-right: 10px" @click="commitEdit" v-if="type === 'edit'">提 交</c-button>
<c-button type="primary" style="margin-right: 10px" @click="commitDelete" v-if="type === 'delete'">
</c-button>
<c-button type="primary" @click="goBack">返 回</c-button>
</div>
</c-page>
</div>
</template>
<script>
import Utils from "~/utils";
import Txm, { Pattern } from "./Txm.js";
import TxmInfo from "./TxmInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/txm.js";
export default {
name: "StaticsDbitxm",
components: {
"m-txm-info": TxmInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbitxm"
}
},
data() {
return {
model: new Txm().data,
tabVal: "txm",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryById(inr).then((res) => {
if (res.inr) {
this.model = res;
} else {
this.$message.error("该信息不存在")
}
});
}
},
methods: {
commitAdd() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
add(this.model)
.then((res) => {
this.$message.success("添加成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("添加失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitEdit() {
this.$refs.modelForm.validate((validated) => {
if (validated) {
edit(this.model)
.then((res) => {
this.$message.success("修改成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("修改失败!");
});
} else {
Utils.formValidateTips(this.$refs.modelForm.fields)
}
});
},
commitDelete() {
this.$confirm("是否确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
deleteById(this.model.inr)
.then((res) => {
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
this.$message.error("删除失败!");
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
},
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInftxm", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<div class="eibs-tab">
<!-- 查询条件 -->
<c-col :span="12" class="col-left">
<el-form-item label="实体组" prop="etgextkey" style="width:100%">
<c-select v-model="model.etgextkey" style="width:100%" placeholder="请选择实体组">
<el-option v-for="item in entyGrp" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12" class="col-right">
<el-form-item label="名称" prop="nam">
<c-input v-model="model.nam" placeholder="请输入名称" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12" class="col-left">
<el-form-item label="语言" prop="uil" style="width:100%">
<c-select v-model="model.uil" style="width:100%" placeholder="请选择语言">
<el-option v-for="item in lang" :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" style="text-align: left">
<el-button type="primary" size="small" @click="txmAdd">新增</el-button>
</c-col>
<c-col :span="12" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="onSearch">查询
</el-button>
</c-col>
</c-col>
<!-- 查询结果 -->
<c-col :span="24">
<c-paging-table :data="txmData" :columns="txmColumns" :pageNumber="model.pageNum" :pageSize="model.pageSize"
:total="model.total" v-on:queryFunc="queryFunc" :border="true">
<c-table-column fixed="right" prop="op" label="操作" width="240px">
<template slot-scope="{ scope }">
<c-button style="margin-left: 0" size="small" @click="txmInfo(scope.$index, scope.row)">详情</c-button>
<c-button style="margin-left: 5px" size="small" type="primary"
@click="txmEdit(scope.$index, scope.row)">修改</c-button>
<c-button size="small" style="margin-left: 5px" @click="txmDelete(scope.$index, scope.row)">删除</c-button>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
<li>
<c-button size="small" style="margin-left: 0">指派</c-button>
</li>
<li>
<c-button size="small" style="margin-left: 0">删除</c-button>
</li>
</ul>
<a slot="reference" href="javascript:void(0)" style="margin-left: 5px">
<i class="el-icon-more"></i>
</a>
</el-popover>
</template>
</c-table-column>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import { queryByPage } from "~/service/test/txm.js";
import CodeTable from "~/config/CodeTable";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
entyGrp: [],
lang: CodeTable['uiltxt'],
txmData: [],
txmColumns: [
{ label: "名称", prop: "nam", width: "auto" },
{ label: "语言", prop: "uil", width: "auto" },
{ label: "内容", prop: "txt", width: "auto" },
],
};
},
activated() {
const { update } = this.$route.params;
if (update) {
this.onInftxmSearch();
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onSearch() {
this.model.pageSize = 5;
this.model.pageNum = 1;
this.onInftxmSearch();
},
onInftxmSearch() {
queryByPage(this.model).then((res) => {
const list = res.list;
this.txmData = list;
this.model.pageNum = res.pageNumber;
this.model.pageSize = res.pageSize;
this.model.total = res.total;
});
},
queryFunc(pageNumber, pageSize) {
this.model.pageNum = pageNumber;
this.model.pageSize = pageSize;
this.onInftxmSearch();
},
txmAdd() {
this.$router.push(`/statics/dbatxm`);
},
txmInfo(index, row) {
this.$router.push(`/statics/dbitxm/${row.inr}`);
},
txmEdit(index, row) {
this.$router.push(`/statics/dbetxm/${row.inr}`);
},
txmDelete(index, row) {
this.$router.push(`/statics/dbdtxm/${row.inr}`);
},
},
};
</script>
<style scoped>
.table-button-item-list {
padding: 0;
margin: 0;
}
.table-button-item-list li {
list-style: none;
padding: 5px 0;
text-align: center;
color: #606266;
cursor: pointer;
}
</style>
<template>
<div class="eContainer">
<c-page title="固定格式文本查询">
<el-form :model="model" ref="modelForm" label-width="120px" label-position="right" size="small">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane label="固定格式文本查询" name="infsea">
<c-content>
<m-infsea :model="model" ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "StaticsInftxm",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
etgextkey: "",
nam: "",
uil: "",
pageSize: 5,
pageNum: 1,
total: 0,
},
};
},
};
</script>
<style>
</style>
......@@ -63,6 +63,12 @@ import Dbaatx from "./Dbaatx";
import Dbeatx from "./Dbeatx";
import Dbdatx from "./Dbdatx";
import Inftxm from "~/views/Statics/Inftxm";
import Dbitxm from "~/views/Statics/Dbitxm";
import Dbatxm from "~/views/Statics/Dbatxm";
import Dbetxm from "~/views/Statics/Dbetxm";
import Dbdtxm from "~/views/Statics/Dbdtxm";
const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -128,6 +134,11 @@ const StaticsRouter = [
{ path: 'dbiatx/:inr', component: Dbiatx, name: 'StaticsDbiatx', meta: { title: (tag) => { return '保函文本详情: ' + tag.params.inr } } },
{ path: 'dbeatx/:inr', component: Dbeatx, name: 'StaticsDbeatx', meta: { title: (tag) => { return '保函文本修改: ' + tag.params.inr } } },
{ path: 'dbdatx/:inr', component: Dbdatx, name: 'StaticsDbdatx', meta: { title: (tag) => { return '保函文本删除: ' + tag.params.inr } } },
{ path: 'dbitxm/:inr', component: Dbitxm, name: 'StaticsDbitxm', meta: { title: (tag) => { return '固定格式文详情: ' + tag.params.inr } } },
{ path: 'dbatxm', component: Dbatxm, name: 'StaticsDbatxm', meta: { title: '固定格式文本新增' } },
{ path: 'dbetxm/:inr', component: Dbetxm, name: 'StaticsDbetxm', meta: { title: (tag) => { return '固定格式文修改: ' + tag.params.inr } } },
{ path: 'dbdtxm/:inr', component: Dbdtxm, name: 'StaticsDbdtxm', meta: { title: (tag) => { return '固定格式文删除: ' + tag.params.inr } } },
]
export default StaticsRouter
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