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="eibs-tab"> <div class="eibs-tab">
<!-- ==============================左边============================== -->
<!-- 结售汇业务参考号 --> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="12"> <!-- 结售汇业务参考号 -->
<c-form-item :label="$t('fxtsqo.Reference')" prop="fxdgrp.rec.ownref"> <c-col :span="24">
<c-input v-model="model.fxdgrp.rec.ownref" maxlength="16" <c-form-item :label="$t('fxtsqo.Reference')" prop="fxdgrp.rec.ownref">
:placeholder="$t('other.please_enter') + $t('fxtsqo.Reference')"></c-input> <c-input v-model="model.fxdgrp.rec.ownref" maxlength="16"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- 名称 --> <!-- 业务负责人 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('fxtsqo.Name')" prop="fxdgrp.rec.nam"> <c-form-item :label="$t('fxtsqo.Responsible User')" prop="fxdgrp.rec.ownusr">
<c-input v-model="model.fxdgrp.rec.nam" maxlength="40" <c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8"></c-input>
:placeholder="$t('other.please_enter') + $t('fxtsqo.Name')"></c-input> </c-form-item>
</c-form-item> </c-col>
</c-col>
<!-- 结售汇类型 -->
<!-- 结售汇申请人 --> <c-col :span="24">
<!-- 编号 --> <el-form-item :label="$t('fxtsqo.Exchange Type')" prop="fxdgrp.rec.fxtyp">
<c-col :span="12"> <c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%">
<c-form-item :label="$t('fxtsqo.Applicant')" prop="fxdgrp.apl.pts.ref"> </c-select>
<c-input v-model="model.fxdgrp.apl.pts.ref" maxlength="20" </el-form-item>
:placeholder="$t('other.please_enter') + $t('fxtsqo.Applicant')"></c-input> </c-col>
</c-form-item>
</c-col> <c-col :span="24">
<c-col :span="12">
<!-- 业务负责人 --> <el-form-item label="Purchase Amount" prop="fxdgrp.cbs.max.cur">
<c-col :span="12"> <c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%">
<c-form-item :label="$t('fxtsqo.Responsible')" prop="fxdgrp.rec.ownusr"> </c-select>
<c-input v-model="model.fxdgrp.rec.ownusr" maxlength="8" </el-form-item>
:placeholder="$t('other.please_enter') + $t('fxtsqo.Responsible')"></c-input> </c-col>
</c-form-item> <c-col :span="12">
</c-col> <c-form-item label-width="5px" prop="fxdgrp.cbs.max.amt">
<c-input v-model="model.fxdgrp.cbs.max.amt"></c-input>
<c-col :span="12"> </c-form-item>
<c-form-item label="Drag Drop Sender" prop="fxtp.aplp.ptsget.sdamod.dadsnd"> </c-col>
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.dadsnd" </c-col>
:placeholder="$t('other.please_enter') + 'Drag Drop Sender'"></c-input>
</c-form-item> <c-col :span="24">
</c-col> <c-col :span="12">
<el-form-item label="Domestic Cur.Amount" prop="fxdgrp.cbs.nom1.cur">
<c-col :span="12"> <c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%">
<c-form-item label="External Key of Address" prop="fxdgrp.apl.pts.extkey"> </c-select>
<c-input v-model="model.fxdgrp.apl.pts.extkey" maxlength="16" </el-form-item>
:placeholder="$t('other.please_enter') + 'External Key of Address'"></c-input> </c-col>
</c-form-item> <c-col :span="12">
</c-col> <c-form-item label-width="5px" prop="fxdgrp.cbs.nom1.amt">
<c-input v-model="model.fxdgrp.cbs.nom1.amt"></c-input>
<c-col :span="12"> </c-form-item>
<c-form-item label="" prop="fxtp.aplp.ptsget.sdamod.seainf"> </c-col>
<c-input v-model="model.fxtp.aplp.ptsget.sdamod.seainf" </c-col>
:placeholder="$t('other.please_enter') + ''"></c-input>
</c-form-item> <!-- 对外牌价 -->
</c-col> <c-col :span="24">
<c-form-item :label="$t('fxtp.Exchange Rate')" prop="fxdgrp.rec.rat">
<c-col :span="12"> <c-input v-model="model.fxdgrp.rec.rat"></c-input>
<c-button size="small" type="primary" @click="onAplpDet"> </c-form-item>
{{ $t('ptsp.CF000081') }} </c-col>
</c-button>
</c-col> <c-col :span="24">
<!-- S0000005 : 结售汇类型 --> <!-- 中间价 -->
<c-col :span="12">
<c-col :span="12"> <c-form-item :label="$t('fxtp.Middle Rate')" prop="fxdgrp.rec.midrat">
<el-form-item :label="$t('fxtsqo.S0000005')" prop="fxdgrp.rec.fxtyp"> <c-input v-model="model.fxdgrp.rec.midrat"></c-input>
<c-select v-model="model.fxdgrp.rec.fxtyp" style="width:100%" </c-form-item>
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000005')"> </c-col>
</c-select> <!-- 钞汇标志 -->
</el-form-item> <c-col :span="12">
</c-col> <el-form-item label-width="5px" prop="fxtp.cshflg">
<c-select v-model="model.fxtp.cshflg" style="width:100%">
<c-col :span="12"> </c-select>
<c-form-item label="Address Block" prop="fxdgrp.apl.pts.adrblk"> </el-form-item>
<c-input type="textarea" v-model="model.fxdgrp.apl.pts.adrblk" maxlength="35" show-word-limit </c-col>
:placeholder="$t('other.please_enter') + 'Address Block'"></c-input> </c-col>
</c-form-item>
</c-col> <!-- 登记日期 -->
<c-col :span="24">
<c-col :span="12"> <el-form-item :label="$t('fxtsqo.Open Date')" prop="fxdgrp.rec.opndat">
<c-form-item label="Chinese address" prop="fxdgrp.apl.dbfadrblkcn"> <c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%"></c-date-picker>
<c-input type="textarea" v-model="model.fxdgrp.apl.dbfadrblkcn" maxlength="35" show-word-limit </el-form-item>
:placeholder="$t('other.please_enter') + 'Chinese address'"></c-input> </c-col>
</c-form-item>
</c-col> <!-- 远期交割日 -->
<c-col :span="24">
<c-col :span="12"> <el-form-item :label="$t('fxtsqo.Settlement Date')" prop="fxdgrp.rec.setdat">
<span v-text="model.fxtp.amtlab" data-path=".fxtp.amtlab"> </span> <c-date-picker type="date" v-model="model.fxdgrp.rec.setdat" style="width:100%"></c-date-picker>
</c-col> </el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Currency" prop="fxdgrp.cbs.max.cur"> <!-- 择期交割起始日 -->
<c-select v-model="model.fxdgrp.cbs.max.cur" style="width:100%" <c-col :span="24">
:placeholder="$t('other.please_enter') + 'Currency'"> <el-form-item :label="$t('fxtsqo.Begin Date of Settle')" prop="fxdgrp.rec.setdatfrm">
</c-select> <c-date-picker type="date" v-model="model.fxdgrp.rec.setdatfrm" style="width:100%"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="Balance" prop="fxdgrp.cbs.max.amt"> <!-- 外币结算账号 -->
<c-input v-model="model.fxdgrp.cbs.max.amt" :placeholder="$t('other.please_enter') + 'Balance'"></c-input> <c-col :span="12">
</c-form-item> <el-form-item label="Foreign Cur.Account" prop="fxdgrp.rec.dsp">
</c-col> <c-select v-model="model.fxdgrp.rec.dsp" style="width:100%">
</c-select>
<c-col :span="12"> </el-form-item>
<c-checkbox v-model="model.fxtp.frgchk">{{ $t('fxtp.C0000100') }}</c-checkbox> </c-col>
</c-col> <c-col :span="12">
<el-form-item label-width="5px" prop="fxdgrp.rec.acc">
<c-col :span="12"> <c-select v-model="model.fxdgrp.rec.acc" style="width:100%">
<span v-text="model.fxtp.cnylab" data-path=".fxtp.cnylab"> </span> </c-select>
</c-col> </el-form-item>
</c-col>
<c-col :span="12"> </c-col>
<el-form-item label="Currency" prop="fxdgrp.cbs.nom1.cur">
<c-select v-model="model.fxdgrp.cbs.nom1.cur" style="width:100%" <!-- 交易主体 -->
:placeholder="$t('other.please_enter') + 'Currency'"> <c-col :span="24">
</c-select> <el-form-item :label="$t('fxtsqo.Exchange Party Type')" prop="fxdgrp.rec.trnman">
</el-form-item> <c-select v-model="model.fxdgrp.rec.trnman" style="width:100%">
</c-col> </c-select>
</el-form-item>
<c-col :span="12"> </c-col>
<c-form-item label="Balance" prop="fxdgrp.cbs.nom1.amt">
<c-input v-model="model.fxdgrp.cbs.nom1.amt" :placeholder="$t('other.please_enter') + 'Balance'"></c-input> <!-- 备注 -->
</c-form-item> <c-col :span="24">
</c-col> <c-form-item :label="$t('fxtsqo.Remark')" prop="fxdgrp.blk.remark">
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit></c-input>
<c-col :span="12"> </c-form-item>
<c-checkbox v-model="model.fxtp.cnychk">{{ $t('fxtp.C0000101') }}</c-checkbox> </c-col>
</c-col> </c-col>
<!-- S0000060 : 对外牌价 -->
<!-- ==============================右边============================== -->
<c-col :span="12"> <c-col :span="12" style="padding-left: 20px;">
<c-form-item :label="$t('fxtp.S0000060')" prop="fxdgrp.rec.rat"> <!-- 结售汇申请人 -->
<c-input v-model="model.fxdgrp.rec.rat" <!-- 编号 -->
:placeholder="$t('other.please_enter') + $t('fxtp.S0000060')"></c-input> <c-col :span="24">
</c-form-item> <el-card class="box-card">
</c-col> <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
<!-- S0000062 : 询价编号 --> :isShowCard="false" :argadr="{ title: 'Applicant',grp: 'fxdgrp', rol: 'apl' }" ptytyp="C">
</c-ptap>
<c-col :span="12"> </el-card>
<c-form-item :label="$t('fxtp.S0000062')" prop="fxdgrp.rec.quoref"> </c-col>
<c-input v-model="model.fxdgrp.rec.quoref" maxlength="16"
:placeholder="$t('other.please_enter') + $t('fxtp.S0000062')"></c-input> <!-- 名称 -->
</c-form-item> <c-col :span="24">
</c-col> <c-form-item :label="$t('fxtsqo.Name')" prop="fxdgrp.rec.nam">
<!-- S0000091 : 钞汇标志 --> <c-input v-model="model.fxdgrp.rec.nam" maxlength="40"></c-input>
<!-- S0000061 : 中间价 --> </c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('fxtp.S0000061')" prop="fxdgrp.rec.midrat"> <!-- 询价编号 -->
<c-input v-model="model.fxdgrp.rec.midrat" <c-col :span="24">
:placeholder="$t('other.please_enter') + $t('fxtp.S0000061')"></c-input> <c-form-item label="Quote Ref." prop="fxdgrp.rec.quoref">
</c-form-item> <c-input v-model="model.fxdgrp.rec.quoref" maxlength="16"></c-input>
</c-col> </c-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="钞汇标志" prop="fxtp.cshflg"> <!-- 资金部编号 -->
<c-select v-model="model.fxtp.cshflg" style="width:100%" :placeholder="$t('other.please_enter') + '钞汇标志'"> <c-col :span="24">
</c-select> <c-form-item label="Treasurt Dept Ref." prop="fxdgrp.rec.fudref">
</el-form-item> <c-input v-model="model.fxdgrp.rec.fudref" maxlength="16"></c-input>
</c-col> </c-form-item>
<!-- S0000063 : 资金部编号 --> </c-col>
<c-col :span="12"> <!-- 起息日 -->
<c-form-item :label="$t('fxtp.S0000063')" prop="fxdgrp.rec.fudref"> <c-col :span="24">
<c-input v-model="model.fxdgrp.rec.fudref" maxlength="16" <el-form-item :label="$t('fxtsqo.Value Date')" prop="fxdgrp.rec.valdat">
:placeholder="$t('other.please_enter') + $t('fxtp.S0000063')"></c-input> <c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%"></c-date-picker>
</c-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000007 : 登记日期 -->
<!-- 择期交割截止日 -->
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('fxtsqo.S0000007')" prop="fxdgrp.rec.opndat"> <el-form-item label="Expire Date of Set." prop="fxdgrp.rec.setdatto">
<c-date-picker type="date" v-model="model.fxdgrp.rec.opndat" style="width:100%" <c-date-picker type="date" v-model="model.fxdgrp.rec.setdatto" style="width:100%"></c-date-picker>
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000007')"></c-date-picker> </el-form-item>
</el-form-item> </c-col>
</c-col>
<!-- S0000008 : 起息日 --> <c-col :span="24">
<!-- 本币结算账号 -->
<c-col :span="12"> <c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000008')" prop="fxdgrp.rec.valdat"> <el-form-item label="Domestic Cur. Acc" prop="fxdgrp.rec.dsp2">
<c-date-picker type="date" v-model="model.fxdgrp.rec.valdat" style="width:100%" <c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%">
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000008')"></c-date-picker> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000009 : 远期交割日 --> <c-col :span="12">
<el-form-item label-width="5px" prop="fxdgrp.rec.acc2">
<c-col :span="12"> <c-select v-model="model.fxdgrp.rec.acc2" style="width:100%">
<el-form-item :label="$t('fxtsqo.S0000009')" prop="fxdgrp.rec.setdat"> </c-select>
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdat" style="width:100%" </el-form-item>
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000009')"></c-date-picker> </c-col>
</el-form-item> </c-col>
</c-col>
<!-- S0000010 : 择期交割起始日 --> <!-- 结售汇类型 -->
<c-col :span="24">
<c-col :span="12"> <el-form-item :label="$t('fxtsqo.Exchange Title')" prop="fxdgrp.rec.trdint">
<el-form-item :label="$t('fxtsqo.S0000010')" prop="fxdgrp.rec.setdatfrm"> <c-select v-model="model.fxdgrp.rec.trdint" style="width:100%">
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatfrm" style="width:100%" </c-select>
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000010')"></c-date-picker> </el-form-item>
</el-form-item> </c-col>
</c-col>
<!-- S0000011 : 择期交割截止日 --> <c-col :span="24">
<el-form-item :label="$t('fxtsqo.Exchange Title')" prop="fxdgrp.rec.trdout">
<c-col :span="12"> <c-select v-model="model.fxdgrp.rec.trdout" style="width:100%">
<el-form-item :label="$t('fxtsqo.S0000011')" prop="fxdgrp.rec.setdatto"> </c-select>
<c-date-picker type="date" v-model="model.fxdgrp.rec.setdatto" style="width:100%" </el-form-item>
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000011')"></c-date-picker> </c-col>
</el-form-item>
</c-col> <c-col :span="24">
<!-- S0000018 : 外币结算账号 --> <el-form-item label="" prop="clsflg" label-width="150px" style="float: left;">
<c-checkbox v-model="model.mtabut.clsflg">Close Contract</c-checkbox>
<c-col :span="12"> </el-form-item>
<el-form-item :label="$t('fxtsqo.S0000018')" prop="fxdgrp.rec.dsp"> </c-col>
<c-select v-model="model.fxdgrp.rec.dsp" style="width:100%" </c-col>
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000018')"> </div>
</c-select> </template>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000018')" prop="fxdgrp.rec.acc">
<c-select v-model="model.fxdgrp.rec.acc" style="width:100%"
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000018')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000017 : 本币结算账号 -->
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000017')" prop="fxdgrp.rec.dsp2">
<c-select v-model="model.fxdgrp.rec.dsp2" style="width:100%"
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000017')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000017')" prop="fxdgrp.rec.acc2">
<c-select v-model="model.fxdgrp.rec.acc2" style="width:100%"
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000017')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000015 : 交易主体 -->
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000015')" prop="fxdgrp.rec.trnman">
<c-select v-model="model.fxdgrp.rec.trnman" style="width:100%"
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000015')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000016 : 结售汇类型 -->
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000016')" prop="fxdgrp.rec.trdint">
<c-select v-model="model.fxdgrp.rec.trdint" style="width:100%"
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000016')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('fxtsqo.S0000016')" prop="fxdgrp.rec.trdout">
<c-select v-model="model.fxdgrp.rec.trdout" style="width:100%"
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000016')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000014 : 备注 -->
<c-col :span="12">
<c-form-item :label="$t('fxtsqo.S0000014')" prop="fxdgrp.blk.remark">
<c-input type="textarea" v-model="model.fxdgrp.blk.remark" maxlength="35" show-word-limit
:placeholder="$t('other.please_enter') + $t('fxtsqo.S0000014')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.mtabut.clsflg">{{$t('mtabut.CF000215')}}</c-checkbox>
</c-col>
</div></template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
......
<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