Commit 7b95c46c by 李少勇

smtsel和smpsel交易调整

parent f6fee93e
import Api from "~/service/Api"; import Api from "~/service/Api";
import moment from "moment"; import moment from "moment";
import Smpsel from "../model";
import Utils from "~/utils";
export default { export default {
methods: { methods: {
async handleSearch() { async handleSearch() {
...@@ -28,9 +29,8 @@ export default { ...@@ -28,9 +29,8 @@ export default {
this.load = false; this.load = false;
}, },
async handleReset() { async handleReset() {
this.model.smdp.smdsup.ptpmod.pty.extkey = '' let resetModel = new Smpsel().data
this.model.smdp.smdsup.act = '' Utils.copyValueFromVoData(this.model, resetModel);
this.model.smdp.smdsup.cur = ''
}, },
// pageSize改变 // pageSize改变
handleSizeChange(val) { handleSizeChange(val) {
......
...@@ -12,10 +12,10 @@ export default class Smpsel { ...@@ -12,10 +12,10 @@ export default class Smpsel {
smtno: "", smtno: "",
begnum: "", begnum: "",
endnum: "", endnum: "",
begdat: new Date((new Date).getTime() - (3 * 24 * 60 * 60 * 1000)), begdat: '',
enddat: new Date(), enddat: '',
valdatbeg: new Date((new Date).getTime() - (3 * 24 * 60 * 60 * 1000)), valdatbeg: '',
valdatend: new Date(), valdatend: '',
smpp: { smpp: {
smpsup: { smpsup: {
smtno: "", // : .smpp.smpsup.smtno smtno: "", // : .smpp.smpsup.smtno
......
...@@ -97,37 +97,52 @@ ...@@ -97,37 +97,52 @@
height="calc(100vh - 280px)" height="calc(100vh - 280px)"
:highlight-current-row="true" :highlight-current-row="true"
> >
<el-table-column prop="chk" label="" width="30"> <!-- <el-table-column prop="chk" label="" width="30">
</el-table-column> -->
<el-table-column prop="recdat" label="收报日期" width="120">
</el-table-column> </el-table-column>
<el-table-column prop="recdat" label="收报日期" width="90"> <el-table-column prop="valdat" label="起息日期" width="120">
</el-table-column>
<el-table-column prop="valdat" label="起息日期" width="90">
</el-table-column> </el-table-column>
<el-table-column prop="chnnam" label="账户行名称" width="150"> <el-table-column prop="chnnam" label="账户行名称" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="bic" label="BIC" width="90"> <el-table-column prop="bic" label="BIC" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="act" label="帐号" width="100"> <el-table-column prop="act" label="帐号" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="cur" label="币种" width="100"> <el-table-column prop="cur" label="币种" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="ref" label="对账单参考号" width="130"> <el-table-column prop="ref" label="对账单参考号" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="smtno" label="所属单编号" width="150"> <el-table-column prop="smtno" label="所属单编号" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="pagnum" label="页码" width="50"> <el-table-column prop="pagnum" label="页码" width="100">
</el-table-column> </el-table-column>
<el-table-column prop="pagamenum" label="修改后页码" width="150"> <el-table-column prop="pagamenum" label="修改后页码" width="120">
</el-table-column> </el-table-column>
<el-table-column prop="begamt" label="页初金额" width="120"> <el-table-column prop="begamt" label="页初金额" width="120">
<template slot-scope="scope">
{{ moneyFormat(scope.row.begamt, scope.row.cur) }}
</template>
</el-table-column> </el-table-column>
<el-table-column prop="newbegamt" label="修改后页初金额" width="150"> <el-table-column prop="newbegamt" label="修改后页初金额" width="150">
<template slot-scope="scope">
{{ moneyFormat(scope.row.newbegamt, scope.row.cur) }}
</template>
</el-table-column> </el-table-column>
<el-table-column prop="endamt" label="页末金额" width="120"> <el-table-column prop="endamt" label="页末金额" width="120">
<template slot-scope="scope">
{{ moneyFormat(scope.row.endamt, scope.row.cur) }}
</template>
</el-table-column> </el-table-column>
<el-table-column prop="newendamt" label="修改后页末金额" width="150"> <el-table-column prop="newendamt" label="修改后页末金额" width="150">
<template slot-scope="scope">
{{ moneyFormat(scope.row.newendamt, scope.row.cur) }}
</template>
</el-table-column> </el-table-column>
<el-table-column prop="endvalamt" label="页末可用金额" width="150"> <el-table-column prop="endvalamt" label="页末可用金额" width="150">
<template slot-scope="scope">
{{ moneyFormat(scope.row.endvalamt, scope.row.cur) }}
</template>
</el-table-column> </el-table-column>
<el-table-column prop="dtlamt" label="明细条数" width="100"> <el-table-column prop="dtlamt" label="明细条数" width="100">
</el-table-column> </el-table-column>
......
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
<c-content> <c-content>
<m-smpp01 :model="model" :codes="codes" /> <m-smpp01 :model="model" :codes="codes" />
......
import Api from "~/service/Api"; import Api from "~/service/Api";
import Smtsel from "../model";
import Utils from "~/utils";
export default { export default {
mixins: [], mixins: [],
methods: { methods: {
...@@ -25,15 +27,8 @@ export default { ...@@ -25,15 +27,8 @@ export default {
this.load = false; this.load = false;
}, },
async handleReset() { async handleReset() {
this.model.extkey = ""; let resetModel = new Smtsel().data
this.model.sndref = ""; Utils.copyValueFromVoData(this.model, resetModel);
this.model.flg = "";
this.model.sta = "";
this.model.acksrv = "";
this.model.elcmsgtyp = ""
this.model.rcvdat = $CurDate();
this.model.gendat = new Date(($CurDate()).getTime() - (7 * 24 * 60 * 60 * 1800));
this.model.endgendat = $CurDate();
}, },
// pageSize改变 // pageSize改变
handleSizeChange(val) { handleSizeChange(val) {
......
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
<c-content> <c-content>
......
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