Commit fc98fee2 by xiaotong

菜单中手工拟报和账务明细查询修改

parent 6d4f7420
......@@ -225,6 +225,8 @@ const Comsel = () => import("./Comsel/views");
const Comcal = () => import("./Comcal/views");
const Infswf = () => import("./Infswf/views");
const Rptsel = () => import("./Rptsel/views");
const Glesel = () => import("./Glesel/views");
const Sgnswt = () => import("./Sgnswt/views");
const Feecon = () => import("./Feecon/views");
const Eafadd = () => import("./Cfa/Eafadd/views/");
const Eafall = () => import("./Cfa/Eafall/views/");
......@@ -569,6 +571,8 @@ const BusRouter = [
{ path: 'comcal', component: Comcal, name: 'Comcal', meta: { keepAlive: true, title: '保函预期收益测算' } },
{ path: 'infswf', component: Infswf, name: 'Infswf', meta: { keepAlive: true, title: '清算来报' } },
{ path: 'rptsel', component: Rptsel, name: 'Rptsel', meta: { keepAlive: true, title: '报表查询' } },
{ path: 'glesel', component: Glesel, name: 'Glesel', meta: { keepAlive: true, title: '账务明细查询' } },
{ path: 'sgnswt', component: Sgnswt, name: 'Sgnswt', meta: { keepAlive: true, title: '手工拟报' } },
{ path: 'feecon', component: Feecon, name: 'Feecon', meta: { keepAlive: true, title: '收费优惠明细查询' } },
{ path: 'fcnopn', component: Fcnopn, name: 'Fcnopn', meta: { keepAlive: true, title: '分离式保函协议签署' } },
{ path: 'fcncan', component: Fcncan, name: 'Fcncan', meta: { keepAlive: true, title: '分离式保函协议注销' } },
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="formSubmit">
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form class="m-table-search-form" ref="paramsForm" label-position="right" label-width="110px" size="small" :model="model">
<el-row>
<c-col :span="8">
<el-form-item :label="$t('statics.账户类型')">
<c-select v-model="model.eastinf" placeholder="请输入账户类型" :isShowKeyAndLabel="true" dbCode="DSPTRM" :isCache="false" style="width: 100%">
<!-- <el-option value="0" label="待核查帐户" />
<el-option value="1" label="国结专户" />
<el-option value="2" label="暂收款项账" />:filterKey="['L','G','C','O']"
<el-option value="3" label="通过Nostro付款" />
<el-option value="4" label="国际结算临时账" /> -->
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('statics.客户号')">
<c-input v-model.trim="model.cliextkey" maxlength="16" :placeholder="$t('other.请输入') + $t('bus.客户号')"></c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('statics.机构号')">
<c-input v-model.trim="model.branch" maxlength="16" :placeholder="$t('other.请输入') + $t('bus.机构号')"></c-input>
</el-form-item>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<!-- <c-col :span="8">
<el-form-item :label="$t('statics.借贷记方向')">
<c-select v-model="model.dbtcdt" placeholder="请输入借贷记方向" :isShowKeyAndLabel="true" dbCode="DBTCDF" :isCache="false" style="width: 100%">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="8">
<el-form-item :label="$t('components.记账日期')" style="width: 100%">
<c-col :span="11">
<c-date-picker type="date" v-model="model.dat1" style="width: 100%" :placeholder="$t('other.请选择') + $t('bus.起始日期')" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker type="date" v-model="model.dat2" style="width: 100%" value-format="yyyy-MM-dd"></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('lc.金额区间')" style="width: 100%">
<c-col :span="11">
<c-input v-model="model.amt1" :placeholder="$t('lc.请输入金额下限')" style="width: 100%"></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input v-model="model.amt2" :placeholder="$t('lc.请输入金额上限')" style="width: 100%"></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<el-col :span="24" style="margin-top: 10px">
<c-col :span="24">
<el-table id='infgidBSTableRef' v-loading="load" :data="tableData" style="width:100%" size="small" height="500px" :highlight-current-row="true" :border="true">
<el-table-column :label="$t('bus.账户类型')" prop="eastinf" width="200" fixed="left" align="left">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.eastinf" dbCode="DSPTRM"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column :label="$t('bus.关联业务编号')" prop="ownref" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.币种')" prop="cur" align="left" width="100">
</el-table-column>
<el-table-column :label="$t('bus.金额')" prop="amt" align="left" width="100">
<template slot-scope="scope">
<span> {{moneyFormat(scope.row.amt, scope.row.cur) }}
</span>
</template>
</el-table-column>
<el-table-column :label="$t('bus.记账时间')" prop="bucdat" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.客户号')" prop="cliextkey" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.客户名称')" prop="nam" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.机构号')" prop="branch" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.机构名称')" prop="bchname" align="left" width="200">
</el-table-column>
<el-table-column :label="$t('bus.借贷记方向')" prop="dbtcdt" align="left">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.dbtcdt" dbCode="DBTCDF"></c-select-value-to-label>
</template>
</el-table-column>
<el-table-column :label="$t('bus.账号')" prop="peeact" align="left" width="200">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" :page-size="pagination.pageSize" :current-page="pagination.pageNum" @size-change="handleSizeChange" @current-change="currentChange">
</el-pagination>
</c-col>
</el-col>
</div>
</template>
<script>
import Api from '~/service/Api';
import Utils from "~/utils"
export default {
data() {
return {
activeTab: 'bs',
load: false,
pagination: {
pageNum: 1,
pageSize: 10,
total: 0
},
model: {
cod: null
},
tableData: []
};
},
created() {
// this.handleSearch()
},
methods: {
//查询列表
async handleSearch() {
//查询接口
this.load = true;
const res = await Api.post('/webapi/public/glesel/list', this.model);
if (res.respCode === SUCCESS) {
this.tableData = res.data.list;
this.pagination.total = parseInt(res.data.total) || 0;
}
this.load = false;
},
formSubmit() {
this.handleSearch();
},
handleReset() {
this.model.seaownref = ""
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
async currentChange(num) {
this.pagination.pageNum = num;
this.handleSearch();
},
},
};
</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>
\ No newline at end of file
<template>
<div class="eContainer">
<c-page :title="$t('statics.账务明细查询')">
<el-form ref="modelForm" label-width="120px" label-position="right" size="small">
<c-tabs v-model="tabVal" ref="elment" type="card">
<el-tab-pane :label="$t('statics.查询')" name="infsea">
<c-content>
<m-infsea ref="infsea" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Infsea from "./Infsea";
export default {
name: "Glesel",
components: {
"m-infsea": Infsea,
},
data() {
return {
tabVal: "infsea",
};
},
};
</script>
<style></style>
import Api from '~/service/Api';
import commonFunctions from '~/mixin/commonFunctions.js';
import operationFunc from '../../../../mixin/operationFunc';
export default {
mixins: [commonFunctions, operationFunc],
methods: {
formSubmit() {
this.handleSearch();
},
currentChange(num) {
this.pagination.pageNum = num;
this.formSubmit();
},
handleSearch() {
// 前端检验
this.$refs["limp0Form"].validate((valid) => {
if (valid) {
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryInflsb", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.feptableData = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
})
} else {
// 前端校验失败
this.$notify({
title: this.$t('bus.失败'),
message: this.$t('bus.校验失败'),
type: 'error',
});
return false;
}
});
},
async handleSearch1() {
// 前端检验
this.$refs["limp1Form"].validate((valid) => {
if (valid) {
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryInflsb1", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.feptableData1 = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
})
} else {
// 前端校验失败
this.$notify({
title: this.$t('bus.失败'),
message: this.$t('bus.校验失败'),
type: 'error',
});
return false;
}
});
},
async handleSearch2() {
const loading = this.loading();
let rtnmsg = await Api.post("/webapi/business/inflsb/queryInflsb2", {
...this.model,
pageNum: this.pagination.pageNum,
pageSize: this.pagination.pageSize
});
if (rtnmsg.respCode == SUCCESS) {
this.feptableData2 = rtnmsg.data;
this.pagination = {
pageNum: rtnmsg.data.pageNum || 1,
pageSize: rtnmsg.data.pageSize || 10,
total: rtnmsg.data.total
};
}
loading.close();
},
// 获取记账机构下拉列表
async queryOrgList() {
const loading = this.loading();
let res = await Api.post('/webapi/business/userinfo/user/getAccBchList', {
bchkeyinr: this.model.limpan.branch
});
loading.close();
if (res.respCode === SUCCESS) {
this.model.markOrgList = res.data;
if (this.model.markOrgList.length == 1) {
this.model.limpan.branch = this.model.markOrgList[0].inr;
}
}
},
onLimsta(){
let modifyList = this.model.limpan.modifySet
if (!modifyList || (!!modifyList && !modifyList.includes('limpan.limsta'))) {
this.model.limpan.limsta = '01'
}
},
onPtytyp(){
if(this.model.limpan.ptytyp == '1'){
this.model.limpan.swiftno=""
}
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.branch']);
})
},
onPtynam(){
const loading = this.loading();
Api.post("/webapi/business/inflsb/queryNam", {...this.model}).then(rtnmsg => {
loading.close();
if (rtnmsg.respCode == SUCCESS) {
this.model.limpan.ptyname = rtnmsg.data;
}
})
},
onExtkey(){
this.onPtynam(),
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.ownref','limpan.swiftno']);
})
},
onOwnref(){
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.extkey','limpan.swiftno']);
})
},
onSwifino(){
this.onPtynam(),
this.$nextTick(() => {
this.$refs['limp0Form'].validateField(['limpan.extkey','limpan.ownref']);
})
}
}
};
/**
* inflsb Check规则
*/
export default {
data(){
return {
rules:{
"limpan.gjownref": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.ptytyp": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.nonrevflg": [
{ required: true, message: this.$t('bus.必输项') }
],
"limpan.branch": [
{
validator: (rule, value, callback) => {
if (this.model.limpan.ptytyp=='1') {
if (!this.model.limpan.branch) {
callback(new Error('必输项'))
} else {
callback()
}
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.extkey": [
{
validator: (rule, value, callback) => {
if ((this.model.limpan.ptytyp == '1' && !this.model.limpan.extkey && !this.model.limpan.ownref) || (this.model.limpan.ptytyp == '2' && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno)) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.swiftno": [
{
validator: (rule, value, callback) => {
if (this.model.limpan.ptytyp == '2' && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
"limpan.ownref": [
{
validator: (rule, value, callback) => {
if (!!this.model.limpan.ptytyp && !this.model.limpan.extkey && !this.model.limpan.ownref && !this.model.limpan.swiftno) {
callback(new Error('必输项'))
} else {
callback()
}
},
trigger: ['change', 'blur']
}
],
}
}
}
}
export default class Sgnswt {
constructor() {
this.data = {
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<iframe style="width: 100%;min-height: 700px;height: 98%;" src="http://114.115.138.98:8334/swifteditor#/entry/admin" frameborder="0"></iframe>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [event],
data() {
return {
}
},
computed: {
},
methods: {
},
mounted() {
},
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page :title="$t('bus.手工拟报')">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane :label="$t('bus.手工拟报')" name="ovwp">
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Sgnswt from "../model";
import Ovwp from "./Ovwp";
import event from "../event";
import operationFunc from "~/mixin/operationFunc";
import commonDepend from "~/mixin/commonDepend";
export default {
name: "sgnswt",
components: {
"m-ovwp": Ovwp,
},
provide() {
return {
root: this,
activeNames: ["ovwp"]
};
},
mixins: [operationFunc, event, commonDepend],
data() {
return {
tabVal: "ovwp",
trnName: "sgnswt",
model: new Sgnswt().data,
codes: {
...CodeTable
},
};
},
methods:{
},
};
</script>
<style scoped>
.eContainer {
padding-top: 20px !important;
}
</style>
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