|
@ -114,7 +114,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
//渲染数据 |
|
|
//渲染数据 |
|
|
paging() { |
|
|
paging(callback) { |
|
|
this.Loading.tableLoading = true; |
|
|
this.Loading.tableLoading = true; |
|
|
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount |
|
|
this.PageListParams.SkipCount = (this.oldSkipCount - 1) * this.PageListParams.MaxResultCount |
|
|
// 报废请求类型: 人工报废:Scrap_Manual; 线边报废:Scrap_WIP; 完工报废:Scrap_Product |
|
|
// 报废请求类型: 人工报废:Scrap_Manual; 线边报废:Scrap_WIP; 完工报废:Scrap_Product |
|
@ -124,7 +124,7 @@ export default { |
|
|
materialRequestByType(this.PageListParams, this.URL + '/by-type', params).then(res => { |
|
|
materialRequestByType(this.PageListParams, this.URL + '/by-type', params).then(res => { |
|
|
this.tableData = res.items |
|
|
this.tableData = res.items |
|
|
this.totalCount = res.totalCount |
|
|
this.totalCount = res.totalCount |
|
|
this.pagingCallback() |
|
|
this.pagingCallback(callback) |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
this.Loading.tableLoading = false |
|
|
this.Loading.tableLoading = false |
|
|
}) |
|
|
}) |
|
|