Commit 0cc5070d by 李少勇

fxdsdb 交易修改

parent f4c41f37
......@@ -16,7 +16,7 @@ const BusRouter = [
{ path: 'dblktl', component: () => import("./Dblktl/views"), name: 'Dblktl', meta: { title: '记账参数管理' }, module: 'frontend' },
{ path: 'dblktp', component: () => import("./Dblktp/views"), name: 'Dblktp', meta: { title: '记账类型管理' }, module: 'frontend' },
{ path: 'dotopn', component: () => import("./Dotopn/views"), name: 'Dotopn', meta: { title: '待对账信息录入' }, module: 'frontend' },
{ path: 'fxdsdb', component: () => import("./Fxdsdb/views"), name: 'Fxdsdb', meta: { title: '人民币跨境基础数据导入' }, module: 'frontend' },
{ path: 'fxdsdb', component: () => import("./Fxdsdb/views"), name: 'Fxdsdb', meta: { title: '人民币跨境基础数据查询' }, module: 'frontend' },
{ path: 'jfdsel', component: () => import("./Jfdsel/views"), name: 'Jfdsel', meta: { title: '计费单查询' }, module: 'frontend' },
{ path: 'kpachk', component: () => import("./Kpachk/views"), name: 'Kpachk', meta: { title: '未成功记账记录查询' }, module: 'frontend' },
{ path: 'lmnsel', component: () => import("./Lmnsel/views"), name: 'Lmnsel', meta: { title: '流动性管理' }, module: 'frontend' },
......
......@@ -2,24 +2,27 @@ import Api from "~/service/Api";
import moment from "moment";
export default {
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
this.multipleSelection = val;
}
methods: {
async handleSearch() {
},
async handleReset() {
},
// pageSize改变
handleSizeChange(val) {
this.pagination.pageNum = 1;
this.pagination.pageSize = val;
this.handleSearch();
},
// 页码改变
handleCurrentChange(val) {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val) {
this.multipleSelection = val;
},
handleAdd() {
this.$refs.addDialog.visible = true
}
},
};
......@@ -7,13 +7,12 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="文件类型" prop="" style="width: 100%">
<c-select v-model="model.fddp.filtyp" style="width: 100%" placeholder="请选择文件类型"
:code="codes.cpsfxdtyp"/>
<c-select v-model="model.fddp.filtyp" style="width: 100%" placeholder="请选择文件类型" :code="codes.cpsfxdtyp" />
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="文件名" prop="" style="width: 100%">
<c-input v-model="model.fddp.filnam" style="width: 100%" placeholder="请输入文件名"/>
<c-input v-model="model.fddp.filnam" style="width: 100%" placeholder="请输入文件名" />
</el-form-item>
</c-col>
<c-col :span="8">
......@@ -38,13 +37,16 @@
</c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0"
type="primary">{{ $t('public.归档') }}
<c-button class="medium_bcs" size="medium" style="margin-left: 0" type="primary" @click="handleAdd">
新增
</c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium"
style="margin-left: 20" type="primary">ReRouting
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 20px;" type="primary">
{{ $t('public.归档') }}
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" style="margin-left: 20px;" type="primary">
ReRouting
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20px;" type="primary">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
......@@ -52,40 +54,39 @@
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="人民币跨境基础数据导入" name="fb">
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum"
@size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</el-tab-pane>
</el-tabs>
<el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange" size="small" :border="true" height="calc(100vh - 310px)"
:highlight-current-row="true">
<el-table-column type="selection" width="55">
</el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
:min-width="item.width">
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@current-change="handleCurrentChange">
</el-pagination>
</c-col>
</div>
</el-col>
<add-dialog ref="addDialog"></add-dialog>
</div>
</template>
<script>
import event from "../event";
import addDialog from "./addDialog.vue";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
'add-dialog': addDialog
},
data() {
return {
activeTab: 'fb',
load: false,
subtypCodes: [],
multipleSelection: [],
......
<template>
<div>
<el-dialog v-if="visible" v-dialogDrag :visible="visible" :modal-append-to-body="false" :close-on-click-modal="false"
title="新增" destroy-on-close width="50%">
<div>
<el-upload action="#" :before-upload="beforeUpload" :show-file-list="false" accept=".xml">
<c-button slot="trigger" size="small" type="primary">导入</c-button>
</el-upload>
</div>
<span slot="footer" class="dialog-footer">
<el-button v-if="!isDispaly" type="primary" @click="handleSubmit()">确 定</el-button>
<el-button @click="handleCancel()">取 消</el-button>
</span>
</el-dialog>
</div>
</template>
<script>
export default {
mixins: [],
props: {
},
computed: {
},
data() {
return {
visible: false,
};
},
watch: {
},
methods: {
beforeUpload(file) {
},
handleSubmit() {
this.visible = false;
},
handleCancel() {
this.visible = false;
}
}
};
</script>
<style scoped lang="less"></style>
\ No newline at end of file
......@@ -4,7 +4,7 @@
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-width="100px"
label-position="right"
size="small"
:validate-on-rule-change="false"
......
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