| | |
| | | let _this = this |
| | | const eventChannel = this.getOpenerEventChannel(); |
| | | eventChannel.on('param', function(data) { |
| | | _this.data.orderType = data.param.orderType |
| | | var orderType = data.param.orderType |
| | | if (orderType != [] || orderType != null) { |
| | | uni.setStorageSync('dataOrderTypeOut', orderType); |
| | | _this.data.orderType = orderType |
| | | } else { |
| | | orderType = uni.getStorageSync('dataOrderTypeOut'); |
| | | if (orderType != [] || orderType != null) { |
| | | _this.data.orderType = orderType |
| | | } else { |
| | | _this.data.orderType = [] |
| | | } |
| | | } |
| | | |
| | | }) |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | |
| | | url: `${_this.baseUrl}/orderDetl/pakout/list/authV7`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: _this.data, |
| | | method: 'GET', |
| | | method: 'POST', |
| | | success(res) { |
| | | uni.hideLoading({}) |
| | | res = res.data |