|
|
@@ -859,7 +859,7 @@ EOF
|
|
|
- Modify: `bx-mobile/src/views/reimburse/ReimburseDetailPage.vue`
|
|
|
- Modify: advance 对应页若 PC 有撤回则同步(以 PC 为准;备用金若无 withdraw API 则跳过)
|
|
|
|
|
|
-- [ ] **Step 1: API**
|
|
|
+- [x] **Step 1: API**
|
|
|
|
|
|
```ts
|
|
|
withdraw: (id: BxId) => bxClient.post(`/reimburses/${id}/withdraw`),
|
|
|
@@ -868,12 +868,12 @@ getApprovalHistory: (id: BxId) => bxClient.get(`/reimburses/${id}/approval-histo
|
|
|
getApprovalHistory: (id: BxId) => bxClient.get(`/advances/${id}/approval-history`),
|
|
|
```
|
|
|
|
|
|
-- [ ] **Step 2: UI**
|
|
|
+- [x] **Step 2: UI**
|
|
|
|
|
|
在详情/列表按状态显示「撤回」;确认框后调用 API。
|
|
|
审批时间线:渲染 `approval-history` 返回列表(字段对齐 PC)。
|
|
|
|
|
|
-- [ ] **Step 3: Commit**
|
|
|
+- [x] **Step 3: Commit**
|
|
|
|
|
|
```bash
|
|
|
git add bx-mobile/src/api/index.ts bx-mobile/src/views/reimburse bx-mobile/src/views/advance bx-mobile/src/views/approval
|
|
|
@@ -892,7 +892,7 @@ EOF
|
|
|
- Modify: `bx-mobile/src/views/reimburse/ReimburseApplyPage.vue`
|
|
|
- Modify: `bx-mobile/src/api/index.ts`(`generateTitle` 带参)
|
|
|
|
|
|
-- [ ] **Step 1: generateTitle**
|
|
|
+- [x] **Step 1: generateTitle**
|
|
|
|
|
|
```ts
|
|
|
generateTitle: (reimburseDate?: string, excludeApplyId?: BxId, applicantId?: BxId) => {
|
|
|
@@ -904,7 +904,7 @@ generateTitle: (reimburseDate?: string, excludeApplyId?: BxId, applicantId?: BxI
|
|
|
},
|
|
|
```
|
|
|
|
|
|
-- [ ] **Step 2: 表单字段**
|
|
|
+- [x] **Step 2: 表单字段**
|
|
|
|
|
|
- `applicantId`:用户下拉(若门户有用户下拉 API,用现有 admin/用户列表权限接口;否则用 PC 报销页同一数据源——查阅 web-admin 报销申请所用接口并复用路径)。
|
|
|
- `reimburseDate`:日期选择;变更时重新 `generateTitle`。
|
|
|
@@ -912,7 +912,7 @@ generateTitle: (reimburseDate?: string, excludeApplyId?: BxId, applicantId?: BxI
|
|
|
|
|
|
> 用户下拉:优先复用门户已有接口(例如 web-admin 报销申请里的用户选择 API)。实施时打开 `web-admin/src/views/bx/reimburse/apply/index.vue` 确认具体 URL,H5 原样调用。
|
|
|
|
|
|
-- [ ] **Step 3: Commit**
|
|
|
+- [x] **Step 3: Commit**
|
|
|
|
|
|
```bash
|
|
|
git add bx-mobile/src/api/index.ts bx-mobile/src/views/reimburse/ReimburseApplyPage.vue
|
|
|
@@ -934,7 +934,7 @@ EOF
|
|
|
- Modify: `bx-mobile/src/router/index.ts`
|
|
|
- Modify: `bx-mobile/src/constants/bxMenuCatalog.ts` — `BX_MENU_CURRENT_PHASE = 3`
|
|
|
|
|
|
-- [ ] **Step 1: 路由加 menuCodes 并注册(若 P1 未注册)**
|
|
|
+- [x] **Step 1: 路由加 menuCodes 并注册(若 P1 未注册)**
|
|
|
|
|
|
```ts
|
|
|
{ path: 'admin/expenses', meta: { menuCodes: ['bx:expenseItem:list'] }, ... },
|
|
|
@@ -942,15 +942,15 @@ EOF
|
|
|
{ path: 'admin/wf-reimburse', meta: { menuCodes: ['bx:workflowReimburse:list'] }, ... },
|
|
|
```
|
|
|
|
|
|
-- [ ] **Step 2: 页面改走 bxClient + UUID**
|
|
|
+- [x] **Step 2: 页面改走 bxClient + UUID**
|
|
|
|
|
|
去掉对旧 `userApi`/数字 id 的依赖;节点审批人选择与 PC 工作流页同一用户数据源。
|
|
|
|
|
|
-- [ ] **Step 3: 验收**
|
|
|
+- [x] **Step 3: 验收**
|
|
|
|
|
|
有权限可见配置入口;改费用树/节点后 PC 与 H5 两侧数据一致。
|
|
|
|
|
|
-- [ ] **Step 4: Commit**
|
|
|
+- [x] **Step 4: Commit**
|
|
|
|
|
|
```bash
|
|
|
git add bx-mobile/src/views/admin bx-mobile/src/router/index.ts bx-mobile/src/constants/bxMenuCatalog.ts
|
|
|
@@ -969,13 +969,13 @@ EOF
|
|
|
- Modify: `docs/business-inventory/03-报销业务明细.md`
|
|
|
- Modify: `docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md`(状态改为已实现)
|
|
|
|
|
|
-- [ ] **Step 1: 同一账号 PC ↔ H5 对照**
|
|
|
+- [x] **Step 1: 同一账号 PC ↔ H5 对照**
|
|
|
|
|
|
覆盖设计文档 §4.2 全部勾选项;记录缺陷并修。
|
|
|
|
|
|
-- [ ] **Step 2: 更新文档状态**
|
|
|
+- [x] **Step 2: 更新文档状态**
|
|
|
|
|
|
-- [ ] **Step 3: Commit**
|
|
|
+- [x] **Step 3: Commit**
|
|
|
|
|
|
```bash
|
|
|
git add docs/business-inventory/03-报销业务明细.md docs/superpowers/specs/2026-08-09-bx-mobile-shanxia2-adapt-design.md
|