Commit 115021cc by Wuyuqiu

公共面板bug修改

parent c18d8c16
...@@ -94,6 +94,7 @@ export default class Trnmod { ...@@ -94,6 +94,7 @@ export default class Trnmod {
}, },
filrecv: "", // File Receiver .trnmod.trndoc.filrecv filrecv: "", // File Receiver .trnmod.trndoc.filrecv
doceot: [], doceot: [],
addstr750:""//trnmod.trndoc.addstr750
}, },
docimm:{ docimm:{
ascin:"", // Message as stream .trnmod.docimm.ascin ascin:"", // Message as stream .trnmod.docimm.ascin
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp"> <el-form-item label="款项来源" prop="bopmod.acttyp">
......
...@@ -206,16 +206,19 @@ ...@@ -206,16 +206,19 @@
<c-row> <c-row>
<c-col :span="12"> <c-col :span="12">
<c-col> <c-col>
<el-form-item label="per-medium" <el-form-item label="per-medium">
><el-input disabled v-model="dialog.cortyp" <c-select disabled v-model="dialog.cortyp" :code="codes.doceotCortyp">
/></el-form-item> </c-select>
</el-form-item>
</c-col> </c-col>
<c-col> <c-col>
<el-form-item label="Form Set"> <el-form-item label="Form Set">
<el-input <!-- <el-input
disabled disabled
v-model="dialog.cortyp" v-model="dialog.cortyp"
/> /> -->
<c-select disabled v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col v-if="title != 'elcs.101.001.01'"> <c-col v-if="title != 'elcs.101.001.01'">
...@@ -271,7 +274,9 @@ ...@@ -271,7 +274,9 @@
label="Send Message to" label="Send Message to"
label-width="150px" label-width="150px"
> >
<el-input disabled v-model="dialog.roladr" /> <!-- <el-input disabled v-model="dialog.roladr" /> -->
<c-select disabled v-model="dialog.roladr" :code="codes.payrol">
</c-select>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label-width="30px" label-width="30px"
...@@ -324,16 +329,20 @@ ...@@ -324,16 +329,20 @@
<el-input disabled v-model="dialog.adrref" /> <el-input disabled v-model="dialog.adrref" />
</el-form-item> </el-form-item>
<el-form-item label="Medium" label-width="100px"> <el-form-item label="Medium" label-width="100px">
<el-input <!-- <el-input
disabled disabled
style="width: 40%" style="width: 40%"
v-model="dialog.cortyp" v-model="dialog.cortyp"
/> /> -->
<el-input <c-select disabled style="width: 40%" v-model="dialog.cortyp" :code="codes.doceotCortyp">
</c-select>
<!-- <el-input
disabled disabled
v-model="dialog.docuil" v-model="dialog.docuil"
style="width: 40%; margin-left: 20px" style="width: 40%; margin-left: 20px"
/> /> -->
<c-select disabled style="width: 40%; margin-left: 20px" v-model="dialog.docuil" :code="codes.payuil">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -445,9 +454,9 @@ ...@@ -445,9 +454,9 @@
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import Api from "~/service/Api"; import Api from "~/service/Api";
import Utils from "~/utils/index"; import Utils from "~/utils/index";
import DocUtils from '~/utils/DocUtils' import DocUtils from "~/utils/DocUtils";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
...@@ -485,103 +494,123 @@ export default { ...@@ -485,103 +494,123 @@ export default {
stm[k++] = val[i]; stm[k++] = val[i];
} }
} }
this.stmData.data = stm this.stmData.data = stm;
},
immediate: true,
}, },
immediate: true
}
}, },
methods: { methods: {
saveDialog() { saveDialog() {
this.centerDialogVisible = false; this.centerDialogVisible = false;
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog); this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => { this.executeRule("trnmod.trndoc.doccur.butaddok").then((res) => {
if(res.respCode==SUCCESS){ if (res.respCode == SUCCESS) {
//TODO //TODO
} else {
}else{ this.$notify.error({ title: "错误", message: "服务请求失败!" });
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}) });
}, },
async handleDisplay(index, row,doceot){ async handleDisplay(index, row, doceot) {
//后续要根据快照模式切换请求方式 //后续要根据快照模式切换请求方式
let cortyp = row.cortyp let cortyp = row.cortyp;
let docuil = doceot.docuil; let docuil = doceot.docuil;
let docnam = doceot.docnam||''; let docnam = doceot.docnam || "";
docnam = docnam.substr(docnam.indexOf("\\")+1).toLowerCase().replaceAll("\\","_"); docnam = docnam
let rtnmsg .substr(docnam.indexOf("\\") + 1)
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') { .toLowerCase()
this.model.setmod.msgmod.doccod = row.id .replaceAll("\\", "_");
rtnmsg = await Api.post(`${this.requestPrefix}/msgmod_butshw`, this.wrapper()) let rtnmsg;
if (cortyp == "SWT" || cortyp == "FMT" || cortyp == "CMT") {
this.model.setmod.msgmod.doccod = row.id;
rtnmsg = await Api.post(
`${this.requestPrefix}/msgmod_butshw`,
this.wrapper()
);
} else { } else {
this.model.trnmod.trndoc.doccod = row.id this.model.trnmod.trndoc.doccod = row.id;
this.model.trnmod.trndoc.cortyp = cortyp this.model.trnmod.trndoc.cortyp = cortyp;
const params = { const params = {
index: index index: index,
} };
rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpan`, this.wrapper(params)) rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpan`,
this.wrapper(params)
);
} }
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') { if (cortyp == "SWT" || cortyp == "FMT" || cortyp == "CMT") {
let viewurl = rtnmsg.data.setmod_msgmod_docpth; let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl this.viewurl = viewurl;
this.title = "报文" this.title = "报文";
//window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); //window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no');
} } else if (cortyp == "ELC") {
else if (cortyp == 'ELC') {
Modal.info({ Modal.info({
title: '电证报文', content: <div style={{ height: 400, overflow: 'auto' }}><ELCMessage mty={row.id} message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]} /></div>, title: "电证报文",
content: (
<div style={{ height: 400, overflow: "auto" }}>
<ELCMessage
mty={row.id}
message={rtnmsg.data["\\trnmod\\trndoc\\docinf"]}
/>
</div>
),
width: 1000, width: 1000,
}) });
} } else {
else {
// let url = rtnmsg.data.trnmod_trndoc_smh_docpth; // let url = rtnmsg.data.trnmod_trndoc_smh_docpth;
this.title = "面函" this.title = "面函";
let viewurl = "/#/docpan/show"; let viewurl = "/#/docpan/show";
let XMLdata; let XMLdata;
if (row.pandsc.startsWith("elcs.")) { if (row.pandsc.startsWith("elcs.")) {
window.sessionStorage.docXML = '' window.sessionStorage.docXML = "";
window.sessionStorage.docTXT = '' window.sessionStorage.docTXT = "";
rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(element => { rtnmsg.data.trnmod_trndoc_doceot[index].doctxt.rows.forEach(
window.sessionStorage.docTXT += element + "\r\n" (element) => {
}); window.sessionStorage.docTXT += element + "\r\n";
} }
else if (row.pandsc == "MT799") { );
window.sessionStorage.docTXT = '' } else if (row.pandsc == "MT799") {
XMLdata = rtnmsg.data.litbenl1blk window.sessionStorage.docTXT = "";
} XMLdata = rtnmsg.data.litbenl1blk;
else{ } else {
//参考后台Doceot.butshw order=1000 //参考后台Doceot.butshw order=1000
let execution = 'P', structure = 'l' let execution = "P",
let attr = DocUtils.getDocAttribute(docnam,structure,execution) structure = "l";
window.sessionStorage.docTXT = '' let attr = DocUtils.getDocAttribute(docnam, structure, execution);
window.sessionStorage.docTXT = "";
window.sessionStorage.docXML = rtnmsg.data[attr]; window.sessionStorage.docXML = rtnmsg.data[attr];
window.sessionStorage.docuil = doceot.docuil; window.sessionStorage.docuil = doceot.docuil;
} }
// console.log( window.sessionStorage.docTXT); // console.log( window.sessionStorage.docTXT);
// console.log( window.sessionStorage.docXML); // console.log( window.sessionStorage.docXML);
window.open(viewurl, 'newwindow', 'height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no'); window.open(
viewurl,
"newwindow",
"height=1200,width=800,top=100,left=100,toolbar=no,resizable=no,menubar=no,location=no, status=no"
);
} }
this.dialogOpen = true this.dialogOpen = true;
} } else {
else { this.$notify.error({ title: "错误", message: "服务请求失败!" });
this.$notify.error({ title: '错误', message: '服务请求失败!' })
} }
}, },
async handleDetail(index, row) { async handleDetail(index, row) {
const params = { const params = {
index: index index: index,
} };
let rtnmsg = await Api.post(`${this.requestPrefix}/executeDocpanDetail`, this.wrapper(params)) let rtnmsg = await Api.post(
`${this.requestPrefix}/executeDocpanDetail`,
this.wrapper(params)
);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.title = row.pandsc this.title = row.pandsc;
this.centerDialogVisible = true, (this.centerDialogVisible = true), this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data); this.dialog = this.model.trnmod.trndoc.doceot[index];
this.dialog = this.model.trnmod.trndoc.doceot[index] this.index = index;
this.index = index
}
} }
}, },
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- <!--
<c-col :span="12"> <c-col :span="12">
<el-form-item label="ECIFNO"> <el-form-item label="ECIFNO">
...@@ -38,13 +38,24 @@ ...@@ -38,13 +38,24 @@
<c-row> <c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="业务编号" prop="liaall.limmod.ownref"> <el-form-item label="业务编号" prop="liaall.limmod.ownref">
<c-input v-model="model.liaall.limmod.ownref" maxlength="16" placeholder="请输入国结业务编号" :disabled="true" style="width: 100%"></c-input> <c-input
v-model="model.liaall.limmod.ownref"
maxlength="16"
placeholder="请输入国结业务编号"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="业务余额" prop="liaall.limmod.comamt"> <el-form-item label="业务余额" prop="liaall.limmod.comamt">
<c-input v-model="model.liaall.limmod.comamt" placeholder="请输入业务余额" :disabled="true" style="width: 100%"></c-input> <c-input
v-model="model.liaall.limmod.comamt"
placeholder="请输入业务余额"
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
...@@ -52,58 +63,106 @@ ...@@ -52,58 +63,106 @@
<!-- line2 --> <!-- line2 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="额度主体" prop="liaall.limmod.limpts.wrk.pts.extkey" style="width:100%"> <el-form-item
label="额度主体"
prop="liaall.limmod.limpts.wrk.pts.extkey"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" style="width: 100%"></c-input> <c-input
v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin:0 5px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onSeainf" /> <c-button
<c-button style="margin:0 0" size="small" type="primary" @click="onWrkpDet"> style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onWrkpDet"
>
详情 详情
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<!-- line3 --> <!-- line3 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="主体名称" prop="liaall.limmod.limpts.wrk.pts.nam"> <el-form-item
<c-input v-model="model.liaall.limmod.limpts.wrk.pts.nam" maxlength="16" placeholder="" :disabled="true" style="width:100%"></c-input> label="主体名称"
prop="liaall.limmod.limpts.wrk.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.wrk.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<!-- line4 --> <!-- line4 -->
<c-row> <c-row>
<c-col :span="24" style="text-align:right"> <c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1"> <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
<c-fullbox> <c-fullbox>
<c-select v-model="model.liaall.limmod.limpts.nonrevflg1" style="width: 100%" placeholder="请选择Flag to Mark Non-revolving Limits" @change="nonrevflg1Change"> <c-select
<el-option v-for="item in codes.nonrevflg1" :key="item.value" :label="item.label" :value="item.value"> v-model="model.liaall.limmod.limpts.nonrevflg1"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg1Change"
>
<el-option
v-for="item in codes.nonrevflg1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet1"> <c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet1"
>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<!-- line5 --> <!-- line5 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1"> <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
<c-input v-model="model.liaall.limmod.limpts.pfcod1" maxlength="14" placeholder="请输入合同流水号" :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'" style="width: 100%"></c-input> <c-input
v-model="model.liaall.limmod.limpts.pfcod1"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
</c-col> </c-col>
<!-- 右边--> <!-- 右边-->
...@@ -112,26 +171,51 @@ ...@@ -112,26 +171,51 @@
<c-row> <c-row>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="保证金余额" prop="liaall.limmod.ccvamt"> <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
<c-input v-model="model.liaall.limmod.ccvamt" placeholder="请输入保证金余额" :disabled="true"></c-input> <c-input
v-model="model.liaall.limmod.ccvamt"
placeholder="请输入保证金余额"
:disabled="true"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12" style="text-align:right"> <c-col :span="12" style="text-align: right">
<c-button size="small" type="primary" @click="onLimmodTrycal"> <c-button size="small" type="primary" @click="onLimmodTrycal">
试算 试算
</c-button> </c-button>
</c-col> </c-col>
</c-row> </c-row>
<!-- 随event方法改变 -->
<c-col :span="24" v-if="same">
<!-- line2 --> <!-- line2 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="对公账户" prop="liaall.limmod.limpts.oth.pts.extkey" style="width:100%"> <el-form-item
label="对公账户"
prop="liaall.limmod.limpts.oth.pts.extkey"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input v-model="model.liaall.limmod.limpts.oth.pts.extkey" maxlength="16" placeholder="请输入External Key of Address" style="width: 100%"></c-input> <c-input
v-model="model.liaall.limmod.limpts.oth.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
style="width: 100%"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin:0 5px 0 10px;padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onSeainf" /> <c-button
<c-button style="margin:0 0" size="small" type="primary" @click="onOthpDet"> style="margin: 0 5px 0 10px; padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf"
/>
<c-button
style="margin: 0 0"
size="small"
type="primary"
@click="onOthpDet"
>
详情 详情
</c-button> </c-button>
</template> </template>
...@@ -143,40 +227,73 @@ ...@@ -143,40 +227,73 @@
<!-- line3 --> <!-- line3 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="主体名称" prop="liaall.limmod.limpts.oth.pts.nam"> <el-form-item
<c-input v-model="model.liaall.limmod.limpts.oth.pts.nam" maxlength="16" placeholder="" :disabled="true" style="width:100%"></c-input> label="主体名称"
prop="liaall.limmod.limpts.oth.pts.nam"
>
<c-input
v-model="model.liaall.limmod.limpts.oth.pts.nam"
maxlength="16"
placeholder=""
:disabled="true"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<!-- line4 --> <!-- line4 -->
<c-row> <c-row>
<c-col :span="24" style="text-align:right"> <c-col :span="24" style="text-align: right">
<el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2"> <el-form-item
label="额度类型"
prop="liaall.limmod.limpts.nonrevflg2"
>
<c-fullbox> <c-fullbox>
<c-select v-model="model.liaall.limmod.limpts.nonrevflg2" style="width: 100%" placeholder="请选择Flag to Mark Non-revolving Limits" @change="nonrevflg2Change"> <c-select
<el-option v-for="item in codes.nonrevflg2" :key="item.value" :label="item.label" :value="item.value"> v-model="model.liaall.limmod.limpts.nonrevflg2"
style="width: 100%"
placeholder="请选择Flag to Mark Non-revolving Limits"
@change="nonrevflg2Change"
>
<el-option
v-for="item in codes.nonrevflg2"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-button style="padding: 0 12px;" size="small" type="primary" icon="el-icon-search" @click="onLimptsGet2"> <c-button
style="padding: 0 12px"
size="small"
type="primary"
icon="el-icon-search"
@click="onLimptsGet2"
>
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<!-- line5 --> <!-- line5 -->
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2"> <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
<c-input v-model="model.liaall.limmod.limpts.pfcod2" maxlength="14" placeholder="请输入合同流水号" :disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'" style="width: 100%"></c-input> <c-input
v-model="model.liaall.limmod.limpts.pfcod2"
maxlength="14"
placeholder="请输入合同流水号"
:disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
style="width: 100%"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
</c-col>
</c-col> </c-col>
<!-- ====================左边======================= <!-- ====================左边=======================
...@@ -318,12 +435,13 @@ ...@@ -318,12 +435,13 @@
</c-button> </c-button>
</c-col> </c-col>
--> -->
<br><br><br><br><br> <br /><br /><br /><br /><br />
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-table :list="model.liaall.limmod.limgrd" :border="true"> <c-table :list="model.liaall.limmod.limgrd" :border="true">
<el-table-column prop="flg" label="可否串用" width="70px"> <el-table-column prop="flg" label="可否串用" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="shxh" label="序号" width="50px"> </el-table-column> <el-table-column prop="shxh" label="序号" width="50px">
</el-table-column>
<el-table-column prop="limtyp" label="额度类型" width="70px"> <el-table-column prop="limtyp" label="额度类型" width="70px">
</el-table-column> </el-table-column>
<el-table-column prop="ruzhjg" label="入账机构" width="70px"> <el-table-column prop="ruzhjg" label="入账机构" width="70px">
...@@ -336,24 +454,42 @@ ...@@ -336,24 +454,42 @@
</el-table-column> </el-table-column>
<el-table-column prop="limcod" label="品种代码描述" width="100px"> <el-table-column prop="limcod" label="品种代码描述" width="100px">
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="额度明细币种" width="100px"> </el-table-column> <el-table-column prop="cur" label="额度明细币种" width="100px">
<el-table-column prop="ccvpct" label="保证金比例" width="100px"> </el-table-column> </el-table-column>
<el-table-column prop="cpsxed" label="产品授信额度" width="100px"> </el-table-column> <el-table-column prop="ccvpct" label="保证金比例" width="100px">
<el-table-column prop="balamt" label="产品可用额度" width="100px"> </el-table-column> </el-table-column>
<el-table-column prop="useamt" label="产品已用额度" width="100px"> </el-table-column> <el-table-column prop="cpsxed" label="产品授信额度" width="100px">
<el-table-column prop="cpsxck" label="产品授信敞口" width="100px"> </el-table-column> </el-table-column>
<el-table-column prop="cpkyck" label="产品可用敞口" width="100px"> </el-table-column> <el-table-column prop="balamt" label="产品可用额度" width="100px">
<el-table-column prop="cpyyck" label="产品已用敞口" width="100px"> </el-table-column> </el-table-column>
<el-table-column prop="bxh" label="是否可循环" width="90px"> </el-table-column> <el-table-column prop="useamt" label="产品已用额度" width="100px">
<el-table-column prop="bcy" label="是否可串用" width="90px"> </el-table-column> </el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px"> </el-table-column> <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
<el-table-column prop="credat" label="产品额度生效日期" width="120px"> </el-table-column> </el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px"> </el-table-column> <el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
<el-table-column prop="lcpsta" label="额度产品状态" width="100px"> </el-table-column> </el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px"> </el-table-column> <el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
<el-table-column prop="fentxt" label="暴露分类说明" width="100px"> </el-table-column> </el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px"> </el-table-column> <el-table-column prop="bxh" label="是否可循环" width="90px">
<el-table-column prop="bfx" label="是否低风险" width="90px"> </el-table-column> </el-table-column>
<el-table-column prop="bcy" label="是否可串用" width="90px">
</el-table-column>
<el-table-column prop="cyremark" label="串用说明" width="100px">
</el-table-column>
<el-table-column prop="credat" label="产品额度生效日期" width="120px">
</el-table-column>
<el-table-column prop="matdat" label="产品额度到期日" width="120px">
</el-table-column>
<el-table-column prop="lcpsta" label="额度产品状态" width="100px">
</el-table-column>
<el-table-column prop="fentyp" label="暴露分类" width="100px">
</el-table-column>
<el-table-column prop="fentxt" label="暴露分类说明" width="100px">
</el-table-column>
<el-table-column prop="limcur" label="额度币种" width="90px">
</el-table-column>
<el-table-column prop="bfx" label="是否低风险" width="90px">
</el-table-column>
</c-table> </c-table>
</c-col> </c-col>
...@@ -377,7 +513,7 @@ ...@@ -377,7 +513,7 @@
<el-table-column label="" width="auto"> </el-table-column> <el-table-column label="" width="auto"> </el-table-column>
</c-table> </c-table>
</c-col> --> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -387,102 +523,98 @@ import CodeTable from "~/config/CodeTable"; ...@@ -387,102 +523,98 @@ import CodeTable from "~/config/CodeTable";
// import Event from "~/model/Ditopn/Event"; // import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
tableData: {}, tableData: {},
same:false,
}; };
}, },
methods: { methods: {
onSeainf() {}, onSeainf() {},
async onPreperButtxmsel() { async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel") let rtnmsg = await this.executeRule("preper_buttxmsel");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: "错误",
message: '服务请求失败!' message: "服务请求失败!",
}); });
} }
}, },
async onLimptsGet1() { async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1") let rtnmsg = await this.executeRule("limpts_get1");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: "错误",
message: '服务请求失败!' message: "服务请求失败!",
}); });
} }
}, },
async onLimptsGet2() { async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2") let rtnmsg = await this.executeRule("limpts_get2");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: "错误",
message: '服务请求失败!' message: "服务请求失败!",
}); });
} }
}, },
nonrevflg1Change() { nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1') { this.same = true;
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = ""; this.model.liaall.limmod.limpts.pfcod1 = "";
} }
}, },
nonrevflg2Change() { nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == '1') { if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = ""; this.model.liaall.limmod.limpts.pfcod2 = "";
} }
}, },
async onWrkpDet() { async onWrkpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det") let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
console.log(rtnmsg.data); console.log(rtnmsg.data);
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: "错误",
message: '服务请求失败!' message: "服务请求失败!",
}); });
} }
}, },
async onOthpDet() { async onOthpDet() {
let rtnmsg = await this.executeRule("liaall.limmod.othp.det") let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
console.log(rtnmsg.data); console.log(rtnmsg.data);
} else { } else {
this.$notify.error({ this.$notify.error({
title: '错误', title: "错误",
message: '服务请求失败!' message: "服务请求失败!",
}); });
} }
}, },
async onLimmodTrycal(){ async onLimmodTrycal() {
let rtnmsg = await this.executeRule("liaall.limmod.trycal") let rtnmsg = await this.executeRule("liaall.limmod.trycal");
if(rtnmsg.respCode == SUCCESS) this.same = true;
{ if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
}, },
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -369,7 +369,10 @@ ...@@ -369,7 +369,10 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="role"> <el-form-item label="role">
<c-input v-model="dialog3.rol" maxlength="3" placeholder="请输入role"></c-input> <c-select v-model="dialog3.rol" style="width:100%" placeholder="请输入role">
<el-option v-for="item in codes.rolall" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="12"> <!-- <c-col :span="12">
...@@ -390,7 +393,7 @@ ...@@ -390,7 +393,7 @@
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Disposition" prop="setgll.dsp"> <el-form-item label="Disposition" prop="setgll.dsp">
<c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition"> <c-select v-model="dialog3.dsp" style="width:100%" placeholder="请选择Disposition" :code="codes.setglldsp">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
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