gaoluyang
8 天以前 a26e8d708ab3c8899bee5cae4167ccc3be9b58cd
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;
   // 从本地存储获取客户ID
   const storedCustomerId = uni.getStorageSync('customerId');
   if (storedCustomerId) {
      customerId.value = storedCustomerId;
   }
};