Commit ea119d74 authored by 仇晓婷's avatar 仇晓婷

biom

parent 928de407
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<div>图号:{{row.drawingNo}}</div> <div>图号:{{row.drawingNo}}</div>
<div>主制单位:{{row.madeCompanyTitle}}</div> <div>主制单位:{{row.madeCompanyTitle}}</div>
<p class="a-icon"> <p class="a-icon">
<a @click="bom(row.id)"> <a @click="bom(row)">
<Icon type="ios-brush" />BOM <Icon type="ios-brush" />BOM
</a>&nbsp; </a>&nbsp;
<a @click="edit(row.id)"> <a @click="edit(row.id)">
...@@ -180,7 +180,7 @@ export default { ...@@ -180,7 +180,7 @@ export default {
{ {
attrs: { oprate: "edit" }, attrs: { oprate: "edit" },
on: { on: {
click: () => this.bom(params.row.id) click: () => this.bom(params.row)
} }
}, },
"BOM" "BOM"
...@@ -290,9 +290,9 @@ export default { ...@@ -290,9 +290,9 @@ export default {
this.modal = true; this.modal = true;
this.fullscreen = false; this.fullscreen = false;
}, },
bom(id) { bom(row) {
this.curId = id; this.curId = row.id;
this.parent.id = row.levelId;
this.title = "BOM"; this.title = "BOM";
this.detail = () => import("./bom"); this.detail = () => import("./bom");
this.modal = true; this.modal = true;
......
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