feat(订单明细): 添加删除订单明细功能

feat(辅料管理): 新增辅料变动记录功能

feat(仪表拓扑): 在仪表标签中显示上次抄表记录

fix(设备管理): 修复图片预览空值问题

refactor(员工管理): 部门树显示负责人信息

style(备件变动): 优化备件变动页面布局

docs(订单记录): 更新操作类型映射表

test(销售异议): 新增销售异议管理模块

chore: 更新.gitignore文件
This commit is contained in:
砂糖
2026-01-04 14:42:51 +08:00
parent aeecf4bcf7
commit 42dbbf79ae
16 changed files with 1724 additions and 316 deletions

View File

@@ -246,9 +246,10 @@ export default {
/** 删除按钮操作 */
handleDelete(row) {
const itemIds = row.itemId || this.ids;
const orderId = this.orderId;
this.$modal.confirm('是否确认删除正式订单明细编号为"' + itemIds + '"的数据项?').then(() => {
this.loading = true;
return delOrderItem(itemIds);
return actions[ORDER_ACTIONS.deleteOrderDetail].handler(itemIds, orderId)
}).then(() => {
this.loading = false;
this.getList();

View File

@@ -119,7 +119,8 @@ export default {
[ORDER_ACTIONS.createOrder]: '创建正式订单',
[ORDER_ACTIONS.updateOrder]: '修改正式订单',
[ORDER_ACTIONS.createOrderdetail]: '创建订单明细',
[ORDER_ACTIONS.updateOrderdetail]: '修改订单明细'
[ORDER_ACTIONS.updateOrderdetail]: '修改订单明细',
[ORDER_ACTIONS.deleteOrderDetail]: '删除订单明细',
};
// 若不存在对应映射,返回原始类型
return actionNameMap[type] || type || '未知操作';