feat: 更新业务需求
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user