Commit cead5dd8 by 潘际乾

inflid引用BusNavbar更改

parent e60b32f5
......@@ -49,7 +49,9 @@
<!--PD000342 -->
<el-tab-pane label="条款" name="tk">
<m-tk :model="model" :codes="codes" />
<c-content>
<m-tk :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000021 -->
......@@ -93,7 +95,9 @@
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
<c-content>
<m-setpan :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<el-tab-pane label="分录" name="glepan">
......
......@@ -441,8 +441,7 @@
</c-istream-table>
</c-col>
<m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"
>11</m-busbtn
<m-busbtn ref="childs" :ownref="ownref" trnCode="litsel" :model="litselModel" ownrefPath="lidget.lid.ownref" @onChoose="onChoose"></m-busbtn
>
</div>
</template>
......@@ -452,6 +451,9 @@ import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Inflid/Event";
import Litsel from "~/model/Litsel"
import BusNavbar from "~/views/Public/BusNavbar";
export default {
......@@ -463,7 +465,7 @@ export default {
return {
curinr:"",
ownref: "",
litselModel: new Litsel().data,
initdialog: false,
dialogTableVisible: false,
trnData: {
......
......@@ -30,6 +30,8 @@
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import _ from "~/utils/Lodash"
export default {
props: {
ownref: {
......@@ -105,8 +107,15 @@ export default {
this.navcode = [];
//请求按钮数据
this.model[this.ownrefPath].rec.ownref = this.ownref;
let rtnmsg = await this.executeRule(this.ownrefPath + ".rec.ownref"); //didgrp_rec_ownref
let rulePath
if (this.ownrefPath.endsWith(".ownref")) {
_.set(this.model, this.ownrefPath, this.ownref);
rulePath = this.ownrefPath
} else {
this.model[this.ownrefPath].rec.ownref = this.ownref;
rulePath = this.ownrefPath + ".rec.ownref"
}
let rtnmsg = await this.executeRule(rulePath); //didgrp_rec_ownref
if (rtnmsg.respCode == SUCCESS) {
//重置数组
this.navcode = [];
......
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