|
@@ -163,13 +163,12 @@ Page({
|
|
|
this.partialRenewal();
|
|
|
},
|
|
|
onUnload() {
|
|
|
- console.log("更新列表数据")
|
|
|
let page = getCurrentPages().find(v => v.__route__ == 'packageA/shipment/index');
|
|
|
let content = JSON.parse(JSON.stringify(page.data.content));
|
|
|
content.pageNumber = 1;
|
|
|
- content.pageSize = page.data.list.length;
|
|
|
+ content.pageSize = (page.data.content.pageNumber - 1) * page.data.content.pageSize;
|
|
|
_Http.basic({
|
|
|
- "id": 20230111141104,
|
|
|
+ "id": wx.getStorageSync('userrole') == '业务员' ? 20221122132804 : 20230111141104,
|
|
|
content
|
|
|
}).then(res => {
|
|
|
console.log("更新订单列表", res)
|