feat(仓库管理): 新增钢卷库区操作日志功能
添加钢卷库区操作日志记录功能,包括: 1. 在入库操作时自动记录日志 2. 新增日志查询API接口 3. 实现日志查看页面和表格组件 4. 处理拒签和删除操作时的日志清理
This commit is contained in:
@@ -353,6 +353,7 @@ import { listDeliveryPlan } from '@/api/wms/deliveryPlan'
|
||||
import handleCoil, { COIL_ACTIONS } from '../js/coilActions'
|
||||
import LabelRender from '../panels/LabelRender/index.vue'
|
||||
import CoilNo from "@/components/KLPService/Renderer/CoilNo.vue";
|
||||
import { delCoilWarehouseOperationLogByCoilId } from '@/api/wms/coilWarehouseOperationLog'
|
||||
|
||||
// 键值为[400, 500), 不包含在字典中,但后续可以加入的特殊操作,这类操作录入后会立刻完成,例如入库(401)和发货(402)
|
||||
|
||||
@@ -676,7 +677,7 @@ export default {
|
||||
this.buttonLoading = true;
|
||||
updatePendingAction({
|
||||
...row,
|
||||
actionStatus: 3, // 3表示拒签
|
||||
actionStatus: 3, // 3表示取消操作,也就是拒签
|
||||
}).then(response => {
|
||||
this.$modal.msgSuccess("拒签成功");
|
||||
this.getList();
|
||||
@@ -723,6 +724,11 @@ export default {
|
||||
}
|
||||
delPendingAction(row.actionId).then(response => {
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
delCoilWarehouseOperationLogByCoilId({
|
||||
coilId: row.coilId,
|
||||
operationType: 1,
|
||||
inOutType: 1
|
||||
})
|
||||
this.getList();
|
||||
}).finally(() => {
|
||||
this.buttonLoading = false;
|
||||
|
||||
Reference in New Issue
Block a user