Commit 1fac4f90 by liaoxing

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 88f8c9a5 0e58bfb9
......@@ -3,27 +3,28 @@
<el-popover
placement="left-start"
trigger="click"
:offset="150"
:offset="80"
popper-class="toolbars-popover"
>
<div class="toolbar-detail">
<ul @click="openTool">
<li id="tool-caculate">计算器</li>
<li id="tool-search">大额支付行号查询</li>
<li id="tool-telexCode">电报码查询</li>
<li id="tool-account">账户查询</li>
<li id="tool-swiftcode">SwiftCode查询</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-forwardexchangerate">远期牌价查询</li>
<li id="tool-holiday">节假日查询</li>
<li id="tool-interestrate">利率查询</li>
<li id="tool-businessoffer">贸易金融业务报价查询</li>
<li id="tool-accttradedetails">账户交易明细查询</li>
<li id="tool-feetype">费用查询</li>
<li id="tool-sendMessageQuery">发报查询</li>
<li id="tool-receiveMessageQuery">收报查询</li>
<li id="tool-innerAccountBal">内部户可用余额查询</li>
<li id="tool-innerAccountBal">内部户可用余额查询</li> -->
</ul>
</div>
<div class="toolbar-core" slot="reference">工具箱</div>
......
......@@ -7511,6 +7511,38 @@ const CodeTable = {
{ label: '非居民个人存款', value: '1304' },
{ label: '货币', value: '1305' },
{ 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;
......@@ -49,7 +49,7 @@ export default {
return arr.map(item => {
let itemArr = item.split("\t")
if (itemArr.length > 1) {
return { label: item, value: itemArr[0] }
return { label: itemArr[1], value: itemArr[0] }
} else {
if (tableName && CodeTable[tableName]) {
const r = CodeTable[tableName].find(code => code.value === itemArr[0])
......
......@@ -2,6 +2,9 @@ import Api from "~/service/Api"
import Utils from "~/utils"
export default {
onSeainf() {
},
async handleSearch() {
let colflg = this.model.cldgrp.rec.colflg;
if (!colflg || colflg == '') {
......@@ -16,6 +19,7 @@ export default {
let rtnmsg = await this.executeRule("butsea")
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
console.log(rtnmsg.data.ccdbatg)
//TODO 处理数据逻辑
this.model.bptbck.bptbckg = rtnmsg.data.ccdbatg;
}
......@@ -23,6 +27,13 @@ export default {
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() {
let rtnmsg = await this.executeRule("cltp.butgetref")
if (rtnmsg.respCode == SUCCESS) {
......
......@@ -13,10 +13,10 @@ export default {
{max: 1,message:"长度不能超过1"}
],
"cldgrp.rec.valdat":[
{type: "date", required: true, message: "必输项"}
{type: "string", required: true, message: "必输项"}
],
"cldgrp.rec.credat":[
{type: "date", required: true, message: "必输项"}
{type: "string", required: true, message: "必输项"}
],
"rowcntr":[
{type: "number", required: false, message: "必输项"},
......@@ -87,14 +87,6 @@ export default {
{max: 1,message:"长度不能超过1"}
],
"trnmod.trndoc.condocstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......
......@@ -15,6 +15,18 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
// async getTrnInfo(idx, row) {
// this.model.infcon.objinr = row["INR"];
// this.model.ledgrp.rec.inr = row["INR"];
// this.model.infcon.chksubcon = "X";
// this.dialogTableVisible = true;
// let rtnmsg = await this.executeDefault("infcon.chksubcon");
// if ((rtnmsg.respCode = SUCCESS)) {
// this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
// }
// },
async onInfbutDsp(idx,row){
const selIds= [idx + 1];
const selDst= "dspstm";//dspstm是数据流
......@@ -138,5 +150,30 @@ export default {
this.model.cur="";
},
async handleSearch() {
this.stmData.data = [];
// let opndatfrom = this.model.infcon.opndatfrom;
// if(!opndatfrom || opndatfrom == ''){
// this.$notify.error({ title: '错误', message: '查询开始日期必输!' });
// return;
// }
// let opndatto = this.model.infcon.opndatto;
// if(!opndatto || opndatto == ''){
// this.$notify.error({ title: '错误', message: '查询结束日期必输!' });
// return;
// }
let rtnmsg = await this.executeRule("infbut.searow")
if(rtnmsg.respCode == SUCCESS)
{
this.stmData.data = rtnmsg.data.infbut_dspstm.rows;
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
......@@ -6,74 +6,45 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"sptstm": defaultSptstm,
"dlaxq": defaultDlaxq,
"usfmod.labtxt": defaultUsfmodLabtxt,
"usfmod.flt": defaultUsfmodFlt,
"usfmod.shwflt": defaultUsfmodShwflt,
"dlmft": defaultDlmft,
"butimg": defaultButimg,
"dflg": defaultDflg,
"yptinf": defaultYptinf,
"usfmod.usr.extkey": defaultUsfmodUsrExtkey,
"chkinc": defaultCheckbox,
"chkdzt": defaultCheckbox,
"chkpen": defaultCheckbox,
"chkcor": defaultCheckbox,
"chkaut": defaultCheckbox,
"chkdel": defaultCheckbox,
"chktco": updateTable,
"sptstm" :Utils.defaultFunction,
"dlaxq" :Utils.defaultFunction,
"usfmod.labtxt" :Utils.defaultFunction,
"usfmod.flt" :Utils.defaultFunction,
"usfmod.shwflt" :Utils.defaultFunction,
"dlmft" :Utils.defaultFunction,
"butimg" :Utils.defaultFunction,
"dflg" :Utils.defaultFunction,
"yptinf" :Utils.defaultFunction,
"usfmod.usr.extkey" :Utils.defaultFunction,
"chkinc" :Utils.defaultFunction,
"chkdzt" :Utils.defaultFunction,
"chkpen" :Utils.defaultFunction,
"chkcor" :Utils.defaultFunction,
"chkaut" :Utils.defaultFunction,
"chkdel" :Utils.defaultFunction,
"chktco" :Utils.defaultFunction,
// "chkcan": updateTable,
}
function defaultSptstm() {
}
function defaultDlaxq() {
}
function defaultUsfmodLabtxt() {
}
function defaultUsfmodFlt() {
}
function defaultUsfmodShwflt() {
}
function defaultDlmft() {
}
function defaultButimg() {
}
async function defaultDflg() {
const that = this;
that.executeDefault("dflg").then(res => {
that.model.dflg = res.data.dflg;
})
}
async function defaultYptinf() {
const that = this;
that.executeDefault("yptinf").then(res => {
//TODO 处理数据逻辑
})
}
function defaultUsfmodUsrExtkey() {
}
function defaultCheckbox(rule, value, callback) {
const that = this;
if (that.model[rule.field] === "") {
return
}
if(that.model[rule.field] === false){
that.model[rule.field] = "";
}
that.executeDefault("sptstm").then(res => {
//TODO 处理数据逻辑
that.$refs.Menu.stmData.data = res.data.sptstm.rows;
})
// function defaultCheckbox(rule, value, callback) {
// const that = this;
// if (that.model[rule.field] === "") {
// return
// }
// if(that.model[rule.field] === false){
// that.model[rule.field] = "";
// }
// that.executeDefault("sptstm").then(res => {
// //TODO 处理数据逻辑
// that.$refs.Menu.stmData.data = res.data.sptstm.rows;
// })
}
function updateTable(rule, value, callback){
const that = this;
if (that.model[rule.field] === true && that.$refs.Menu.stmData.columns[3] === "7 6 \"Creation\" 101 20 DateTime 1") {
that.$refs.Menu.stmData.columns.splice(3, 0, "18 5 \"MT\" 100");
}
if (that.model[rule.field] === false && that.$refs.Menu.stmData.columns[3] === "18 5 \"MT\" 100") {
that.$refs.Menu.stmData.columns.splice(3, 1);
}
}
// }
// function updateTable(rule, value, callback){
// const that = this;
// if (that.model[rule.field] === true && that.$refs.Menu.stmData.columns[3] === "7 6 \"Creation\" 101 20 DateTime 1") {
// that.$refs.Menu.stmData.columns.splice(3, 0, "18 5 \"MT\" 100");
// }
// if (that.model[rule.field] === false && that.$refs.Menu.stmData.columns[3] === "18 5 \"MT\" 100") {
// that.$refs.Menu.stmData.columns.splice(3, 1);
// }
// }
......@@ -90,8 +90,32 @@ export default {
let trnName = row.交易代码.toLowerCase();
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
let viewurl = "/business/"+trnName;
this.$router.push(viewurl);
this.$router.push({ name: trnName.charAt(0).toUpperCase() + trnName.substring(1), params: { prePageId: this.model.pageId } });
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
//}
},
async onChange(row, scope) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
// showGridPromptDialog('rou')
this.model.selsptinr = row['INR'];
const selIds = [];
selIds.push(row['IDX']);
let params = { selDst: "sptstm", selIds: selIds };
let rtnmsg = await this.executeRule("rou", params)
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
// let trnName = row.交易代码.toLowerCase();
let trnName = "sptrou";
// let viewurl = "/business/ditopn?selsptinr=" + row[0];
//let viewurl = "/business/"+trnName+"?selsptinr=" + row['INR'];
this.$router.push({ name: trnName.charAt(0).toUpperCase() + trnName.substring(1), params: { prePageId: this.model.pageId } });
}
else {
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 {
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() {
this.$router.history.push("/business/eadadd");
this.$router.history.push({ name: "Eadadd", params: { prePageId: this.model.pageId }});
},
toEafadd() {
this.$router.history.push("/business/eafadd");
this.$router.history.push({ name: "Eafadd", params: { prePageId: this.model.pageId }});
},
toEbaadd() {
this.$router.history.push("/business/ebaadd");
this.$router.history.push({ name: "Ebaadd", params: { prePageId: this.model.pageId }});
},
toEcaadd() {
this.$router.history.push("/business/ecaadd");
this.$router.history.push({ name: "Ecaadd", params: { prePageId: this.model.pageId }});
},
async getInfo(idx, 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>
<div class="eContainer">
<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"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000002 -->
<el-tab-pane label="内容" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="业务信息" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</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 -->
<el-tab-pane label="报文和面函" name="docpan">
......@@ -36,23 +47,12 @@
</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>
<!--PD000057 -->
<el-tab-pane label="关联账号" name="account">
<m-account :model="model" :codes="codes" />
</el-tab-pane>
<!-- <el-tab-pane label="关联账号" name="account">-->
<!-- <c-content>-->
<!-- <m-account :model="model" :codes="codes" />-->
<!-- </c-content>-->
<!-- </el-tab-pane>-->
</c-tabs>
</el-form>
......@@ -60,8 +60,20 @@
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="doxpDialog" :isPty="false" :promptData="promptData" @select-ety="selectMsg">
</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>
</div>
</template>
<script>
......@@ -75,8 +87,9 @@ import Check from "~/model/Cltdav/Check";
import Default from "~/model/Cltdav/Default";
import Pattern from "~/model/Cltdav/Pattern";
import Sel from "./Sel";
import Account from "./Account";
// import Sel from "./Sel";
// import Account from "./Account";
import Ovwp from "./Ovwp";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
......@@ -89,8 +102,8 @@ import Doctre from "~/views/Public/Doctre";
export default {
name: "Cltdav",
components: {
"m-sel": Sel,
"m-account": Account,
// "m-sel": Sel,
// "m-account": Account,
"m-setpan": Setpan,
"m-engp": Engp,
"m-glepan": Glepan,
......@@ -98,6 +111,7 @@ export default {
"m-doctre": Doctre,
"m-coninfp": Coninfp,
"m-ccvpan": Ccvpan,
"m-ovwp": Ovwp,
},
provide() {
......@@ -108,7 +122,7 @@ export default {
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
tabVal: "ovwp",
trnName: "cltdav",
model: new Cltdav().data,
checkRules: Check,
......
......@@ -167,7 +167,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.bopmethod"
>
</c-select>
</el-form-item>
......
......@@ -168,7 +168,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.bopmethod"
>
</c-select>
</el-form-item>
......
......@@ -188,7 +188,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.bopmethod"
disabled
>
</c-select>
......
......@@ -210,7 +210,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.bopmethod"
disabled
>
</c-select>
......
......@@ -200,7 +200,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.dbfmethod"
>
</c-select>
</el-form-item>
......
......@@ -201,7 +201,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.dbfmethod"
>
</c-select>
</el-form-item>
......
......@@ -223,7 +223,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.dbfmethod"
disabled
>
</c-select>
......
......@@ -224,7 +224,7 @@
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
:code="codes.dbfmethod"
disabled
>
</c-select>
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -17,11 +17,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
......@@ -16,11 +16,11 @@
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<!-- <el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--infact PD000041 Search Panel -->
<el-tab-pane :label="'查询页面'" name="infsea">
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</el-tab-pane>
<!--actp PD000000 Accounts -->
<el-tab-pane :label="'详情'" name="actp0">
<m-actp0 :model="model" :codes="codes" ref="actp0"/>
</el-tab-pane>
<!--actp PD000700 Info and Stoptext -->
<el-tab-pane :label="'Info and Stoptext'" name="oitpan">
<m-oitpan :model="model" :codes="codes" ref="oitpan"/>
</el-tab-pane>
<!-- <el-tab-pane :label="$t('actp.PD000040')" name="prtpan">
<m-prtpan :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('infbut.PD000022')" name="evtinfp">
<m-evtinfp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('vermod.PD000005')" name="difstm">
<m-difstm :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</el-form>
</div>
<div class="eContainer-search">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-content>
<m-infsea :model="model" :codes="codes" ref="infsea"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
......@@ -63,13 +46,13 @@ export default {
return {
tabVal: "infsea",
trnName: "infact",
trnType: "",
model: new Infact().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable
codes: {
...CodeTable
},
}
},
......
......@@ -64,7 +64,7 @@
<c-col :span="10">
<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>
</c-col>
......
......@@ -31,7 +31,7 @@
</c-col>
<c-col :span="10" >
<el-form-item prop="lidgrp.cbs.nom1.amt" label-width="10px">
<c-input v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额" :disabled="true"></c-input>
<c-input-currency v-model="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额" :disabled="true"></c-input-currency>
</el-form-item>
</c-col>
......@@ -47,7 +47,7 @@
<c-col :span="10" >
<el-form-item prop="lidgrp.cbs.opn1.amt" label-width="10px">
<c-input :disabled="true" v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input>
<c-input-currency :disabled="true" v-model="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
......
......@@ -14,13 +14,13 @@
</c-col>
<c-col :span="12">
<el-form-item label="信用证名义金额" prop="lidgrp.cbs.nom1.cur">
<c-input disabled v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入金额"></c-input>
<c-input-currency disabled v-model="model.lidgrp.cbs.nom1.cur" maxlength="3" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="信用证金额" prop="oldlidgrp.cbs.nom1.amt">
<c-input disabled v-model="model.oldlidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input>
<c-input-currency disabled v-model="model.oldlidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -45,7 +45,7 @@
<c-col :span="12">
<el-form-item label="增减金额" prop="trnmod.swiadd.ameamt">
<c-input disabled v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额"></c-input>
<c-input-currency disabled v-model="model.trnmod.swiadd.ameamt" placeholder="请输入增减金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -58,7 +58,7 @@
<c-col :span="12">
<el-form-item label="修改后金额" prop="trnmod.swiadd.newamt">
<c-input disabled v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input>
<c-input-currency disabled v-model="model.trnmod.swiadd.newamt" placeholder="请输入修改后金额"></c-input-currency>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -167,7 +167,7 @@
<c-col :span="12">
<el-form-item label="" prop="oldlidgrp.cbs.max.amt">
<c-input disabled v-model="model.oldlidgrp.cbs.max.amt" placeholder="请输入金额"></c-input>
<c-input-currency disabled v-model="model.oldlidgrp.cbs.max.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -180,7 +180,7 @@
<c-col :span="12">
<el-form-item label="修改总金额" prop="litamep.engamt">
<c-input disabled v-model="model.litamep.engamt" placeholder="请输入修改总金额"></c-input>
<c-input-currency disabled v-model="model.litamep.engamt" placeholder="请输入修改总金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -192,7 +192,7 @@
<c-col :span="12">
<el-form-item label="" prop="litamep.maxamt">
<c-input disabled v-model="model.litamep.maxamt" placeholder="请输入最大金额"></c-input>
<c-input-currency disabled v-model="model.litamep.maxamt" placeholder="请输入最大金额"></c-input-currency>
</el-form-item>
</c-col>
......@@ -222,7 +222,7 @@
<c-col :span="12">
<el-form-item label="附加金额" prop="trnmod.swiadd.addamt">
<c-input disabled v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input>
<c-input-currency disabled v-model="model.trnmod.swiadd.addamt" placeholder="请输入附加金额"></c-input-currency>
</el-form-item>
</c-col>
......
......@@ -52,7 +52,7 @@
<c-col :span="10">
<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>
</c-col>
......@@ -89,7 +89,7 @@
<c-col :span="12">
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.max.amt">
<c-input disabled v-model="model.lidgrp.cbs.max.amt" placeholder="请输入金额"></c-input>
<c-input-currency disabled v-model="model.lidgrp.cbs.max.amt" placeholder="请输入金额"></c-input-currency>
</el-form-item>
</c-col>
......
......@@ -2,7 +2,7 @@
<div class="eibs-tab">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="" prop="srvprtm.prtmod.cltprtflg">
<el-form-item label="" prop="chgetyprt">
<c-checkbox v-model="model.chgetyprt"
>实体更改时打印消息</c-checkbox
>
......@@ -15,6 +15,7 @@
v-model="model.srvprtm.prtmod.cltprtflg"
style="width: 100%"
placeholder="请选择客户端打印"
:code="codes.cltprtflg"
>
</c-select>
</el-form-item>
......@@ -37,6 +38,7 @@
v-model="model.srvprtm.prt.tef"
style="width: 100%"
placeholder="请选择技术表格"
:code="codes.tef"
>
</c-select>
</el-form-item>
......@@ -48,6 +50,7 @@
v-model="model.srvprtm.prt.getprt"
style="width: 100%"
placeholder="请选择默认打印机来自"
:code="codes.getprt"
>
</c-select>
</el-form-item>
......@@ -60,6 +63,13 @@
style="width: 100%"
placeholder="请选择打印机"
>
<el-option
v-for="item in prt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -71,6 +81,13 @@
style="width: 100%"
placeholder="请选择Paperbin"
>
<el-option
v-for="item in bin"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -82,6 +99,13 @@
style="width: 100%"
placeholder="请选择Bin for 2nd Page"
>
<el-option
v-for="item in bin"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -108,7 +132,20 @@ export default {
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
return {
bin: [
{ label: "Bin", value: "Bin" },
],
prt: [
{ label: "导出为WPS PDF", value: "导出为WPS PDF" },
{ label: "OneNote (Desktop)", value: "OneNote (Desktop)" },
{ label: "Microsoft XPS Document Writer", value: "Microsoft XPS Document Writer" },
{ label: "Microsoft Print to PDF", value: "Microsoft Print to PDF" },
{ label: "Fax", value: "Fax" },
{ label: "Adobe PDF", value: "Adobe PDF" },
{ label: "", value: "" },
],
};
},
methods: { ...Event },
created: function () {},
......
......@@ -33,6 +33,7 @@
v-model="model.spt.sta"
style="width: 100%"
placeholder="请选择类型"
:code="codes.sptrelstatus"
disabled
>
</c-select>
......@@ -113,15 +114,17 @@
v-model="model.spt.usr"
maxlength="8"
placeholder="请输入经办柜员"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="创建时间" prop="spt.dattim" label-width="60px">
<el-form-item label="创建时间" prop="spt.dattim" label-width="80px">
<c-input
v-model="model.spt.dattim"
placeholder="请输入创建时间"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -169,7 +172,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <c-col :span="12">
<el-form-item label="" prop="recpan.atpget.sdamod.seainf" label-width="10px">
<c-input
v-model="model.recpan.atpget.sdamod.seainf"
......@@ -177,6 +180,15 @@
disabled
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="" prop="recpan.atptxt" label-width="10px">
<c-input
v-model="model.recpan.atptxt"
placeholder="请输入"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -187,7 +199,7 @@
v-model="model.spt.wrkgrp"
style="width: 100%"
placeholder="请选择虚拟机构"
:code="sptWrkgrp"
:code="getValues('spt.wrkgrp')"
>
</c-select>
</el-form-item>
......@@ -212,6 +224,7 @@
v-model="model.spt.infdsp"
style="width: 100%"
placeholder="请选择消息文本"
:code="codes.infdsp"
>
</c-select>
</el-form-item>
......@@ -223,6 +236,7 @@
v-model="model.spt.cretrn"
maxlength="6"
placeholder="请输入创建交易id"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -246,7 +260,7 @@ export default {
mixins: [commonProcess],
data() {
return {
sptWrkgrp: []
// sptWrkgrp: []
};
},
methods: { ...Event,
......
......@@ -4,29 +4,28 @@
type="primary"
@click="handleSave">save</el-button> -->
<!-- <el-button size="small" @click="handletak">tak</el-button> -->
<div class="m-Btn-eContainer">
<div class="m-funcBtn-eContainer">
<el-button size="small" type="primary" @click="handleSave">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
</div>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000052 -->
<el-tab-pane label="项目概述" name="sptroup" v-if="false">
<m-sptroup :model="model" :codes="codes"/>
<c-content>
<m-sptroup :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000035 -->
<el-tab-pane label="待定项目" name="sptnegp">
<m-sptnegp ref="sptnegp" :model="model" :codes="codes"/>
<c-content>
<m-sptnegp ref="sptnegp" :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--PD000090 -->
<el-tab-pane label="配置打印以重新路由" name="prtcfg">
<m-prtcfg :model="model" :codes="codes"/>
<c-content>
<m-prtcfg :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</c-tabs>
......@@ -38,6 +37,18 @@
>
</c-grid-ety-prompt-dialog>
</el-form>
<div class="m-Btn-eContainer">
<div class="m-funcBtn-eContainer">
<el-button size="small" type="primary" @click="handleSave">{{ $t('buttons.submit') }}</el-button>
<el-button size="small" @click="handleStash">{{ $t('buttons.stash') }}</el-button>
<el-button size="small" @click="handleCancel">{{ $t('buttons.quit') }}</el-button>
</div>
</div>
<!-- <c-function-btn
:handleSubmit="handleSubmit"
:handleStash="handleStash"
>
</c-function-btn> -->
</div>
</template>
<script>
......@@ -45,6 +56,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptrou from "~/model/Sptrou"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Sptrou/Check"
import Default from "~/model/Sptrou/Default"
import Pattern from "~/model/Sptrou/Pattern"
......@@ -65,7 +77,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "sptnegp",
......@@ -85,7 +97,7 @@ export default {
},
async handleSave(){
let rtnmsg = await this.executeRule("sav")
if(rtnmsg.respCode == SUCCESS)
if(rtnmsg.respCode == SUCCESS && Object.keys(rtnmsg.fieldErrors).length==0)
{
this.$notify({
title: "成功",
......@@ -98,14 +110,46 @@ export default {
//修改待复核界面刷新状态为需要刷新
this.$store.commit("setLoadingFreshSptsel", true)
});
}
else
}else if (rtnmsg.fieldErrors && Object.keys(rtnmsg.fieldErrors).length > 0) {
const tab = this.showBackendErrors(rtnmsg.fieldErrors)
if (tab) {
// tab切换之后,需出发tab-click的事件
this.tabClick(tab);
}
this.$notify({
title: "错误",
message: "检核失败!",
type: "error",
});
} else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
handleCancel: function() {
this.$confirm("确认退出?", "", {
confirmButtonText: "确认",
cancelButtonText: "取消",
type: "warning"
})
.then(res => {
// this.$router.back();
this.$store.dispatch("TagsView/delView", this.$route)
this.handleExit && this.handleExit()
if (this.$route.query && this.$route.query.routeParams) {
setTimeout(() => {
this.$router.back()
}, 500)
}
else {
setTimeout(() => {
this.$router.push('/home')
}, 500)
}
})
.catch(() => {});
},
handletak(){
},
......
......@@ -99,7 +99,7 @@
</c-col>
<c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="165px" >
<el-table-column fixed="right" prop="op" label="操作" width="250px" >
<template slot="header">
<c-col :span="11" style="text-align:center"><span>操作</span></c-col>
</template>
......@@ -108,6 +108,8 @@
</c-button>
<c-button style="margin-left: 5px" size="small" type="primary" @click="continueEdit(scope.row)">处理
</c-button>
<c-button style="margin-left: 5px" size="small" @click="onChange(scope.row)" :disabled="scope.row.状态!='INC'">更改
</c-button>
<el-popover placement="top-start" width="50" trigger="click">
<ul class="table-button-item-list">
......
......@@ -39,12 +39,6 @@
<div v-if="currentTool === 'tool-caculate'">
<calculator ref="calculator" />
</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'">
<account ref="account" />
</div>
......@@ -54,6 +48,22 @@
<div v-if="currentTool === 'tool-finishedtask'">
<finishedtask ref="finishedtask" />
</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'">
<exchangerate ref="exchangerate" />
</div>
......@@ -75,15 +85,6 @@
<div v-if="currentTool === 'tool-accttradedetails'">
<accttradedetails ref="accttradedetails" />
</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'">
<innerAccountBal ref="innerAccountBal" />
</div>
......@@ -126,12 +127,29 @@ import VueDraggableResizable from 'vue-draggable-resizable'
import cms from "~/components/Cms"
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 {
name: "Layout",
components: { headerCom, sideMenu, tagViews, business, toolbars,
components: {
headerCom,
sideMenu,
tagViews,
business,
toolbars,
calculator,
cms,
account,
swiftcode,
finishedtask,
feetype,
sendMessageQuery,
receiveMessageQuery,
'vue-draggable-resizable': VueDraggableResizable,
},
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 {
.then((res) => {
if (res) {
this.$message.success("修改柜员权限信息成功!");
// this.model.ubrList = res.ubrList;
//TODO model.uclList回填
this.handleClose();
}
})
......@@ -200,7 +200,8 @@ export default {
.then((res) => {
if (res) {
this.$message.success("保存柜员权限信息成功!");
this.model.ubrList = res.ubrList;
//TODO model.uclList回填
// this.model.ubrList = res.ubrList;
this.handleClose();
}
})
......
......@@ -164,6 +164,7 @@ export default {
.then((res) => {
if (res.usr) {
this.$message.success("修改柜员组信息成功!");
//TODO model.uclList回填
this.handleClose();
}
})
......@@ -193,6 +194,7 @@ export default {
.then((res) => {
if (res) {
this.$message.success("保存柜员组信息成功!");
//TODO model.uclList回填
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 {
return {
curData: [],
curColumns: [
{ label: 'Currency', prop: 'cod', width: '200' },
{ label: 'Description', prop: 'seanam', width: '636' },
{ label: '货币', prop: 'cod', width: '200' },
{ label: '描述', prop: 'seanam', width: '636' },
],
};
},
......
......@@ -57,6 +57,12 @@ import Dbaact from "./Dbaact";
import Dbeact from "./Dbeact";
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 = [
{ path: 'infpty', component: Infpty, name: 'StaticsInfpty', meta: { title: '客户查询' } },
{ path: 'dbapty', component: Dbapty, name: 'StaticsDbapty', meta: { title: '客户新增' } },
......@@ -116,6 +122,12 @@ const StaticsRouter = [
{ 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: '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
<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