Commit 0601ef31 authored by 佟礼's avatar 佟礼

Merge branch 'product' of 39.98.128.195:zhouyx/mes-ui into product

parents da86cb88 2f4b52fd
...@@ -99,6 +99,9 @@ export default { ...@@ -99,6 +99,9 @@ export default {
SimpleSearch: typeof (params) == 'string' ? params : params.simpleSearch, //快速搜索 SimpleSearch: typeof (params) == 'string' ? params : params.simpleSearch, //快速搜索
SkipCount: params.SkipCount ? params.SkipCount : 0, SkipCount: params.SkipCount ? params.SkipCount : 0,
MaxResultCount: params.MaxResultCount ? params.MaxResultCount : 20, MaxResultCount: params.MaxResultCount ? params.MaxResultCount : 20,
projectNumber: params.projectNumber, //项目号
batchNumber: params.batchNumber, //批次号
urgencyLevel: params.urgencyLevel, //紧急程度
}; };
return Api.get(`${PlanUrl}/mesorder/getpagedmesorders`, model); return Api.get(`${PlanUrl}/mesorder/getpagedmesorders`, model);
}, },
......
...@@ -48,13 +48,13 @@ export default { ...@@ -48,13 +48,13 @@ export default {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight; window.screenHeight = window.innerHeight;
this.divHeight = window.innerHeight - 180 + "px"; this.divHeight = window.innerHeight - 260 + "px";
})(); })();
}; };
}, },
created() { created() {
this.loadTree() this.loadTree()
var theight = window.innerHeight - 180 + 'px' var theight = window.innerHeight - 260 + 'px'
this.divHeight = theight this.divHeight = theight
}, },
methods: { methods: {
......
...@@ -1045,7 +1045,7 @@ export default { ...@@ -1045,7 +1045,7 @@ export default {
insert_flag: '插单', insert_flag: '插单',
important_flag:"插单", important_flag:"插单",
outside_time: '外协时间', outside_time: '外协时间',
discrete_percent: '离散百分比%', discrete_percent: '离散',
taskseq_des: '', taskseq_des: '',
workshopcode: '', workshopcode: '',
routing_detail_id: '', routing_detail_id: '',
......
...@@ -7,6 +7,13 @@ ...@@ -7,6 +7,13 @@
<Icon type="ios-keypad" /> <Icon type="ios-keypad" />
<div class="top_menu_box"> <div class="top_menu_box">
<table class="t_table_box"> <table class="t_table_box">
<tr>
<td class="t_title">
<a class="a_goIndex" @click="goIndex">
<b class="title">首页</b>
</a>
</td>
</tr>
<tr v-for="(item,i) in filterSider"> <tr v-for="(item,i) in filterSider">
<td class="t_title"> <td class="t_title">
<b class="title" <b class="title"
...@@ -277,6 +284,9 @@ export default { ...@@ -277,6 +284,9 @@ export default {
this.$router.push(u.path) this.$router.push(u.path)
this.isActive = u.id this.isActive = u.id
}, },
goIndex(){
this.$router.push("/")
},
}, },
mounted() { mounted() {
document.addEventListener("scroll", this.handleScroll, { passive: true }); document.addEventListener("scroll", this.handleScroll, { passive: true });
...@@ -382,6 +392,9 @@ export default { ...@@ -382,6 +392,9 @@ export default {
.t_title{ .t_title{
min-width: 120px; min-width: 120px;
background: #515a6e; background: #515a6e;
.a_goIndex{
color: #fff;
}
.title{ .title{
padding: 5px 10px; padding: 5px 10px;
} }
......
This diff is collapsed.
...@@ -66,7 +66,12 @@ export default { ...@@ -66,7 +66,12 @@ export default {
} }
}, },
props: { props: {
eid: Number row: {
type:Object,
default:()=>{
return null
}
}
}, },
methods: { methods: {
load(v) { load(v) {
...@@ -84,7 +89,7 @@ export default { ...@@ -84,7 +89,7 @@ export default {
this.disabled = false this.disabled = false
if (r.success) { if (r.success) {
this.$Message.success('保存成功') this.$Message.success('保存成功')
this.$emit('on-ok') this.$emit('on-option-ok')
} else { } else {
this.$Message.error('保存失败') this.$Message.error('保存失败')
} }
......
...@@ -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
......
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