外协查询

This commit is contained in:
Vergil
2020-03-23 08:52:56 +08:00
parent 77697a0463
commit d761b6ccd0
2 changed files with 3 additions and 4 deletions

View File

@@ -26,8 +26,7 @@ export function searchTable(check, supplierNameValue, check1, MaterialsValue, ch
ModularID: router.currentRoute.path,
type: '1',
name: '车间生产管理_外协零件_查询数据_新',
param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue + '&时间_check=' + check2 + '&开始时间=' + time1 + '&结束时间=' + time2,
Pagination: pageCurrent + '&' + pageSize
param: '外协厂家_check=' + check + '&外协厂家=' + supplierNameValue + '&外协状态_check=' + check1 + '&外协状态=' + MaterialsValue + '&时间_check=' + check2 + '&开始时间=' + time1 + '&结束时间=' + time2 + `&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
}
})
}

View File

@@ -179,8 +179,8 @@ export default {
check2 = 1
}
searchTable(check, this.supplierNameValue, check1, this.MaterialsValue, check2, this.timer[0], this.timer[1], this.pageSize, this.pageCurrent).then(response => {
this.tableData = response.data.rows
this.total = response.data.total
this.tableData = response.data.result
this.total = parseInt(response.data.output[0].ItemCount)
this.loading = false
})
},