Commit 05c6f4b5 by hewei

fxtsqo补全

parent 52261f53
......@@ -30,6 +30,6 @@ const BusRouter = [
},
{ path: 'fxtssb', component: ()=>import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: 'Fxtssb' } ,module:'Funds'},
{ path: 'fxtsss', component: ()=>import("./Fxtsss/views"), name: 'Fxtsss', meta: { title: 'Fxtsss' } ,module:'Funds'},
{ path: 'fxtsqo', component: ()=>import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: 'Fxtsqo' } ,module:'Funds'},
{ path: 'fxtsqo', component: ()=>import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: '结售汇报价' } ,module:'Funds'},
];
export default BusRouter
import Utils from "~/utils"
/**
* Fxtsqo Check规则
*/
let checkObj = {
"fxdgrp.apl.pts.adrblk" :null,
"fxdgrp.cbs.max.cur" :null,
"fxtp.cnychk" :null,
"fxdgrp.rec.setdatfrm" :null,
"fxdgrp.rec.setdatto" :null,
"fxdgrp.apl.pts.extkey" :null,
"mtabut.clsflg" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Fxtsqo Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"fxtp.cnychk" :Utils.defaultFunction,
"fxtp.frgchk" :Utils.defaultFunction,
"fxdgrp.rec.ownusr" :Utils.defaultFunction,
"fxdgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"fxdgrp.cbs.nom1.cur" :Utils.defaultFunction,
"fxdgrp.cbs.max.cur" :Utils.defaultFunction,
"fxdgrp.rec.rat" :Utils.defaultFunction,
"fxdgrp.cbs.nom1.amt" :Utils.defaultFunction,
"fxdgrp.cbs.max.amt" :Utils.defaultFunction,
"fxdgrp.apl.pts.adrblk" :Utils.defaultFunction,
"fxdgrp.rec.fxtyp" :Utils.defaultFunction,
"fxdgrp.rec.trnman" :Utils.defaultFunction,
"fxdgrp.apl.pts.extkey" :Utils.defaultFunction,
"fxdgrp.rec.ownref" :Utils.defaultFunction,
"mtabut.clsflg" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
}
\ No newline at end of file
export default {
"fxdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"fxdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"fxdgrp.rec.ownusr":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"fxtp.aplp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxtp.aplp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"fxdgrp.apl.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.apl.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"fxdgrp.rec.rat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"fxdgrp.rec.quoref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.rec.midrat":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"fxdgrp.rec.fudref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"fxdgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.rec.valdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.rec.setdat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.rec.setdatfrm":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.rec.setdatto":[
{type: "date", required: false, message: "输入正确的日期"}
],
"fxdgrp.blk.remark":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"fxtapll1blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
"fxtapll2blk":[
{type: "string", required: true, message: "必输项"},
{max: 200,message:"长度不能超过200"}
],
}
\ No newline at end of file
......@@ -70,6 +70,7 @@ export default class Fxtsqo {
setmod: new Pub().data.Setmod,
docpan: new Pub().data.Docpan,
liaccv: new Pub().data.Liaccv,
trndia: new Pub().data.Trndia,
}
}
}
\ No newline at end of file
......@@ -8,10 +8,7 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default {
inject: ['root'],
......@@ -22,7 +19,7 @@ export default {
}
},
methods: { ...Event },
methods: { },
created: function () {
}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="XMLPanel fxtapll2的内置block" prop="fxtapll2blk">
<c-input type="textarea" v-model="model.fxtapll2blk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel fxtapll2的内置block'" ></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
......@@ -215,10 +215,7 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default {
inject: ['root'],
......@@ -229,7 +226,7 @@ export default {
}
},
methods: { ...Event },
methods: { },
created: function () {
}
......
......@@ -11,7 +11,7 @@
<el-tab-pane :label="$t('fxtsqo.业务凭证')" name="fxtapll1">
<m-fxtapll1 :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane :label="$t('commonModels.保证金')">
<el-tab-pane :label="$t('commonModels.保证金')" name="ccvpan">
<c-content>
<m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</c-content>
......@@ -42,18 +42,12 @@
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Fxtsqo from "../model"
import Fxtsqo from "../model";
import commonProcess from "~/mixin/commonProcess";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/Check"
import Default from "../model/Default"
import Pattern from "../model/Pattern"
import Quop from "./Quop"
import Fxtapll1 from "./Fxtapll1"
import Fxtapll2 from "./Fxtapll2"
import Quop from "./Quop";
import Fxtapll1 from "./Fxtapll1";
import Setmod from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views";
......@@ -61,13 +55,11 @@ import Ccvpan from "~/components/business/ccvpan/views";
import event from "../event";
import buildFn from "../event/buildCommons.js";
export default {
name: "Fxtsqo",
components:{
"m-quop" : Quop,
"m-fxtapll1" : Fxtapll1,
"m-fxtapll2" : Fxtapll2,
"m-setmod": Setmod,
"m-docpan": Docpan,
"m-ccvpan": Ccvpan,
......@@ -84,9 +76,6 @@ export default {
trnName: "fxtsqo",
trnType: "",
model: new Fxtsqo().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
......
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