| | |
| | | <up-divider></up-divider> |
| | | <view class="item-details"> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">开票金额(元)</text> |
| | | <text class="detail-value">{{ formattedNumber(item.invoiceTotal) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">回款金额(元)</text> |
| | | <text class="detail-value">{{ formattedNumber(item.receiptPaymentAmount) }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">应收金额(元)</text> |
| | | <text class="detail-value highlight danger">{{ formattedNumber(item.unReceiptPaymentAmount) }}</text> |
| | | <text class="detail-label">合同金额(元)</text> |
| | | <text class="detail-value">{{ formattedNumber(item.contractAmounts) }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <script setup> |
| | | import { onMounted, ref, reactive, toRefs } from "vue"; |
| | | import { onShow } from "@dcloudio/uni-app"; |
| | | import { invoiceLedgerSalesAccount } from "@/api/salesManagement/invoiceLedger"; |
| | | import { customewTransactions } from "@/api/salesManagement/indicatorStats.js"; |
| | | |
| | | const tableData = ref([]); |
| | | |
| | |
| | | |
| | | const getList = () => { |
| | | showLoadingToast("加载中..."); |
| | | invoiceLedgerSalesAccount({ ...searchForm.value, ...page }) |
| | | customewTransactions({ ...searchForm.value, ...page }) |
| | | .then(res => { |
| | | tableData.value = res.data.records; |
| | | closeToast(); |
| | |
| | | |
| | | const rowClickMethod = row => { |
| | | // 使用 uni.setStorageSync 存储客户信息 |
| | | uni.setStorageSync("customerId", row.id); |
| | | uni.setStorageSync("customerId", row.customerId); |
| | | // 跳转到回款记录明细页面 |
| | | uni.navigateTo({ |
| | | url: "/pages/sales/receiptPaymentLedger/detail", |