feat(钢卷管理): 添加长度字段支持及相关功能
refactor(订单管理): 重构订单状态显示及操作记录功能 fix(权限控制): 移除导出订单明细的权限校验 perf(钢卷操作): 使用策略模式重构钢卷操作逻辑
This commit is contained in:
@@ -158,6 +158,13 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="长度(m)" prop="length">
|
||||
<el-input v-model.number="updateForm.length" placeholder="请输入长度" type="number" step="0.01"
|
||||
:disabled="readonly">
|
||||
<template slot="append">米</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="逻辑库区" prop="warehouseId">
|
||||
<WarehouseSelect
|
||||
v-model="updateForm.warehouseId"
|
||||
@@ -264,7 +271,8 @@ export default {
|
||||
warehouseId: null,
|
||||
nextWarehouseName: '',
|
||||
status: 0,
|
||||
remark: ''
|
||||
remark: '',
|
||||
length: null,
|
||||
},
|
||||
// 更新表单
|
||||
updateForm: {
|
||||
@@ -281,7 +289,8 @@ export default {
|
||||
qualityStatus: '',
|
||||
packagingRequirement: '',
|
||||
packingStatus: '',
|
||||
trimmingRequirement: ''
|
||||
trimmingRequirement: '',
|
||||
length: null,
|
||||
},
|
||||
rules: {
|
||||
currentCoilNo: [
|
||||
@@ -597,6 +606,7 @@ export default {
|
||||
grossWeight: parseFloat(this.currentInfo.grossWeight) || null,
|
||||
netWeight: parseFloat(this.currentInfo.netWeight) || null,
|
||||
warehouseId: this.currentInfo.warehouseId,
|
||||
length: parseFloat(this.currentInfo.length) || null,
|
||||
remark: this.currentInfo.remark
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user