| | |
| | | maktx: '', |
| | | order_no: '', |
| | | brand: '', |
| | | orderType: null |
| | | orderType: [] |
| | | }, |
| | | index: 0, |
| | | count: 0, |
| | |
| | | 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('dataOrderTypeIn', orderType); |
| | | _this.data.orderType = orderType |
| | | } else { |
| | | orderType = uni.getStorageSync('dataOrderTypeIn'); |
| | | 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}/order/detls/pakin/page/auth/v2`, |
| | | header: {'token': uni.getStorageSync('token')}, |
| | | data: _this.data, |
| | | method: 'GET', |
| | | method: 'POST', |
| | | success(res) { |
| | | uni.hideLoading() |
| | | res = res.data |