|
|
@@ -67,11 +67,12 @@
|
|
|
start-placeholder="开始日期"
|
|
|
end-placeholder="结束日期"
|
|
|
align="right"
|
|
|
+ @change="handleClearTime"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="状态" prop="loanState">
|
|
|
- <el-select v-model="queryParams.loanState" placeholder="状态">
|
|
|
+ <el-select style="width: 215px" v-model="queryParams.loanState" placeholder="状态">
|
|
|
<el-option
|
|
|
v-for="dict in dict.type.material_status"
|
|
|
:key="dict.value"
|
|
|
@@ -80,7 +81,31 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="物资属性" prop="propertyId">
|
|
|
+ <el-select style="width: 200px" v-model="queryParams.propertyId" placeholder="请选择属性"
|
|
|
+ @change="handlePropertyChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="property in PropertyList"
|
|
|
+ :key="property.propertyId"
|
|
|
+ :label="property.propertyName"
|
|
|
+ :value="property.propertyId"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
|
|
|
+ <el-form-item label="物资属性值" prop="recordId">
|
|
|
+ <el-select style="width: 215px" v-model="queryParams.recordId" placeholder="请选择属性值"
|
|
|
+ :disabled="!queryParams.propertyId"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="value in filteredPropertyValues"
|
|
|
+ :key="value.recordId"
|
|
|
+ :label="value.valueName"
|
|
|
+ :value="value.recordId"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button
|
|
|
v-no-more-click
|
|
|
@@ -178,7 +203,11 @@
|
|
|
align="center"
|
|
|
prop="materialsTypeName"
|
|
|
/>
|
|
|
-
|
|
|
+ <el-table-column
|
|
|
+ label="物资规格"
|
|
|
+ align="center"
|
|
|
+ prop="propertiesValue"
|
|
|
+ />
|
|
|
<el-table-column
|
|
|
label="物资图片"
|
|
|
prop="materialsTypePicture"
|
|
|
@@ -186,7 +215,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<div class="img-box" v-if="scope.row.materialsTypePicture">
|
|
|
<el-image
|
|
|
- style="width: 50px; height: 50px"
|
|
|
+ style="width: 50px; height: 50px;"
|
|
|
:preview-teleported="true"
|
|
|
class="images"
|
|
|
:hide-on-click-modal=true
|
|
|
@@ -254,7 +283,7 @@
|
|
|
@pagination="getList"
|
|
|
/>
|
|
|
<!-- 添加或修改物资对话框 -->
|
|
|
- <el-dialog :visible.sync="open" width="960px" append-to-body>
|
|
|
+ <el-dialog :visible.sync="open" width="960px" append-to-body>
|
|
|
<div slot="title" class="dialog-title">
|
|
|
<i></i>
|
|
|
<span class="title">{{ title }}</span>
|
|
|
@@ -278,6 +307,7 @@
|
|
|
:options="machinerytypeOptions"
|
|
|
:normalizer="normalizer"
|
|
|
placeholder="选择物资类型"
|
|
|
+
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -326,54 +356,51 @@
|
|
|
v-model="form.expirationDate"
|
|
|
type="date"
|
|
|
placeholder="选择日期"
|
|
|
+ :picker-options="FormpickerOptions"
|
|
|
+ @change="handleClearTime"
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <!-- <el-form-item label="可用寿命" prop="serviceLife">-->
|
|
|
- <!-- -->
|
|
|
- <!-- <el-date-picker-->
|
|
|
- <!-- v-model="form.serviceLife"-->
|
|
|
- <!-- type="date"-->
|
|
|
- <!-- placeholder="选择日期"-->
|
|
|
- <!-- >-->
|
|
|
- <!-- </el-date-picker>-->
|
|
|
- <!-- </el-form-item>-->
|
|
|
- <!-- <el-form-item label="可用次数" prop="serviceTimes">-->
|
|
|
- <!-- <el-input v-model="form.serviceTimes" placeholder="" disabled />-->
|
|
|
- <!-- </el-form-item>-->
|
|
|
- <!-- <el-row>-->
|
|
|
- <!-- <el-col :span="12">-->
|
|
|
- <!-- <el-form-item label="启用日期" prop="startTime">-->
|
|
|
- <!-- <el-input v-model="form.startTime" placeholder="" disabled />-->
|
|
|
- <!-- </el-form-item>-->
|
|
|
- <!-- </el-col>-->
|
|
|
- <!-- <el-col :span="12">-->
|
|
|
- <!-- <el-form-item label="物资剩余次数" prop="availableTimes">-->
|
|
|
- <!-- <el-input-->
|
|
|
- <!-- v-model="form.availableTimes"-->
|
|
|
- <!-- placeholder="请输入物资剩余次数"-->
|
|
|
- <!-- />-->
|
|
|
- <!-- </el-form-item>-->
|
|
|
- <!-- </el-col>-->
|
|
|
- <!-- </el-row>-->
|
|
|
- <!-- <el-form-item label="物资编码" prop="materialsCode">-->
|
|
|
- <!-- <el-input-->
|
|
|
- <!-- v-model="form.materialsCode"-->
|
|
|
- <!-- placeholder="请输入物资编码"-->
|
|
|
- <!-- style="width: 200px; margin-right: 10px"-->
|
|
|
- <!-- />-->
|
|
|
- <!-- <el-switch-->
|
|
|
- <!-- v-model="autoGenFlag"-->
|
|
|
- <!-- active-color="#13ce66"-->
|
|
|
- <!-- active-text="自动生成"-->
|
|
|
- <!-- @change="handleAutoGenChange(autoGenFlag)"-->
|
|
|
- <!-- >-->
|
|
|
- <!-- </el-switch>-->
|
|
|
- <!-- </el-form-item>-->
|
|
|
-
|
|
|
</el-row>
|
|
|
-
|
|
|
+ <el-row>
|
|
|
+ <el-form-item label="物资规格" prop="properties">
|
|
|
+ <div v-for="(property, index) in PropertyList" :key="property.propertyId" class="property-container">
|
|
|
+ <h3>{{ property.propertyName }}</h3>
|
|
|
+ <div class="property-values">
|
|
|
+ <!-- 循环渲染属性值 -->
|
|
|
+ <div
|
|
|
+ v-for="(value, valueIndex) in PropertyValueList.filter(v => v.propertyId === property.propertyId)"
|
|
|
+ :key="value.recordId"
|
|
|
+ :class="['property-value', { 'selected': selectedValues[property.propertyId] === value.recordId }]"
|
|
|
+ @click="selectValue(property.propertyId, value.recordId)"
|
|
|
+ >
|
|
|
+ {{ value.valueName }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
+ <el-row style="height: 110px">
|
|
|
+ <el-form-item label="物资图片" prop="materialsTypePicture">
|
|
|
+ <div class="img-box2" v-if="form.materialsTypePicture">
|
|
|
+ <el-image
|
|
|
+ style="width: 90px; height: 90px"
|
|
|
+ :preview-teleported="true"
|
|
|
+ class="images"
|
|
|
+ :hide-on-click-modal=true
|
|
|
+ :src="form.materialsTypePicture"
|
|
|
+ :zoom-rate="1.2"
|
|
|
+ :preview-src-list="[form.materialsTypePicture]"
|
|
|
+ :initial-index="1"
|
|
|
+ fit="cover"
|
|
|
+ >
|
|
|
+ </el-image>
|
|
|
+ <i class="el-icon-zoom-in" id="eyeicon"></i>
|
|
|
+ </div>
|
|
|
+ <span v-else>-</span>
|
|
|
+ </el-form-item>
|
|
|
+ </el-row>
|
|
|
</el-form>
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
@@ -415,10 +442,10 @@
|
|
|
<i class="el-icon-upload"></i>
|
|
|
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
|
|
<div class="el-upload__tip text-center" slot="tip">
|
|
|
-<!-- <div class="el-upload__tip" slot="tip">-->
|
|
|
-<!-- <el-checkbox v-model="upload.updateSupport"/>-->
|
|
|
-<!-- 是否更新已经存在的用户数据-->
|
|
|
-<!-- </div>-->
|
|
|
+ <!-- <div class="el-upload__tip" slot="tip">-->
|
|
|
+ <!-- <el-checkbox v-model="upload.updateSupport"/>-->
|
|
|
+ <!-- 是否更新已经存在的用户数据-->
|
|
|
+ <!-- </div>-->
|
|
|
<span>仅允许导入xls、xlsx格式文件。</span>
|
|
|
<el-link
|
|
|
type="primary"
|
|
|
@@ -521,12 +548,14 @@ import {
|
|
|
selectMaterialsById,
|
|
|
getIsMaterialsCabinets, updateMaterialsBinding
|
|
|
} from '@/api/mes/material/information'
|
|
|
-import { listType } from '@/api/mes/material/typeindex'
|
|
|
+import { listType, selectMaterialsTypeById } from '@/api/mes/material/typeindex'
|
|
|
import Treeselect from '@riophae/vue-treeselect'
|
|
|
import '@riophae/vue-treeselect/dist/vue-treeselect.css'
|
|
|
import { genCode } from '@/api/system/autocode/rule'
|
|
|
import Template from '@/views/print/printtemplate/list.vue'
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
+import { PropertyPage } from '@/api/mes/standard'
|
|
|
+import { PropertyValuePage } from '@/api/mes/standard/propertyForm'
|
|
|
|
|
|
export default {
|
|
|
name: 'Team',
|
|
|
@@ -565,7 +594,6 @@ export default {
|
|
|
title: '',
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
-
|
|
|
// 查询参数
|
|
|
createTime: '',
|
|
|
queryParams: {
|
|
|
@@ -580,7 +608,9 @@ export default {
|
|
|
startExpirationDate: '',
|
|
|
endExpirationDate: '',
|
|
|
supplier: null,
|
|
|
- expirationDate: null
|
|
|
+ expirationDate: null,
|
|
|
+ recordId: null,
|
|
|
+ propertyId: null
|
|
|
},
|
|
|
|
|
|
// 查询参数
|
|
|
@@ -588,6 +618,11 @@ export default {
|
|
|
current: 1,
|
|
|
size: -1
|
|
|
},
|
|
|
+ FormpickerOptions: {
|
|
|
+ disabledDate(time) {
|
|
|
+ return time.getTime() < Date.now() - 8.64e7;
|
|
|
+ },
|
|
|
+ },
|
|
|
pickerOptions: {
|
|
|
shortcuts: [
|
|
|
{
|
|
|
@@ -632,7 +667,7 @@ export default {
|
|
|
// 设置上传的请求头部
|
|
|
headers: { Authorization: 'Bearer ' + getToken() },
|
|
|
// 上传的地址
|
|
|
- url: process.env.VUE_APP_BASE_API + "/iscs/materials/importMaterials",
|
|
|
+ url: process.env.VUE_APP_BASE_API + '/iscs/materials/importMaterials'
|
|
|
// url: process.env.VUE_APP_BASE_API + '/common/upload'
|
|
|
},
|
|
|
|
|
|
@@ -648,7 +683,8 @@ export default {
|
|
|
],
|
|
|
materialsTypeId: [
|
|
|
{ required: true, message: '物资类型不能为空', trigger: 'blur' }
|
|
|
- ]
|
|
|
+ ],
|
|
|
+
|
|
|
},
|
|
|
machinerytypeOptions: [],
|
|
|
materialsIds: [],//绑定物资传递的数据
|
|
|
@@ -660,23 +696,62 @@ export default {
|
|
|
dialogMatList: [],//绑定物资弹窗el-table数据
|
|
|
openBind: false,
|
|
|
totalBind: 0,//弹窗列表总数
|
|
|
- visibleSelect: false
|
|
|
+ visibleSelect: false,
|
|
|
+ PropertyList: [],//属性名
|
|
|
+ PropertyValueList: [],//属性值
|
|
|
+ selectedValues: {} // 存储选中的属性值
|
|
|
+ }
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ 'form.materialsTypeId': function(val,old) {
|
|
|
+ if (val && val !== old) {
|
|
|
+ console.log(val, 'watch监听拿到新增时候的值')
|
|
|
+ selectMaterialsTypeById(val).then(response => {
|
|
|
+ const data = {
|
|
|
+ pageSize: 99999999,
|
|
|
+ pageNum: 1,
|
|
|
+ propertyId: response.data.propertyIds
|
|
|
+ }
|
|
|
+ this.form.materialsTypePicture=response.data.materialsTypePicture
|
|
|
+ PropertyPage(data).then((response) => {
|
|
|
+ console.log(response, '获取物资属性名 ')
|
|
|
+ this.PropertyList = response.data.records
|
|
|
+ })
|
|
|
+
|
|
|
+ PropertyValuePage(data).then((response) => {
|
|
|
+ console.log(response, '获取物资属性值 ')
|
|
|
+ this.PropertyValueList = response.data.records
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.queryParams.materialsCabinetId = this.cabinetId || null
|
|
|
if (this.cabinetId) {
|
|
|
this.visibleSelect = true
|
|
|
-
|
|
|
}
|
|
|
this.getList()
|
|
|
this.getTreeselect()
|
|
|
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ filteredPropertyValues() {
|
|
|
+ if (!this.queryParams.propertyId) {
|
|
|
+ return []
|
|
|
+ }
|
|
|
+ return this.PropertyValueList.filter(value => value.propertyId === this.queryParams.propertyId)
|
|
|
+ }
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.materialsCabinets()
|
|
|
},
|
|
|
methods: {
|
|
|
+
|
|
|
+ handlePropertyChange(propertyId) {
|
|
|
+ // 当属性改变时,重置 recordId
|
|
|
+ this.queryParams.recordId = ''
|
|
|
+ },
|
|
|
/* 绑定物资 */
|
|
|
handleBind() {
|
|
|
this.openBind = true
|
|
|
@@ -768,6 +843,43 @@ export default {
|
|
|
'children'
|
|
|
)
|
|
|
})
|
|
|
+ // 这里给查询的数据
|
|
|
+ PropertyPage(data).then((response) => {
|
|
|
+ console.log(response, '获取物资属性名 ')
|
|
|
+ this.PropertyList = response.data.records
|
|
|
+ })
|
|
|
+ PropertyValuePage(data).then((response) => {
|
|
|
+ console.log(response, '获取物资属性值 ')
|
|
|
+ this.PropertyValueList = response.data.records
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 选择属性值
|
|
|
+ selectValue(propertyId, recordId) {
|
|
|
+ // 如果当前选中值和之前选中的相同,直接切换选中状态
|
|
|
+ if (this.selectedValues[propertyId] === recordId) {
|
|
|
+ this.selectedValues[propertyId] = null
|
|
|
+ } else {
|
|
|
+ this.$set(this.selectedValues, propertyId, recordId)
|
|
|
+ }
|
|
|
+ // 生成 JSON 格式的数据
|
|
|
+ const selectionJson = Object.entries(this.selectedValues).map(([propertyId, recordId]) => {
|
|
|
+ const property = this.PropertyList.find(p => p.propertyId === propertyId)
|
|
|
+ const value = this.PropertyValueList.find(v => v.recordId === recordId)
|
|
|
+ return {
|
|
|
+ propertyId,
|
|
|
+ recordId,
|
|
|
+ valueName: value ? value.valueName : '',
|
|
|
+ propertyName: property ? property.propertyName : ''
|
|
|
+
|
|
|
+ }
|
|
|
+ })
|
|
|
+ this.form.properties = JSON.stringify(selectionJson)
|
|
|
+ console.log(selectionJson, '生成的属性值json')
|
|
|
+ },
|
|
|
+ setInitialSelection(data) {
|
|
|
+ data.forEach(item => {
|
|
|
+ this.$set(this.selectedValues, item.propertyId, item.recordId)
|
|
|
+ })
|
|
|
},
|
|
|
//图片上传成功
|
|
|
handleImgUplaoded(imgUrl) {
|
|
|
@@ -791,7 +903,8 @@ export default {
|
|
|
materialsTypeId: '',
|
|
|
materialsCabinetId: '',
|
|
|
expirationDate: '',
|
|
|
- supplier: ''
|
|
|
+ supplier: '',
|
|
|
+ materialsRfid:''
|
|
|
}
|
|
|
this.resetForm('form')
|
|
|
this.autoGenFlag = false
|
|
|
@@ -812,6 +925,8 @@ export default {
|
|
|
this.queryParams.endExpirationDate = null
|
|
|
this.queryParams.materialsRfid = null
|
|
|
this.queryParams.supplier = null
|
|
|
+ this.queryParams.propertyId = null
|
|
|
+ this.queryParams.recordId = null
|
|
|
this.resetForm('queryForm')
|
|
|
this.handleQuery()
|
|
|
},
|
|
|
@@ -832,7 +947,7 @@ export default {
|
|
|
value: item.cabinetId,
|
|
|
label: item.cabinetName
|
|
|
}))
|
|
|
- this.cabinets.push({ value: 0, label: '空' });
|
|
|
+ this.cabinets.push({ value: 0, label: '空' })
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -840,6 +955,9 @@ export default {
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
this.reset()
|
|
|
+ this.selectedValues = {}//新增保持物资规格是清空的
|
|
|
+ this.PropertyList=[]//新增保持物资规格是清空的
|
|
|
+ this.PropertyValueList=[]//新增保持物资规格是清空的
|
|
|
this.open = true
|
|
|
this.title = '新增物资信息'
|
|
|
this.optType = 'add'
|
|
|
@@ -854,13 +972,39 @@ export default {
|
|
|
this.reset()
|
|
|
selectMaterialsById(row.materialsId).then((response) => {
|
|
|
this.form = response.data
|
|
|
+ if (response.data) {
|
|
|
+ const data = {
|
|
|
+ pageSize: 99999999,
|
|
|
+ pageNum: 1,
|
|
|
+ propertyId: response.data.propertyIds
|
|
|
+ }
|
|
|
+ PropertyPage(data).then((response) => {
|
|
|
+ console.log(response, '获取物资属性名 ')
|
|
|
+ this.PropertyList = response.data.records
|
|
|
+ })
|
|
|
+ PropertyValuePage(data).then((response) => {
|
|
|
+ console.log(response, '获取物资属性值 ')
|
|
|
+ this.PropertyValueList = response.data.records
|
|
|
+ })
|
|
|
+ }
|
|
|
this.open = true
|
|
|
this.title = '编辑物资信息'
|
|
|
this.optType = 'edit'
|
|
|
+ // 设置 selectedValues
|
|
|
+ if (response.data.properties) {
|
|
|
+ const JsonData = JSON.parse(response.data.properties)
|
|
|
+ this.setInitialSelection(JsonData)
|
|
|
+ } else {
|
|
|
+ this.selectedValues = {}
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
// 有效期参数转换时间类型
|
|
|
formatDateExpirationDate(dateString) {
|
|
|
+ if (!dateString) {
|
|
|
+ return null; // 如果传入的是 null 或 undefined,则返回 null
|
|
|
+ }
|
|
|
const date = new Date(dateString)
|
|
|
const year = date.getFullYear()
|
|
|
const month = String(date.getMonth() + 1).padStart(2, '0') // 月份从0开始,需要加1,并且补零
|
|
|
@@ -932,7 +1076,7 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const materialsIds = row.materialsId || this.ids
|
|
|
- const materialsCodes = row.materialsName || this.codes
|
|
|
+ const materialsCodes = row.materialsId || this.ids
|
|
|
this.$modal
|
|
|
.confirm('是否确认删除编号为"' + materialsCodes + '"的数据项?')
|
|
|
.then(function() {
|
|
|
@@ -965,12 +1109,21 @@ export default {
|
|
|
} else {
|
|
|
this.form.materialsCode = null
|
|
|
}
|
|
|
+ },
|
|
|
+ //有效期截止 清空函数
|
|
|
+ handleClearTime(value){
|
|
|
+ console.log(value,'日期被清空了没')
|
|
|
+ if(value==null){
|
|
|
+ this.queryParams.startExpirationDate=null
|
|
|
+ this.queryParams.endExpirationDate=null
|
|
|
+ this.form.expirationDate=null
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" src="@/assets/styles/dialog-title.scss" scoped></style>
|
|
|
-<style lang="scss" >
|
|
|
+<style lang="scss">
|
|
|
//图片放大
|
|
|
.img-box {
|
|
|
width: 50px;
|
|
|
@@ -1000,6 +1153,87 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.img-box1 {
|
|
|
+ width: 90px;
|
|
|
+ height: 90px;
|
|
|
+ position: relative;
|
|
|
+
|
|
|
+ #eyeicon {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.img-box1:hover {
|
|
|
+ background: #000;
|
|
|
+ position: absolute;
|
|
|
+ top: 62%;
|
|
|
+
|
|
|
+ .images {
|
|
|
+ opacity: 0.6;
|
|
|
+ }
|
|
|
+
|
|
|
+ #eyeicon {
|
|
|
+ display: block;
|
|
|
+ position: absolute;
|
|
|
+ top: 40%;
|
|
|
+ left: 40%;
|
|
|
+ z-index: 100;
|
|
|
+ color: white;
|
|
|
+ pointer-events: none
|
|
|
+ }
|
|
|
+}
|
|
|
+.img-box2 {
|
|
|
+ width: 90px;
|
|
|
+ height: 90px;
|
|
|
+ position: relative;
|
|
|
+background: pink;
|
|
|
+ #eyeicon {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.img-box2:hover {
|
|
|
+ background: #000;
|
|
|
+ position: absolute;
|
|
|
+
|
|
|
+
|
|
|
+ .images {
|
|
|
+ opacity: 0.6;
|
|
|
+ }
|
|
|
+
|
|
|
+ #eyeicon {
|
|
|
+ display: block;
|
|
|
+ position: absolute;
|
|
|
+ top: 40%;
|
|
|
+ left: 40%;
|
|
|
+ z-index: 100;
|
|
|
+ color: white;
|
|
|
+ pointer-events: none
|
|
|
+ }
|
|
|
+}
|
|
|
+//属性名和属性值样式
|
|
|
+.property-container {
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+
|
|
|
+.property-values {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+}
|
|
|
+
|
|
|
+.property-value {
|
|
|
+ padding: 10px;
|
|
|
+ margin: 5px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ cursor: pointer;
|
|
|
+ border-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
+.property-value.selected {
|
|
|
+ border: 1px solid #80b3ff; /* 淡蓝色边框 */
|
|
|
+ background-color: #e6f0ff; /* 选中时的背景色 */
|
|
|
+}
|
|
|
+
|
|
|
.el-input-width {
|
|
|
width: 380px !important;
|
|
|
}
|