Commit cead5dd8 by 潘际乾

inflid引用BusNavbar更改

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