Commit 0cc5070d by 李少勇

fxdsdb 交易修改

parent f4c41f37
...@@ -16,7 +16,7 @@ const BusRouter = [ ...@@ -16,7 +16,7 @@ const BusRouter = [
{ path: 'dblktl', component: () => import("./Dblktl/views"), name: 'Dblktl', meta: { title: '记账参数管理' }, module: 'frontend' }, { 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: 'dblktp', component: () => import("./Dblktp/views"), name: 'Dblktp', meta: { title: '记账类型管理' }, module: 'frontend' },
{ path: 'dotopn', component: () => import("./Dotopn/views"), name: 'Dotopn', 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: 'jfdsel', component: () => import("./Jfdsel/views"), name: 'Jfdsel', meta: { title: '计费单查询' }, module: 'frontend' },
{ path: 'kpachk', component: () => import("./Kpachk/views"), name: 'Kpachk', 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' }, { path: 'lmnsel', component: () => import("./Lmnsel/views"), name: 'Lmnsel', meta: { title: '流动性管理' }, module: 'frontend' },
......
...@@ -18,8 +18,11 @@ export default { ...@@ -18,8 +18,11 @@ export default {
this.pagination.pageNum = val; this.pagination.pageNum = val;
this.handleSearch(); this.handleSearch();
}, },
handleSelectionChange(val){ handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
},
handleAdd() {
this.$refs.addDialog.visible = true
} }
}, },
}; };
...@@ -7,13 +7,12 @@ ...@@ -7,13 +7,12 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="文件类型" prop="" style="width: 100%"> <el-form-item label="文件类型" prop="" style="width: 100%">
<c-select v-model="model.fddp.filtyp" style="width: 100%" placeholder="请选择文件类型" <c-select v-model="model.fddp.filtyp" style="width: 100%" placeholder="请选择文件类型" :code="codes.cpsfxdtyp" />
:code="codes.cpsfxdtyp"/>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="文件名" prop="" style="width: 100%"> <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> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
...@@ -38,13 +37,16 @@ ...@@ -38,13 +37,16 @@
</c-list-search> </c-list-search>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;"> <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" <c-button class="medium_bcs" size="medium" style="margin-left: 0" type="primary" @click="handleAdd">
type="primary">{{ $t('public.归档') }} 新增
</c-button> </c-button>
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 20px;" type="primary">
style="margin-left: 20" type="primary">ReRouting {{ $t('public.归档') }}
</c-button> </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') }} {{ $t('public.导出Excel') }}
</c-button> </c-button>
</el-col> </el-col>
...@@ -52,11 +54,9 @@ ...@@ -52,11 +54,9 @@
<el-col :span="24" style="margin-top: 10px"> <el-col :span="24" style="margin-top: 10px">
<div style="height: 90%"> <div style="height: 90%">
<c-col :span="24"> <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%" <el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange" size="small" :border="true" height="calc(100vh - 310px)"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> :highlight-current-row="true">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">
</el-table-column> </el-table-column>
<el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop"
...@@ -65,27 +65,28 @@ ...@@ -65,27 +65,28 @@
</el-table> </el-table>
<el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
:page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"> @current-change="handleCurrentChange">
</el-pagination> </el-pagination>
</el-tab-pane>
</el-tabs>
</c-col> </c-col>
</div> </div>
</el-col> </el-col>
<add-dialog ref="addDialog"></add-dialog>
</div> </div>
</template> </template>
<script> <script>
import event from "../event"; import event from "../event";
import addDialog from "./addDialog.vue";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [event], mixins: [event],
components: {
'add-dialog': addDialog
},
data() { data() {
return { return {
activeTab: 'fb',
load: false, load: false,
subtypCodes: [], subtypCodes: [],
multipleSelection: [], 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 @@ ...@@ -4,7 +4,7 @@
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="120px" label-width="100px"
label-position="right" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :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