| | |
| | | <script setup> |
| | | import { ref, computed, onMounted } from 'vue'; |
| | | import { onShow } from '@dcloudio/uni-app'; |
| | | import {paymentLedgerList} from "@/api/procurementManagement/paymentLedger"; |
| | | import {paymentLedgerList, paymentRecordList} from "@/api/procurementManagement/paymentLedger"; |
| | | |
| | | // 客户信息 |
| | | const supplierId = ref(''); |
| | |
| | | return; |
| | | } |
| | | showLoadingToast('加载中...') |
| | | const param = { |
| | | supplierId: supplierId.value, |
| | | current: -1, |
| | | size: -1 |
| | | }; |
| | | paymentLedgerList(param).then((res) => { |
| | | tableData.value = res.data.records; |
| | | paymentRecordList(supplierId.value).then((res) => { |
| | | tableData.value = res.data; |
| | | closeToast() |
| | | }).catch(() => { |
| | | closeToast() |