gaoluyang
16 小时以前 ee42bf1badae06026efa79dc17d2a541297ab49b
src/pages/sales/receiptPaymentLedger/index.vue
@@ -100,9 +100,12 @@
};
const getList = () => {
   showLoadingToast('加载中...')
   invoiceLedgerSalesAccount({ ...searchForm.value, ...page }).then((res) => {
      tableData.value = res.data.records;
      closeToast()
   }).catch(() => {
      closeToast()
      uni.showToast({
         title: '查询失败',
         icon: 'error'
@@ -114,7 +117,18 @@
   return parseFloat(value || 0).toFixed(2);
};
// 显示加载提示
const showLoadingToast = (message) => {
   uni.showLoading({
      title: message,
      mask: true
   });
};
// 关闭提示
const closeToast = () => {
   uni.hideLoading();
};
const rowClickMethod = (row) => {
   // 使用 uni.setStorageSync 存储客户信息