Commit 390c7165 by zhouqian

Merge branch 'development-202206' into 'development-202206'

Development 202206

See merge request !8
parents 39305a80 35a51081
...@@ -3,27 +3,28 @@ ...@@ -3,27 +3,28 @@
<el-popover <el-popover
placement="left-start" placement="left-start"
trigger="click" trigger="click"
:offset="150" :offset="80"
popper-class="toolbars-popover" popper-class="toolbars-popover"
> >
<div class="toolbar-detail"> <div class="toolbar-detail">
<ul @click="openTool"> <ul @click="openTool">
<li id="tool-caculate">计算器</li> <li id="tool-caculate">计算器</li>
<li id="tool-search">大额支付行号查询</li>
<li id="tool-telexCode">电报码查询</li>
<li id="tool-account">账户查询</li> <li id="tool-account">账户查询</li>
<li id="tool-swiftcode">SwiftCode查询</li> <li id="tool-swiftcode">SwiftCode查询</li>
<li id="tool-finishedtask">业务查询</li> <li id="tool-finishedtask">业务查询</li>
<li id="tool-feetype">费用查询</li>
<li id="tool-sendMessageQuery">发报查询</li>
<li id="tool-receiveMessageQuery">收报查询</li>
<!-- <li id="tool-search">大额支付行号查询</li>
<li id="tool-telexCode">电报码查询</li>
<li id="tool-exchangerate">即期牌价查询</li> <li id="tool-exchangerate">即期牌价查询</li>
<li id="tool-forwardexchangerate">远期牌价查询</li> <li id="tool-forwardexchangerate">远期牌价查询</li>
<li id="tool-holiday">节假日查询</li> <li id="tool-holiday">节假日查询</li>
<li id="tool-interestrate">利率查询</li> <li id="tool-interestrate">利率查询</li>
<li id="tool-businessoffer">贸易金融业务报价查询</li> <li id="tool-businessoffer">贸易金融业务报价查询</li>
<li id="tool-accttradedetails">账户交易明细查询</li> <li id="tool-accttradedetails">账户交易明细查询</li>
<li id="tool-feetype">费用查询</li> <li id="tool-innerAccountBal">内部户可用余额查询</li> -->
<li id="tool-sendMessageQuery">发报查询</li>
<li id="tool-receiveMessageQuery">收报查询</li>
<li id="tool-innerAccountBal">内部户可用余额查询</li>
</ul> </ul>
</div> </div>
<div class="toolbar-core" slot="reference">工具箱</div> <div class="toolbar-core" slot="reference">工具箱</div>
......
...@@ -7508,6 +7508,38 @@ const CodeTable = { ...@@ -7508,6 +7508,38 @@ const CodeTable = {
{ label: '非居民个人存款', value: '1304' }, { label: '非居民个人存款', value: '1304' },
{ label: '货币', value: '1305' }, { label: '货币', value: '1305' },
{ label: '其他外债', value: '9900' }, { label: '其他外债', value: '9900' },
],
atxcod:[
{label: 'Guarantee Text', value: '1'},
{label: 'Syndication Agreement', value: '2'}
],
gtxpurpos:[
{ label: 'ISSU Issuance of undertaking', value: 'ISSU' },
{ label: 'ISCO Issuance of counter-undert.(Seq.B)', value: 'ISCO(Seq.B)' },
{ label: 'ISCO Issuance of counter-undert.(Seq.C)', value: 'ISCO(Seq.C)' },
{ label: 'ICCO Issuance of counter-countER-undert(Seq.B)', value: 'ICCO(Seq.B)' },
{ label: 'ICCO Issuance of counter-counter-undert(Seq.C)', value: 'ICCO(Seq.C)' },
],
gtxgarty:[
{ label: '农民工工资函', value: '1' },
],
gtxlegfrm:[
{ label: 'Standby letter of cridit', value: '1' },
{ label: 'Demand guarantee', value: '2' },
{ label: 'OTHER', value: '3' },
{ label: 'Surety Payable On First Demand', value: '4' },
],
gtxuil:[
{ label: '中文', value: 'CN' },
{ label: '英语', value: 'EN' },
{ label: '法语', value: 'FR' },
{ label: '德语', value: 'DE' },
{ label: '西班牙语', value: 'SP' },
],
gtxexpflg:[
{ label: 'limited', value: '' },
{ label: 'unlimited', value: 'X' },
{ label: 'both', value: 'B' },
] ]
} }
export default CodeTable; export default CodeTable;
...@@ -2,6 +2,9 @@ import Api from "~/service/Api" ...@@ -2,6 +2,9 @@ import Api from "~/service/Api"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
onSeainf() {
},
async handleSearch() { async handleSearch() {
let colflg = this.model.cldgrp.rec.colflg; let colflg = this.model.cldgrp.rec.colflg;
if (!colflg || colflg == '') { if (!colflg || colflg == '') {
...@@ -16,6 +19,7 @@ export default { ...@@ -16,6 +19,7 @@ export default {
let rtnmsg = await this.executeRule("butsea") let rtnmsg = await this.executeRule("butsea")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data); this.updateModel(rtnmsg.data);
console.log(rtnmsg.data.ccdbatg)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg; this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
} }
...@@ -23,6 +27,13 @@ export default { ...@@ -23,6 +27,13 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async handleSearchAll() {
let rtnmsg = await this.executeRule("search")
if (rtnmsg.respCode == SUCCESS) {
//TODO 列表显示数据
this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
}
},
async onCltpButgetref() { async onCltpButgetref() {
let rtnmsg = await this.executeRule("cltp.butgetref") let rtnmsg = await this.executeRule("cltp.butgetref")
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
......
...@@ -13,10 +13,10 @@ export default { ...@@ -13,10 +13,10 @@ export default {
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"cldgrp.rec.valdat":[ "cldgrp.rec.valdat":[
{type: "date", required: true, message: "必输项"} {type: "string", required: true, message: "必输项"}
], ],
"cldgrp.rec.credat":[ "cldgrp.rec.credat":[
{type: "date", required: true, message: "必输项"} {type: "string", required: true, message: "必输项"}
], ],
"rowcntr":[ "rowcntr":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
...@@ -87,14 +87,6 @@ export default { ...@@ -87,14 +87,6 @@ export default {
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"trnmod.trndoc.condocstm":[ "trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
......
...@@ -90,8 +90,7 @@ export default { ...@@ -90,8 +90,7 @@ export default {
let trnName = row.交易代码.toLowerCase(); let trnName = row.交易代码.toLowerCase();
// let viewurl = "/business/ditopn?selsptinr=" + row[0]; // let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR']; //let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
let viewurl = "/business/"+trnName; this.$router.push({ name: trnName.charAt(0).toUpperCase() + trnName.substring(1), params: { prePageId: this.model.pageId } });
this.$router.push(viewurl);
} }
else { else {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
import Api from "~/service/Api"
export function queryByPage(data) {
return Api.post("/test/atx/queryByPage", data)
}
export function queryDetailById(inr) {
return Api.post(`/test/atx/queryDetailById?inr=${inr}`)
}
export function add(data) {
return Api.post("/test/atx/add", data)
}
export function edit(data) {
return Api.post("/test/atx/edit", data)
}
export function deleteById(inr) {
return Api.post(`/test/atx/deleteById?inr=${inr}`)
}
\ No newline at end of file
...@@ -263,52 +263,17 @@ export default { ...@@ -263,52 +263,17 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.bodgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// console.log(row);
// console.log(row.申报类型);
// let url = row.申报类型.toLowerCase() + "inf";
// this.$router.history.push("/business/" + url);
console.log(row);
let business = row.申报类型.toLowerCase() + "inf";
let viewurl = "/business/" + business;
const selIds = [idx + 1];
const selDst = "eblstm" //列表对应后台模型中的stream
let params = { selDst, selIds };
console.log(params);
this.executeRule("dtlbut", params).then((res) => {
if ((res.respCode == SUCCESS)) {
Utils.copyValueFromVO(this.model, res.data);
// this.$router.push({ path: "business/inftrnpsDetail", query: { idx: idx}});
this.$router.push({ path: viewurl, query: {}, params: { prePageId: this.model.pageId } });
} else {
const h = this.$createElement;
const msg = res.respMsg || '请求执行失败!'
this.$notify.error({ title: '错误', message: h('p', { style: 'word-break:break-all;' }, msg) })
}
});
// let rtnmsg = await this.executeDefault("dtlbut");
// // if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// console.log(this.trnData.data);
// }
},
toEadadd() { toEadadd() {
this.$router.history.push("/business/eadadd"); this.$router.history.push({ name: "Eadadd", params: { prePageId: this.model.pageId }});
}, },
toEafadd() { toEafadd() {
this.$router.history.push("/business/eafadd"); this.$router.history.push({ name: "Eafadd", params: { prePageId: this.model.pageId }});
}, },
toEbaadd() { toEbaadd() {
this.$router.history.push("/business/ebaadd"); this.$router.history.push({ name: "Ebaadd", params: { prePageId: this.model.pageId }});
}, },
toEcaadd() { toEcaadd() {
this.$router.history.push("/business/ecaadd"); this.$router.history.push({ name: "Ecaadd", params: { prePageId: this.model.pageId }});
}, },
async getInfo(idx, row) { async getInfo(idx, row) {
console.log(row); console.log(row);
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="内容" name="sel">
<m-sel :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="关联账号" name="account">
<m-account :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Sel from "./Sel";
import Account from "./Account";
import commonProcess from "~/mixin/commonProcess";
import Events from "~/model/Cltdav/Event";
export default {
components: {
"m-sel": Sel,
"m-account": Account,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["sel"],
}
},
methods: {
...Events,
handleChange(val) {
console.log(val);
},
}
}
</script>
\ No newline at end of file
<template> <template>
<div class="eContainer">
<c-page title="打包托收开立"> <c-page title="打包托收开立">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left" <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="left"
size="small" :validate-on-rule-change="false"> size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000002 --> <!--PD000002 -->
<el-tab-pane label="内容" name="sel"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-sel :model="model" :codes="codes" /> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane label="内容" name="sel">-->
<!-- <c-content>-->
<!-- <m-sel :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
<!--PD000000 -->
<el-tab-pane label="提示信息" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文和面函" name="docpan"> <el-tab-pane label="报文和面函" name="docpan">
...@@ -36,23 +47,12 @@ ...@@ -36,23 +47,12 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="提示信息" name="coninfp">
<c-content>
<m-coninfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="账务" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000057 --> <!--PD000057 -->
<el-tab-pane label="关联账号" name="account"> <!-- <el-tab-pane label="关联账号" name="account">-->
<m-account :model="model" :codes="codes" /> <!-- <c-content>-->
</el-tab-pane> <!-- <m-account :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -60,8 +60,20 @@ ...@@ -60,8 +60,20 @@
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData" @select-ety="selectMsg"> <c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData" @select-ety="selectMsg">
</c-grid-ety-prompt-dialog> </c-grid-ety-prompt-dialog>
</div>
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
<!-- <el-button size="small">备忘录</el-button>-->
<!-- <el-button size="small">影像信息</el-button>-->
<!-- <el-button size="small">保存模板</el-button>-->
<!-- <el-button size="small">使用模板</el-button>-->
<!-- <el-button size="small">制裁信息</el-button>-->
<!-- <el-button size="small">拆分报文</el-button>-->
<!-- <el-button size="small">提示</el-button>-->
</c-function-btn>
</c-page> </c-page>
</div>
</template> </template>
<script> <script>
...@@ -75,8 +87,9 @@ import Check from "~/model/Cltdav/Check"; ...@@ -75,8 +87,9 @@ import Check from "~/model/Cltdav/Check";
import Default from "~/model/Cltdav/Default"; import Default from "~/model/Cltdav/Default";
import Pattern from "~/model/Cltdav/Pattern"; import Pattern from "~/model/Cltdav/Pattern";
import Sel from "./Sel"; // import Sel from "./Sel";
import Account from "./Account"; // import Account from "./Account";
import Ovwp from "./Ovwp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
...@@ -89,8 +102,8 @@ import Doctre from "~/views/Public/Doctre"; ...@@ -89,8 +102,8 @@ import Doctre from "~/views/Public/Doctre";
export default { export default {
name: "Cltdav", name: "Cltdav",
components: { components: {
"m-sel": Sel, // "m-sel": Sel,
"m-account": Account, // "m-account": Account,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-engp": Engp, "m-engp": Engp,
"m-glepan": Glepan, "m-glepan": Glepan,
...@@ -98,6 +111,7 @@ export default { ...@@ -98,6 +111,7 @@ export default {
"m-doctre": Doctre, "m-doctre": Doctre,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-ccvpan": Ccvpan, "m-ccvpan": Ccvpan,
"m-ovwp": Ovwp,
}, },
provide() { provide() {
...@@ -108,7 +122,7 @@ export default { ...@@ -108,7 +122,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "sel", tabVal: "ovwp",
trnName: "cltdav", trnName: "cltdav",
model: new Cltdav().data, model: new Cltdav().data,
checkRules: Check, checkRules: Check,
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.bopmethod"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.bopmethod"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.bopmethod"
disabled disabled
> >
</c-select> </c-select>
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.bopmethod"
disabled disabled
> >
</c-select> </c-select>
......
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.dbfmethod"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.dbfmethod"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.dbfmethod"
disabled disabled
> >
</c-select> </c-select>
......
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
v-model="model.recgrp.bas.methods" v-model="model.recgrp.bas.methods"
style="width: 100%" style="width: 100%"
placeholder="请选择结算方式" placeholder="请选择结算方式"
:code="codes.methods" :code="codes.dbfmethod"
disabled disabled
> >
</c-select> </c-select>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息 --> <!--外债远期信用证(含即期单证相符)-变动信息 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -16,11 +16,11 @@ ...@@ -16,11 +16,11 @@
</content> </content>
</el-tab-pane> </el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) --> <!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp"> <!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content> <content>
<m-dclpp :model="model" :codes="codes" /> <m-dclpp :model="model" :codes="codes" />
</content> </content>
</el-tab-pane> </el-tab-pane> -->
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<c-col :span="10"> <c-col :span="10">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input disabled v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input> <c-input-currency disabled v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -39,12 +39,6 @@ ...@@ -39,12 +39,6 @@
<div v-if="currentTool === 'tool-caculate'"> <div v-if="currentTool === 'tool-caculate'">
<calculator ref="calculator" /> <calculator ref="calculator" />
</div> </div>
<div v-if="currentTool === 'tool-search'">
<highvalue ref="highvalue" />
</div>
<div v-if="currentTool === 'tool-telexCode'">
<telexCode ref="telexCode" />
</div>
<div v-if="currentTool === 'tool-account'"> <div v-if="currentTool === 'tool-account'">
<account ref="account" /> <account ref="account" />
</div> </div>
...@@ -54,6 +48,22 @@ ...@@ -54,6 +48,22 @@
<div v-if="currentTool === 'tool-finishedtask'"> <div v-if="currentTool === 'tool-finishedtask'">
<finishedtask ref="finishedtask" /> <finishedtask ref="finishedtask" />
</div> </div>
<div v-if="currentTool === 'tool-feetype'">
<feetype ref="feetype" />
</div>
<div v-if="currentTool === 'tool-sendMessageQuery'">
<sendMessageQuery ref="sendMessageQuery" />
</div>
<div v-if="currentTool === 'tool-receiveMessageQuery'">
<receiveMessageQuery ref="receiveMessageQuery" />
</div>
<div v-if="currentTool === 'tool-search'">
<highvalue ref="highvalue" />
</div>
<div v-if="currentTool === 'tool-telexCode'">
<telexCode ref="telexCode" />
</div>
<div v-if="currentTool === 'tool-exchangerate'"> <div v-if="currentTool === 'tool-exchangerate'">
<exchangerate ref="exchangerate" /> <exchangerate ref="exchangerate" />
</div> </div>
...@@ -75,15 +85,6 @@ ...@@ -75,15 +85,6 @@
<div v-if="currentTool === 'tool-accttradedetails'"> <div v-if="currentTool === 'tool-accttradedetails'">
<accttradedetails ref="accttradedetails" /> <accttradedetails ref="accttradedetails" />
</div> </div>
<div v-if="currentTool === 'tool-feetype'">
<feetype ref="feetype" />
</div>
<div v-if="currentTool === 'tool-sendMessageQuery'">
<sendMessageQuery ref="sendMessageQuery" />
</div>
<div v-if="currentTool === 'tool-receiveMessageQuery'">
<receiveMessageQuery ref="receiveMessageQuery" />
</div>
<div v-if="currentTool === 'tool-innerAccountBal'"> <div v-if="currentTool === 'tool-innerAccountBal'">
<innerAccountBal ref="innerAccountBal" /> <innerAccountBal ref="innerAccountBal" />
</div> </div>
...@@ -126,12 +127,29 @@ import VueDraggableResizable from 'vue-draggable-resizable' ...@@ -126,12 +127,29 @@ import VueDraggableResizable from 'vue-draggable-resizable'
import cms from "~/components/Cms" import cms from "~/components/Cms"
import calculator from "~/widget/Calculator" import calculator from "~/widget/Calculator"
import account from "~/widget/Account"
import swiftcode from "~/widget/SwiftCode"
import finishedtask from "~/widget/Business"
import feetype from "~/widget/Fee"
import sendMessageQuery from "~/widget/MsgSent"
import receiveMessageQuery from "~/widget/MsgReceived"
export default { export default {
name: "Layout", name: "Layout",
components: { headerCom, sideMenu, tagViews, business, toolbars, components: {
headerCom,
sideMenu,
tagViews,
business,
toolbars,
calculator, calculator,
cms, cms,
account,
swiftcode,
finishedtask,
feetype,
sendMessageQuery,
receiveMessageQuery,
'vue-draggable-resizable': VueDraggableResizable, 'vue-draggable-resizable': VueDraggableResizable,
}, },
data(){ data(){
......
<template>
<m-atx ref="atx" title="dbaatx" type="add"></m-atx>
</template>
<script>
import Dbiatx from "~/views/Statics/Dbiatx";
export default {
name: "StaticsDbaatx",
components: {
"m-atx": Dbiatx
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-atx title="dbdatx" type="delete"></m-atx>
</template>
<script>
import Dbiatx from "~/views/Statics/Dbiatx";
export default {
name: "StaticsDbdatx",
components: {
"m-atx": Dbiatx
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
<template>
<m-atx title="dbeatx" type="edit"></m-atx>
</template>
<script>
import Dbiatx from "~/views/Statics/Dbiatx";
export default {
name: "StaticsDbeatx",
components: {
"m-atx": Dbiatx
},
data() {
return {};
},
};
</script>
<style>
</style>
\ No newline at end of file
export default class Pty {
constructor() {
this.data = {
inr: "",
extkey: "",
nam: "",
ver: "",
objinr: "",
atxtyp: "",
objtyp: "",
atxcod: "",
atxtxt: "",
syncolflg: "",
synagrtyp: "",
synagrothtxt: "",
synagrdat: "",
uil: "",
gtxlegfrm: "",
covgodsrvdft: "",
gtxexpflg: "",
labaddinf: "",
laborcdat: "",
gtxpri: "",
expliatxt: "",
preinstxt: "",
gtxfullflg: "",
etgextkey: "",
gtxhndtyp: "",
getfldnrm: "",
objkey: "",
objnam: "",
gtxgartyp: "",
gtxpurpos: "",
}
}
}
export const Pattern = {
"inr": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"extkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 24, "message": "最大长度24个字符", "trigger": "blur" }
],
"nam": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"ver": [
{ "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"objinr": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"atxtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"objtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
],
"atxcod": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"atxtxt": [
],
"syncolflg": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"synagrtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
],
"synagrothtxt": [
{ "type": "string", "trigger": "blur" },
{ "max": 35, "message": "最大长度35个字符", "trigger": "blur" }
],
"synagrdat": [
{ "type": "string", "trigger": "blur" }
],
"uil": [
{ "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"gtxlegfrm": [
{ "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
"covgodsrvdft": [
{ "type": "string", "trigger": "blur" },
{ "max": 3300, "message": "最大长度3300个字符", "trigger": "blur" }
],
"gtxexpflg": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"labaddinf": [
{ "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
],
"laborcdat": [
{ "type": "string", "trigger": "blur" },
{ "max": 15, "message": "最大长度15个字符", "trigger": "blur" }
],
"gtxpri": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"expliatxt": [
{ "type": "string", "trigger": "blur" },
{ "max": 792, "message": "最大长度792个字符", "trigger": "blur" }
],
"preinstxt": [
],
"gtxfullflg": [
{ "type": "string", "trigger": "blur" },
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
],
"etgextkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 8, "message": "最大长度8个字符", "trigger": "blur" }
],
"gtxhndtyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 2, "message": "最大长度2个字符", "trigger": "blur" }
],
"getfldnrm": [
{ "type": "string", "trigger": "blur" },
{ "max": 60, "message": "最大长度60个字符", "trigger": "blur" }
],
"objkey": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"objnam": [
{ "type": "string", "trigger": "blur" },
{ "max": 40, "message": "最大长度40个字符", "trigger": "blur" }
],
"gtxgartyp": [
{ "type": "string", "trigger": "blur" },
{ "max": 4, "message": "最大长度4个字符", "trigger": "blur" }
],
}
<template>
<div class="eibs-tab">
<c-col :span="12" class="col-left">
<!-- <c-col :span="24">
<el-form-item label="inr" prop="inr">
<c-input
v-model="model.inr"
placeholder="请输入inr"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="保函文本用途" prop="atxcod">
<c-input
v-model="model.atxcod"
placeholder="请输入atxcod"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函文本类型" prop="atxtyp">
<c-input
v-model="model.atxtyp"
placeholder="请输入atxtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上级文本所属实体组织" prop="etgextkey">
<c-input
v-model="model.etgextkey"
placeholder="请输入etgextkey"
>
</c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="extkey" prop="extkey">
<c-input
v-model="model.extkey"
placeholder="请输入extkey"
>
</c-input>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="语言" prop="uil">
<c-input
v-model="model.uil"
placeholder="请输入uil"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="出具目的" prop="gtxpurpos">
<c-input
v-model="model.gtxpurpos"
placeholder="请输入gtxpurpos"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函包含类型" prop="gtxgartyp">
<c-input
v-model="model.gtxgartyp"
placeholder="请输入gtxgartyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函格式" prop="gtxlegfrm">
<c-input
v-model="model.gtxlegfrm"
placeholder="请输入gtxlegfrm"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="上一级文本" prop="atxtxt">
<c-input
v-model="model.atxtxt"
placeholder="请输入atxtxt"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="保函文本名" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="优先级" prop="gtxpri">
<c-input
v-model="model.gtxpri"
placeholder="请输入gtxpri"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函无责任担保标志" prop="gtxexpflg">
<c-input
v-model="model.gtxexpflg"
placeholder="请输入gtxexpflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函文本中的交易日期" prop="laborcdat">
<c-input
v-model="model.laborcdat"
placeholder="请输入laborcdat"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="包含文本中的附加信息" prop="labaddinf">
<c-input
v-model="model.labaddinf"
placeholder="请输入labaddinf"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="ver" prop="ver">
<c-input
v-model="model.ver"
placeholder="请输入ver"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objinr" prop="objinr">
<c-input
v-model="model.objinr"
placeholder="请输入objinr"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objtyp" prop="objtyp">
<c-input
v-model="model.objtyp"
placeholder="请输入objtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="syncolflg" prop="syncolflg">
<c-input
v-model="model.syncolflg"
placeholder="请输入syncolflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="synagrtyp" prop="synagrtyp">
<c-input
v-model="model.synagrtyp"
placeholder="请输入synagrtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="synagrothtxt" prop="synagrothtxt">
<c-input
v-model="model.synagrothtxt"
placeholder="请输入synagrothtxt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="synagrdat" prop="synagrdat">
<c-input
v-model="model.synagrdat"
placeholder="请输入synagrdat"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="covgodsrvdft" prop="covgodsrvdft">
<c-input
v-model="model.covgodsrvdft"
placeholder="请输入covgodsrvdft"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="expliatxt" prop="expliatxt">
<c-input
v-model="model.expliatxt"
placeholder="请输入expliatxt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="preinstxt" prop="preinstxt">
<c-input
v-model="model.preinstxt"
placeholder="请输入preinstxt"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gtxfullflg" prop="gtxfullflg">
<c-input
v-model="model.gtxfullflg"
placeholder="请输入gtxfullflg"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="gtxhndtyp" prop="gtxhndtyp">
<c-input
v-model="model.gtxhndtyp"
placeholder="请输入gtxhndtyp"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="getfldnrm" prop="getfldnrm">
<c-input
v-model="model.getfldnrm"
placeholder="请输入getfldnrm"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objkey" prop="objkey">
<c-input
v-model="model.objkey"
placeholder="请输入objkey"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="objnam" prop="objnam">
<c-input
v-model="model.objnam"
placeholder="请输入objnam"
>
</c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
export default {
name: "",
props: ["model"],
data() {
return {};
},
};
</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="atx">
<c-content>
<m-atx-info :model="model" />
</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 Atx, { Pattern } from "./Atx.js";
import AtxInfo from "./AtxInfo.vue"
// import PtyInfo from "./PtyInfo.vue";
// import AdrList from "./AdrList.vue";
// import ActInfo from "./ActInfo.vue";
// import PtcInfo from "./PtcInfo.vue";
// import RatInfo from "./RatInfo.vue";
import { queryDetailById, add, edit, deleteById } from "~/service/test/atx.js";
export default {
name: "StaticsDbiatx",
components: {
"m-atx-info": AtxInfo,
// "m-adr-list": AdrList,
// "m-act-info": ActInfo,
// "m-ptc-info": PtcInfo,
// "m-rat-info": RatInfo,
},
provide() {
return {
root: this,
};
},
props: {
type: {
type: String,
default: "info"
},
title: {
type: String,
default: "dbiatx"
}
},
data() {
return {
model: new Atx().data,
tabVal: "atx",
rules: Pattern,
};
},
computed: {
isDisabled() {
return this.type === "info" || this.type === "delete";
},
},
created() {
if (this.type !== "add") {
const inr = this.$route.params.inr;
queryDetailById(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()
})
.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: "已取消删除",
});
});
},
/**
* update 是否更新infatx的查询列表
*/
goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfatx", params: { update } });
},
},
};
</script>
<style>
</style>
\ No newline at end of file
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
.then((res) => { .then((res) => {
if (res) { if (res) {
this.$message.success("修改柜员权限信息成功!"); this.$message.success("修改柜员权限信息成功!");
// this.model.ubrList = res.ubrList; //TODO model.uclList回填
this.handleClose(); this.handleClose();
} }
}) })
...@@ -200,7 +200,8 @@ export default { ...@@ -200,7 +200,8 @@ export default {
.then((res) => { .then((res) => {
if (res) { if (res) {
this.$message.success("保存柜员权限信息成功!"); this.$message.success("保存柜员权限信息成功!");
this.model.ubrList = res.ubrList; //TODO model.uclList回填
// this.model.ubrList = res.ubrList;
this.handleClose(); this.handleClose();
} }
}) })
......
...@@ -164,6 +164,7 @@ export default { ...@@ -164,6 +164,7 @@ export default {
.then((res) => { .then((res) => {
if (res.usr) { if (res.usr) {
this.$message.success("修改柜员组信息成功!"); this.$message.success("修改柜员组信息成功!");
//TODO model.uclList回填
this.handleClose(); this.handleClose();
} }
}) })
...@@ -193,6 +194,7 @@ export default { ...@@ -193,6 +194,7 @@ export default {
.then((res) => { .then((res) => {
if (res) { if (res) {
this.$message.success("保存柜员组信息成功!"); this.$message.success("保存柜员组信息成功!");
//TODO model.uclList回填
this.handleClose(); this.handleClose();
} }
}) })
......
<template>
<div class="eibs-tab">
<!-- ----------左 ---------->
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="保函文本用途" prop="atxcod">
<c-select
v-model="model.atxcod"
placeholder="请选择atxcod"
:code="getCodesByKey('atxcod')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="保函文本名" prop="nam">
<c-input
v-model="model.nam"
placeholder="请输入nam"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-left">
<c-col :span="24">
<el-form-item label="出具目的" prop="gtxpurpos">
<c-select
v-model="model.gtxpurpos"
placeholder="请选择gtxpurpos"
:code="getCodesByKey('gtxpurpos')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函包含类型" prop="gtxgartyp">
<c-select
v-model="model.gtxgartyp"
placeholder="请选择gtxgartyp"
:code="getCodesByKey('gtxgartyp')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函格式" prop="gtxlegfrm">.
<c-select
v-model="model.sealegfrm"
placeholder="请选择gtxlegfrm"
:code="getCodesByKey('gtxlegfrm')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- 右 -->
<c-col :span="12" v-if="(this.model.atxcod==`1`)" class="col-right">
<c-col :span="24">
<el-form-item label="语言" prop="gtxuil">
<c-select
v-model="model.gtxuil"
placeholder="请选择gtxuil"
:code="getCodesByKey('gtxuil')"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="保函无责任担保标志" prop="gtxexpflg">
<c-select
v-model="model.gtxexpflg"
placeholder="请选择gtxexpflg"
:code="getCodesByKey('gtxexpflg')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" v-if="(this.model.atxcod==`2`)" class="col-left">
<c-col :span="24">
<!-- -->
</c-col>
</c-col>
<c-col :span="12" v-if="(this.model.atxcod==`2`)" class="col-right">
<c-col :span="24">
<!-- -->
</c-col>
</c-col>
<!-- 条件输入框下面的按钮 -->
<c-col :span="24">
<c-col :span="12" style="text-align: left">
<el-button type="primary" size="small" @click="atxAdd">新增</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="onInfatxSearch()"
>查询
</el-button>
</c-col>
</c-col>
<!-- 查询结果展示区域 -->
<c-col :span="24">
<c-paging-table
:data="atxData"
:columns="atxColumns"
: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="atxInfo(scope.$index, scope.row)"
>详情</c-button
>
<c-button
style="margin-left: 5px"
size="small"
type="primary"
@click="atxEdit(scope.$index, scope.row)"
>修改</c-button
>
<c-button
size="small"
style="margin-left: 5px"
@click="atxDelete(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 codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/atx.js";
export default {
name: "",
props: ["model"],
inject: ["root"],
data() {
return {
atxData: [],
atxColumns: [
{ label: '保函文本名', prop: 'nam', width: 'auto' },
{ label: '保函用途', prop: 'atxcod', width: 'auto' },
{ label: '语言', prop: 'uil', width: 'auto' },
{ label: '保函格式', prop: 'gtxlegfrm', width: 'auto' },
{ label: '保函无责任担保标志', prop: 'gtxexpflg', width: 'auto' },
{ label: '保函包含类型', prop: 'gtxgartyp', width: 'auto' },
{ label: '出具目的', prop: 'gtxpurpos', width: 'auto' },
],
};
},
computed: {
},
activated() {
const { update } = this.$route.params
if (update) {
this.onInfatxSearch()
}
},
methods: {
handleReset() {
this.root.$refs.modelForm.resetFields();
},
onInfatxSearch() {
queryByPage(this.model).then(res => {
/**
* pageNumber: 0
* pageSize: 0
* total: 69
* totalPage: 0
*/
const list = res.list
this.atxData = 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.onInfatxSearch()
},
atxtypeChange(val) {
this.model.atxtyp = val;
},
getCodesByKey(key) {
return codes[key] ?? [];
},
atxAdd() {
this.$router.push(`/statics/dbaatx`)
},
atxInfo(index, row) {
this.$router.push(`/statics/dbiatx/${row.inr}`)
},
atxEdit(index, row) {
this.$router.push(`/statics/dbeatx/${row.inr}`)
},
atxDelete(index, row) {
this.$router.push(`/statics/dbdatx/${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">
<!--PD000039 -->
<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: "StaticsInfatx",
components: {
"m-infsea": Infsea,
},
provide() {
return {
root: this,
};
},
data() {
return {
tabVal: "infsea",
model: {
// atx
//保函文本名
nam: "",
//保函文本用途
atxcod: "",
//语言
gtxuil: "",
//保函格式
gtxlegfrm: "",
//保函无责任担保标志
gtxexpflg: "",
//保函包含类型
gtxgartyp: "",
//出具目的
gtxpurpos: "",
// paging
pageNum: 1,
pageSize: 5,
total: 0
},
};
},
};
</script>
<style></style>
...@@ -71,8 +71,8 @@ export default { ...@@ -71,8 +71,8 @@ export default {
return { return {
curData: [], curData: [],
curColumns: [ curColumns: [
{ label: 'Currency', prop: 'cod', width: '200' }, { label: '货币', prop: 'cod', width: '200' },
{ label: 'Description', prop: 'seanam', width: '636' }, { label: '描述', prop: 'seanam', width: '636' },
], ],
}; };
}, },
......
...@@ -57,6 +57,12 @@ import Dbaact from "./Dbaact"; ...@@ -57,6 +57,12 @@ import Dbaact from "./Dbaact";
import Dbeact from "./Dbeact"; import Dbeact from "./Dbeact";
import Dbdact from "./Dbdact"; import Dbdact from "./Dbdact";
import Infatx from "./Infatx";
import Dbiatx from "./Dbiatx";
import Dbaatx from "./Dbaatx";
import Dbeatx from "./Dbeatx";
import Dbdatx from "./Dbdatx";
const StaticsRouter = [ const StaticsRouter = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } }, { path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } }, { path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
...@@ -116,6 +122,12 @@ const StaticsRouter = [ ...@@ -116,6 +122,12 @@ const StaticsRouter = [
{ path: 'dbiact/:inr', component: Dbiact, name: 'StaticsDbiact', meta: { title: (tag) => { return '资金账户详情: ' + tag.params.inr } } }, { path: 'dbiact/:inr', component: Dbiact, name: 'StaticsDbiact', meta: { title: (tag) => { return '资金账户详情: ' + tag.params.inr } } },
{ path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } }, { path: 'dbeact/:inr', component: Dbeact, name: 'StaticsDbeact', meta: { title: (tag) => { return '资金账户修改: ' + tag.params.inr } } },
{ path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } }, { path: 'dbdact/:inr', component: Dbdact, name: 'StaticsDbdact', meta: { title: (tag) => { return '资金账户删除: ' + tag.params.inr } } },
{ path: 'infatx', component: Infatx, name: 'StaticsInfatx', meta: { title: '保函文本查询' } },
{ path: 'dbaatx', component: Dbaatx, name: 'StaticsDbaatx', meta: { title: '保函文本新增' } },
{ 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 } } },
] ]
export default StaticsRouter export default StaticsRouter
<template>
<div>
<el-form
:model="model"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
>
<c-col :span="8" class="col-left">
<c-col :span="24">
<!-- Account No. -->
<el-form-item label="资金账号" prop="extkey">
<c-input v-model="model.extkey" placeholder="请输入extkey">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<!-- Holding Party -->
<el-form-item label="客户账户" prop="ptyExtkey">
<c-input v-model="model.ptyExtkey" placeholder=""> </c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" class="col-left col-right">
<c-col :span="24">
<el-form-item label="账号类型" prop="typ">
<c-select
v-model="model.typ"
placeholder=""
style="width: 100%"
:code="getCodesByKey('recgrptyp')"
></c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号名称" prop="nam">
<c-input v-model="model.nam" placeholder=""></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="8" class="col-right">
<c-col :span="24">
<el-form-item label="国际银行账户号 " prop="iban">
<c-input
v-model="model.iban"
maxlength="34"
placeholder="请输入IBAN"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="账号币种" prop="cur">
<c-select
v-model="model.cur"
style="width: 100%"
placeholder=""
:code="getCodesByKey('infled_Cur')"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button>
<el-button
type="primary"
icon="el-icon-search"
size="small"
@click="doSearch()"
>查询
</el-button>
</c-col>
</el-form>
<c-col :span="24">
<c-paging-table
:data="tableData"
:columns="tableColumns"
:pageNumber="model.pageNum"
:pageSize="model.pageSize"
:total="model.total"
v-on:queryFunc="queryFunc"
:border="true"
>
</c-paging-table>
</c-col>
</div>
</template>
<script>
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/act.js";
/**
* 账户查询
*/
export default {
name: "AccountQuery",
data() {
return {
tableData: [],
tableColumns: [
{ label: "HolPtyExtkey", prop: "holPtyExtkey", width: "200" },
{ label: "SerPtyExtkey", prop: "serPtyExtkey", width: "200" },
{ label: "账号类型", prop: "typ", width: "100" },
{ label: "账号币种", prop: "cur", width: "100" },
{ label: "资金账号", prop: "extkey", width: "200" },
{ label: "账号开户机构的账号", prop: "holacc", width: "200" },
{ label: "账号提供机构的账号", prop: "seracc", width: "200" },
],
model: {
// act,查询条件的字段
extkey: "",
nam: "",
iban: "",
typ: "",
cur: "",
ptyExtkey: "",
pageNum: 1,
pageSize: 5,
total: 0,
},
};
},
methods: {
handleReset() {
this.$refs.modelForm.resetFields();
},
doSearch() {
queryByPage(this.model).then((res) => {
const list = res.list;
this.tableData = 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.doSearch();
},
getCodesByKey(key) {
return codes[key] ?? [];
},
},
};
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div></div>
</template>
<script>
/**
* 业务查询
*/
export default {
name: 'BusinessQuery'
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div></div>
</template>
<script>
/**
* 费用查询
*/
export default {
name: 'FeeQuery'
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div></div>
</template>
<script>
/**
* 收报查询
*/
export default {
name: 'MsgReceivedQuery'
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div></div>
</template>
<script>
/**
* 发报查询
*/
export default {
name: 'MsgSentQuery'
}
</script>
<style>
</style>
\ No newline at end of file
<template>
<div></div>
</template>
<script>
/**
* SwiftCode查询
*/
export default {
name: 'SwiftCodeQuery'
}
</script>
<style>
</style>
\ No newline at end of file
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