Commit 71d4147a by 李少勇

Sndselcop 交易优化修改

parent 21e49d7e
...@@ -209,7 +209,7 @@ export default { ...@@ -209,7 +209,7 @@ export default {
{ {
label: "币种", label: "币种",
prop: "cur", prop: "cur",
width: "100px" width: "80px"
}, },
{ {
label: "金额", label: "金额",
......
import Api from "~/service/Api"; import Api from "~/service/Api";
import getSubtyp from '~/page/Frontend/Rcvsel/event/getSubtyp.js'; import getSubtyp from '~/page/Frontend/Rcvsel/event/getSubtyp.js';
import moment from "moment"; import moment from "moment";
import Sndsel from "../model";
import Utils from "~/utils";
export default { export default {
mixins: [getSubtyp], mixins: [getSubtyp],
...@@ -61,23 +63,9 @@ export default { ...@@ -61,23 +63,9 @@ export default {
this.load = false; this.load = false;
}, },
async handleReset() { async handleReset() {
this.model.sndp.msgtyp = ""; let resetModel = new Sndsel().data
this.model.sndp.rcvdatsta = new Date(); Utils.copyValueFromVoData(this.model, resetModel);
this.model.sndp.rcvdatend = new Date(); this.handleSearch();
this.model.sndp.subtyp = "";
this.model.sndp.sndbak = "";
this.model.sndp.revbak = "";
this.model.sndp.actbic = "";
this.model.sndp.othref = "";
this.model.sndp.ownref = "";
this.model.sndp.cur = "";
this.model.sndp.act = "";
this.model.sndp.amtmin = "";
this.model.sndp.amtmax = "";
this.model.sndp.chnipt = "";
this.model.sndp.rspsta = "";
this.model.sndp.dtlchg = "";
this.model.sndp.sta = "";
}, },
// pageSize改变 // pageSize改变
handleSizeChange(val) { handleSizeChange(val) {
......
...@@ -148,13 +148,14 @@ ...@@ -148,13 +148,14 @@
<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"
@row-dblclick="dbClickRow" @row-dblclick="dbClickRow"
size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> size="small" :border="true" height="calc(100vh - 420px)" :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"
:min-width="item.width"> :min-width="item.width">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select-value-to-label v-if="item.prop == 'sta'" v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label> <c-select-value-to-label v-if="item.prop == 'sta'" v-model="scope.row.sta" :code="codes.stacod"></c-select-value-to-label>
<span v-else-if="item.prop == 'amt'">{{ moneyFormat(scope.row.amt, scope.row.cur) }}</span>
<span v-else>{{ scope.row[item.prop] }}</span> <span v-else>{{ scope.row[item.prop] }}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -189,12 +190,12 @@ export default { ...@@ -189,12 +190,12 @@ export default {
{ {
label: "起息日", label: "起息日",
prop: "valdat", prop: "valdat",
width: "150px" width: "120px"
}, },
{ {
label: "20域编号", label: "20域编号",
prop: "ownref", prop: "ownref",
width: "150px" width: "120px"
}, },
{ {
label: "21域名编号", label: "21域名编号",
...@@ -204,17 +205,17 @@ export default { ...@@ -204,17 +205,17 @@ export default {
{ {
label: "币种", label: "币种",
prop: "cur", prop: "cur",
width: "100px" width: "80px"
}, },
{ {
label: "金额", label: "金额",
prop: "amt", prop: "amt",
width: "100px" width: "120px"
}, },
{ {
label: "账号", label: "账号",
prop: "act", prop: "act",
width: "100px" width: "150px"
}, },
{ {
label: "费用明细", label: "费用明细",
...@@ -224,7 +225,7 @@ export default { ...@@ -224,7 +225,7 @@ export default {
{ {
label: "报文类型", label: "报文类型",
prop: "subtyp", prop: "subtyp",
width: "120px" width: "150px"
}, },
{ {
label: "行内系统", label: "行内系统",
...@@ -259,12 +260,12 @@ export default { ...@@ -259,12 +260,12 @@ export default {
{ {
label: "报文标准", label: "报文标准",
prop: "msgtyp", prop: "msgtyp",
width: "150px" width: "120px"
}, },
{ {
label: "GPI标识", label: "GPI标识",
prop: "gpi", prop: "gpi",
width: "150px" width: "120px"
}, },
{ {
label: "子系统", label: "子系统",
......
...@@ -22,19 +22,17 @@ import Sndsel from "../model"; ...@@ -22,19 +22,17 @@ import Sndsel from "../model";
import event from "../event" import event from "../event"
import Schpnl from "./Schpnl.vue" import Schpnl from "./Schpnl.vue"
export default { export default {
name: "Sndselcop", name: "Sndselcop",
components:{ components:{
"m-schpnl" : Schpnl, "m-schpnl" : Schpnl,
}, },
provide() { provide() {
return { return {
root: this root: this
} }
}, },
mixins: [event], // 里面包含了Default、Check等的公共处理 mixins: [event],
data(){ data(){
return { return {
tabVal: "schpnl", tabVal: "schpnl",
......
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