fix: 移除仓库空间 max_weight 字段(接口不接受)
This commit is contained in:
parent
2e5093ddd2
commit
1137f75cd2
@ -30,16 +30,6 @@
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="承重限制" prop="max_weight">
|
||||
<el-input-number
|
||||
v-model="formData.max_weight"
|
||||
:min="0"
|
||||
:step="0.1"
|
||||
style="width: 100%"
|
||||
placeholder="最大承重(kg)"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="仓位状态" prop="space_status">
|
||||
<el-select
|
||||
v-model="formData.space_status"
|
||||
@ -104,7 +94,6 @@ const formData = reactive<any>({
|
||||
space_code: '',
|
||||
custom_name: '',
|
||||
custom_barcode: '',
|
||||
max_weight: null,
|
||||
space_status: 'AVAILABLE',
|
||||
is_enabled: 1
|
||||
})
|
||||
@ -129,7 +118,6 @@ watch(() => props.space, (newSpace) => {
|
||||
formData.space_code = newSpace.space_code
|
||||
formData.custom_name = newSpace.custom_name || ''
|
||||
formData.custom_barcode = newSpace.custom_barcode || ''
|
||||
formData.max_weight = newSpace.max_weight
|
||||
formData.space_status = newSpace.space_status
|
||||
formData.is_enabled = newSpace.is_enabled ? 1 : 0
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user