Commit 025cb5b7 authored by renjintao's avatar renjintao

setProcess/process...

parent 90462a65
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Tree <Tree
:data="searchList" :data="searchList"
:style="{height:(treeHeight-95)+'px'}" :style="{height:(treeHeight-115)+'px'}"
style="overflow:auto;width:215px;" style="overflow:auto;width:215px;"
@on-select-change="selectTreeNode" @on-select-change="selectTreeNode"
></Tree> ></Tree>
...@@ -422,8 +422,8 @@ export default { ...@@ -422,8 +422,8 @@ export default {
} }
}, },
created() { created() {
this.treeHeight = window.innerHeight - 100 this.treeHeight = window.innerHeight - 150
this.tableHeight = window.innerHeight - 190 this.tableHeight = window.innerHeight - 220
this.loaddata() this.loaddata()
this.getapprovalStatusdata() this.getapprovalStatusdata()
}, },
...@@ -435,8 +435,8 @@ export default { ...@@ -435,8 +435,8 @@ export default {
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
this.treeHeight = window.innerHeight - 100 this.treeHeight = window.innerHeight - 150
this.tableHeight = window.innerHeight - 190 this.tableHeight = window.innerHeight - 220
})() })()
} }
}, },
......
...@@ -611,12 +611,12 @@ export default { ...@@ -611,12 +611,12 @@ export default {
}, },
created(){ created(){
this.loadProduct() this.loadProduct()
this.divHeihgt= window.innerHeight - 100+"px"; this.divHeihgt= window.innerHeight - 130+"px";
}, },
mounted() { mounted() {
window.onresize = () => { window.onresize = () => {
return (() => { return (() => {
this.divHeihgt = window.innerHeight - 100+"px"; this.divHeihgt = window.innerHeight - 130+"px";
})() })()
} }
}, },
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Tree <Tree
:data="searchList" :data="searchList"
:style="{height:(treeHeight-95)+'px'}" :style="{height:(treeHeight-115)+'px'}"
style="overflow:auto;width:215px;" style="overflow:auto;width:215px;"
@on-select-change="selectTreeNode" @on-select-change="selectTreeNode"
></Tree> ></Tree>
...@@ -408,8 +408,8 @@ export default { ...@@ -408,8 +408,8 @@ export default {
} }
}, },
created() { created() {
this.treeHeight = window.innerHeight - 100 this.treeHeight = window.innerHeight - 150
this.tableHeight = window.innerHeight - 190 this.tableHeight = window.innerHeight - 230
this.loaddata() this.loaddata()
this.getapprovalStatusdata() this.getapprovalStatusdata()
}, },
...@@ -421,8 +421,8 @@ export default { ...@@ -421,8 +421,8 @@ export default {
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
this.treeHeight = window.innerHeight - 100 this.treeHeight = window.innerHeight - 150
this.tableHeight = window.innerHeight - 190 this.tableHeight = window.innerHeight - 230
})() })()
} }
}, },
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Tree <Tree
:data="searchList" :data="searchList"
:style="{height:(treeHeight-95)+'px'}" :style="{height:(treeHeight-115)+'px'}"
style="overflow:auto;width:215px;" style="overflow:auto;width:215px;"
@on-select-change="selectTreeNode" @on-select-change="selectTreeNode"
></Tree> ></Tree>
...@@ -630,8 +630,8 @@ export default { ...@@ -630,8 +630,8 @@ export default {
} }
}, },
created() { created() {
this.treeHeight = window.innerHeight - 100 this.treeHeight = window.innerHeight - 150
this.tableHeight = window.innerHeight - 240 this.tableHeight = window.innerHeight - 230
this.newColumn = this.historycolumn this.newColumn = this.historycolumn
this.column = this.newColumn this.column = this.newColumn
this.loaddata('') this.loaddata('')
...@@ -645,8 +645,8 @@ export default { ...@@ -645,8 +645,8 @@ export default {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.treeHeight = window.screenHeight - 100 this.treeHeight = window.screenHeight - 150
this.tableHeight = window.screenHeight - 240 this.tableHeight = window.screenHeight - 230
})() })()
} }
}, },
......
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
entity: { entity: {
totalInventory: null, totalInventory: null,
unitPrice: null, unitPrice: null,
creator: parseInt(JSON.parse(sessionStorage.getItem('userInfo')).userId)
}, },
rules: { rules: {
storeTitle: [ storeTitle: [
......
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