Commit 0152898e authored by 康振飞's avatar 康振飞

订单报价左侧树

parent 98cbb07c
...@@ -1309,9 +1309,9 @@ html [type=button] { ...@@ -1309,9 +1309,9 @@ html [type=button] {
background: rgba(245, 246, 250, 1); background: rgba(245, 246, 250, 1);
} }
.menu_side{ .menu_side{
background: #fff; background: #fff!important;
margin: 5px 0 0 0; margin: 5px 0 0 0!important;
border: 1px solid #dcdee2 border: 1px solid #dcdee2!important;
} }
.show_menu{ .show_menu{
width: 30px; width: 30px;
......
...@@ -4,8 +4,16 @@ ...@@ -4,8 +4,16 @@
<Sider hide-trigger :style="{background: '#fff'}" width="260"> <Sider hide-trigger :style="{background: '#fff'}" width="260">
<Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type> <Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type>
</Sider> </Sider>
<!-- <Sider hide-trigger v-if="showMenu" class="menu_side" width="300">
<ProductTree @on-hide="onHide" @on-select="productSearch" />
</Sider>
<div v-if="!showMenu" class="show_menu">
<a class="menu_play fr" @click="showMenuFn" title="展开">
<Icon type="ios-arrow-forward" size="24" />
</a>
</div> -->
<!-- 右侧内容 --> <!-- 右侧内容 -->
<Content class="content"> <Content class="content" :class="!showMenu?'con_bord':''">
<Tabs v-model="selectName" @on-click="handleClick"> <Tabs v-model="selectName" @on-click="handleClick">
<TabPane label="订单报价" key="offer" name="offer"> <TabPane label="订单报价" key="offer" name="offer">
<div class="search-form"> <div class="search-form">
...@@ -140,7 +148,7 @@ import MetalQuotation from "./components/metalQuotation.vue"; //订单报价弹 ...@@ -140,7 +148,7 @@ import MetalQuotation from "./components/metalQuotation.vue"; //订单报价弹
import Photosensitive from "./components/photosensitive.vue"; //订单报价弹框光敏 import Photosensitive from "./components/photosensitive.vue"; //订单报价弹框光敏
import MetalDetails from "./components/metalDetails.vue"; //报价历史记录铺粉详情弹框 import MetalDetails from "./components/metalDetails.vue"; //报价历史记录铺粉详情弹框
import PhotosensitiveDetails from "./components/photosensitiveDetails.vue"; //报价历史记录光敏详情弹框 import PhotosensitiveDetails from "./components/photosensitiveDetails.vue"; //报价历史记录光敏详情弹框
import ProductTree from "@/components/page/productTree.vue";//左侧树列表
import MetalQuotationGeneration from "./components/metalQuotationGeneration.vue"; //生成报价单弹框 import MetalQuotationGeneration from "./components/metalQuotationGeneration.vue"; //生成报价单弹框
import PhotosensitiveGeneration from "./components/photosensitiveGeneration.vue"; //生成报价单弹框 import PhotosensitiveGeneration from "./components/photosensitiveGeneration.vue"; //生成报价单弹框
export default { export default {
...@@ -152,7 +160,7 @@ export default { ...@@ -152,7 +160,7 @@ export default {
MetalQuotation, MetalQuotation,
Photosensitive, Photosensitive,
MetalDetails, MetalDetails,
PhotosensitiveDetails, PhotosensitiveDetails,ProductTree,
MetalQuotationGeneration, MetalQuotationGeneration,
PhotosensitiveGeneration PhotosensitiveGeneration
}, },
...@@ -162,6 +170,7 @@ export default { ...@@ -162,6 +170,7 @@ export default {
result: [] result: []
}, },
userId: 0, userId: 0,
showMenu: true,
model1: "", model1: "",
rows: {}, rows: {},
modalDai: false, //待审核 modalDai: false, //待审核
...@@ -381,6 +390,16 @@ export default { ...@@ -381,6 +390,16 @@ export default {
}; };
}, },
methods: { methods: {
onHide() {
this.showMenu = false;
},
showMenuFn() {
this.showMenu = true;
},
productSearch(id, item, ids) {
let where = { productId: { op: "In", value: ids } };
this.$refs.grid.reload(where);
},
update() { update() {
this.tableTata(this.selectName); this.tableTata(this.selectName);
}, },
......
<style lang="less"> <style lang="less">
@import "./technolog.less"; @import "./technolog.less";
// .lay100 {
// height: calc(100vh - 105px);
// background-color: #f5f6fa;
// .con {
// padding: 5px 5px 0px 10px;
// }
// .con_bord {
// // margin: 15px 32px;
// box-shadow: #c7c7c7 1px 2px 7px 3px;
// }
// background: rgba(245, 246, 250, 1);
// }
.fullWindow { .fullWindow {
position: fixed; position: fixed;
width: 100%; width: 100%;
......
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