Commit 7ca2aeda by liaoxing

botame修改

parent 8cbea1f0
......@@ -49,10 +49,14 @@ export default {
// purpos: model.bodgrp.rec.purpos,
// revflg: model.bodgrp.rec.revflg,
// cnfsta: model.bodgrp.rec.cnfsta,
amecur: model.trnmod.swiadd.amecur,
ameamt: model.trnmod.swiadd.ameamt,
newamt: model.trnmod.swiadd.newamt,
},
cbsMap: {
MAX: model.bodgrp.cbs.max,
OPN1: model.bodgrp.cbs.opn1,
OLDMAX: model.oldbodgrp.cbs.max,
// MAC: model.bodgrp.cbs.mac,
// MAC2: model.bodgrp.cbs.mac2,
// OPC2: model.bodgrp.cbs.opc2,
......
......@@ -377,7 +377,7 @@ let checkObj = {
"setmod.docamt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -17,10 +17,7 @@
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Litcan/Event";
import event from "../event";
//import Addbcb1 from "~/views/Public/Addbcb1";
import Coninfp from "~/views/Public/Coninfp";
......@@ -32,7 +29,7 @@
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
......
......@@ -358,15 +358,12 @@
</c-row>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botame/Event";
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
matpertyp: [
......
......@@ -175,15 +175,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
import event from "../event";
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
......
......@@ -90,15 +90,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdav/Event"
import event from "../event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
......
......@@ -26,10 +26,7 @@
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botame/Event";
import event from "../event";
import Ovwp1 from "./Ovwp1"
import Inst from "./Inst"
import Ptyp from "./Ptyp"
......@@ -46,7 +43,7 @@
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
activeNames: ["ovwp1"],
......
......@@ -431,11 +431,7 @@
</c-row>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Botame/Event";
import Utils from "~/utils";
import event from "../event";
import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default {
......@@ -445,7 +441,7 @@ export default {
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
mixins: [event],
data() {
return {
flag2:false,
......
......@@ -93,10 +93,7 @@
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botame/Event"
import event from "../event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
......@@ -104,7 +101,7 @@ export default {
components: { "c-ptap": Ptap },
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
mixins: [event],
data(){
return {
newValue: {
......
......@@ -70,15 +70,6 @@
</c-page>
</template>
<script>
// import Api from "~/service/Api"
// import CodeTable from "~/config/CodeTable"
// import Botame from "~/model/Botame"
// import commonProcess from "~/mixin/commonProcess"
// import commonFuncs from "~/mixin/commonFuncs";
// import Check from "~/model/Botame/Check"
// import Default from "~/model/Botame/Default"
// import Pattern from "~/model/Botame/Pattern"
import CodeTable from "~/config/CodeTable"
import Botame from "../model"
import formRules from '../model/check'
......@@ -90,13 +81,6 @@ import Inst from "./Inst"
import Ptyp from "./Ptyp"
import Instrecp from "./Instrecp"
// import Setpan from "~/components/business/setmod/views"
// import Glepan from "~/views/Public/Glepan"
// import Coninfp from "~/views/Public/Coninfp"
// import Docpan from "~/views/Public/Docpan"
// import Doctre from "~/views/Public/Doctre"
// import Engp from "~/views/Public/Engp"
import Setmod from "~/components/business/setmod/views"
import Docpan from "~/components/business/docpan/views";
import Engp from "~/components/business/engp/views";
......
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