gaoluyang
2025-09-02 ae5f1ea03be87c76e0eefd0a00c34dab4163ec56
src/pages/sales/salesAccount/index.vue
@@ -98,6 +98,15 @@
import useUserStore from "@/store/modules/user";
import PageHeader from "@/components/PageHeader.vue";
const userStore = useUserStore()
const showLoadingToast = (message) => {
   uni.showLoading({
      title: message,
      mask: true
   })
}
const closeToast = () => {
   uni.hideLoading()
}
// 搜索关键词
const searchKeyword = ref('');
@@ -112,6 +121,7 @@
};
// 查询列表
const getList = () => {
   showLoadingToast('加载中...')
   const page = {
      current: -1,
      size: -1
@@ -119,8 +129,9 @@
   ledgerListPage({...page}).then((res) => {
      ledgerList.value = res.records;
      total.value = res.total;
      closeToast()
   }).catch(() => {
         // tableLoading.value = false;
      closeToast()
   });
};