Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web

This commit is contained in:
ChenQiuYu 2025-05-23 10:34:18 +08:00
commit 95f8501314
1 changed files with 5 additions and 2 deletions

View File

@ -170,9 +170,12 @@ const save = () => {
)
}
const removeTableRow = (row: any) => {
list.value = list.value.filter((item: any) => item.id !== row.id);
const index = list.value.findIndex(item => item === row);
if (index !== -1) {
list.value.splice(index, 1);
calculateTotalPrices();
}
}
const pageNum = ref<any>(1)
const pageSize = ref<any>(20)
const total = ref<any>(0)