7/24 收银台 日期筛选,合计
This commit is contained in:
@@ -88,6 +88,23 @@
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="选择生成账单的房屋">-->
|
||||
<!-- <div class="flex flex-col">-->
|
||||
<!-- <div>-->
|
||||
<!-- <el-radio-group v-model="BillForm.chargeScope">-->
|
||||
<!-- <el-radio v-for="(item, index) in com_bill_charge_scope_house" :key="index" :value="item.value" :label="item.label"></el-radio>-->
|
||||
<!-- </el-radio-group>-->
|
||||
<!-- <div style="height: 32px" v-if="BillForm.chargeScope === '1'">-->
|
||||
<!-- <el-button @click="OpenUseTablesFun" link type="primary" class="ml-10px">请选择房屋</el-button>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item v-if="BillForm.chargeScope === '1'">-->
|
||||
<!-- <div class="residentBox">-->
|
||||
<!-- <House returnvalue="houseId" ref="HolderRef" :isMultiple="true" @change="handleSelect"> </House>-->
|
||||
<!-- </div>-->
|
||||
<!-- </el-form-item>-->
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<div class="dialog-footer">
|
||||
@@ -107,6 +124,10 @@ import { listBill, manualGenerateApi } from '@/api/system/SdbBill';
|
||||
import { BillVO, BillQuery, BillForm } from '@/api/system/SdbBill/type';
|
||||
import { listChargeItem } from '@/api/system/SdbChargeItem';
|
||||
import { checkPermi } from '@/utils/permission';
|
||||
// import House from '@/components/Holder/house.vue';
|
||||
import { ref } from 'vue';
|
||||
// import UserHolder from '@/components/Holder/user.vue';
|
||||
// import CarUser from '@/components/Holder/CarUser.vue';
|
||||
|
||||
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
||||
const { com_questionnaire_scope } = toRefs<any>(proxy?.useDict('com_questionnaire_scope'));
|
||||
@@ -220,13 +241,26 @@ const BillForm = ref<{
|
||||
title: string;
|
||||
billId: string;
|
||||
chargePeriod: string;
|
||||
chargeScope: string;
|
||||
yearMonths?: string[];
|
||||
houseId: string[];
|
||||
year?: string[];
|
||||
}>({
|
||||
title: '',
|
||||
billId: '',
|
||||
chargePeriod: '1'
|
||||
chargePeriod: '1', // 账单类型
|
||||
chargeScope: '0',
|
||||
houseId: []
|
||||
});
|
||||
// const HolderRef = ref<InstanceType<typeof House>>();
|
||||
// // 打开模态框
|
||||
// function OpenUseTablesFun() {
|
||||
// HolderRef.value.open(BillForm.value.houseId);
|
||||
// }
|
||||
// // 接受选择的房屋id
|
||||
// function handleSelect(val: string[]) {
|
||||
// BillForm.value.houseId = val;
|
||||
// }
|
||||
function handleChange(row: BillVO) {
|
||||
clearChangeBillForm();
|
||||
BillVisible.value = true;
|
||||
@@ -250,7 +284,9 @@ function clearChangeBillForm() {
|
||||
BillForm.value = {
|
||||
title: '',
|
||||
billId: '',
|
||||
chargePeriod: '1'
|
||||
chargePeriod: '1',
|
||||
chargeScope: '0',
|
||||
houseId: []
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user