gaoluyang
16 小时以前 ee42bf1badae06026efa79dc17d2a541297ab49b
src/pages/sales/invoicingRegistration/index.vue
@@ -114,6 +114,7 @@
};
// 查询列表
const getList = () => {
   showLoadingToast('加载中...')
   const page = {
      current: -1,
      size: -1
@@ -121,11 +122,25 @@
   ledgerListPage({...page, customerName: customerName.value}).then((res) => {
      ledgerList.value = res.records;
      total.value = res.total;
      closeToast()
   }).catch(() => {
      // tableLoading.value = false;
      closeToast()
   });
};
// 显示加载提示
const showLoadingToast = (message) => {
   uni.showLoading({
      title: message,
      mask: true
   });
};
// 关闭提示
const closeToast = () => {
   uni.hideLoading();
};
// 处理新增开票
const handleAddInvoice = (item) => {
   try {