Commit 12ba4545 by hewei

fxtsqo剩余部分补全

parent ce2cacc9
...@@ -28,8 +28,8 @@ const BusRouter = [ ...@@ -28,8 +28,8 @@ const BusRouter = [
meta: { title: "结售汇平盘登记" }, meta: { title: "结售汇平盘登记" },
module: "Funds", module: "Funds",
}, },
// { path: 'fxtsqo', component: ()=>import("./Fxtsqo/views"), name: 'Fxtsqo', meta: { title: 'Fxtsqo' } ,module:'Funds'},
{ path: 'fxtssb', component: ()=>import("./Fxtssb/views"), name: 'Fxtssb', meta: { title: 'Fxtssb' } ,module:'Funds'}, { 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: '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'},
]; ];
export default BusRouter; export default BusRouter
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12">
<c-col :span="12"> <c-form-item label="XMLPanel fxtapll1的内置block" prop="fxtapll1blk">
<c-form-item label="XMLPanel fxtapll1的内置block" prop="fxtapll1blk"> <c-mul-row-input :rows="4" :cols="50" :autosize="{minRows: 4, maxRows: 4}" v-model="model.fxtapll1blk" show-word-limit></c-mul-row-input>
<c-input type="textarea" v-model="model.fxtapll1blk" maxlength="200" show-word-limit :placeholder="$t('other.please_enter')+'XMLPanel fxtapll1的内置block'" ></c-input> </c-form-item>
</c-form-item>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -16,19 +15,17 @@ import Event from "../model/Event" ...@@ -16,19 +15,17 @@ import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
} }
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {
} }
} }
</script> </script>
<style> <style></style>
</style>
<template> <template>
<div class="eContainer"> <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-page title="结售汇报价">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick" > <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<!--Quote --> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick" >
<el-tab-pane :label="$t('fxtsqo.Quote')" name="quop"> <!--Quote -->
<m-quop :model="model" :codes="codes"/> <el-tab-pane :label="$t('fxtsqo.Quote')" name="quop">
</el-tab-pane> <m-quop :model="model" :codes="codes"/>
<!--业务凭证 --> </el-tab-pane>
<el-tab-pane :label="$t('fxtsqo.业务凭证')" name="fxtapll1"> <!--业务凭证 -->
<m-fxtapll1 :model="model" :codes="codes"/> <el-tab-pane :label="$t('fxtsqo.业务凭证')" name="fxtapll1">
</el-tab-pane> <m-fxtapll1 :model="model" :codes="codes"/>
<el-tab-pane :label="$t('commonModels.保证金')"> </el-tab-pane>
<c-content> <el-tab-pane :label="$t('commonModels.保证金')">
<m-ccvpan :model="model" :codes="codes"></m-ccvpan> <c-content>
</c-content> <m-ccvpan :model="model" :codes="codes"></m-ccvpan>
</el-tab-pane> </c-content>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan"> </el-tab-pane>
<c-content> <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
<m-setmod :model="model" :codes="codes"></m-setmod> <c-content>
</c-content> <m-setmod :model="model" :codes="codes"></m-setmod>
</el-tab-pane> </c-content>
<el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan"> </el-tab-pane>
<c-content> <el-tab-pane :label="$t('commonModels.报文/面函')" name="docpan">
<m-docpan :model="model" :codes="codes"></m-docpan> <c-content>
</c-content> <m-docpan :model="model" :codes="codes"></m-docpan>
</el-tab-pane> </c-content>
<!--外汇买卖水单/客户回单 --> </el-tab-pane>
<!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2"> <!--外汇买卖水单/客户回单 -->
<m-fxtapll2 :model="model" :codes="codes"/> <!-- <el-tab-pane :label="$t('fxtsqo.外汇买卖水单/客户回单')" name="fxtapll2">
</el-tab-pane> --> <m-fxtapll2 :model="model" :codes="codes"/>
</c-tabs> </el-tab-pane> -->
</el-form> </c-tabs>
</el-form>
<c-function-btn
:handleCheck="handleCheck"
:handleStash="handleStash"
:handleSubmit="handleSubmit"
@handleSureWarning="handleSureWarning"
ref="commonBtn"></c-function-btn>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fxtsqo from "../model" import Fxtsqo from "../model"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import Check from "../model/Check" import Check from "../model/Check"
import Default from "../model/Default" import Default from "../model/Default"
import Pattern from "../model/Pattern" import Pattern from "../model/Pattern"
...@@ -67,7 +77,7 @@ export default { ...@@ -67,7 +77,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess,event,buildFn], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess,event,buildFn,commonDepend,operationFunc], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "quop", tabVal: "quop",
...@@ -92,17 +102,15 @@ export default { ...@@ -92,17 +102,15 @@ export default {
}, },
created:async function(){ created:async function(){
console.log("进入fxtsqo交易"); console.log("进入fxtsqo交易");
let rtnmsg = await this.init({}) // todo 初始化方法
if(rtnmsg.respCode == SUCCESS) // let rtnmsg = await this.init({})
{ // if(rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data) // this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 // //TODO 处理数据逻辑
} // } else {
else // this.$notify.error({title: '错误',message: '服务请求失败!'});
{ // }
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} }
</script> </script>
......
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