feat: 更新业务需求

This commit is contained in:
fyy
2025-09-14 14:06:17 +08:00
parent ee2fd5070b
commit fb560c2fce

View File

@@ -332,7 +332,7 @@ const [BasicModal, modalApi] = useVbenModal({
for (const item of record.relationList) {
for (let i = 0; i < detailTable.value.length; i++) {
if (item.cleanId === detailTable.value[i].id) {
detailTable.value[i].area = item.areas;
// detailTable.value[i].area = item.areas;
detailTable.value[i].sumPeices = item.sumPrice;
}
}
@@ -446,7 +446,7 @@ const detailColumns = [
customRender: ({ value }: { value: number }) =>
value === 1 ? '启用' : '禁用',
},
// { title: '保洁面积', dataIndex: 'area', key: 'area' },
{ title: '保洁面积', dataIndex: 'area', key: 'area' },
{
title: '合计费用',
dataIndex: 'sumPeices',
@@ -490,7 +490,6 @@ function handleViewDetail(record: any) {
...record,
readonly: true,
unitId: currentUnitId.value,
area: record.su,
});
detailModalApi.open();
}