From aac25494288e33d02bcd3bb319db0db8288acd94 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 25 二月 2025 14:12:03 +0800 Subject: [PATCH] 20250225A --- pages/phyz/orderOut/orderOutSelectV2.vue | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/pages/phyz/orderOut/orderOutSelectV2.vue b/pages/phyz/orderOut/orderOutSelectV2.vue index 0a35525..05ad07d 100644 --- a/pages/phyz/orderOut/orderOutSelectV2.vue +++ b/pages/phyz/orderOut/orderOutSelectV2.vue @@ -121,13 +121,24 @@ 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) { -- Gitblit v1.9.1