feat(钢卷管理): 添加长度字段支持及相关功能

refactor(订单管理): 重构订单状态显示及操作记录功能

fix(权限控制): 移除导出订单明细的权限校验

perf(钢卷操作): 使用策略模式重构钢卷操作逻辑
This commit is contained in:
砂糖
2025-12-29 16:22:18 +08:00
parent 9b8c5ab80b
commit 825a967f7b
13 changed files with 344 additions and 170 deletions

View File

@@ -163,6 +163,12 @@
<template slot="append"></template>
</el-input>
</el-form-item>
<el-form-item label="长度(m)" required>
<el-input v-model.number="item.length" placeholder="请输入长度" type="number" step="0.01"
:disabled="readonly">
<template slot="append"></template>
</el-input>
</el-form-item>
<el-form-item label="逻辑库区" required>
<WarehouseSelect
v-model="item.warehouseId"
@@ -248,7 +254,8 @@ export default {
grossWeight: null,
netWeight: null,
warehouseId: null,
actualWarehouseId: null
actualWarehouseId: null,
length: null,
}
],
loading: false,
@@ -467,6 +474,7 @@ export default {
productName: coil.productName || '',
grossWeight: coil.grossWeight,
netWeight: coil.netWeight,
length: coil.length,
bomItems: coil.bomItemList || coil.bomItems || []
};
this.$message.success('母卷选择成功');
@@ -492,6 +500,7 @@ export default {
productName: data.productName || (data.product ? data.product.productName : ''),
grossWeight: data.grossWeight,
netWeight: data.netWeight,
length: data.length,
bomItems: data.bomItemList || data.bomItems || []
};
}
@@ -525,6 +534,7 @@ export default {
itemId: null,
grossWeight: null,
netWeight: null,
length: null,
warehouseId: null,
actualWarehouseId: null,
qualityStatus: '',