|
@@ -47,12 +47,13 @@
|
|
|
v-for="(i,index) in e.zEngineeringMaterialBo || [] "
|
|
|
:key="index"
|
|
|
>
|
|
|
- <el-form :model="nodeInfo" class="nodeForm">
|
|
|
+ <el-form :model="nodeInfo" class="nodeForm materialForm">
|
|
|
<el-form-item
|
|
|
:prop="i.materialQuality"
|
|
|
:class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
|
|
|
label="材质"
|
|
|
v-show="i.materialQuality != null"
|
|
|
+ label-width="95px"
|
|
|
>
|
|
|
<!-- :rules="{required: true, message: '请输入材质', trigger: 'blur'}"-->
|
|
|
<!-- <el-input v-model="item.materialQuality" placeholder="请输入材质" style="width: 100%"/>-->
|
|
@@ -70,6 +71,7 @@
|
|
|
:class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
|
|
|
label="规格"
|
|
|
v-show="i.specifications != null"
|
|
|
+ label-width="95px"
|
|
|
|
|
|
>
|
|
|
<el-select v-model="i.specifications" placeholder="请选择规格" style="width: 100%" :disabled="status == 'read-only' ">
|
|
@@ -86,6 +88,7 @@
|
|
|
:class="enginType != '基建工程' && enginType != '民用工程' ? 'labelWidth' : '' "
|
|
|
label="数量"
|
|
|
v-show="i.number != null"
|
|
|
+ label-width="95px"
|
|
|
>
|
|
|
<div class="block" style="display: inline-block; margin-right: 20px;">
|
|
|
<el-input v-model="i.number" placeholder="请输入数量" style="width: 100%" type="number" maxlength="11" :disabled="status == 'read-only'"></el-input>
|
|
@@ -96,6 +99,7 @@
|
|
|
:prop="i.corrosionLevel"
|
|
|
label="腐蚀等级"
|
|
|
v-show="i.corrosionLevel != null"
|
|
|
+ label-width="95px"
|
|
|
|
|
|
>
|
|
|
<!-- :rules="{required: true, message: '请输入材质', trigger: 'blur'}"-->
|
|
@@ -113,6 +117,7 @@
|
|
|
:prop="i.visitType"
|
|
|
label="上门类型"
|
|
|
v-show="i.visitType != null"
|
|
|
+ label-width="95px"
|
|
|
|
|
|
>
|
|
|
<!-- :rules="{required: true, message: '请输入材质', trigger: 'blur'}"-->
|
|
@@ -130,7 +135,7 @@
|
|
|
:prop="i.selfClosingValveType"
|
|
|
label="自闭阀类型"
|
|
|
v-show="i.selfClosingValveType != null"
|
|
|
-
|
|
|
+ label-width="95px"
|
|
|
>
|
|
|
<!-- :rules="{required: true, message: '请输入材质', trigger: 'blur'}"-->
|
|
|
<!-- <el-input v-model="item.materialQuality" placeholder="请输入材质" style="width: 100%"/>-->
|
|
@@ -159,15 +164,19 @@
|
|
|
</el-input> -->
|
|
|
</div>
|
|
|
<!-- <el-form-item label="照片" prop="zEngiineeringPhotoBoList" class="obsImage"> -->
|
|
|
- <ObsImageUpload
|
|
|
- :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
- ref="obsImageUpload"
|
|
|
- :limit="11"
|
|
|
- :fileType="['png', 'jpg', 'jpeg']"
|
|
|
- @input="getUrl(arguments,idx)"
|
|
|
- :value="e.zEngiineeringPhotoBoList"
|
|
|
- :disabled="status == 'read-only' "
|
|
|
- ></ObsImageUpload>
|
|
|
+ <div style="display: flex;width: 100%;height: 100%;">
|
|
|
+ <h3 style="width: 95px;font-weight: 600;text-align: center;text-indent: 41px;">图片</h3>
|
|
|
+ <ObsImageUpload
|
|
|
+ :class=" status == 'read-only' ? 'obsImageUploads' : '' "
|
|
|
+ ref="obsImageUpload"
|
|
|
+ :limit="11"
|
|
|
+ :fileType="['png', 'jpg', 'jpeg']"
|
|
|
+ @input="getUrl(arguments,idx)"
|
|
|
+ :value="e.zEngiineeringPhotoBoList"
|
|
|
+ :disabled="status == 'read-only' "
|
|
|
+ ></ObsImageUpload>
|
|
|
+ </div>
|
|
|
+
|
|
|
<!-- </el-form-item> -->
|
|
|
<hr>
|
|
|
</el-collapse-item>
|
|
@@ -402,6 +411,14 @@ export default {
|
|
|
display: flex;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+::v-deep .materialForm{
|
|
|
+ display: flex !important;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ .el-form-item{
|
|
|
+ width: 320px;
|
|
|
+ }
|
|
|
+}
|
|
|
::v-deep .obsImageUpload{
|
|
|
.el-upload--picture-card{
|
|
|
display: block !important;
|