| | |
| | | :formatter="formattedNumber" |
| | | width="200" /> |
| | | <el-table-column label="回款金额(元)" |
| | | prop="receiptPaymentAmount" |
| | | show-overflow-tooltip |
| | | :formatter="formattedNumber" |
| | | width="200" /> |
| | | <el-table-column label="退货金额(元)" |
| | | prop="returnAmount" |
| | | prop="receiptRecordAmount" |
| | | show-overflow-tooltip |
| | | :formatter="formattedNumber" |
| | | width="200" /> |
| | |
| | | <el-text type="danger"> |
| | | {{ formattedNumber(row, column, row.receiptableAmount) }} |
| | | </el-text> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" |
| | | align="center" |
| | | width="90" |
| | | fixed="right"> |
| | | <template #default="{ row }"> |
| | | <el-button link |
| | | type="primary" |
| | | @click.stop="openRecordDialog(row)">流水</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | :formatter="formattedNumber" |
| | | width="200" /> |
| | | <el-table-column label="回款金额(元)" |
| | | prop="receiptPaymentAmount" |
| | | show-overflow-tooltip |
| | | :formatter="formattedNumber" |
| | | width="200" /> |
| | | <el-table-column label="退货金额(元)" |
| | | prop="returnAmount" |
| | | prop="receiptRecordAmount" |
| | | show-overflow-tooltip |
| | | :formatter="formattedNumber" |
| | | width="200" /> |
| | |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <!-- 客户付款流水维护 --> |
| | | <PaymentRecordDialog v-model:visible="recordDialogVisible" |
| | | title="客户付款流水" |
| | | :party-type="1" |
| | | :party-id="recordPartyId" |
| | | :party-name="recordPartyName" |
| | | :direction="1" |
| | | @changed="getList" /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | customewTransactionsDetails, |
| | | } from "@/api/salesManagement/indicatorStats.js"; |
| | | import Pagination from "../../../components/PIMTable/Pagination.vue"; |
| | | import PaymentRecordDialog from "@/components/PaymentRecordDialog/index.vue"; |
| | | const { proxy } = getCurrentInstance(); |
| | | const tableData = ref([]); |
| | | const receiptRecord = ref([]); |
| | |
| | | const customerId = ref(""); |
| | | const { searchForm } = toRefs(data); |
| | | const originReceiptRecord = ref([]); |
| | | // 付款流水弹窗 |
| | | const recordDialogVisible = ref(false); |
| | | const recordPartyId = ref(""); |
| | | const recordPartyName = ref(""); |
| | | |
| | | const openRecordDialog = row => { |
| | | recordPartyId.value = row.customerId; |
| | | recordPartyName.value = row.customerName || ""; |
| | | recordDialogVisible.value = true; |
| | | }; |
| | | // 查询列表 |
| | | /** 搜索按钮操作 */ |
| | | const handleQuery = () => { |
| | |
| | | const summarizeMainTable = param => { |
| | | return proxy.summarizeTable( |
| | | param, |
| | | [ |
| | | "contractAmounts", |
| | | "receiptPaymentAmount", |
| | | "returnAmount", |
| | | "receiptableAmount", |
| | | ], |
| | | ["contractAmounts", "receiptPaymentAmount", "receiptableAmount"], |
| | | { |
| | | ticketsNum: { noDecimal: true }, // 不保留小数 |
| | | futureTickets: { noDecimal: true }, // 不保留小数 |
| | |
| | | const summarizeMainTable1 = param => { |
| | | var summarizeTable = proxy.summarizeTable( |
| | | param, |
| | | [ |
| | | "contractAmount", |
| | | "receiptPaymentAmount", |
| | | "returnAmount", |
| | | "receiptableAmount", |
| | | ], |
| | | ["contractAmount", "receiptPaymentAmount", "receiptableAmount"], |
| | | { |
| | | ticketsNum: { noDecimal: true }, // 不保留小数 |
| | | futureTickets: { noDecimal: true }, // 不保留小数 |