Commit Graph

65 Commits

Author SHA1 Message Date
dxc
afcf90a859 feat: enforce field-level permissions for buy and service modules
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 15:03:44 +08:00
dxc
5bc3dab31c feat: add field-level permission control for inbound modules
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 14:52:12 +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
1ad477eda8 feat: add permission management to inbound service module
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 13:12:45 +08:00
dxc
1d2e8feced feat: apply RBAC permission control to product module
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 13:03:27 +08:00
dxc
6e914f1e96 feat: add RBAC permission control for semi inbound module
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 12:08:57 +08:00
dxc
b5b1efdc4e fix: remove duplicate allColumns declaration
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 11:56:15 +08:00
dxc
56bb6a1c84 chore: add user store import to buy inbound view
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 11:51:28 +08:00
dxc
379bc5786f feat: implement RBAC for inbound buy module with field-level permissions
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-27 11:48:33 +08:00
dxc
31ddb1aafd 将半成品成品同样进行新增所属公司以及内容修改 2026-02-24 16:16:17 +08:00
dxc
42171ed612 对于采购件的税率添加以及所属公司添加 2026-02-24 15:43:14 +08:00
dxc
d1ab5f1100 新增打印多张标签纸的功能 2026-02-24 14:33:43 +08:00
dxc
853374de5d 将半成品和成品跟bom表进行相关联 2026-02-12 17:16:24 +08:00
dxc
e900326571 修改semi,product,service的搜索逻辑 2026-02-11 15:12:20 +08:00
dxc
83f040728f fix: add missing import and correct SQL query for service list
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-11 14:51:26 +08:00
dxc
d3d35e03cd feat: increase default page size and options for inbound semi list 2026-02-11 14:51:14 +08:00
dxc
9f0134b2e4 feat: add material search filters to semi, product, service modules
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-11 14:42:16 +08:00
dxc
5f3ceef3fd 修改采购件对于两个搜索框的bug修复 2026-02-11 13:39:02 +08:00
dxc
5532c87684 基础信息展示以及搜索逻辑进行修复 2026-02-11 13:12:05 +08:00
dxc
ec16ef8d20 对于采购件的内容进行修改,使其填写更加便利加上库位自动加载上一次的逻辑 2026-02-11 08:38:12 +08:00
dxc
d594ed7ef1 采购人根据历史上传记录来 2026-02-10 17:41:53 +08:00
dxc
8ee2a9a45b 采购人走用户的表 2026-02-10 17:20:06 +08:00
dxc
b5b0677b01 feat: align service inbound material search with buy/semi
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-10 15:16:03 +08:00
dxc
8d00e6783c feat: add provider autocomplete to service form
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-10 15:10:55 +08:00
dxc
695c78090a refactor: remove localStorage usage for column visibility and history
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-10 15:03:52 +08:00
dxc
af1a95017b 选择基础信息内容修改 2026-02-10 15:00:57 +08:00
dxc
8cae6ee7f6 refactor: remove local history caching and add API suggestions
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-10 14:38:15 +08:00
dxc
2d0593078b 修改拍照的大小以及增加放大缩小编辑等功能 2026-02-10 09:59:32 +08:00
dxc
a0ed92319c 修改拍照上传逻辑,避免平板不可以调用照相机 2026-02-10 09:27:52 +08:00
dxc
d4b23790a1 fix: only close camera dialog on successful upload
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 17:15:50 +08:00
dxc
aee0fc4380 inventory-web/src/views/stock/inbound/buy.vue
```python
<<<<<<< SEARCH
const cameraInputRef = ref<HTMLInputElement | null>(null)
const currentCameraField = ref<'arrival_photo' | 'inspection_report'>('arrival_photo')
=======
const cameraDialogVisible = ref(false)
const cameraRef = ref<InstanceType<typeof WebRtcCamera> | null>(null)
const currentCameraField = ref<'arrival_photo' | 'inspection_report'>('arrival_photo')
>>>>>>> REPLACE
```

inventory-web/src/views/stock/inbound/buy.vue
```python
<<<<<<< SEARCH
const triggerCamera = (field: 'arrival_photo' | 'inspection_report') => { currentCameraField.value = field; if (cameraInputRef.value) cameraInputRef.value.click() }
=======
const triggerCamera = (field: 'arrival_photo' | 'inspection_report') => {
  currentCameraField.value = field;
  cameraDialogVisible.value = true;
}
>>>>>>> REPLACE
```

Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 17:02:02 +08:00
dxc
107c311391 feat: add WebRTC camera component for in-app photo capture
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 16:57:47 +08:00
dxc
70f75cc72b (no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 12:19:56 +08:00
dxc
94d3149bd9 (no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 12:15:00 +08:00
dxc
6131b474a1 (no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 12:11:01 +08:00
dxc
89a29f0b65 (no commit message provided)
Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) <aider@aider.chat>
2026-02-09 11:29:37 +08:00
dxc
04ee938cd1 借库逻辑实现 2026-02-06 17:11:47 +08:00
dxc
387c8973d6 盘库盲盘以及导出excel实现 2026-02-06 14:30:14 +08:00
dxc
489e62e55b 摄像头逻辑进行修改,更改分辨率进行快速的读取识别 2026-02-06 11:28:48 +08:00
dxc
e027ebd4a9 盘库操作初设计 2026-02-06 10:16:37 +08:00
dxc
374c4932f0 修改semi页面的弹窗滚动条的适配内容 2026-02-05 15:09:37 +08:00
dxc
cad5fd696c 修正新增入库时3个组件的名称筛选逻辑 2026-02-05 15:04:06 +08:00
dxc
0bc47d306d 增加入库记录页面,同时修正三组入库的时间问题 2026-02-05 14:30:11 +08:00
dxc
10e53cab23 修改半成品与成品出入库相关联逻辑 2026-02-05 13:17:39 +08:00
dxc
aa40d4a6da 成品入库与出库相关联 2026-02-05 11:58:35 +08:00
dxc
bf8cf37ff9 半成品入库与出库相关联 2026-02-05 11:51:25 +08:00
dxc
1e5627dc0a 修改采购件入库逻辑 2026-02-05 11:37:06 +08:00
dxc
3257973820 成品图像上传初实现,支持多图,检测报告的图片以及链接上传 2026-02-03 13:20:17 +08:00
dxc
d084bd29dd 半成品图像上传初实现,支持多图,检测报告的图片以及链接上传 2026-02-03 13:06:18 +08:00