Commit Graph

52 Commits

Author SHA1 Message Date
DXC
605462cc33 fix: 解除库存盘点弹窗500条限制并修复字段匹配 2026-04-24 13:40:08 +08:00
DXC
996056d46a fix: 修复库存盘点已盘数量卡在500的问题 2026-04-24 13:19:57 +08:00
dxc
ab353e5b34 库存盘点添加扫码保留数值的功能 2026-04-22 10:05:25 +08:00
DXC
0d8f697df4 fix(stocktake): enforce session_id in resume, make missing generation idempotent, update UI to show SN, and fix excel time offset 2026-04-03 09:42:51 +08:00
DXC
43e1d0aa55 fix(stocktake): strictly isolate stocktake drafts by session_id in list and finish generation to prevent historical data mixing 2026-04-03 09:25:52 +08:00
DXC
c361d25ea0 fix(stocktake): display batch number in scanning dialog and fix empty uncounted items in Excel export 2026-04-02 19:06:19 +08:00
DXC
dbcb7d0d92 perf(system): optimize large data rendering in stocktake, fix N+1 in warehouse, and add upload size limits 2026-04-02 18:51:13 +08:00
DXC
edf09508f6 fix(frontend): resolve cross-page selection loss, add destroy-on-close to dialogs, and fix row-key collision in stocktake 2026-04-02 18:35:11 +08:00
DXC
4b023a4002 fix(stocktake): auto-refresh inventory drafts silently after scanning to ensure real-time outer stats 2026-03-27 09:23:10 +08:00
DXC
b2ce9d31f8 fix(stocktake): replace hardcoded 'admin' with actual current user in excel export 2026-03-27 09:04:13 +08:00
DXC
8259a74c57 fix(stocktake): fetch inventory baseline immediately upon session start to show correct initial stats 2026-03-27 08:56:43 +08:00
DXC
dc42335ae0 fix(stocktake): decouple global stats calculation from list filters and pagination 2026-03-27 08:48:25 +08:00
DXC
f6b055d9c4 fix(stocktake): remove undeclared scannedMap and legacy cache references causing ReferenceError 2026-03-26 17:58:18 +08:00
DXC
8135a222f0 fix(stocktake): restore missing showConfirmDialog ref causing ReferenceError 2026-03-26 17:49:55 +08:00
DXC
edb49468a0 fix(stocktake): remove duplicate stats declaration causing compiler error 2026-03-26 17:47:40 +08:00
DXC
2a27f2e0df feat(stocktake): implement strict blind stocktake logic with hidden system qty, editable count and status filters 2026-03-26 17:42:51 +08:00
DXC
57bdb6273b refactor(stocktake): completely remove local stock cache and implement real-time remote scan match 2026-03-25 10:02:33 +08:00
DXC
bd20852739 refactor(stocktake): replace fetch-all with remote pagination/search and add permission checks 2026-03-25 09:51:28 +08:00
DXC
2574da03e5 fix: remove duplicate permissionMap declaration and eliminate infinite polling interval in stocktake page 2026-03-23 11:03:55 +08:00
DXC
7c9331d78a perf: implement optimistic UI for scanner, disable auto-camera, and sort excel by SKU 2026-03-23 09:51:59 +08:00
DXC
13e910645d fix: restore missing export to excel button and logic in blind stocktake page 2026-03-23 09:44:41 +08:00
DXC
53c198f363 feat: fix stocktake deletion bug, and add pagination, search, sorting to stocktake lists 2026-03-19 16:21:09 +08:00
DXC
5510bae3b2 fix: align API routes for generate-missing endpoint and remove redundant api prefix 2026-03-19 15:52:11 +08:00
DXC
5842042db6 refactor: merge end stocktake buttons and attach missing-calculation logic to the primary button 2026-03-19 15:44:05 +08:00
DXC
b37049a4d7 feat: add generate-missing logic to identify unscanned stock as inventory loss 2026-03-19 15:34:54 +08:00
DXC
9d972f1120 fix: enforce strict SKU ascending sort and display both serial and batch numbers 2026-03-19 11:31:51 +08:00
DXC
2701e94d38 fix: merge serial number and batch number display in stocktake draft list 2026-03-19 11:21:48 +08:00
DXC
ae4b4d586e fix: add optional remark field to inventory profit/loss entry modal 2026-03-19 11:18:55 +08:00
DXC
44bd23ab77 feat: enhance stocktake UX with 10s delay, sku search, sku retention and remove adjust btn 2026-03-19 11:10:00 +08:00
DXC
00781422eb fix: correct excel export formatting (timezone, spec, user, location) and add auto-polling for collaborative stocktake 2026-03-18 14:22:01 +08:00
DXC
ac15ef74db fix: resolve MaterialBase sku property error and add dynamic refresh after stock adjustment 2026-03-18 14:01:36 +08:00
DXC
33969b8336 fix: support stock adjustment for items without stocktake draft 2026-03-18 13:53:55 +08:00
DXC
e08012d9dd fix: add missing imports for openpyxl and patch draft resolution in stock adjustment 2026-03-18 13:24:16 +08:00
DXC
b19699cfba fix: use blob response for excel export auth and secure adjust route 2026-03-18 11:24:41 +08:00
DXC
54ea476206 refactor: unify variance calculation and implement backend Excel export with borrowed assets sheet 2026-03-18 11:10:54 +08:00
DXC
403bbe281f feat: persist stocktake phase in local storage for smart resumption routing 2026-03-13 13:14:49 +08:00
DXC
6dc1d69d7d refactor: redesign stocktake UI flow to support multi-day sessions and scanner resumption 2026-03-13 12:02:37 +08:00
DXC
a8f89517e7 refactor: optimize stocktake UI state machine and add confirmation dialogs 2026-03-13 11:53:11 +08:00
DXC
7b709db6af fix: resolve UI z-index blocking on finish button and hide variance report during active session 2026-03-13 11:27:32 +08:00
DXC
5212b98fc1 fix: add debug trace and robust UI unlocking to finish stocktake action 2026-03-13 11:11:34 +08:00
DXC
72d5a594cf fix: add UI state transition and error handling for finish stocktake action 2026-03-13 11:01:22 +08:00
DXC
13c7357b6f fix: resolve sqlalchemy f405 type casting error on stocktake query 2026-03-13 10:33:17 +08:00
DXC
f42f19f8e5 fix: support multiple copies printing natively in backend print service 2026-03-13 10:16:57 +08:00
DXC
7e23141870 refactor: redesign stocktake flow to require manual discrepancy audit and individual adjustments 2026-03-13 09:59:01 +08:00
DXC
df2fa4baf1 refactor: upgrade stocktake scanner to fullscreen and implement scan-input-resume loop 2026-03-13 08:47:53 +08:00
dxc
00ebffb9fd 修改盘库时候数量增加减少的按钮大小 2026-02-28 12:05:21 +08:00
dxc
4b29912f6f feat: add borrowed quantity column and update stocktake export formulas
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-28 11:55:19 +08:00
dxc
f79fb53b17 inventory-web/src/views/stock/stocktake/index.vue
```vue
<<<<<<< SEARCH
          <el-button type="primary" size="large" class="action-btn-full" @click="startNewSession" :loading="btnLoading">
            开始新盘点
          </el-button>
=======
          <el-button v-if="userStore.hasPermission('inventory_stocktake:operation')" type="primary" size="large" class="action-btn-full" @click="startNewSession" :loading="btnLoading">
            开始新盘点
          </el-button>
>>>>>>> REPLACE
```

inventory-web/src/views/stock/stocktake/index.vue
```vue
<<<<<<< SEARCH
          <el-button
              v-if="serverDraftCount > 0"
              type="warning"
              plain
              size="large"
              class="action-btn-full"
              @click="resumeSession"
              :loading="btnLoading"
          >
            继续上次盘点 <span class="sub-text">({{ serverDraftCount }}项)</span>
          </el-button>
=======
          <el-button
              v-if="serverDraftCount > 0 && userStore.hasPermission('inventory_stocktake:operation')"
              type="warning"
              plain
              size="large"
              class="action-btn-full"
              @click="resumeSession"
              :loading="btnLoading"
          >
            继续上次盘点 <span class="sub-text">({{ serverDraftCount }}项)</span>
          </el-button>
>>>>>>> REPLACE
```

Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 13:40:55 +08:00
dxc
38f0bbe41d feat: add RBAC for inventory stocktake module
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 13:36:10 +08:00
dxc
387c8973d6 盘库盲盘以及导出excel实现 2026-02-06 14:30:14 +08:00