From 8a7a5fc5c00a925b830f98bbbfee3f2e9169c206 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Fri, 22 Dec 2023 09:27:38 +0800 Subject: [PATCH] 11 --- pages/index/peopleList.vue | 8 ++++---- pages/inventory/goodsList1.vue | 17 +++++++++-------- pages/login/login.vue | 4 ++-- pages/other/logisticsAddress.vue | 9 ++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/pages/index/peopleList.vue b/pages/index/peopleList.vue index dbb6fea..abdd828 100644 --- a/pages/index/peopleList.vue +++ b/pages/index/peopleList.vue @@ -40,7 +40,7 @@ 拨打电话 - 本单返佣2元 + 本单返佣{{item.rebateAmount}}元 @@ -86,9 +86,9 @@ onLoad(options) { this.popleType = options.popleType this.companyType = options.companyType || '' - this.khName = JSON.parse(options.khName) || '' - console.log(this.khName) - // this.radioType = options.radioType + if(options.khName){ + this.khName = JSON.parse(options.khName) || '' + } if (options.popleType == 'khName' || options.popleType == 'gysName') { //供应商或者客户 this.khOrGysList(); } else if (options.popleType == 'wlName' || options.popleType == 'kdName') { //物流快递 diff --git a/pages/inventory/goodsList1.vue b/pages/inventory/goodsList1.vue index 9aa01df..00f12d6 100644 --- a/pages/inventory/goodsList1.vue +++ b/pages/inventory/goodsList1.vue @@ -188,7 +188,7 @@ {{radioType == '0'? '选择物流' :'选择快递'}} - 选择车号 - = this.total) return; + if (this.total >= this.pages) return; this.status = 'loading'; - this.pages = ++this.pages; + this.total += 1; this.getList(); }, methods: { @@ -94,7 +94,7 @@ uni.request({ url: that.tui.interfaceUrl() + '/app/operatingArea/getOperatingAreaList', data: { - pageNum:this.pages, + pageNum:this.total, pageSize:10, shippingMethodId:uni.getStorageSync("transCompany") }, @@ -109,7 +109,6 @@ this.status = 'nomore'; if (res.data.code == 200){ this.pages = res.data.result.pages - this.total = res.data.result.total if (this.pages == 1) { this.standardList = res.data.result.records } else {