Commit 2cea16e3 by liaoxing

betset 修改

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