gaoluyang
16 小时以前 ee42bf1badae06026efa79dc17d2a541297ab49b
src/pages/sales/receiptPaymentHistory/index.vue
@@ -135,13 +135,16 @@
// 查询列表
const getList = () => {
   showLoadingToast('加载中...')
   const params = {
      ...searchForm.value,
      ...page.value
   };
   receiptPaymentHistoryListPage(params).then((res) => {
      tableData.value = res.records;
      closeToast()
   }).catch(() => {
      closeToast()
      uni.showToast({
         title: '查询失败',
         icon: 'error'
@@ -149,6 +152,19 @@
   });
};
// 显示加载提示
const showLoadingToast = (message) => {
   uni.showLoading({
      title: message,
      mask: true
   });
};
// 关闭提示
const closeToast = () => {
   uni.hideLoading();
};
// 格式化回款方式
const formatReceiptType = (type) => {
   if (type == 0) {