From ea3c33c8561df39d4f123d1424fda99dd0f0c51d Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期四, 14 十一月 2024 08:15:41 +0800 Subject: [PATCH] add - panel --- jcdm-ui/src/views/main/bs/beatSetting/index.vue | 18 ++++++------------ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/jcdm-ui/src/views/main/bs/beatSetting/index.vue b/jcdm-ui/src/views/main/bs/beatSetting/index.vue index ca3770f..5c4071f 100644 --- a/jcdm-ui/src/views/main/bs/beatSetting/index.vue +++ b/jcdm-ui/src/views/main/bs/beatSetting/index.vue @@ -121,24 +121,15 @@ </span> <el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form-item label="浜у搧缂栫爜" prop="productCode"> - <el-select style="width: 100%" @change="handleSelectChange(form.productCode)" v-model="form.productCode" placeholder="璇疯緭鍏ヤ骇鍝佺紪鐮�"> - <el-option - v-for="item in options" - :key="item.productCode" - :label="item.productCode" - :value="item.productCode"> - </el-option> - </el-select> + <el-input v-model="form.productCode" placeholder="璇疯緭鍏ヤ骇鍝佺紪鐮�" /> </el-form-item> <el-form-item label="浜у搧鍚嶇О" prop="productName"> - <el-input disabled v-model="form.productName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" /> + <el-input v-model="form.productName" placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�" /> </el-form-item> <el-form-item label="鑺傛媿" prop="beat"> <el-input v-model="form.beat" placeholder="璇疯緭鍏ヨ妭鎷�" /> </el-form-item> - <el-form-item label="澶囨敞" prop="remark"> - <el-input v-model="form.remark" placeholder="璇疯緭鍏ュ娉�" /> - </el-form-item> + </el-form> <div slot="footer" class="dialog-footer"> <el-button type="primary" @click="submitForm">纭� 瀹�</el-button> @@ -211,6 +202,9 @@ beat: [ { required: true, message: "鑺傛媿涓嶈兘涓虹┖", trigger: "blur" } ], + productCode: [ + { required: true, message: "浜у搧缂栫爜涓嶈兘涓虹┖", trigger: "blur" } + ], } }; }, -- Gitblit v1.9.3