Commit 4878c855 by wangyanjiao

Bdtdcr表格修改,Botdav交易

parent 6f4261f6
...@@ -170,6 +170,7 @@ export default class Bdtdcr { ...@@ -170,6 +170,7 @@ export default class Bdtdcr {
docgrdm: { docgrdm: {
docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab docdsclab: "", // Label of document description .bdtp.docgrdm.docdsclab
docgrdp:"", docgrdp:"",
docgrd:"",
}, },
}, },
rejtype: "", // 退单方式 .rejtype rejtype: "", // 退单方式 .rejtype
......
...@@ -51,6 +51,7 @@ let checkObj = { ...@@ -51,6 +51,7 @@ let checkObj = {
"bodgrp.blk.othins" :null, "bodgrp.blk.othins" :null,
"bodgrp.dre.pts.extkey" :null, "bodgrp.dre.pts.extkey" :null,
"cnybop.vouflg" :null, "cnybop.vouflg" :null,
// "bodgrp.cbs.max.cur" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -53,5 +53,7 @@ export default { ...@@ -53,5 +53,7 @@ export default {
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bodgrp.rec.stacty" :Utils.defaultFunction, "bodgrp.rec.stacty" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -4,7 +4,7 @@ export default { ...@@ -4,7 +4,7 @@ export default {
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"bodgrp.rec.ownref":[ "bodgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"botp.recget.sdamod.seainf":[ "botp.recget.sdamod.seainf":[
...@@ -26,12 +26,22 @@ export default { ...@@ -26,12 +26,22 @@ export default {
], ],
"bodgrp.drr.pts.ref":[ "bodgrp.drr.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
"bodgrp.cbs.max.cur":[
{type: "string", required: true, message: "必选项"}
],
"bodgrp.rec.doctypcod":[
{type: "string", required: true, message: "必选项"},
],
"bodgrp.rec.invtyp":[
{type: "string", required: true, message: "必选项"},
],
"bodgrp.cbs.max.amt":[ "bodgrp.cbs.max.amt":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -119,7 +129,7 @@ export default { ...@@ -119,7 +129,7 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bodgrp.rec.matpercnt":[ "bodgrp.rec.matpercnt":[
{type: "number", required: false, message: "必输项"} {type: "number", required: true, message: "必输项"}
], ],
"bodgrp.rec.paydocnum":[ "bodgrp.rec.paydocnum":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -136,7 +146,7 @@ export default { ...@@ -136,7 +146,7 @@ export default {
], ],
"bodgrp.blk.bogdet":[ "bodgrp.blk.bogdet":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 43,message:"长度不能超过43"} {max: 43,message:"长度不能超过43"}
], ],
"bodgrp.dre.pts.ref":[ "bodgrp.dre.pts.ref":[
......
import { now } from "lodash"
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" import Pub from "../Public"
...@@ -106,6 +107,7 @@ export default class Botdav{ ...@@ -106,6 +107,7 @@ export default class Botdav{
}, },
}, },
docgrdm:{ docgrdm:{
docgrd:"",
docdsclab:"", // Label of document description .botp.docgrdm.docdsclab docdsclab:"", // Label of document description .botp.docgrdm.docdsclab
}, },
drrp:{ drrp:{
......
...@@ -5,28 +5,14 @@ ...@@ -5,28 +5,14 @@
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="不符点"> <el-form-item label="不符点">
<c-input <c-input type="textarea" :disabled="model.bddgrp.blk.docdisflg ? false : true" :rows="6"
type="textarea" v-model="model.bddgrp.blk.docdis" maxlength="65" show-word-limit placeholder="请输入不符点"></c-input>
:disabled="model.bddgrp.blk.docdisflg ? false : true"
:rows="6"
v-model="model.bddgrp.blk.docdis"
maxlength="65"
show-word-limit
placeholder="请输入不符点"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-row> </c-row>
<el-form-item label="快递单号"> <el-form-item label="快递单号">
<c-input <c-input type="textarea" :disabled="false" :rows="2" v-model="model.expmno" maxlength="120" show-word-limit
type="textarea" placeholder="请输入单号"></c-input>
:disabled="false"
:rows="2"
v-model="model.expmno"
maxlength="120"
show-word-limit
placeholder="请输入单号"
></c-input>
</el-form-item> </el-form-item>
<!-- <c-row> <!-- <c-row>
<c-form-item label="已交单据" prop="bdtp.docgrdm.docgrd"> <c-form-item label="已交单据" prop="bdtp.docgrdm.docgrd">
...@@ -41,63 +27,35 @@ ...@@ -41,63 +27,35 @@
</c-row> --> </c-row> -->
<c-col :span="24" style="height: 24px; margin-top: -10px"> <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel"> <el-form-item :label="model.bdtp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary" <c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
>新增单据</c-button
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="margin-bottom: 30px;"> <c-col :span="24" style="margin-bottom: 30px;">
<c-table <c-table height="200px" style="text-align: center" :list="this.model.bdtp.docgrdm.docgrd || []"
height="200px" :paginationShow="false" :border="true">
style="text-align: center" <el-table-column label="1st" width="auto">
:list="this.model.bdtp.docgrdm.docgrd || []"
:paginationShow="false"
:border="true"
>
<el-table-column
label="1st"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail1"></c-input>
v-model="scope.row.cmail1"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="2st" width="auto">
label="2st"
width="auto"
>
<template slot-scope="scope"> <template slot-scope="scope">
<c-input <c-input v-model="scope.row.cmail2"></c-input>
v-model="scope.row.cmail2"
></c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} --> <!-- {{scope.row.docnam}} -->
<c-select <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
style="width: 100%" <el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option
v-for="item in codeTable"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="170px" fixed="right"> <el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button @click="deleteTable(scope.row)" type="primary" <c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
>删除</c-button
>
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
...@@ -108,9 +66,7 @@ ...@@ -108,9 +66,7 @@
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<div class="c-checkbox"> <div class="c-checkbox">
<c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="changed" <c-checkbox v-model="model.bddgrp.blk.docdisflg" @change="changed">录入不符点</c-checkbox>
>录入不符点</c-checkbox
>
</div> </div>
</c-col> </c-col>
</c-row> </c-row>
...@@ -122,6 +78,7 @@ ...@@ -122,6 +78,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 Utils from "~/utils";
import Event from "~/model/Bdtdcr/Event"; import Event from "~/model/Bdtdcr/Event";
export default { export default {
...@@ -133,9 +90,12 @@ export default { ...@@ -133,9 +90,12 @@ export default {
TableValue: [ TableValue: [
{ {
id: 0, id: 0,
cmail1: "1", cmail1: "",
cmail2: "2", cmail2: "",
docnam: "1", docnam: "",
description: "",
serialNum: "",
tableName: "",
}, },
], ],
newValue: { newValue: {
...@@ -143,6 +103,9 @@ export default { ...@@ -143,6 +103,9 @@ export default {
cmail1: "", cmail1: "",
cmail2: "", cmail2: "",
docnam: "", docnam: "",
description: "",
serialNum: "",
tableName: "",
}, },
codeTable: [ codeTable: [
{ label: "增值税发票", value: "1" }, { label: "增值税发票", value: "1" },
...@@ -163,21 +126,26 @@ export default { ...@@ -163,21 +126,26 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
addTableValue() { addTableValue(index) {
var index = this.TableValue.length; var newTableValue = Object.assign({}, this.newValue);
var newTableValue = this.newValue; const serial = Utils.generateUUID();
if (index > 0) { newTableValue.serialNum = serial;
newTableValue.id = this.TableValue[index - 1].id + 1; this.model.bdtp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
} // var index = this.TableValue.length;
this.TableValue.push(newTableValue); // var newTableValue = this.newValue;
// if (index > 0) {
// newTableValue.id = this.TableValue[index - 1].id + 1;
// }
// this.TableValue.push(newTableValue);
}, },
deleteTable(row) { deleteTable(index) {
for (let i = 0; i < this.TableValue.length; i++) { this.model.bdtp.docgrdm.docgrd.splice(index, 1);
if (this.TableValue[i].id == row.id) { // for (let i = 0; i < this.TableValue.length; i++) {
this.TableValue.splice(i, 1); // if (this.TableValue[i].id == row.id) {
break; // this.TableValue.splice(i, 1);
} // break;
} // }
// }
}, },
changed(e) { changed(e) {
if (!e) { if (!e) {
...@@ -185,7 +153,7 @@ export default { ...@@ -185,7 +153,7 @@ export default {
} }
}, },
}, },
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <style>
...@@ -194,7 +162,8 @@ export default { ...@@ -194,7 +162,8 @@ export default {
margin: 10px; margin: 10px;
font-size: 16px; font-size: 16px;
} }
.messageLabel >>> .el-form-item__label {
.messageLabel>>>.el-form-item__label {
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: 12px;
......
...@@ -2,11 +2,7 @@ ...@@ -2,11 +2,7 @@
<c-page title="国内证不符点/拒付"> <c-page title="国内证不符点/拒付">
<div class="eContainer"> <div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> --> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
: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> -->
...@@ -15,15 +11,8 @@ ...@@ -15,15 +11,8 @@
<!-- <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> </c-function-btn>
<el-form <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:model="model" :validate-on-rule-change="false">
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000037 --> <!--PD000037 -->
<el-tab-pane label="内容" name="utlp"> <el-tab-pane label="内容" name="utlp">
...@@ -124,7 +113,7 @@ export default { ...@@ -124,7 +113,7 @@ export default {
}, },
created: async function () { created: async function () {
console.log("进入bdtdcr交易"); console.log("进入bdtdcr交易");
let rtnmsg =await this.init(); let rtnmsg = await this.init();
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -37,14 +37,14 @@ ...@@ -37,14 +37,14 @@
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-edit-table :model="model" v-bind="ptsaddg"> <c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center"> <el-table-column label="操作" text-align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
...@@ -103,7 +103,6 @@ export default { ...@@ -103,7 +103,6 @@ export default {
}, },
methods:{...Event}, methods:{...Event},
created:function(){ created:function(){
onsole.log(this.root);
} }
} }
</script> </script>
......
<template> <template>
<c-page title="出口托收寄单"> <c-page title="出口托收寄单">
<div class="eContainer"> <div class="eContainer">
<c-function-btn <c-function-btn :handleSubmit="handleSubmit" :handleCheck="handleCheck" :handleStash="handleStash">
: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>
...@@ -14,75 +10,76 @@ ...@@ -14,75 +10,76 @@
<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> </c-function-btn>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="left" size="small" :validate-on-rule-change="false"> <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">
<!--Overview --> <!--Overview -->
<el-tab-pane label="Overview" name="ovwp"> <el-tab-pane label="Overview" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes"/> <m-ovwp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Instructions --> <!--Instructions -->
<el-tab-pane label="Instructions" name="inst"> <el-tab-pane label="Instructions" name="inst">
<c-content> <c-content>
<m-inst :model="model" :codes="codes"/> <m-inst :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Parties --> <!--Parties -->
<el-tab-pane label="Parties" name="ptyp"> <el-tab-pane label="Parties" name="ptyp">
<c-content> <c-content>
<m-ptyp :model="model" :codes="codes"/> <m-ptyp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Received Instructions --> <!--Received Instructions -->
<el-tab-pane label="Received Instructions" name="instrecp"> <el-tab-pane label="Received Instructions" name="instrecp">
<c-content> <c-content>
<m-instrecp :model="model" :codes="codes"/> <m-instrecp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--Liability --> <!--Liability -->
<el-tab-pane label="Liability" name="engp"> <el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/> <m-engp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--Settlement --> <!--Settlement -->
<el-tab-pane label="Settlement" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--Bookings --> <!--Bookings -->
<el-tab-pane label="Bookings" name="glepan"> <el-tab-pane label="Bookings" name="glepan">
<m-glepan :model="model" :codes="codes"/> <m-glepan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--Completion --> <!--Completion -->
<el-tab-pane label="Completion" 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>
<!--Messages --> <!--Messages -->
<el-tab-pane label="Messages" 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>
<!--Attachments --> <!--Attachments -->
<el-tab-pane label="Attachments" 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>
<!--跨境人民币申报 --> <!--跨境人民币申报 -->
<el-tab-pane label="跨境人民币申报" name="cnyp"> <el-tab-pane label="跨境人民币申报" name="cnyp">
<m-cnyp :model="model" :codes="codes"/> <m-cnyp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--货权单据 --> <!--货权单据 -->
<el-tab-pane label="货权单据" name="srmp"> <el-tab-pane label="货权单据" name="srmp">
<m-srmp :model="model" :codes="codes"/> <m-srmp :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
...@@ -96,6 +93,7 @@ import Api from "~/service/Api" ...@@ -96,6 +93,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Botdav from "~/model/Botdav" import Botdav from "~/model/Botdav"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Botdav/Check" import Check from "~/model/Botdav/Check"
import Default from "~/model/Botdav/Default" import Default from "~/model/Botdav/Default"
import Pattern from "~/model/Botdav/Pattern" import Pattern from "~/model/Botdav/Pattern"
...@@ -115,19 +113,20 @@ import Doctre from "~/views/Public/Doctre" ...@@ -115,19 +113,20 @@ import Doctre from "~/views/Public/Doctre"
export default { export default {
components:{ name: "botdav",
"m-ovwp" : Ovwp, components: {
"m-inst" : Inst, "m-ovwp": Ovwp,
"m-ptyp" : Ptyp, "m-inst": Inst,
"m-instrecp" : Instrecp, "m-ptyp": Ptyp,
"m-setpan" : Setpan, "m-instrecp": Instrecp,
"m-coninfp" : Coninfp, "m-setpan": Setpan,
"m-docpan" : Docpan, "m-coninfp": Coninfp,
"m-doctre" : Doctre, "m-docpan": Docpan,
"m-cnyp" : Cnyp, "m-doctre": Doctre,
"m-srmp" : Srmp, "m-cnyp": Cnyp,
"m-engp":Engp, "m-srmp": Srmp,
"m-glepan":Glepan, "m-engp": Engp,
"m-glepan": Glepan,
}, },
provide() { provide() {
...@@ -135,13 +134,13 @@ export default { ...@@ -135,13 +134,13 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "ovwp", tabVal: "ovwp",
trnName: "botdav", trnName: "botdav",
model: new Botdav().data, model: new Botdav().data,
checkRules: Check, // checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
...@@ -150,30 +149,31 @@ export default { ...@@ -150,30 +149,31 @@ export default {
}, },
} }
}, },
methods:{ methods: {
tabClick(){ // tabClick(){
}, // },
handleSubmit(){}, // handleSubmit(){},
handleCheck(){}, // handleCheck(){},
handleStash(){}, // handleStash(){},
}, },
created:async function(){ created: async function () {
console.log("进入botdav交易"); console.log("进入botdav交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
if (this.isInDisplay) {
this.restoreDisplay();
} }
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
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