Commit dab1497d by chenjinjing

no message

parent e5ca5eb5
...@@ -113,6 +113,8 @@ export async function settleInEnterpriseUpdate(eId:string, param) { ...@@ -113,6 +113,8 @@ export async function settleInEnterpriseUpdate(eId:string, param) {
//如果 param.rent 和 param.area 都存在且不为零,则计算 unitPrice 为 param.rent 除以 param.area;否则,直接使用 param.unitPrice。 //如果 param.rent 和 param.area 都存在且不为零,则计算 unitPrice 为 param.rent 除以 param.area;否则,直接使用 param.unitPrice。
unitPrice: param.rent && param.area ? param.rent / param.area : param.unitPrice, unitPrice: param.rent && param.area ? param.rent / param.area : param.unitPrice,
rent:param.rent, rent:param.rent,
startTime: param.fuHuaTimeStart, //租赁开始日期
endTime: param.fuHuaTimeEndTime, //租赁结束日期
} }
await operationalData(OPERATIONALDATATYPE.修改, TABLENAME.租赁信息, leaseInfo, {eId}); await operationalData(OPERATIONALDATATYPE.修改, TABLENAME.租赁信息, leaseInfo, {eId});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment