Browse Source

配置修改

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
9f918b1c0a
  1. 4
      src/views/infra/config/ConfigForm.vue
  2. 3
      src/views/infra/config/index.vue

4
src/views/infra/config/ConfigForm.vue

@ -34,6 +34,9 @@
<el-option v-for="item in getStrDictOptions(DICT_TYPE.INVENTORY_STATUS)" :key="item.value" :label="item.label" :value="item.value" />
</el-select>
</el-form-item>
<el-form-item label="库位代码" prop="locationCode">
<el-input v-model="formData.locationCode" placeholder="请输入库位代码,多条用逗号分隔" />
</el-form-item>
<el-form-item label="是否可见" prop="visible">
<el-radio-group v-model="formData.visible">
<el-radio
@ -77,6 +80,7 @@ const formData = ref({
itemTypeList:'',
areaTypeList:'',
inventoryStatusList:'',
locationCode:'',
visible: true,
remark: ''
})

3
src/views/infra/config/index.vue

@ -59,7 +59,8 @@
<template #default="scope">
<dict-tag :type="DICT_TYPE.INVENTORY_STATUS" :value="scope.row.inventoryStatus" />
</template>
</el-table-column>
</el-table-column>
<el-table-column label="库位代码" align="left" prop="locationCode" :width="200"/>
<el-table-column label="是否可见" align="center" prop="visible">
<template #default="scope">
<dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.visible" />

Loading…
Cancel
Save