Commit 558f6a18 authored by 陈明豪's avatar 陈明豪

Merge remote-tracking branch 'origin/master'

parents 64db36b5 3ca683b0
...@@ -279,6 +279,7 @@ ...@@ -279,6 +279,7 @@
clearable clearable
placeholder="请选择设备" placeholder="请选择设备"
@change="changeDeviceName" @change="changeDeviceName"
class="custom-select"
> >
<el-option <el-option
v-for="item in selectableDevice" v-for="item in selectableDevice"
...@@ -871,6 +872,14 @@ export default { ...@@ -871,6 +872,14 @@ export default {
} }
</script> </script>
<style>
.custom-select .el-select__tags-text {
max-width: 60px; /* 设置最大宽度 */
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
</style>
<style scoped lang="scss"> <style scoped lang="scss">
/** 详情 */ /** 详情 */
.details { .details {
......
...@@ -89,12 +89,12 @@ ...@@ -89,12 +89,12 @@
v-model="item.price" v-model="item.price"
:min="0" :min="0"
:max="9999.99" :max="9999.99"
style="width: 70%" style="width: 93%"
placeholder="0.00" placeholder="0.00"
:precision="2" :precision="2"
controls-position="right" controls-position="right"
/> />
<span style="padding-left: 10px;"></span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
:min="0" :min="0"
:max="9999" :max="9999"
controls-position="right" controls-position="right"
style="width: 256px" style="width: 100%;"
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment