Commit 7b95c46c by 李少勇

smtsel和smpsel交易调整

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