| | |
| | | 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'); |
| | | _this.searchValue = uni.getStorageSync('threeCode'); |
| | | _this.getOrderDetlList(_this.searchValue,10) |
| | | console.log("onLoad"); |
| | | }) |
| | | this.baseUrl = uni.getStorageSync('baseUrl'); |
| | | this.token = uni.getStorageSync('token'); |
| | | this.searchValue1 = uni.getStorageSync('threeCodeOut193'); |
| | | this.searchValue2 = uni.getStorageSync('threeCodeOut2'); |
| | | this.getOrderDetlList(this.searchValue1,10) |
| | | }, |
| | | methods: { |
| | | getOrderDetlList(threeCode,limit) { |