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

订单管理,产品结构树

parent c2f9f22d
......@@ -81,6 +81,7 @@ export default {
])
},
change(v, b) {
// console.log(b)
let ids = [];
ids.push(b.value);
if (b.children) {
......
......@@ -13,7 +13,7 @@
></Tree>
</div>
</div>
</Sider> -->
</Sider>-->
<Sider hide-trigger v-if="showMenu" class="menu_side" width="300">
<ProductTree @on-hide="onHide" @on-select="productSearch" />
</Sider>
......@@ -37,7 +37,7 @@
<template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline>
<FormItem prop="keys">
<Input placeholder="请输入订单编号/产品名称" v-model="easySearch.keys.value" v-width="300"/>
<Input placeholder="请输入订单编号/产品名称" v-model="easySearch.keys.value" v-width="300" />
</FormItem>
<FormItem>
<Button type="primary" @click="search">查询</Button>
......@@ -117,7 +117,8 @@ export default {
Detail,
Search,
Split,
Send,ProductTree,
Send,
ProductTree
},
data() {
return {
......@@ -782,7 +783,7 @@ export default {
this.showMenu = true;
},
productSearch(id, item, ids) {
let where = { productId: { op: "In", value: ids } };
let where = { bomId: { op: "In", value: item.bomId } };
this.$refs.grid.reload(where);
},
//确定分解
......
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