diff --git a/.doc/popup-migration-checklist.md b/.doc/popup-migration-checklist.md index 4aa3bfe..748f603 100644 --- a/.doc/popup-migration-checklist.md +++ b/.doc/popup-migration-checklist.md @@ -19,7 +19,7 @@ | MessageView.vue | 时间戳 (createTime) | 移至内容区域顶部,使用灰色小字 | | CategoryBillPopup.vue | 待检查 | 待定 | | BudgetChartAnalysis.vue | 待检查 | 待定 | -| TransactionDetail.vue | 待检查 | 待定 | +| TransactionDetail.vue | 已删除 | 已被 TransactionDetailSheet.vue 替代 | | ReasonGroupList.vue | 待检查 | 待定 | ### 第三批:带确认/取消按钮 diff --git a/Web/src/App.vue b/Web/src/App.vue index aa5f58d..bd5f4c0 100644 --- a/Web/src/App.vue +++ b/Web/src/App.vue @@ -150,7 +150,8 @@ const isShowAddBill = computed(() => { route.path === '/' || route.path === '/balance' || route.path === '/message' || - route.path === '/calendar-v2' + route.path === '/calendar-v2' || + route.path === '/statistics-v2' ) }) diff --git a/Web/src/components/Common/ReasonGroupList.vue b/Web/src/components/Common/ReasonGroupList.vue index a9d2f5e..2f13961 100644 --- a/Web/src/components/Common/ReasonGroupList.vue +++ b/Web/src/components/Common/ReasonGroupList.vue @@ -99,10 +99,11 @@ - @@ -198,7 +199,7 @@ import { showToast, showSuccessToast, showLoadingToast, closeToast, showConfirmD import { getReasonGroups, batchUpdateByReason, getTransactionList } from '@/api/transactionRecord' import ClassifySelector from './ClassifySelector.vue' import BillListComponent from '@/components/Bill/BillListComponent.vue' -import TransactionDetail from '@/components/Transaction/TransactionDetail.vue' +import TransactionDetailSheet from '@/components/Transaction/TransactionDetailSheet.vue' import PopupContainerV2 from './PopupContainerV2.vue' const props = defineProps({ diff --git a/Web/src/components/Transaction/TransactionDetail.vue b/Web/src/components/Transaction/TransactionDetail.vue deleted file mode 100644 index d2efe00..0000000 --- a/Web/src/components/Transaction/TransactionDetail.vue +++ /dev/null @@ -1,407 +0,0 @@ - - - - - diff --git a/Web/src/components/Transaction/TransactionDetailSheet.vue b/Web/src/components/Transaction/TransactionDetailSheet.vue index 00f7f3c..ccd3758 100644 --- a/Web/src/components/Transaction/TransactionDetailSheet.vue +++ b/Web/src/components/Transaction/TransactionDetailSheet.vue @@ -99,15 +99,40 @@
分类
-
- {{ editForm.classify }} - 请选择分类 +
+
+ +
+ + + 建议: {{ props.transaction?.unconfirmedClassify }} + + ({{ getTypeName(props.transaction?.unconfirmedType) }}) + + +
+ 应用 +
+
+
+ {{ editForm.classify }} + 请选择分类 +
+
@@ -149,26 +174,39 @@ - + - + + + + +