Commit 45bf0ea6 by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents 8eae094b 0844be95
...@@ -5,32 +5,36 @@ export default { ...@@ -5,32 +5,36 @@ export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
// 双击 // 双击
async dbClickRow(row) { async dbClickRow (row) {
let rtnmsg = await Api.post("/frontend/oftsel/dblclick", { let rtnmsg = await Api.post("/frontend/batdis/dblclick", {
objtyp: row.objtyp, objtyp: row.objtyp,
smdinr: row.objinr, objinr: row.objinr,
}); });
console.log(rtnmsg)
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.routerPush({ this.routerPush({
path: '/business/msgdtl', path: '/business/msgdtl',
query: { query: {
mpsinr: rtnmsg.mpsinr mpsinr: rtnmsg.data.mpsinr
} }
}) })
} }
}, },
// 详情 // 详情
async toDetails(row) { async toDetails () {
let rtnmsg = await Api.post("/frontend/oftsel/display", { console.log(this.model.batgrp.dotlst)
inr: row.inr console.log(this.model.batgrp.dotlst[0].inr)
let rtnmsg = await Api.post("/frontend/batdis/display", {
inr: this.model.batgrp.dotlst[0].inr
}); });
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.detailsInfo = rtnmsg.data; this.detailsInfo = rtnmsg.data.batgrp.doelst;
this.$refs.infoShow.visible = true; this.$refs.infoShow.visible = true;
} }
}, },
// 取消关联 // 取消关联
toCancelRelate(row) { toCancelRelate (row) {
console.log(row)
if (row.objtyp == 'smd') { if (row.objtyp == 'smd') {
this.$notify.error({ this.$notify.error({
title: '错误', title: '错误',
...@@ -45,6 +49,7 @@ export default { ...@@ -45,6 +49,7 @@ export default {
}); });
return; return;
} }
console.log("row:" + row.inr)
this.routerPush({ this.routerPush({
path: '/business/offrel', path: '/business/offrel',
query: { query: {
......
...@@ -40,17 +40,17 @@ ...@@ -40,17 +40,17 @@
<c-col :span="12" style="padding-left: 20px"> <c-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="状态" prop="batgrp.dot.sta"> <el-form-item label="状态" prop="batgrp.dot.sta">
<c-input type="text" v-model="model.batgrp.dot.sta"></c-input> <c-select type="text" v-model="model.batgrp.dot.sta" :code="codes.zfqzsta"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="记帐状态" prop="batgrp.dot.recsta"> <el-form-item label="记帐状态" prop="batgrp.dot.recsta">
<c-input type="text" v-model="model.batgrp.dot.recsta"></c-input> <c-select type="text" v-model="model.batgrp.dot.recsta" :code="codes.recsta"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="勾销标志" prop="batgrp.dot.offsta"> <el-form-item label="勾销标志" prop="batgrp.dot.offsta">
<c-input type="text" v-model="model.batgrp.dot.offsta"></c-input> <c-select type="text" v-model="model.batgrp.dot.offsta" :code="codes.offsta"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -66,6 +66,10 @@ ...@@ -66,6 +66,10 @@
</c-col> </c-col>
</c-col> </c-col>
<el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;">
<c-button style="margin-left: 0" type='primary' size="medium" @click="toDetails()">详情</c-button>
</el-col>
<c-col :span="24"> <c-col :span="24">
<div class="e-table-wrapper"> <div class="e-table-wrapper">
<el-table <el-table
...@@ -131,7 +135,7 @@ ...@@ -131,7 +135,7 @@
</el-table-column> </el-table-column>
<el-table-column fixed="right" label="操作" width="240px"> <el-table-column fixed="right" label="操作" width="240px">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" type='text' size="small" @click="toDetails(scope.row)">详情</c-button> <!-- <c-button style="margin-left: 0" type='text' size="small" @click="toDetails(scope.row)">详情</c-button> -->
<c-button style="margin-left: 0" type='text' size="small" @click="toCancelRelate(scope.row)">取消关联</c-button> <c-button style="margin-left: 0" type='text' size="small" @click="toCancelRelate(scope.row)">取消关联</c-button>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -60,16 +60,19 @@ export default { ...@@ -60,16 +60,19 @@ export default {
traname1: '' traname1: ''
}; };
const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params); const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params);
console.log(rtnmsg);
console.log(rtnmsg.respCode === SUCCESS);
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
Utils.copyValueFromVoData(this.model.batgrp, rtnmsg.data); Utils.copyValueFromVoData(this.model.batgrp, rtnmsg.data.batgrp);
console.log(this.model.batgrp)
} }
this.model.batgrp.dotlst = [ // this.model.batgrp.dotlst = [
{ // {
rsptim: '1', // rsptim: '1',
valdat: '1', // valdat: '1',
ownref: '1', // ownref: '1',
} // }
] // ]
} }
} }
</script> </script>
......
...@@ -4,8 +4,8 @@ import Api from '~/service/Api'; ...@@ -4,8 +4,8 @@ import Api from '~/service/Api';
export default { export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
async toSubmit() { async toSubmit () {
let rtnmsg = await Api.post("/frontend/oftsel/sav", this.model); let rtnmsg = await Api.post("/frontend/offrel/sav", this.model);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.$notify.success({ this.$notify.success({
title: '成功', title: '成功',
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="状态" prop="oftgrp.dot.sta"> <el-form-item label="状态" prop="oftgrp.dot.sta">
<c-input type="text" v-model="model.oftgrp.dot.sta"></c-input> <c-select type="text" v-model="model.oftgrp.dot.sta" :code="codes.zfqzsta"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="勾销标志" prop="oftgrp.dot.offsta"> <el-form-item label="勾销标志" prop="oftgrp.dot.offsta">
<c-input type="text" v-model="model.oftgrp.dot.offsta"></c-input> <c-select type="text" v-model="model.oftgrp.dot.offsta" :code="codes.offsta" ></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -55,12 +55,12 @@ ...@@ -55,12 +55,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="关联类型" prop="oftgrp.dot.objtyp"> <el-form-item label="关联类型" prop="oftgrp.dot.objtyp">
<c-input type="text" v-model="model.oftgrp.dot.objtyp"></c-input> <c-select type="text" v-model="model.oftgrp.dot.objtyp" :code="codes.dottyp"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="记帐状态" prop="oftgrp.dot.recsta"> <el-form-item label="记帐状态" prop="oftgrp.dot.recsta">
<c-input type="text" v-model="model.oftgrp.dot.recsta"></c-input> <c-select type="text" v-model="model.oftgrp.dot.recsta" :code="codes.recsta"></c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -64,11 +64,13 @@ export default { ...@@ -64,11 +64,13 @@ export default {
created: async function () { created: async function () {
console.log("进入offrel交易"); console.log("进入offrel交易");
let params = { let params = {
inr: this.$route.query.inr || "", dotinr: this.$route.query.inr || "",
}; };
console.log(params)
const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params); const rtnmsg = await Api.post(`/${this.moduleRouter()}/${this.trnName}/init`, params);
console.log(rtnmsg)
if (rtnmsg.respCode === SUCCESS) { if (rtnmsg.respCode === SUCCESS) {
Utils.copyValueFromVoData(this.model.oftgrp, rtnmsg.data); Utils.copyValueFromVoData(this.model.oftgrp, rtnmsg.data.oftgrp);
} }
} }
} }
......
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts" import Pts from "~/page/Model/Common/Pts"
export default class Oftopn { export default class Oftdtl {
constructor() { constructor() {
this.data = { this.data = {
oftp: { oftp: {
......
...@@ -53,25 +53,26 @@ export default { ...@@ -53,25 +53,26 @@ export default {
async handleReset () { async handleReset () {
this.model = new Oftsel().data; this.model = new Oftsel().data;
}, },
async dbClickRow(row) { async dbClickRow (row) {
// let rtnmsg = await Api.post("/frontend/oftsel/storeDate", { let rtnmsg = await Api.post("/frontend/oftsel/storeDate", {
// inr: row.inr inr: row.inr
// }); });
// if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
// this.routerPush({ this.routerPush({
// path: '/business/batdis', path: '/business/batdis',
// query: { query: {
// inr: rtnmsg.data inr: rtnmsg.data.dotinr,
// } traname1: rtnmsg.data.traname1
// }) }
// } })
this.routerPush({ }
path: '/business/batdis', // this.routerPush({
query: { // path: '/business/batdis',
inr: '0000000000001594' // query: {
} // inr: '0000000000001594'
}) // }
// })
}, },
// pageSize改变 // pageSize改变
handleSizeChange (val) { handleSizeChange (val) {
......
import commonFunctions from '~/mixin/commonFunctions.js'; import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api'; import Api from '~/service/Api';
import Utils from "~/utils";
export default { export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
async getOwnref() { async getOwnref() {
} },
async onAccChange(){
console.log("~~~~~~~~~");
console.log(this.model.fxdgrp);
Utils.copyValueFromVoData(this.model.aplacc, this.model.fxdgrp.acc, ignoreModFlg);
// this.model.aplacc=this.model.fxdgrp.acc;
console.log("~~~~~~~~~");
console.log(this.model.fxdgrp);
},
} }
} }
\ No newline at end of file
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
<el-card class="box-card"> <el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true" <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false" :isShowCard="false"
@handleChange="onAccChange"
:argadr="{title: '平盘对手账户行', grp: 'fxdgrp', rol: 'acc',}" :argadr="{title: '平盘对手账户行', grp: 'fxdgrp', rol: 'acc',}"
:label="{labelExtkey:'平盘对手账户行',labelNam:'名称',labelAdrblk:'地址',}" :label="{labelExtkey:'平盘对手账户行',labelNam:'名称',labelAdrblk:'地址',}"
ptytyp="B"> ptytyp="B">
......
import commonFunctions from '~/mixin/commonFunctions.js'; import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api'; import Api from '~/service/Api';
import Utils from "~/utils";
export default { export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
async getOwnref() { async getOwnref() {
} },
async onAccChange(){
console.log("~~~~~~~~~");
console.log(this.model.fxdgrp);
Utils.copyValueFromVoData(this.model.aplacc, this.model.fxdgrp.acc, ignoreModFlg);
// this.model.aplacc=this.model.fxdgrp.acc;
console.log("~~~~~~~~~");
console.log(this.model.fxdgrp);
},
} }
} }
\ No newline at end of file
...@@ -28,14 +28,15 @@ export default { ...@@ -28,14 +28,15 @@ export default {
objinr: model.fxdgrp.rec.inr, objinr: model.fxdgrp.rec.inr,
ownref: model.fxdgrp.rec.ownref, ownref: model.fxdgrp.rec.ownref,
fxtyp:model.fxdgrp.rec.fxtyp, fxtyp:model.fxdgrp.rec.fxtyp,
acc: model.fxdgrp.rec.acc,
acc2: model.fxdgrp.rec.acc2,
dsp: model.fxdgrp.rec.dsp, dsp: model.fxdgrp.rec.dsp,
dsp2: model.fxdgrp.rec.dsp2, dsp2: model.fxdgrp.rec.dsp2,
trdint: model.fxdgrp.rec.trdint, trdint: model.fxdgrp.rec.trdint,
trdout: model.fxdgrp.rec.trdout, trdout: model.fxdgrp.rec.trdout,
trnman: model.fxdgrp.rec.trnman, trnman: model.fxdgrp.rec.trnman,
rat: model.fxdgrp.rec.rat, rat: model.fxdgrp.rec.rat,
swtflg: model.swtflg,
acc1:model.acc1,
acc2:model.acc2,
}, },
cbsMap: { cbsMap: {
MAX: model.fxdgrp.cbs.max, MAX: model.fxdgrp.cbs.max,
......
import commonFunctions from '~/mixin/commonFunctions.js'; import commonFunctions from '~/mixin/commonFunctions.js';
import Api from '~/service/Api'; import Api from '~/service/Api';
import Utils from "~/utils";
export default { export default {
mixins: [commonFunctions], mixins: [commonFunctions],
methods: { methods: {
async onAccChange(){
console.log("~~~~~~~~~");
console.log(this.model.fxdgrp);
Utils.copyValueFromVoData(this.model.aplacc, this.model.fxdgrp.acc, ignoreModFlg);
// this.model.aplacc=this.model.fxdgrp.acc;
console.log("~~~~~~~~~");
console.log(this.model.fxdgrp);
},
} }
} }
\ No newline at end of file
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin: 0 0" style="margin: 0 5px"
size="small" size="small"
type="primary" type="primary"
disabled disabled
@click="getOwnref"
> >
获取 获取
</c-button> </c-button>
...@@ -30,14 +30,29 @@ ...@@ -30,14 +30,29 @@
<!-- 资金部负责人 --> <!-- 资金部负责人 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fxtlcm.资金部负责人')" prop="fxdgrp.rec.ownusr"> <c-form-item :label="$t('fxtlcm.资金部负责人')" prop="fxdgrp.rec.ownusr">
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input> <c-fullbox>
</c-form-item> <c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
<template slot="footer">
<c-button style="margin: 0 5px" size="small" type="primary">
i
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col> </c-col>
<!-- 清算中心负责人 --> <!-- 清算中心负责人 -->
<c-col :span="24"> <c-col :span="24">
<c-form-item :label="$t('fxtlcm.清算中心负责人')" prop="fxdgrp.rec.usr"> <c-form-item :label="$t('fxtlcm.清算中心负责人')" prop="fxdgrp.rec.usr">
<c-input v-model="model.fxdgrp.rec.usr" maxlength="8"></c-input> <c-fullbox>
</c-form-item> <c-input v-model="model.fxdgrp.rec.usr" maxlength="8"></c-input>
<template slot="footer">
<c-button style="margin: 0 5px" size="small" type="primary">
i
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col> </c-col>
<!-- 平盘类型 --> <!-- 平盘类型 -->
<c-col :span="24"> <c-col :span="24">
...@@ -106,6 +121,10 @@ ...@@ -106,6 +121,10 @@
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-checkbox true-label="X" v-model="model.swtflg">发送MT300</c-checkbox>
</c-col>
</c-col> </c-col>
<!-- ==============================右边============================== --> <!-- ==============================右边============================== -->
...@@ -118,55 +137,78 @@ ...@@ -118,55 +137,78 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-card class="box-card">
<c-ptap <c-ptap
:model="model" :model="model"
:requiredExtkey="true" :requiredExtkey="true"
:disabledExtkey="true" :disabledExtkey="true"
:disabled="true" :disabled="true"
:isAdrblk="true" :isAdrblk="true"
:haveAdrLabel="true" :haveAdrLabel="true"
:argadr="{ title: '平盘对手', grp: 'fxdgrp', rol: 'apl' }" :argadr="{ title: '平盘对手', grp: 'fxdgrp', rol: 'apl' }"
:label="{ :label="{
labelExtkey: '平盘对手', labelExtkey: '平盘对手',
labelNam: '名称', labelNam: '名称',
labelAdrblk: '地址', labelAdrblk: '地址',
}" }"
ptytyp="C" ptytyp="C"
> >
</c-ptap> </c-ptap>
</el-card> </el-card>
</c-col> </c-col>
<!-- 平盘对手账号 对应model下面的aplacc ,优化时需要修改grp 和rol --> <!-- 平盘对手账号 对应model下面的aplacc ,优化时需要修改grp 和rol -->
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false"
@handleChange="onAccChange"
:argadr="{title: '平盘对手账户行', grp: 'fxdgrp', rol: 'acc',}"
:label="{labelExtkey:'平盘对手账户行',labelNam:'名称',labelAdrblk:'地址',}"
ptytyp="B">
</c-ptap>
</el-card>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card"> <el-form-item label="Account" prop="acc2">
<c-ptap <el-select
:model="model" v-model="model.acc2" clearablex
:requiredExtkey="true" placeholder="请选择账号"
:disabled="false" >
:isAdrblk="true" <el-option v-for="item in acc2List" :key="item" :label="item"
:haveAdrLabel="true" :value="item">
:isShowCard="false" <span style="float: left">{{ item }}</span>
:argadr="{ title: '平盘对手账号', grp: 'fxdgrp', rol: 'acc' }" </el-option>
ptytyp="B" </el-select>
> </el-form-item>
</c-ptap> </c-col>
</el-card>
<c-col :span="24">
<el-card class="box-card">
<c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="true" :isAdrblk="true" :haveAdrLabel="true"
:isShowCard="false"
:argadr="{title: '我行账户行', grp: 'fxdgrp', rol: 'act',}"
:label="{labelExtkey:'我行账户行',labelNam:'名称',labelAdrblk:'地址',}"
ptytyp="B">
</c-ptap>
</el-card>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-card class="box-card">
<c-ptap
:model="model" <el-form-item label="Account" prop="acc1">
:requiredExtkey="true" <el-select
:disabled="false" v-model="model.acc1" clearablex
:isAdrblk="true" placeholder="请选择账号"
:haveAdrLabel="true" >
:isShowCard="false" <el-option v-for="item in acc1List" :key="item" :label="item"
:argadr="{ title: '我行账户行', grp: 'fxdgrp', rol: 'act' }" :value="item">
ptytyp="B" <span style="float: left">{{ item }}</span>
> </el-option>
</c-ptap> </el-select>
</el-card> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -175,17 +217,34 @@ ...@@ -175,17 +217,34 @@
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "../event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [Event,commonProcess],
data(){ data(){
return {} return {
acc1List:['1111120209999','1111120209998'],
acc2List:['2222220209999','2222220209998'],
}
}, },
methods:{}, methods:{...Event},
created:function(){} created:function(){},
watch: {
// "model.fxdgrp.acc.pts.ptainr": {
// immediate: true,
// handler(val, oldval) {
// console.log("~~~~~~~");
// if (val !== oldval){
// this.model.aplacc=this.model.fxdgrp.acc;
// console.log("~~~~~~~");
// console.log(this.model);
// }},
// },
}
} }
</script> </script>
<style> <style>
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "../model/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "../model/Event" import Event from "../model/event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template>
<div class="eibs-tab">
<c-collapse v-model="activeNames">
<el-collapse-item title="平盘确认信息" name="cnfp" >
<m-cnfp :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="Mt300报文信息" name="mt300" v-if="model.swtflg=='X'">
<m-mt300 :model="model" :codes="codes" ref="mt300" />
</el-collapse-item>
</c-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Event from "../event";
import Cnfp from "./Cnfp";
import Mt300 from "./Mt300";
export default {
components: {
"m-cnfp": Cnfp,
"m-mt300": Mt300,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [Event],
data() {
return {
activeNames: ["cnfp", "mt300"],
};
},
methods: {
handleChange(val) {
console.log(val);
},
},
created: function () {},
};
</script>
<style>
.marginLable {
padding-left: 160px;
}
</style>
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--fxtlcm PD000001 Confirmation --> <!--fxtlcm PD000001 Confirmation -->
<el-tab-pane :label="$t('fxtlcm.Confirmation')" name="cnfp"> <el-tab-pane :label="$t('fxtlcm.业务信息')" name="ovwp">
<m-cnfp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan"> <el-tab-pane :label="$t('commonModels.费用/账务')" name="setpan">
...@@ -36,18 +36,20 @@ import Api from "~/service/Api" ...@@ -36,18 +36,20 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Fxtlcm from "../model" import Fxtlcm from "../model"
import operationFunc from "~/mixin/operationFunc" import operationFunc from "~/mixin/operationFunc"
import Cnfp from "./Cnfp" import Ovwp from "./Ovwp"
import Setpan from "~/components/business/setmod/views"; import Setpan from "~/components/business/setmod/views";
import Docpan from "~/components/business/docpan/views"; import Docpan from "~/components/business/docpan/views";
import event from "../event"; import event from "../event";
import Check from "../model/Check"
import commonDepend from "~/mixin/commonDepend"; import commonDepend from "~/mixin/commonDepend";
import buildFn from "../event/buildCommons.js"; import buildFn from "../event/buildCommons.js";
import commonProcess from "~/mixin/commonProcess"
export default { export default {
name: "Fxtlcm", name: "Fxtlcm",
components:{ components:{
"m-cnfp" : Cnfp, "m-ovwp" : Ovwp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-docpan": Docpan "m-docpan": Docpan
}, },
...@@ -56,15 +58,15 @@ export default { ...@@ -56,15 +58,15 @@ export default {
root: this root: this
} }
}, },
mixins: [operationFunc, event, commonDepend, buildFn], mixins: [operationFunc, event, commonDepend, buildFn,commonProcess],
data(){ data(){
return { return {
tabVal: "cnfp", tabVal: "ovwp",
trnName: "fxtlcm", trnName: "fxtlcm",
trnType: "", trnType: "",
model: new Fxtlcm().data, model: new Fxtlcm().data,
codes: { ...CodeTable }, codes: { ...CodeTable },
rules: {}, rules: Check,
} }
}, },
methods:{ methods:{
......
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