Commit 390c7165 by zhouqian

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

Development 202206

See merge request !8
parents 39305a80 35a51081
......@@ -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>
......
......@@ -7508,6 +7508,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;
......@@ -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"}
......
......@@ -90,8 +90,7 @@ 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: '服务请求失败!' });
......
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="eibs-tab">
<c-row>
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item label="包号" prop="cldgrp.rec.ownref" style="width:100%">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入包号"
style="width:100%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" @click="onCltpButgetref"
:disabled="model.cldgrp.rec.ownref !== ''">
获取
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="简略信息" prop="cldgrp.rec.nam" style="width:100%">
<c-input v-model="model.cldgrp.rec.nam" maxlength="40" placeholder="请输入简略信息">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="票据类型" prop="cldgrp.rec.colflg" style="width:100%">
<c-select v-model="model.cldgrp.rec.colflg" style="width: 100%" maxlength="1"
placeholder="请输入票据类型">
<el-option v-for="item in codes.colflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="起息日" prop="cldgrp.rec.valdat" style="width:100%">
<c-col :span="10">
<c-date-picker type="date" v-model="model.cldgrp.rec.valdat" style="width:100%"
placeholddaer="请选择起息日"></c-date-picker>
</c-col>
<c-col :span="4" style="text-align: center">
<label style="display: inline-block;font-size: 12px;color: #606266;">创建日期</label>
</c-col>
<c-col :span="10">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%"
placeholder="请选择创建日期"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="总行数" prop="rowcntr" style="width:100%">
<c-input v-model="model.rowcntr" placeholder="请输入总行数" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="币种" prop="cur" style="width:100%">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="选中光票金额和" prop="amount" style="width: 100%">
<c-input v-model="model.amount" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="注册编号" prop="cldgrp.rec.regref" style="width: 100%">
<c-input v-model="model.cldgrp.rec.regref" tyle="width: 100%" maxlength="16"
placeholder="请输入注册编号" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="选中票据份数" prop="cldgrp.rec.count" style="width: 100%">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入选中票据份数" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="查询出的票据份数" prop="items" style="width:100%">
<c-input v-model="model.items" placeholder="请输入选中票据份数"></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="20">
<el-form-item label="托收行" prop="colbnk" style="width:100%">
<c-select v-model="model.colbnk" style="width: 100%" placeholder="请选择托收行" :disabled="model.cldgrp.rec.colflg == 'G'">
<el-option v-for="item in codes.colbnk" :key="item.value" :label="item.label"
:value="item.value" >
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary" @click="onGet" :disabled="model.cldgrp.rec.colflg == 'G'">
获取
</c-button>
</c-col>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="托收方式" prop="colmet" style="width:100%">
<c-select v-model="model.colmet" style="width: 100%" placeholder="请选择托收方式">
<el-option v-for="item in codes.colmet" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<c-col :span="18">
<el-form-item label="托收行名称" prop="cldgrp.col.pts.extkey" style="width:100%">
<c-input v-model="model.cldgrp.col.pts.extkey" maxlength="16"
placeholder="请输入托收行名称"
@keyup.enter.native="showGridPromptDialog('cldgrp.col.pts.extkey')">
</c-input>
</el-form-item>
</c-col>
<c-col :span="2">
<c-button size="small" type="primary" @click="onSeainf('cldgrp.col.pts.extkey')"><i class="el-icon-info"></i></c-button>
</c-col>
<c-col :span="4" style="text-align:right">
<c-button size="small" type="primary">
详情
</c-button>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="11">
<el-form-item label="地址信息" prop="cldgrp.col.pts.nam" style="width:100%">
<c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.nam" maxlength="35" disabled
show-word-limit placeholder="请输入地址信息"></c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="托收行参考号" prop="cldgrp.rec.colref" style="width:100%">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入托收行参考号">
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="4" :offset="20" style="text-align:center">
<el-button type="primary" @click="handleSearch">查询</el-button>
</c-col>
</c-row>
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="包号" prop="cldgrp.rec.ownref" style="width:100%">
<c-fullbox>
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入包号"
style="width:100%" disabled>
</c-input>
<template slot="footer">
<c-button size="small" type="primary" @click="onCltpButgetref"
style="margin-left: 10px; padding: 0 12px"
:disabled="model.cldgrp.rec.ownref !== ''">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="票据类型" prop="cldgrp.rec.colflg" style="width:100%">
<c-select v-model="model.cldgrp.rec.colflg" style="width: 100%" maxlength="1"
placeholder="请输入票据类型">
<el-option v-for="item in codes.colflg" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="总行数" prop="rowcntr" style="width:100%">
<c-input v-model="model.rowcntr" placeholder="请输入总行数" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="选中光票金额和" prop="amount" style="width: 100%">
<c-input v-model="model.amount" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="选中票据份数" prop="cldgrp.rec.count" style="width: 100%">
<c-input v-model="model.cldgrp.rec.count" placeholder="请输入选中票据份数" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="托收行" prop="colbnk" style="width:100%">
<c-fullbox>
<c-select v-model="model.colbnk" style="width: 100%" placeholder="请选择托收行" :disabled="model.cldgrp.rec.colflg == 'G'">
<el-option v-for="item in codes.colbnk" :key="item.value" :label="item.label"
:value="item.value" >
</el-option>
</c-select>
<template slot="footer">
<c-button size="small" type="primary" @click="onGet" :disabled="model.cldgrp.rec.colflg == 'G'">
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="托收行名称" prop="cldgrp.col.pts.extkey" style="width:100%">
<c-fullbox>
<c-input v-model="model.cldgrp.col.pts.extkey" maxlength="16"
placeholder="请输入托收行名称"
@keyup.enter.native="showGridPromptDialog('cldgrp.col.pts.extkey')">
</c-input>
<template slot="footer">
<c-button size="small" type="primary"
style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
@click="onSeainf('cldgrp.col.pts.extkey')">
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" style="margin: 0 0; height: 32px">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地址信息" prop="cldgrp.col.pts.nam" style="width:100%">
<c-input type="textarea" :rows="4" v-model="model.cldgrp.col.pts.nam" maxlength="35" disabled
show-word-limit placeholder="请输入地址信息"></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="简略信息" prop="cldgrp.rec.nam" style="width:100%">
<c-input v-model="model.cldgrp.rec.nam" maxlength="40" placeholder="请输入简略信息">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="起息日" prop="cldgrp.rec.valdat" style="width:100%">
<c-date-picker type="date" v-model="model.cldgrp.rec.valdat" style="width:100%"
placeholddaer="请选择起息日"></c-date-picker>
</el-form-item>
</c-col>
</div>
<c-col :span="12">
<el-form-item label="创建日期" style="width:100%">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%"
placeholder="请选择创建日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="币种" prop="cur" style="width:100%">
<c-select v-model="model.cur" style="width: 100%" placeholder="请选择币种">
<el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="注册编号" prop="cldgrp.rec.regref" style="width: 100%">
<c-input v-model="model.cldgrp.rec.regref" tyle="width: 100%" maxlength="16"
placeholder="请输入注册编号" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="查询出的票据份数" prop="items" style="width:100%">
<c-input v-model="model.items" placeholder="请输入选中票据份数"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="托收方式" prop="colmet" style="width:100%">
<c-select v-model="model.colmet" style="width: 100%" placeholder="请选择托收方式">
<el-option v-for="item in codes.colmet" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="托收行参考号" prop="cldgrp.rec.colref" style="width:100%">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" placeholder="请输入托收行参考号">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" v-if="model.cur != '' && model.cldgrp.rec.colflg != ''">
<c-col :span="4" :offset="20" style="text-align:center">
<el-button type="primary" @click="handleSearch">查询</el-button>
</c-col>
</c-col>
<c-col :span="24" v-else>
<c-col :span="4" :offset="20" style="text-align:center">
<el-button type="primary" @click="handleSearchAll">查询所有</el-button>
</c-col>
</c-col>
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
......
<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>
......
......@@ -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>
......
......@@ -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
......@@ -9,13 +9,13 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="cod" prop="cod">
<el-form-item label="货币种类" prop="cod">
<!-- <c-select v-model="model.cod" style="width: 100%" placeholder="请输入cod">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select> -->
<c-input v-model="model.cod" style="width: 100%" placeholder="请输入cod">
<c-input v-model="model.cod" style="width: 100%" placeholder="请输入货币种类">
</c-input>
<!-- <c-select v-model="model.cod" placeholder="请输入cod" code="codes.currencycode"
style="width: 100%;">
......@@ -23,39 +23,39 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rndunt" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入rndunt">
<el-form-item label="舍入货币单位" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入舍入货币单位">
</c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bas" prop="bas">
<c-input v-model="model.bas" placeholder="请输入bas">
<el-form-item label="基础汇率" prop="bas">
<c-input v-model="model.bas" placeholder="请输入基础汇率">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc1" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入acc1">
<el-form-item label="账户兑换币种" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入账户兑换币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc2" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入acc2">
<el-form-item label="柜台账户兑换币种" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入柜台账户兑换币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="seq" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入seq" style="width: 100%">
<el-form-item label="利率录入操作列表" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入利率录入操作列表" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="newcur" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入newcur" style="width: 100%">
<el-form-item label="自定义的货币种类" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入自定义的货币种类" style="width: 100%">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -65,36 +65,36 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="begdat" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入begdat"
<el-form-item label="开始时间" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入开始时间"
style="width: 100%">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="enddat" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入enddat"
<el-form-item label="结束时间" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入结束时间"
style="width: 100%">
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="dbtday" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入dbtday">
<el-form-item label="借贷起息日" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入借贷起息日">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="cdtday" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入cdtday">
<el-form-item label="信贷起息日" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入信贷起息日">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="maxcur" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入maxcur" style="width: 100%">
<el-form-item label="币种" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入币种" style="width: 100%">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -102,8 +102,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="maxamt" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入maxamt">
<el-form-item label="最大金额" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入最大金额">
</c-input-currency>
</el-form-item>
</c-col>
......@@ -112,44 +112,44 @@
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="altcod" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入altcod">
<el-form-item label="可替换币种" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入可替换币种">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dec" prop="dec">
<c-input v-model="model.dec" placeholder="请输入dec">
<el-form-item label="货币小数位" prop="dec">
<c-input v-model="model.dec" placeholder="请输入货币小数位">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dif" prop="dif">
<c-input v-model="model.dif" placeholder="请输入dif">
<el-form-item label="汇率最大浮动值" prop="dif">
<c-input v-model="model.dif" placeholder="请输入汇率最大浮动值">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="glbrat" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入glbrat">
<el-form-item label="账户平均汇率" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入账户平均汇率">
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bsrmar" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入bsrmar">
<el-form-item label="与中间价的差数" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入与中间价的差数">
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sqrmar" prop="sqrmar">
<c-input-currency v-model="model.sqrmar" placeholder="请输入sqrmar">
<el-form-item label="与调整价的差数" prop="sqrmar">
<c-input-currency v-model="model.sqrmar" placeholder="请输入与调整价的差数">
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="odrintday" prop="odrintday">
<c-input v-model="model.odrintday" placeholder="请输入odrintday">
<el-form-item label="汇率插入日期" prop="odrintday">
<c-input v-model="model.odrintday" placeholder="汇率插入日期">
</c-input>
</el-form-item>
</c-col>
......
<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
......@@ -9,51 +9,53 @@
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="cod" prop="cod">
<c-select v-model="model.cod" style="width: 100%" placeholder="请输入cod" disabled>
<el-form-item label="货币种类" prop="cod">
<!-- <c-select v-model="model.cod" style="width: 100%" placeholder="请输入cod">
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
</c-select>
</c-select> -->
<c-input v-model="model.cod" style="width: 100%" placeholder="请输入货币种类" disabled>
</c-input>
<!-- <c-select v-model="model.cod" placeholder="请输入cod" code="codes.currencycode"
style="width: 100%;">
</c-select> -->
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="rndunt" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入rndunt" disabled>
<el-form-item label="舍入货币单位" prop="rndunt">
<c-input-currency-min v-model="model.rndunt" placeholder="请输入舍入货币单位" disabled>
</c-input-currency-min>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bas" prop="bas">
<c-input v-model="model.bas" placeholder="请输入bas" disabled>
<el-form-item label="基础汇率" prop="bas">
<c-input v-model="model.bas" placeholder="请输入基础汇率" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc1" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入acc1" disabled>
<el-form-item label="账户兑换币种" prop="acc1">
<c-input v-model="model.acc1" placeholder="请输入账户兑换币种" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="acc2" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入acc2" disabled>
<el-form-item label="柜台账户兑换币种" prop="acc2">
<c-input v-model="model.acc2" placeholder="请输入柜台账户兑换币种" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="seq" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入seq" style="width: 100%" disabled>
<el-form-item label="利率录入操作列表" prop="seq" style="width: 100%">
<c-input v-model="model.seq" placeholder="请输入利率录入操作列表" style="width: 100%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="newcur" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入newcur" style="width: 100%" disabled>
<el-form-item label="自定义的货币种类" prop="newcur" style="width: 100%">
<c-select v-model="model.newcur" placeholder="请输入自定义的货币种类" style="width: 100%" disabled>
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -63,36 +65,36 @@
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="begdat" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入begdat"
<el-form-item label="开始时间" prop="begdat" style="width: 100%">
<c-date-picker type="date" v-model="model.begdat" placeholder="请输入开始时间"
style="width: 100%" disabled>
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="enddat" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入enddat"
<el-form-item label="结束时间" prop="enddat" style="width: 100%">
<c-date-picker type="date" v-model="model.enddat" placeholder="请输入结束时间"
style="width: 100%" disabled>
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="dbtday" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入dbtday" disabled>
<el-form-item label="借贷起息日" prop="dbtday">
<c-input v-model="model.dbtday" placeholder="请输入借贷起息日" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="cdtday" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入cdtday" disabled>
<el-form-item label="信贷起息日" prop="cdtday">
<c-input v-model="model.cdtday" placeholder="请输入信贷起息日" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="maxcur" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入maxcur" style="width: 100%" disabled>
<el-form-item label="币种" prop="maxcur" style="width: 100%">
<c-select v-model="model.maxcur" placeholder="请输入币种" style="width: 100%" disabled>
<el-option v-for="item in codes.currencycode" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -100,8 +102,8 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="maxamt" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入maxamt" disabled>
<el-form-item label="最大金额" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入最大金额" disabled>
</c-input-currency>
</el-form-item>
</c-col>
......@@ -110,52 +112,52 @@
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="altcod" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入altcod" disabled>
<el-form-item label="可替换币种" prop="altcod">
<c-input v-model="model.altcod" placeholder="请输入可替换币种" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dec" prop="dec">
<c-input v-model="model.dec" placeholder="请输入dec" disabled>
<el-form-item label="货币小数位" prop="dec">
<c-input v-model="model.dec" placeholder="请输入货币小数位" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="dif" prop="dif">
<c-input v-model="model.dif" placeholder="请输入dif" disabled>
<el-form-item label="汇率最大浮动值" prop="dif">
<c-input v-model="model.dif" placeholder="请输入汇率最大浮动值" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="glbrat" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入glbrat" disabled>
<el-form-item label="账户平均汇率" prop="glbrat">
<c-input-currency v-model="model.glbrat" placeholder="请输入账户平均汇率" disabled>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="bsrmar" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入bsrmar" disabled>
<el-form-item label="与中间价的差数" prop="bsrmar">
<c-input-currency v-model="model.bsrmar" placeholder="请输入与中间价的差数" disabled>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="sqrmar" prop="sqrmar" disabled>
<c-input-currency v-model="model.sqrmar" placeholder="请输入sqrmar" disabled>
<el-form-item label="与调整价的差数" prop="sqrmar">
<c-input-currency v-model="model.sqrmar" placeholder="请输入与调整价的差数" disabled>
</c-input-currency>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="odrintday" prop="odrintday">
<c-input v-model="model.odrintday" placeholder="请输入odrintday" disabled>
<el-form-item label="汇率插入日期" prop="odrintday" disabled>
<c-input v-model="model.odrintday" placeholder="汇率插入日期" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24" style="padding-left: 120px">
<el-table :data="stmData.data" border>
<el-table-column prop="uilcod" label="Language" sortable width="220">
<el-table-column prop="uilcod" label="语言" sortable width="220">
</el-table-column>
<el-table-column prop="nam" label="Description" sortable width="300">
<el-table-column prop="nam" label="描述" sortable width="300">
</el-table-column>
</el-table>
</c-col>
......
......@@ -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