|
@@ -20,6 +20,7 @@ Page({
|
|
|
size: 20,
|
|
size: 20,
|
|
|
list: [],
|
|
list: [],
|
|
|
total: 0,
|
|
total: 0,
|
|
|
|
|
+ term: "",
|
|
|
isFreshing: false,
|
|
isFreshing: false,
|
|
|
apiArr: ['/voyage/list', '/dayReport/list', '/bill/list']
|
|
apiArr: ['/voyage/list', '/dayReport/list', '/bill/list']
|
|
|
},
|
|
},
|
|
@@ -59,7 +60,8 @@ Page({
|
|
|
})
|
|
})
|
|
|
let res = await postApi(this.data.apiArr[this.data.maintab - 1], {
|
|
let res = await postApi(this.data.apiArr[this.data.maintab - 1], {
|
|
|
loginAccountId: wx.getStorageSync('loginAccountId'),
|
|
loginAccountId: wx.getStorageSync('loginAccountId'),
|
|
|
- cargoOwnerId: this.data.cargoOwnerId,
|
|
|
|
|
|
|
+ // cargoOwnerId: this.data.cargoOwnerId,
|
|
|
|
|
+ term: this.data.term,
|
|
|
status: this.data.status,
|
|
status: this.data.status,
|
|
|
currentPage: this.data.currentPage,
|
|
currentPage: this.data.currentPage,
|
|
|
size: this.data.size,
|
|
size: this.data.size,
|
|
@@ -172,6 +174,13 @@ Page({
|
|
|
phoneNumber: e.currentTarget.dataset.phone
|
|
phoneNumber: e.currentTarget.dataset.phone
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
|
|
+ inputSearch(e) {
|
|
|
|
|
+ this.setData({
|
|
|
|
|
+ currentPage: 1
|
|
|
|
|
+ })
|
|
|
|
|
+ this.getList()
|
|
|
|
|
+ },
|
|
|
onLoad() {
|
|
onLoad() {
|
|
|
|
|
|
|
|
},
|
|
},
|