Commit b08d0132 by ccx

ccx

parent f2e83258
...@@ -5,6 +5,7 @@ import Utils from "~/utils" ...@@ -5,6 +5,7 @@ import Utils from "~/utils"
*/ */
let checkObj = { let checkObj = {
"bctp.drrp.ptsget.sdamod.dadsnd" :null, "bctp.drrp.ptsget.sdamod.dadsnd" :null,
"liaall.misamt" :null,
"bctp.usr.extkey" :null, "bctp.usr.extkey" :null,
"bcdgrp.blk.dftins" :null, "bcdgrp.blk.dftins" :null,
"bcdgrp.dre.adrelc" :null, "bcdgrp.dre.adrelc" :null,
......
...@@ -37,6 +37,7 @@ export default { ...@@ -37,6 +37,7 @@ export default {
"bcdgrp.cbs.max.cur" :Utils.defaultFunction, "bcdgrp.cbs.max.cur" :Utils.defaultFunction,
"bcdgrp.rec.ownref" :Utils.defaultFunction, "bcdgrp.rec.ownref" :Utils.defaultFunction,
"bcdgrp.blk.bcgdet" :Utils.defaultFunction, "bcdgrp.blk.bcgdet" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bcdgrp.drr.pts.adrblk" :Utils.defaultFunction, "bcdgrp.drr.pts.adrblk" :Utils.defaultFunction,
"bctp.acttyp" :Utils.defaultFunction, "bctp.acttyp" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
......
...@@ -170,5 +170,29 @@ export default { ...@@ -170,5 +170,29 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onLiaallButmisamt(){
let rtnmsg = await this.executeRule("liaall.butmisamt")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onLiaallButmissig(){
let rtnmsg = await this.executeRule("liaall.butmissig")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
} }
\ No newline at end of file
...@@ -274,4 +274,34 @@ export default { ...@@ -274,4 +274,34 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8"}
], ],
"liaall.outamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.outpct":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"liaall.concur":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.misamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotoldamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.exttotamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
} }
\ No newline at end of file
...@@ -116,35 +116,49 @@ export default class Bctdav{ ...@@ -116,35 +116,49 @@ export default class Bctdav{
szflg:"", // 申报类型 .outlen.szflg szflg:"", // 申报类型 .outlen.szflg
}, },
setmod:{ setmod:{
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
docamttyplab:"", // settled amount description as label .setmod.docamttyplab docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{ setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
}, },
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
}, },
trnmod:{ setfeg:{
trndoc:{ setfel:[]
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
}, },
filrecv:"", // File Receiver .trnmod.trndoc.filrecv glemod:{
gleshwstm: {}
}
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
liaallg:[],
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
liaccvg:[],
}, },
}, },
mtabut:{ mtabut:{
...@@ -169,6 +183,25 @@ export default class Bctdav{ ...@@ -169,6 +183,25 @@ export default class Bctdav{
}, },
}, },
}, },
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
doceot:[],
},
},
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
<template> <template>
<div class="eibs-tab"> <c-row>
<!-- ====================左边======================= -->
<c-col :span="14">
<c-col :span="24">
<c-col :span="4">
<el-form-item label="Delivery of Documents ">
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Collection Instructions" prop="bcdgrp.blk.colins"> <el-form-item label=" Instructions">
<c-input type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<c-col :span="20">
<c-input type="textarea" v-model="model.bcdgrp.blk.colins" maxlength="65" show-word-limit placeholder="请输入Collection Instructions" >
</c-input>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel">
... ...
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12">
<el-form-item label="Our Charges to" prop="bcdgrp.rec.chato">
<c-select v-model="model.bcdgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Charges Text" prop="bcdgrp.blk.chgtxt"> <el-form-item label="Draft Instructions">
<c-input type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Draft Instructions" prop="bcdgrp.blk.dftins"> <c-col :span="20">
<c-input type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input> <c-input type="textarea" v-model="model.bcdgrp.blk.dftins" maxlength="65" show-word-limit placeholder="请输入Draft Instructions" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel">
... ...
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24" >
<el-form-item label="Waive Collecting Bank Charges" prop="bcdgrp.rec.waicolcod"> <el-form-item label="Protest Instructions" prop="bcdgrp.rec.proins">
<c-select v-model="model.bcdgrp.rec.waicolcod" style="width:100%" placeholder="请选择Waive Collecting Bank Charges">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="20" >
<c-col :span="12">
<el-form-item label="Protest Instructions" prop="bcdgrp.rec.proins">
<c-select v-model="model.bcdgrp.rec.proins" style="width:100%" placeholder="请选择Protest Instructions"> <c-select v-model="model.bcdgrp.rec.proins" style="width:100%" placeholder="请选择Protest Instructions">
</c-select> </c-select> <el-option
</el-form-item> v-for="item in codes.proins"
:key="item.value"
:label="item.label"
:value="item.value"
> </el-option>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <el-form-item label="Other Instructions">
<el-form-item label="Waive Remitting Bank Charges" prop="bcdgrp.rec.wairmtcod">
<c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Other Instructions" prop="bcdgrp.blk.othins"> <c-col :span="20">
<c-input type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input> <c-input type="textarea" v-model="model.bcdgrp.blk.othins" maxlength="65" show-word-limit placeholder="请输入Other Instructions" ></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> <c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel">
... ...
</c-button> </c-button>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="14">
<el-form-item label="Defer Payment until" prop="bcdgrp.rec.othins"> <c-col :span="4">
<c-select v-model="model.bcdgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until"> <el-form-item label="Good's Code">
</el-form-item>
</c-col>
<c-col :span="10">
<el-form-item label="(for Statistics)">
</el-form-item>
</c-col>
</c-col>
<c-col :span="20" >
<c-select v-model="model.bcdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code (for Statistics">
</c-select> </c-select>
<el-option
v-for="item in codes.godcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="10">
<c-col :span="24">
<el-form-item label="Charges Condition">
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="Good's Code (for Statistics)" prop="bcdgrp.rec.stagod"> <c-select v-model="model.bcdgrp.rec.chato" style="width:100%" placeholder="请选择Our Charges to">
<c-select v-model="model.bcdgrp.rec.stagod" style="width:100%" placeholder="请选择Good's Code (for Statistics)"> </c-select><el-option
v-for="item in codes.chadet"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-col>
<c-col :span="24">
<el-form-item label="Charges Text">
</el-form-item>
</c-col>
<c-col :span="24">
<c-input type="textarea" v-model="model.bcdgrp.blk.chgtxt" maxlength="35" show-word-limit placeholder="请输入Charges Text" ></c-input>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.bcdgrp.rec.focflg">Free of Payment</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="5">
<el-form-item label="Waive Collecting">
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Bank Charges">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.waicolcod" style="width:100%" placeholder="请选择Waive Collecting Bank Charges">
</c-select>
</c-col>
<c-col :span="24">
<c-col :span="4">
<el-form-item label="Waive Remitting">
</el-form-item>
</c-col>
<c-col :span="4">
<el-form-item label="Bank Charges">
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.wairmtcod" style="width:100%" placeholder="请选择Waive Remitting Bank Charges">
</c-select> </c-select>
</c-col>
<c-col :span="24">
<el-form-item label="Defer Payment until">
</el-form-item> </el-form-item>
</c-col> </c-col>
</div>
<c-col :span="24">
<c-select v-model="model.bcdgrp.rec.othins" style="width:100%" placeholder="请选择Defer Payment until">
</c-select>
</c-col>
</c-col>
</c-row>
</template> </template>
<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 CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdav/Event" import Event from "~/model/Botdav/Event"
export default { export default {
inject: ['root'], inject: ['root'],
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="Sight Amount" prop="liaall.outamt">
<c-input v-model="model.liaall.outamt" placeholder="请输入Sight Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Sight Amount Percentage" prop="liaall.outpct">
<c-input v-model="model.liaall.outpct" placeholder="请输入Sight Amount Percentage"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="External Booking Amount" prop="liaall.concur">
<c-input v-model="model.liaall.concur" maxlength="3" placeholder="请输入External Booking Amount"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Amount not yet assigned" prop="liaall.misamt">
<c-input v-model="model.liaall.misamt" placeholder="请输入Amount not yet assigned"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmisamt">
Add to Current Line
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onLiaallButmissig">
Add to Sight Amount
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="Old Amount booked externally" prop="liaall.exttotoldamt">
<c-input v-model="model.liaall.exttotoldamt" placeholder="请输入Old Amount booked externally"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Total booking amount external assinged" prop="liaall.exttotamt">
<c-input v-model="model.liaall.exttotamt" placeholder="请输入Total booking amount external assinged"></c-input>
</el-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/Bctdav/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
...@@ -147,20 +147,19 @@ ...@@ -147,20 +147,19 @@
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="14">
<el-form-item label="Docs received on" prop="bcdgrp.rec.rcvdat"> <el-form-item label="Docs received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bcdgrp.rec.rcvdat" v-model="model.bcdgrp.rec.rcvdat"
style="width: 100%" style="width: 90%"
placeholder="请选择Docs received on" placeholder="请选择Docs received on"
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="14">
<el-form-item <el-form-item
label="Date of Remittance Lt." label="Date of Remittance Lt."
label-width="160px"
prop="bcdgrp.rec.predat" prop="bcdgrp.rec.predat"
> >
<c-date-picker <c-date-picker
......
<template> <template>
<c-page title="进口代收">
<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-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
<el-button size="small">保存模板</el-button>
<el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
<el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 --> <!--Overview -->
<el-tab-pane label="PD000017" name="ove"> <el-tab-pane label="Overview" name="ove">
<m-ove :model="model" :codes="codes"/> <m-ove :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000018 --> <!--Instructions -->
<el-tab-pane label="PD000018" name="detp"> <el-tab-pane label="Instructions" name="detp">
<m-detp :model="model" :codes="codes"/> <m-detp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="PD000000" name="setpan"> <c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--Messages -->
<el-tab-pane label="PD000529" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--Attachments -->
<el-tab-pane label="PD000546" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--Completion -->
<el-tab-pane label="PD000000" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -46,10 +63,11 @@ import Default from "~/model/Bctdav/Default" ...@@ -46,10 +63,11 @@ import Default from "~/model/Bctdav/Default"
import Pattern from "~/model/Bctdav/Pattern" import Pattern from "~/model/Bctdav/Pattern"
import Ove from "./Ove" import Ove from "./Ove"
import Detp from "./Detp" import Detp from "./Detp"
import Setpan from "./Setpan" import Engp from "~/views/Public/Engp"
import Docpan from "./Docpan" import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre" import Doctre from "./Doctre"
import Coninfp from "./Coninfp"
export default { export default {
...@@ -58,6 +76,7 @@ export default { ...@@ -58,6 +76,7 @@ export default {
"m-ove" : Ove, "m-ove" : Ove,
"m-detp" : Detp, "m-detp" : Detp,
"m-setpan" : Setpan, "m-setpan" : Setpan,
"m-engp" : Engp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
...@@ -70,7 +89,7 @@ export default { ...@@ -70,7 +89,7 @@ export default {
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "", tabVal: "ove",
trnName: "bctdav", trnName: "bctdav",
model: new Bctdav().data, model: new Bctdav().data,
checkRules: Check, checkRules: Check,
...@@ -82,18 +101,19 @@ export default { ...@@ -82,18 +101,19 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){
}
}, },
created:async function(){ created:async function(){
console.log("进入bctdav交易"); console.log("进入bctacc交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init(this.$route.query)
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
} }
else }else
{ {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
......
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