Commit d257f0e2 authored by 周远喜's avatar 周远喜

Merge branch 'product' of http://git.mes123.com/zhouyx/mes-ui into product

parents f0a0aaf6 da92645c
......@@ -99,6 +99,9 @@ export default {
SimpleSearch: typeof (params) == 'string' ? params : params.simpleSearch, //快速搜索
SkipCount: params.SkipCount ? params.SkipCount : 0,
MaxResultCount: params.MaxResultCount ? params.MaxResultCount : 20,
projectNumber: params.projectNumber, //项目号
batchNumber: params.batchNumber, //批次号
urgencyLevel: params.urgencyLevel, //紧急程度
};
return Api.get(`${PlanUrl}/mesorder/getpagedmesorders`, model);
},
......
......@@ -48,13 +48,13 @@ export default {
///浏览器窗口大小变化
return (() => {
window.screenHeight = window.innerHeight;
this.divHeight = window.innerHeight - 180 + "px";
this.divHeight = window.innerHeight - 260 + "px";
})();
};
},
created() {
this.loadTree()
var theight = window.innerHeight - 180 + 'px'
var theight = window.innerHeight - 260 + 'px'
this.divHeight = theight
},
methods: {
......
......@@ -4,7 +4,7 @@
<StoreHouseLeft @storeIds="storeIds" :type='2'></StoreHouseLeft>
</Sider>
<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">
<Search />
</template>
......@@ -82,6 +82,7 @@ export default {
deletelModal: false,
setNumModal: false,
inventoryModal: false,
tdHeight:0,
curId: 0,
easySearch: {
keys: { op: 'code,name', value: '', default: true },
......@@ -256,7 +257,7 @@ export default {
},
mounted() {},
created() {
this.tdHeight = window.innerHeight - 260
},
methods: {
addOk() {
......
......@@ -15,7 +15,8 @@
ref="grid"
:conditions="easySearch" :datalist="dataList" :total="ptotal"
placeholder="请输入查询条件"
:high="true" >
:high="true"
:height="tdHeight" >
<template slot="searchForm">
<Search />
</template>
......@@ -103,6 +104,7 @@ export default {
deletelModal: false,
setNumModal: false,
inventoryModal: false,
tdHeight:0,
curId: 0,
easySearch: {
keys: { op: 'code,name', value: '', default: true },
......@@ -165,7 +167,7 @@ export default {
}
},
mounted() {},
created() {},
created() {this.tdHeight = window.innerHeight - 260},
methods: {
addOk() {
this.addModal = false
......
This diff is collapsed.
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