应付配置增加附加费配置,应付账单新增核销、对账、凭证、审核功能

This commit is contained in:
liuminghui
2026-11-12 18:20:32 +08:00
parent 1ba431540d
commit 6675808dfc
55 changed files with 5898 additions and 185 deletions
@@ -22,6 +22,9 @@
<el-col :span="1.5">
<el-button type="warning" plain icon="Download" @click="handleExportDetail" v-hasPermi="['price:pay:export']">导出明细</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="primary" plain icon="Setting" @click="openRule(selection)" v-hasPermi="['price:pay:edit']">附加费配置</el-button>
</el-col>
</template>
<template #col-sourceFile="{ row }">
@@ -60,6 +63,7 @@
</basic-table>
<pay-import-dialog ref="importRef" @saved="tableRef.refresh()" />
<pay-surcharge-rule-dialog ref="ruleRef" />
<el-drawer v-model="historyVisible" :title="historyTitle" size="980px" append-to-body destroy-on-close>
<div class="history-bar">
@@ -187,10 +191,12 @@
import { listPay, getPay, delPay, updatePay, listPayTerm, updatePayTerm, changePayTermStatus, comparePay } from '@/api/price/pay'
import PayImportDialog from './components/PayImportDialog.vue'
import PayConfigDetail from './components/PayConfigDetail.vue'
import PaySurchargeRuleDialog from './components/PaySurchargeRuleDialog.vue'
const { proxy } = getCurrentInstance()
const tableRef = ref()
const importRef = ref()
const ruleRef = ref()
const detailVisible = ref(false)
const detailLoading = ref(false)
const savingRowKey = ref('')
@@ -314,6 +320,10 @@ function handleDelete(ids) {
}).catch(() => {})
}
function openRule(selection) {
ruleRef.value?.open(selection || [])
}
function openDetail(row) {
detailVisible.value = true
savingRowKey.value = ''