| | |
| | | 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'); |
| | | _this.searchValue = uni.getStorageSync('threeCode'); |
| | | _this.getOrderDetlList(_this.searchValue,10) |
| | | console.log("onLoad"); |
| | | }) |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.searchValue = uni.getStorageSync('threeCode'); |
| | | this.getOrderDetlList(this.searchValue,10) |
| | | console.log("onLoad"); |
| | | |
| | | }, |
| | | onShow() { |
| | | console.log(uni.getStorageSync('pakinOrderCar')); |