From a26e8d708ab3c8899bee5cae4167ccc3be9b58cd Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期三, 03 九月 2025 14:00:23 +0800 Subject: [PATCH] 销售管理整体样式优化,搜索条件修改 --- src/pages/sales/receiptPaymentLedger/detail.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pages/sales/receiptPaymentLedger/detail.vue b/src/pages/sales/receiptPaymentLedger/detail.vue index d366154..d549311 100644 --- a/src/pages/sales/receiptPaymentLedger/detail.vue +++ b/src/pages/sales/receiptPaymentLedger/detail.vue @@ -89,17 +89,16 @@ // 杩斿洖涓婁竴椤� const goBack = () => { + uni.removeStorageSync('customerId') uni.navigateBack(); }; // 鑾峰彇椤甸潰鍙傛暟 const getPageParams = () => { - const pages = getCurrentPages(); - const currentPage = pages[pages.length - 1]; - const options = currentPage.options; - - if (options.customerId) { - customerId.value = options.customerId; + // 浠庢湰鍦板瓨鍌ㄨ幏鍙栧鎴稩D + const storedCustomerId = uni.getStorageSync('customerId'); + if (storedCustomerId) { + customerId.value = storedCustomerId; } }; -- Gitblit v1.9.3