From a056b108848790f409aba7fb245fedb8a224e35b Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 18 二月 2025 08:14:09 +0800 Subject: [PATCH] # --- pages/phyz/orderOut/orderOutSelectV2.vue | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/pages/phyz/orderOut/orderOutSelectV2.vue b/pages/phyz/orderOut/orderOutSelectV2.vue index 0a35525..a0090c2 100644 --- a/pages/phyz/orderOut/orderOutSelectV2.vue +++ b/pages/phyz/orderOut/orderOutSelectV2.vue @@ -121,7 +121,19 @@ 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'); @@ -141,7 +153,7 @@ 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 -- Gitblit v1.9.1