8/4 更新 输入限制,修复收银台

This commit is contained in:
Zy
2026-08-04 16:07:22 +08:00
parent ca5f214bac
commit 494b7869ea
26 changed files with 668 additions and 412 deletions

View File

@@ -39,7 +39,7 @@ export const get_movein_user_type = (query?: {
'tenantRate': string;
'relatives': string;
'relativeRate': string;
'other': string;
'otherType': string;
'otherRate': string;
'totalResident': string;
}> => {

View File

@@ -42,6 +42,7 @@ export type billlistType = {
'endDate': string;
'money': string;
'payStatus': string;
'remark': string;
amount: string;
residentName: string;
};

View File

@@ -87,3 +87,27 @@ export const getHouseOwnUser = (houseId: string): AxiosPromise<uploadHouseImaget
method: 'GET'
});
};
/**
* 房屋租赁管理 改变状态 0下架 1上架
* @param houseId
* */
export const changeHouseRedientStatus = (houseId: string): AxiosPromise<uploadHouseImagetype> => {
return request({
url: `/houseRental/changeStatus/${houseId}`,
method: 'PUT',
});
};
/**
* 房屋租赁管理 签约
* @param data
*/
export const HouseRedientSign = (data: HouseRentalForm): AxiosPromise<uploadHouseImagetype> => {
return request({
url: `/houseRental/sign`,
method: 'POST',
data: data
});
};

View File

@@ -2,7 +2,7 @@ export interface HouseRentalVO {
/**
* id 房屋租赁表id
*/
id: string | number;
id: string;
/**
* 租户姓名
@@ -72,7 +72,7 @@ export interface HouseRentalVO {
/**
* 房屋id
*/
houseId: number;
houseId: string;
/**
* 房屋用途
*/
@@ -88,83 +88,74 @@ export interface HouseRentalVO {
pubTime: string;
houseImageUrls: string[];
facilitieslist: string[];
signingList?: HouseRentalSigningVO[];
}
export interface HouseRentalForm extends BaseEntity {
/**
* id 房屋租赁表id
* 收费模式
*/
id?: string | number;
chargeMode: string;
/**
* 租户姓名
* 收费标准
*/
rentalName?: string;
chargeStandard: string;
/**
* 租金 单位元
* 合同编号
*/
rent?: number;
contractNo: string;
/**
* 0 整租 1 合租
* 合同状态
*/
rentalType?: string;
/**
* 房屋朝向
*/
houseFace?: string;
/**
* 房屋面积
*/
houseArea?: number;
/**
* 楼层号
*/
floorNo?: number;
/**
* 入住时间
*/
inTime?: string;
/**
* 房屋设施(“,”隔开)
*/
facilities?: string;
/**
* 房屋照片url( "," 隔开)
*/
houseImageUrl?: string;
/**
* 补充租房信息
*/
supInfo?: string;
/**
* 手机号
*/
phone?: number;
/**
* 微信
*/
vx?: string;
/**
* 邮箱
*/
email?: string;
contractStatus: string;
/**
* 房屋id
*/
houseId?: string | number;
houseId?: string;
/**
* 租赁结束时间
*/
leaseEndDate: string;
/**
* 租赁起始时间
*/
leaseStartDate: string;
/**
* 备注
*/
remark?: string;
/**
* 房屋租赁ID
*/
rentalId: string;
/**
* 承租方姓名
*/
tenantName: string;
/**
* 承租方联系电话
*/
tenantPhone: string;
/**
* 小区id
*/
villageId?: string;
}
export interface HouseRentalSigningVO {
'id': string;
'rentalId': string;
'contractNo': string;
'tenantName': string;
'tenantPhone': string;
'chargeMode': string;
'chargeStandard': string;
'contractStatus': string;
'leaseStartDate': string;
'leaseEndDate': string;
'houseId': string;
'villageId': string;
'remark': string;
'createTime': string;
}
export interface HouseRentalQuery extends PageQuery {

View File

@@ -77,6 +77,10 @@ export interface ResidentVO {
}
export interface ResidentForm extends BaseEntity {
/**
* 年龄
*/
age?: number;
/**
* 主键 住户管理id
*/
@@ -163,17 +167,24 @@ export interface ResidentQuery extends PageQuery {
* 日期范围参数
*/
date?: any;
/**
* 0业主
* 1亲属
* 2租户
* 3朋友
* 房屋名称
*/
houseName?: string;
/**
* 姓名
*/
name?: string;
/**
* 0 业主
* 1 亲属
* 2 租户
* 3 朋友
*/
ownerRelationship?: string;
/**
* 住户状态
* 0审核中 1 已认证
* 0 审核中 1 已认证
*/
status?: string;