From 3ad7c3118e2ed9dcffcec4117952826e3bca871c Mon Sep 17 00:00:00 2001 From: Vergil <974548713@qq.com> Date: Tue, 7 Apr 2020 10:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=BB=E7=BA=BF=E5=90=88=E5=90=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/PurchasingCenter/OfflineContract.js | 3 +-- src/views/PurchasingCenter/OfflineContract/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/api/PurchasingCenter/OfflineContract.js b/src/api/PurchasingCenter/OfflineContract.js index c4f07a15..1b1a3081 100644 --- a/src/api/PurchasingCenter/OfflineContract.js +++ b/src/api/PurchasingCenter/OfflineContract.js @@ -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` } }) } diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue index 6fd0ea20..bff4e020 100644 --- a/src/views/PurchasingCenter/OfflineContract/index.vue +++ b/src/views/PurchasingCenter/OfflineContract/index.vue @@ -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.供货商)