Commit 2cea16e3 by liaoxing

betset 修改

parent 163347a8
......@@ -16,7 +16,7 @@ let checkObj = {
"bopmod.dbdgrp.bas.custype": null,
"bopmod.dbagrp.bas.outchargeccy": null,
"bopmod.dbagrp.bas.actiontype": null,
"bopmod.szflg": null,
// "bopmod.szflg": null,
"bopmod.dbdgrp.bas.actiontype": null,
"cnybop.traflg": null,
"bopmod.dbagrp.bas.inchargeccy": null,
......@@ -32,6 +32,9 @@ let checkObj = {
"cnybop.cnyinc.cpayeraccttyp": null,
"mtabut.clsflg": null,
"cnybop.vouflg": null,
"bopmod.szflg":[
{type: "string", required: true, message: "必输项"},
],
"betp.ledget.sdamod.dadsnd": [
{type: "string", required: false, message: "必输项"},
{max: 16, message: "长度不能超过16"}
......@@ -98,13 +101,13 @@ let checkObj = {
{max: 40, message: "长度不能超过40"}
],
"bedgrp.rec.matdat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.rcvdat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bedgrp.rec.predat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bedgrp.apl.pts.ref": [
{type: "string", required: false, message: "必输项"},
......@@ -135,7 +138,7 @@ let checkObj = {
{max: 18, message: "整数位不能超过14位"},
],
"trnmod.trndoc.nar754": [
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35, message: "长度不能超过35"}
],
"setmod.setamt": [
......@@ -260,16 +263,16 @@ let checkObj = {
{type: "string", required: false, message: "必输项"},
{max: 1, message: "长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt": [
{type: "string", required: true, message: "必输项"},
{max: 60, message: "长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt": [
{type: "string", required: true, message: "必输项"},
{max: 60, message: "长度不能超过60"}
],
// "mtabut.coninf.oitinf.oit.inftxt": [
// {type: "string", required: false, message: "必输项"},
// {max: 60, message: "长度不能超过60"}
// ],
// "mtabut.coninf.oitset.oit.inftxt": [
// {type: "string", required: false, message: "必输项"},
// {max: 60, message: "长度不能超过60"}
// ],
"mtabut.coninf.conexedat": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey": [
{type: "string", required: false, message: "必输项"},
......@@ -304,7 +307,7 @@ let checkObj = {
{max: 22, message: "长度不能超过22"}
],
"bopmod.outchargeamt": [
{type: "number", required: false, message: "必输项"}
{type: "string", required: false, message: "必输项"}
],
"bopmod.dbdgrp.bas.rptno": [
{type: "string", required: false, message: "必输项"},
......@@ -477,7 +480,7 @@ let checkObj = {
{max: 4, message: "长度不能超过4"}
],
"cnybop.cnyinc.dpayeedate": [
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"cnybop.cnyinc.fprepayeeamt": [
{type: "number", required: false, message: "必输项"},
......
......@@ -3,12 +3,6 @@ import Pub from '~/components/business/commonModel/index.js';
export default class Betset {
constructor() {
this.data = {
setmod: {
redamt: '',
setamt: '',
doccur: '',
docamt: ''
},
cnybop: {
sbankname: '',
outflg: '',
......@@ -70,12 +64,12 @@ export default class Betset {
cbs: {
opn1: {
cur: '',
amt: ''
amt: '0'
}
}
},
bopmod: {
outchargeamt: '',
outchargeamt: '0',
dbap: {
baspp: {
acp: ''
......
......@@ -88,6 +88,7 @@
import event from '../event';
import operationFunc from "~/mixin/operationFunc";
import CodeTable from "~/config/CodeTable"
import formRules from '../model/check'
import Betset from "../model";
import Ovwp from "./Ovwp"
......@@ -124,7 +125,7 @@ export default {
tabVal: "ovwp",
trnName: "betset",
model: new Betset().data,
rules: null,
rules: formRules,
codes: {
...CodeTable
},
......
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