|
@@ -9,13 +9,11 @@
|
|
<view v-if="this.isEmpty(this.projectType.dictValue)" style="margin-top: 10;"
|
|
<view v-if="this.isEmpty(this.projectType.dictValue)" style="margin-top: 10;"
|
|
@click="pickerShow('gclx',0)">
|
|
@click="pickerShow('gclx',0)">
|
|
<span style="color: darkgray;">请选择工程类型</span>
|
|
<span style="color: darkgray;">请选择工程类型</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
<view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gclx',0)">
|
|
<view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gclx',0)">
|
|
<span style="color: black;">{{projectType.dictLabel}}</span>
|
|
<span style="color: black;">{{projectType.dictLabel}}</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -27,13 +25,11 @@
|
|
<view v-if="this.isEmpty(this.projectName.id)" style="margin-top: 10;"
|
|
<view v-if="this.isEmpty(this.projectName.id)" style="margin-top: 10;"
|
|
@click="pickerShow('gcmc',0)">
|
|
@click="pickerShow('gcmc',0)">
|
|
<span style="color: darkgray;">请选择工程名称</span>
|
|
<span style="color: darkgray;">请选择工程名称</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
<view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gcmc',0)">
|
|
<view v-else class="uni-list-cell-db" style="margin-top: 10;" @click="pickerShow('gcmc',0)">
|
|
<span style="color: black;">{{projectName.name}}</span>
|
|
<span style="color: black;">{{projectName.name}}</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -152,7 +148,8 @@
|
|
<view class="background">
|
|
<view class="background">
|
|
<view>
|
|
<view>
|
|
<view class="uni-list">
|
|
<view class="uni-list">
|
|
- <view style="font-size: 16px;margin-left: 10px;margin-top: 10px;display: flex; justify-content: space-between;margin-bottom: 10px;">
|
|
|
|
|
|
+ <view
|
|
|
|
+ style="font-size: 16px;margin-left: 10px;margin-top: 10px;display: flex; justify-content: space-between;margin-bottom: 10px;">
|
|
{{objValue.value}}
|
|
{{objValue.value}}
|
|
|
|
|
|
<span
|
|
<span
|
|
@@ -166,8 +163,7 @@
|
|
</view>
|
|
</view>
|
|
<view @click="openDatetimePicker()">
|
|
<view @click="openDatetimePicker()">
|
|
<span style="color: black;">{{time}}</span>
|
|
<span style="color: black;">{{time}}</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -181,8 +177,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="uni-list-cell-db" @click="pickerShow('cz',index)">
|
|
<view class="uni-list-cell-db" @click="pickerShow('cz',index)">
|
|
<span style="color: black;">{{a.cz.id==''?'请选择材质':a.cz.name}}</span>
|
|
<span style="color: black;">{{a.cz.id==''?'请选择材质':a.cz.name}}</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -194,8 +189,7 @@
|
|
|
|
|
|
<view class="uni-list-cell-db" @click="pickerShow('gg',index)">
|
|
<view class="uni-list-cell-db" @click="pickerShow('gg',index)">
|
|
<span style="color: black;">{{a.gg.id==''?'请选择规格':a.gg.name}}</span>
|
|
<span style="color: black;">{{a.gg.id==''?'请选择规格':a.gg.name}}</span>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
<view class="container" style="border-bottom: 1px solid #f8f8f8;">
|
|
@@ -203,13 +197,12 @@
|
|
<text>数量</text>
|
|
<text>数量</text>
|
|
<input class="uni-input" type="number" v-model="a.sl" placeholder="请填写数量" maxlength="11"
|
|
<input class="uni-input" type="number" v-model="a.sl" placeholder="请填写数量" maxlength="11"
|
|
style="margin-left: 10px;text-align: right;"></input>
|
|
style="margin-left: 10px;text-align: right;"></input>
|
|
- <image :src="loadImgSrc('icon_right.png')"
|
|
|
|
- class="to-right-icon"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrc('icon_right.png')" class="to-right-icon"></image>
|
|
</view>
|
|
</view>
|
|
<button v-if="index!=0" @click="this.czggslList.splice(index,1)" class="sc-btn">删除</button>
|
|
<button v-if="index!=0" @click="this.czggslList.splice(index,1)" class="sc-btn">删除</button>
|
|
</view>
|
|
</view>
|
|
- <button
|
|
|
|
- @click="this.czggslList.push({cz:{id: '',name: ''},gg:{id: '',name: ''},sl:''})" class="tj-btn">添加</button>
|
|
|
|
|
|
+ <button @click="this.czggslList.push({cz:{id: '',name: ''},gg:{id: '',name: ''},sl:''})"
|
|
|
|
+ class="tj-btn">添加</button>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -690,11 +683,12 @@
|
|
this.enginId = response.data.id; //工程id
|
|
this.enginId = response.data.id; //工程id
|
|
this.fileArr = response.data.pics
|
|
this.fileArr = response.data.pics
|
|
this.createTime = response.data.createTime;
|
|
this.createTime = response.data.createTime;
|
|
- this.infonId = response.data.zEngineeringNodeBoList[0].zEngineeringInfoBoList[0].id
|
|
|
|
|
|
+ //this.infonId = response.data.zEngineeringNodeBoList[0].zEngineeringInfoBoList[0].id
|
|
this.fileArr.forEach((list, index) => {
|
|
this.fileArr.forEach((list, index) => {
|
|
if (list.picUrl.substring(list.picUrl.length - 3) == 'png' || list.picUrl
|
|
if (list.picUrl.substring(list.picUrl.length - 3) == 'png' || list.picUrl
|
|
.substring(list.picUrl.length - 3) == 'jpg' || list.picUrl.substring(list
|
|
.substring(list.picUrl.length - 3) == 'jpg' || list.picUrl.substring(list
|
|
.picUrl.length - 4) == 'jpeg') {
|
|
.picUrl.length - 4) == 'jpeg') {
|
|
|
|
+ console.log("ressss", list.picUrl)
|
|
this.fileImageArr.push(list.picUrl)
|
|
this.fileImageArr.push(list.picUrl)
|
|
}
|
|
}
|
|
|
|
|
|
@@ -907,10 +901,10 @@
|
|
supervisionPhone: this.jlPhoneValue, // 监理联系电话
|
|
supervisionPhone: this.jlPhoneValue, // 监理联系电话
|
|
enginClassification: this.objValue.value, // 工程分类 上一页面传过来的
|
|
enginClassification: this.objValue.value, // 工程分类 上一页面传过来的
|
|
zEngineeringNodeBo: {
|
|
zEngineeringNodeBo: {
|
|
- createTime: this.createTime,
|
|
|
|
|
|
+ //createTime: this.createTime,
|
|
type: '工业工程', // 写死
|
|
type: '工业工程', // 写死
|
|
zEngineeringInfoBo: {
|
|
zEngineeringInfoBo: {
|
|
- engInfoId: this.infonId,
|
|
|
|
|
|
+ //engInfoId: this.infonId,
|
|
constructTime: this.time, //施工时间
|
|
constructTime: this.time, //施工时间
|
|
zEngiineeringPhotoBoList: this.imgArr, //照片集合
|
|
zEngiineeringPhotoBoList: this.imgArr, //照片集合
|
|
zEngineeringMaterialBo: this.zEngineeringMaterialBo // 用料对象
|
|
zEngineeringMaterialBo: this.zEngineeringMaterialBo // 用料对象
|
|
@@ -947,13 +941,13 @@
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
padding: 10px;
|
|
padding: 10px;
|
|
position: relative;
|
|
position: relative;
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.uni-list {
|
|
.uni-list {
|
|
border: 1xp solid #eee;
|
|
border: 1xp solid #eee;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.to-right-icon {
|
|
.to-right-icon {
|
|
width: 15px;
|
|
width: 15px;
|
|
height: 15px;
|
|
height: 15px;
|
|
@@ -961,12 +955,12 @@
|
|
top: 50%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.text {
|
|
.text {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
color: #333;
|
|
color: #333;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.background {
|
|
.background {
|
|
// border: 15px solid hsla(0, 0%, 100%, .5);
|
|
// border: 15px solid hsla(0, 0%, 100%, .5);
|
|
background: white;
|
|
background: white;
|
|
@@ -975,11 +969,11 @@
|
|
border-radius: 20rpx;
|
|
border-radius: 20rpx;
|
|
margin: 20rpx;
|
|
margin: 20rpx;
|
|
/*从padding开始往外面裁剪背景*/
|
|
/*从padding开始往外面裁剪背景*/
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
.btn {
|
|
.btn {
|
|
width: 715rpx;
|
|
width: 715rpx;
|
|
height: 69rpx;
|
|
height: 69rpx;
|
|
@@ -993,7 +987,7 @@
|
|
margin-top: 40rpx;
|
|
margin-top: 40rpx;
|
|
margin-bottom: 100rpx;
|
|
margin-bottom: 100rpx;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.number {
|
|
.number {
|
|
display: flex;
|
|
display: flex;
|
|
/* 水平居中显示子元素 */
|
|
/* 水平居中显示子元素 */
|
|
@@ -1004,7 +998,7 @@
|
|
padding: 10px;
|
|
padding: 10px;
|
|
/* 设置padding以提高视觉效果 */
|
|
/* 设置padding以提高视觉效果 */
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.textarea {
|
|
.textarea {
|
|
margin-top: 10upx;
|
|
margin-top: 10upx;
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -1012,7 +1006,7 @@
|
|
min-height: 100upx;
|
|
min-height: 100upx;
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.tj-btn {
|
|
.tj-btn {
|
|
height: 69rpx;
|
|
height: 69rpx;
|
|
background: #3184f0;
|
|
background: #3184f0;
|
|
@@ -1022,9 +1016,9 @@
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
line-height: 69rpx;
|
|
line-height: 69rpx;
|
|
margin: 40rpx 70rpx;
|
|
margin: 40rpx 70rpx;
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.sc-btn {
|
|
.sc-btn {
|
|
height: 69rpx;
|
|
height: 69rpx;
|
|
background: #f0686b;
|
|
background: #f0686b;
|
|
@@ -1034,9 +1028,9 @@
|
|
color: #FFFFFF;
|
|
color: #FFFFFF;
|
|
line-height: 69rpx;
|
|
line-height: 69rpx;
|
|
margin: 40rpx;
|
|
margin: 40rpx;
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
.num-style {
|
|
.num-style {
|
|
background: #e8f4f9;
|
|
background: #e8f4f9;
|
|
margin: 20rpx;
|
|
margin: 20rpx;
|