src/pages/procurementManagement/paymentLedger/detail.vue
@@ -89,17 +89,16 @@ // 返回上一页 const goBack = () => { uni.removeStorageSync('supplierId') uni.navigateBack(); }; // 获取页面参数 const getPageParams = () => { const pages = getCurrentPages(); const currentPage = pages[pages.length - 1]; const options = currentPage.options; if (options.supplierId) { supplierId.value = options.supplierId; // 从本地存储获取供应商ID const storedSupplierId = uni.getStorageSync('supplierId'); if (storedSupplierId) { supplierId.value = storedSupplierId; } };