From abd3dd5f541aba0783b261e171bea1fd5ed36340 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 23 八月 2024 17:03:20 +0800
Subject: [PATCH] 1
---
Web/src/views/wcs/wcsStation/component/editDialog.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Web/src/views/wcs/wcsStation/component/editDialog.vue b/Web/src/views/wcs/wcsStation/component/editDialog.vue
index f1b9c10..d82c3cc 100644
--- a/Web/src/views/wcs/wcsStation/component/editDialog.vue
+++ b/Web/src/views/wcs/wcsStation/component/editDialog.vue
@@ -38,7 +38,10 @@
</el-col>
<el-col :xs="24" :sm="12" :md="12" :lg="12" :xl="12" class="mb20">
<el-form-item label="娴佺▼瀛楃被鍨�" prop="posType">
- <el-input v-model="ruleForm.posType" placeholder="璇疯緭鍏ユ祦绋嬪瓧绫诲瀷" maxlength="10" show-word-limit clearable />
+ <el-select clearable v-model="ruleForm.posType" placeholder="璇烽�夋嫨娴佺▼瀛楃被鍨�">
+ <el-option v-for="(item,index) in dl('PLCDataTypeEnum')" :key="index" :value="Number(item.value)" :label="`${item.name} (${item.code}) [${item.value}]`"></el-option>
+
+ </el-select>
</el-form-item>
@@ -80,7 +83,7 @@
import type { FormRules } from "element-plus";
import { addWcsStation, updateWcsStation, detailWcsStation } from "/@/api/wcs/wcsStation";
import { getWcsDeviceDeviceIdDropdown } from '/@/api/wcs/wcsStation';
-
+ import { getDictDataItem as di, getDictDataList as dl } from '/@/utils/dict-utils';
//鐖剁骇浼犻�掓潵鐨勫弬鏁�
var props = defineProps({
title: {
--
Gitblit v1.8.0