Commit da92645c authored by renjintao's avatar renjintao

psluggilis

parent c4f31c90
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<StoreHouseLeft @storeIds="storeIds" :type='2'></StoreHouseLeft> <StoreHouseLeft @storeIds="storeIds" :type='2'></StoreHouseLeft>
</Sider> </Sider>
<Content class="content"> <Content class="content">
<DataGrid :columns="columns" ref="grid" :action="action" :conditions="easySearch"> <DataGrid :columns="columns" ref="grid" :action="action" :conditions="easySearch" :height="tdHeight">
<template slot="searchForm"> <template slot="searchForm">
<Search /> <Search />
</template> </template>
...@@ -82,6 +82,7 @@ export default { ...@@ -82,6 +82,7 @@ export default {
deletelModal: false, deletelModal: false,
setNumModal: false, setNumModal: false,
inventoryModal: false, inventoryModal: false,
tdHeight:0,
curId: 0, curId: 0,
easySearch: { easySearch: {
keys: { op: 'code,name', value: '', default: true }, keys: { op: 'code,name', value: '', default: true },
...@@ -256,7 +257,7 @@ export default { ...@@ -256,7 +257,7 @@ export default {
}, },
mounted() {}, mounted() {},
created() { created() {
this.tdHeight = window.innerHeight - 260
}, },
methods: { methods: {
addOk() { addOk() {
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
ref="grid" ref="grid"
:conditions="easySearch" :datalist="dataList" :total="ptotal" :conditions="easySearch" :datalist="dataList" :total="ptotal"
placeholder="请输入查询条件" placeholder="请输入查询条件"
:high="true" > :high="true"
:height="tdHeight" >
<template slot="searchForm"> <template slot="searchForm">
<Search /> <Search />
</template> </template>
...@@ -103,6 +104,7 @@ export default { ...@@ -103,6 +104,7 @@ export default {
deletelModal: false, deletelModal: false,
setNumModal: false, setNumModal: false,
inventoryModal: false, inventoryModal: false,
tdHeight:0,
curId: 0, curId: 0,
easySearch: { easySearch: {
keys: { op: 'code,name', value: '', default: true }, keys: { op: 'code,name', value: '', default: true },
...@@ -165,7 +167,7 @@ export default { ...@@ -165,7 +167,7 @@ export default {
} }
}, },
mounted() {}, mounted() {},
created() {}, created() {this.tdHeight = window.innerHeight - 260},
methods: { methods: {
addOk() { addOk() {
this.addModal = false this.addModal = false
......
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