8/31 dev 权限,sse,账单,bug

This commit is contained in:
Zy
2026-08-31 18:00:11 +08:00
parent 466ec4675e
commit de4bae3bc1
51 changed files with 575 additions and 591 deletions

View File

@@ -182,7 +182,15 @@
<span style="padding: 0 10px">优惠:{{ totalAll.totalDiscountAmount }}元</span>
<span style="padding: 0 10px">未收:{{ totalAll.TotalUnPaymentAmount }}元</span>
</div>
<pagination v-show="total > 0" v-model:limit="queryParams.pageSize" v-model:page="queryParams.pageNum" :total="total" @pagination="getList" />
<pagination
v-show="total > 0"
v-model:limit="queryParams.pageSize"
v-model:page="queryParams.pageNum"
:pageSizes="[10, 20, 30, 50, 100, 200, 300]"
:total="total"
@pagination="getList"
/>
</div>
</el-card>
<el-dialog v-model="dialog.visible" :title="dialog.title" append-to-body width="650px">
@@ -611,7 +619,6 @@ function getList() {
function getAllBillAmount() {
getAllAccount(queryParams.value).then((res) => {
console.log(res);
totalAll.value = {
totalDiscountAmount: res.data.discountAmount, // 总优惠金额
TotalPaymentAmount: res.data.receivedAmount, // 总实收金额
@@ -892,7 +899,6 @@ const submitForm = () => {
}
buttonLoading.value = true;
// 部分缴纳时 判断 支付金额 和 预计支付金额 是否相等 ,相等 则 可选择 部分缴纳 方式
console.log(totalPayAmount.value, payListAllAmount.value, eqMoney(totalPayAmount.value, payListAllAmount.value), inComeFrom.value.payStatus);
if (inComeFrom.value.payStatus === '3') {
if (eqMoney(totalPayAmount.value, payListAllAmount.value)) {
buttonLoading.value = false;
@@ -930,10 +936,6 @@ const submitForm = () => {
const router = useRouter();
function handleRoute(row: billlistType) {
const villageId = localStorage.getItem('villageid');
console.log(row);
console.log(row.villageId);
console.log(row.detailsType);
console.log(row.unitNoId);
if (row.villageId !== villageId) {
ElMessage.warning('非本小区房屋/车位/车辆');
return;