离线合同

This commit is contained in:
Vergil
2020-04-07 10:04:01 +08:00
parent a0474aaf33
commit 3ad7c3118e
2 changed files with 4 additions and 5 deletions

View File

@@ -296,8 +296,7 @@ export function searchMaterial22(check1, val1, pageCurrent, pageSize) {
ModularID: router.currentRoute.path,
type: '1',
name: '采购管理_离线采购_物料主文件_基本_查询数据',
param: `名称规格型号_check=${check1}&名称规格型号=${val1}`,
Pagination: pageCurrent + '&' + pageSize
param: `名称规格型号_check=${check1}&名称规格型号=${val1}&PageCurrent=${pageCurrent}&PageSize=${pageSize}&PageCount=1111=int=output&ItemCount=1111=int=output`
}
})
}

View File

@@ -1668,12 +1668,12 @@ export default {
this.loading2 = true
searchMaterial22(check1, this.materialName, this.pageCurrent22, this.pageSize22).then(response => {
console.log(response.data, 3333)
this.tableData22 = response.data.rows
this.total22 = response.data.total
this.tableData22 = response.data.result
this.total22 = parseInt(response.data.output[0].ItemCount)
const supplier = []
this.remarkFilters = []
this.supplierFilters = []
response.data.rows.map(v => {
response.data.result.map(v => {
if (v.供货商 === null) { v.供货商 = '' }
if (!supplier.includes(v.供货商)) {
supplier.push(v.供货商)