fix: 土石方运输模块BUG修改以及分部分项工程模块BUG修改

This commit is contained in:
kun 2024-06-28 17:55:27 +08:00
parent 08bd8171a6
commit 402b86cfc8
2 changed files with 10 additions and 5 deletions

View File

@ -56,7 +56,7 @@
<el-table-column
prop="totalWeight"
align="center"
label="总重量"
label="总重量(kg)"
></el-table-column>
<el-table-column
prop="frequency"
@ -163,7 +163,7 @@
placeholder="请输入"
></el-input>
</el-form-item>
<el-form-item label="总重量" prop="totalWeight">
<el-form-item label="总重量(kg)" prop="totalWeight">
<el-input
style="width: 90%"
v-model="addForm.totalWeight"
@ -261,8 +261,9 @@ export default {
totalWeight: [
{
required: true,
message: "请输入",
message: "只能输入数字或者小数且只能两位",
trigger: "blur",
pattern: /^\d+(\.\d{1,2})?$/
},
],
frequency: [

View File

@ -113,10 +113,10 @@
<vue-scroll>
<el-table height="650" class="tables" :data="listData" lazy row-key="id" default-expand-all
:tree-props="{ children: 'children' }">
<el-table-column width="200" prop="taskName" label="分部分项工程名称">
<el-table-column width="200" prop="taskName" label="分部分项工程名称" style="display: flex;align-items: center;">
<template slot-scope="scope">
<span :title="scope.row.taskName"
style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;display: inline-block;width: 125px;vertical-align: middle;">
style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;display: inline-block;width: 60%;vertical-align: middle;">
{{ scope.row.taskName }}
</span>
</template>
@ -1172,4 +1172,8 @@ export default {
.el-select-dropdown__item:hover {
background-color: transparent;
}
// /deep/.cell{
// display: flex;
// align-items: center;
// }
</style>