Commit 55c2cd6d authored by renjintao's avatar renjintao

Merge branch 'master' of git.mes123.com:zhouyx/mes-ui

parents ebe8c9bd fd5b2bd6
...@@ -365,12 +365,10 @@ export default { ...@@ -365,12 +365,10 @@ export default {
params.SkipCount = params.SkipCount || 0 params.SkipCount = params.SkipCount || 0
params.MaxResultCount = params.MaxResultCount || 10 params.MaxResultCount = params.MaxResultCount || 10
let url = let url =`${designUrl}/orderrouting/getwaitmaterialorderlist?` + QS.stringify(params)
`${designUrl}/orderrouting/getwaitmaterialorderlist?` +QS.stringify(params)
service.get(`${url}`).then((res) => { service.get(`${url}`).then((res) => {
this.mDatas = res.data.result.items this.mDatas = res.result.items
this.search.total = res.data.result.totalCount this.search.total = res.result.totalCount
}) })
}, },
columnChange(item, i) { columnChange(item, i) {
...@@ -396,6 +394,7 @@ export default { ...@@ -396,6 +394,7 @@ export default {
let id = data.materialbillId let id = data.materialbillId
let url02 = `${designUrl}/ordermaterial/getbyid?id=` + id let url02 = `${designUrl}/ordermaterial/getbyid?id=` + id
service.get(`${url02}`).then((res) => { service.get(`${url02}`).then((res) => {
console.log(res)
this.orderMaterial = res.data.result.orderMaterialList this.orderMaterial = res.data.result.orderMaterialList
this.rowData = res.data this.rowData = res.data
}) })
...@@ -419,7 +418,7 @@ export default { ...@@ -419,7 +418,7 @@ export default {
// 高级查询 // 高级查询
complexSearch() { complexSearch() {
this.orderSearchForm.SkipCount=0; this.orderSearchForm.SkipCount=0;
this.laoedPage() this.laoedPage()
this.close() this.close()
} }
}, },
......
...@@ -369,8 +369,12 @@ export default { ...@@ -369,8 +369,12 @@ export default {
'&MaxResultCount=' + '&MaxResultCount=' +
pageData.MaxResultCount pageData.MaxResultCount
service.get(`${url}`).then((res) => { service.get(`${url}`).then((res) => {
this.mDatas = res.data.result.items if(res.success){
this.search.total = res.data.result.totalCount this.mDatas = res.result.items
this.search.total = res.result.totalCount
}else{
this.$Message.error("查询失败")
}
}) })
}, },
columnChange(item, i) { columnChange(item, i) {
......
...@@ -193,13 +193,13 @@ export default { ...@@ -193,13 +193,13 @@ export default {
<style scoped> <style scoped>
.menuBg{ .menuBg{
background: none; background: none;
height: 550px; height: 630px;
} }
.menuBg .ivu-menu-item{ .menuBg .ivu-menu-item{
color: #000; color: #000;
} }
.revieweBox{ .revieweBox{
padding: 0 0 0 60px; padding: 0 0 0 60px;
height: 550px; height: 630px;
} }
</style> </style>
\ No newline at end of file
...@@ -278,8 +278,9 @@ export default { ...@@ -278,8 +278,9 @@ export default {
"MaxResultCount": 20, "MaxResultCount": 20,
"SkipCount": 1, "SkipCount": 1,
}).then(res => { }).then(res => {
this.listTask = res.data.result.items // console.log(res)
this.search.total = res.data.result.totalCount this.listTask = res.result.items
this.search.total = res.result.totalCount
}); });
}, },
reviewFn(item){ //追溯 reviewFn(item){ //追溯
...@@ -382,9 +383,9 @@ export default { ...@@ -382,9 +383,9 @@ export default {
let url = `${PlanUrl}/orderexecute/pageddatamesorders`; let url = `${PlanUrl}/orderexecute/pageddatamesorders`;
// console.log(parmes) // console.log(parmes)
service.post(`${url}`,parmes).then(res => { service.post(`${url}`,parmes).then(res => {
console.log(res) // console.log(res)
this.listTask = res.data.result.items this.listTask = res.result.items
this.search.total = res.data.result.totalCount this.search.total = res.result.totalCount
if(this.search.total == 0){ if(this.search.total == 0){
this.noData = true this.noData = true
}else{ }else{
...@@ -450,7 +451,7 @@ ul,li{ ...@@ -450,7 +451,7 @@ ul,li{
line-height: 800px; line-height: 800px;
} }
.card{ .card{
width: 388px; width: 375px;
margin: 10px 0 10px 20px; margin: 10px 0 10px 20px;
} }
.wu_data{ .wu_data{
...@@ -471,6 +472,6 @@ ul,li{ ...@@ -471,6 +472,6 @@ ul,li{
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
display: block; display: block;
padding: 10px 0 0 0; padding: 10px 0 0 0;
color: #249E91; color: #0099FF;
} }
</style> </style>
\ No newline at end of file
...@@ -292,8 +292,8 @@ export default { ...@@ -292,8 +292,8 @@ export default {
"skipCount":0, "skipCount":0,
"maxResultCount": 10 "maxResultCount": 10
}).then(res => { }).then(res => {
this.mDatas = res.data.result.items this.mDatas = res.result.items
this.search.total = res.data.result.totalCount this.search.total = res.result.totalCount
}); });
}, },
// 分页 // 分页
......
...@@ -193,8 +193,7 @@ export default { ...@@ -193,8 +193,7 @@ export default {
laodaction(name) { laodaction(name) {
let url = `${systemUrl}/equiptype/getpaged`; let url = `${systemUrl}/equiptype/getpaged`;
service.get(`${url}`, { params: { equip_type_name: name } }).then(res => { service.get(`${url}`, { params: { equip_type_name: name } }).then(res => {
// console.log(res) this.data1 = res.result.items;
this.data1 = res.data.result.items;
}); });
}, },
......
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