feat: 更新业务需求
This commit is contained in:
@@ -332,7 +332,7 @@ const [BasicModal, modalApi] = useVbenModal({
|
|||||||
for (const item of record.relationList) {
|
for (const item of record.relationList) {
|
||||||
for (let i = 0; i < detailTable.value.length; i++) {
|
for (let i = 0; i < detailTable.value.length; i++) {
|
||||||
if (item.cleanId === detailTable.value[i].id) {
|
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;
|
detailTable.value[i].sumPeices = item.sumPrice;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -446,7 +446,7 @@ const detailColumns = [
|
|||||||
customRender: ({ value }: { value: number }) =>
|
customRender: ({ value }: { value: number }) =>
|
||||||
value === 1 ? '启用' : '禁用',
|
value === 1 ? '启用' : '禁用',
|
||||||
},
|
},
|
||||||
// { title: '保洁面积', dataIndex: 'area', key: 'area' },
|
{ title: '保洁面积', dataIndex: 'area', key: 'area' },
|
||||||
{
|
{
|
||||||
title: '合计费用',
|
title: '合计费用',
|
||||||
dataIndex: 'sumPeices',
|
dataIndex: 'sumPeices',
|
||||||
@@ -490,7 +490,6 @@ function handleViewDetail(record: any) {
|
|||||||
...record,
|
...record,
|
||||||
readonly: true,
|
readonly: true,
|
||||||
unitId: currentUnitId.value,
|
unitId: currentUnitId.value,
|
||||||
area: record.su,
|
|
||||||
});
|
});
|
||||||
detailModalApi.open();
|
detailModalApi.open();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user