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

订单管理,产品结构树

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