8/7 收银台加个未收,打印票据多个支付明细,房屋租赁-签约/上下架

This commit is contained in:
Zy
2026-08-07 15:15:07 +08:00
parent 586ec70274
commit f66c0fb145
2 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { HouseRentalVO, HouseRentalForm, HouseRentalQuery } from '@/api/system/houseRental/type';
import { HouseRentalVO, HouseRentalForm, HouseRentalQuery, HouseRentalSigningVO } from '@/api/system/houseRental/type';
/**
* 查询房屋租赁管理列表
@@ -103,7 +103,7 @@ export const changeHouseRedientStatus = (houseId: string): AxiosPromise<uploadHo
* 房屋租赁管理 签约
* @param data
*/
export const HouseRedientSign = (data: HouseRentalForm): AxiosPromise<uploadHouseImagetype> => {
export const HouseRedientSign = (data: HouseRentalSigningVO): AxiosPromise<uploadHouseImagetype> => {
return request({
url: `/houseRental/sign`,
method: 'POST',

View File

@@ -177,7 +177,7 @@
<script setup name="HouseRental" lang="ts">
import pageHeader from '@/components/Pageheader/index.vue';
import { changeHouseRedientStatus, delHouseRental, HouseRedientSign, HouseRedientSignUpload, listHouseRental } from '@/api/system/houseRental';
import { HouseRentalForm, HouseRentalQuery, HouseRentalVO } from '@/api/system/houseRental/type';
import { HouseRentalForm, HouseRentalQuery, HouseRentalSigningVO, HouseRentalVO } from '@/api/system/houseRental/type';
import { checkPermi } from '@/utils/permission';
import { listHouseUseType_add_house } from '@/api/system/houseUse';
import { validator } from '@/utils/Reg';
@@ -208,7 +208,7 @@ const dialog = reactive<DialogOption>({
title: ''
});
type HouseRentalFormType = HouseRentalForm & {
type HouseRentalFormType = HouseRentalSigningVO & {
villageName?: string;
houseName?: string;
houseArea?: number;
@@ -216,6 +216,8 @@ type HouseRentalFormType = HouseRentalForm & {
};
const initFormData: HouseRentalFormType = {
'createTime': undefined,
'id': undefined,
'rentalId': undefined,
'contractNo': undefined,
'tenantName': undefined,