Commit 88d7cefb by zenghuan

已记账记录查询、对账单明细查询、挂账处理

parent 99ba861c
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;
}
},
};
import Utils from "~/utils"
/**
* Oftame Check规则
*/
let checkObj = {
"oftp.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Oftame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpSer1(){
let rtnmsg = await this.executeRule("oftp.ser1")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpClr(){
let rtnmsg = await this.executeRule("oftp.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpCalsub(){
let rtnmsg = await this.executeRule("oftp.calsub")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpMankpa(){
let rtnmsg = await this.executeRule("oftp.mankpa")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpBatchacc(){
let rtnmsg = await this.executeRule("oftp.batchacc")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpPagechk(){
let rtnmsg = await this.executeRule("oftp.pagechk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onOftpCalchk(){
let rtnmsg = await this.executeRule("oftp.calchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"oftp.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.valdats":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.valdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.amtd":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.amtu":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"oftp.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.offdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.offdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"oftp.opusr":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"oftp.offrsn":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--oftp PD000058 人工勾销修改页面oftame -->
<el-tab-pane :label="$t('oftp.PD000058')" name="oftp2">
<m-oftp2 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
<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-oftp2 :model="model" :codes="codes" ref="oftp2"/>
</c-content>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Oftame from "../model"
import commonProcess from "~/mixin/commonProcess"
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Oftp2 from "./Oftp2"
import CodeTable from "~/config/CodeTable";
import Oftame from "../model";
import event from "../event"
import Oftp2 from "./Oftp2.vue"
export default {
name: "Oftame",
components:{
"m-oftp2" : Oftp2,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "oftp2",
trnName: "oftame",
trnType: "",
model: new Oftame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
kpatyp:CodeTable.kpatyp,
cur:CodeTable.cur,
sdcflg:CodeTable.sdcflg,
gpicod:CodeTable.gpicod,
offtyp:CodeTable.offtyp,
fmssta:CodeTable.fmssta,
clrsys:CodeTable.clrsys,
stacod:CodeTable.stacod,
recsta:CodeTable.recsta,
bnksta:CodeTable.bnksta,
gpista:CodeTable.gpista,
kpadir:CodeTable.kpadir,
area:CodeTable.area,
cpsfxdtyp:CodeTable.cpsfxdtyp,
rspsta:CodeTable.rspsta,
sta:CodeTable.sta,
actsta:CodeTable.actsta,
offsta:CodeTable.offsta,
batcharge:CodeTable.batcharge,
msgmst:CodeTable.msgmst,
yosflg:CodeTable.yosflg,
filtyp:CodeTable.filtyp,
dircod:CodeTable.dircod,
kpstyp:CodeTable.kpstyp,
dcflg:CodeTable.dcflg,
msgtyp:CodeTable.msgtyp,
chncod:CodeTable.chncod,
msgsta:CodeTable.msgsta,
usratr:CodeTable.usratr,
msgchksta:CodeTable.msgchksta,
setmth:CodeTable.setmth,
chniptcod:CodeTable.chniptcod,
dtlchg:CodeTable.dtlchg,
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入oftame交易");
let rtnmsg = {}; // await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
name: "Oftame",
components:{
"m-oftp2" : Oftp2,
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
provide() {
return {
root: this
}
}
},
mixins: [event], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "oftp2",
trnName: "oftame",
model: new Oftame().data,
rules: null,
codes:{...CodeTable},
};
},
methods:{},
created:async function() {},
};
</script>
<style>
<style scoped>
</style>
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;
}
},
};
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;
}
},
};
import Utils from "~/utils"
/**
* Smdsel Check规则
*/
let checkObj = {
"smdp.smdsup.ptpmod.pty.extkey" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Smdsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onPtpmodSel(){
let rtnmsg = await this.executeRule("ptpmod.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onRtn(){
let rtnmsg = await this.executeRule("rtn")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupAllchk(){
let rtnmsg = await this.executeRule("smdsup.allchk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupOpp(){
let rtnmsg = await this.executeRule("smdsup.opp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupPaglok(){
let rtnmsg = await this.executeRule("smdsup.paglok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupMsglok(){
let rtnmsg = await this.executeRule("smdsup.msglok")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupSel(){
let rtnmsg = await this.executeRule("smdsup.sel")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onSmdsupClr(){
let rtnmsg = await this.executeRule("smdsup.clr")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"smdp.smdsup.ptpmod.pty.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.ptpmod.pty.chnnam":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.act":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.begamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"smdp.smdsup.endamt":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"smdp.smdsup.ref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdgrp.smdsub.smd.othref":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.begrevdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.endrevdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.begdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.enddat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdgrp.smdsub.smd.busflg":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
"smdp.smdsup.accdatbeg":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.accdatend":[
{type: "date", required: false, message: "输入正确的日期"}
],
"smdp.smdsup.inf":[
{type: "string", required: false, message: "必输项"},
{max: 0,message:"长度不能超过0"}
],
}
\ No newline at end of file
......@@ -11,7 +11,6 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Smdsel from "../model"
import commonProcess from "~/mixin/commonProcess"
......
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