|
@@ -106,15 +106,16 @@
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="info-item" v-if="pageName == 'QualityInspection'">
|
|
|
|
|
- <view class="info-label" style="display: flex;align-items: center;">车辆照片 <u-button
|
|
|
|
|
|
|
+ <view class="info-item" v-if="pageName == 'QualityInspection'||pageName=='TransportAsh'||pageName=='HaulSlag'">
|
|
|
|
|
+ <view class="info-label" style="display: flex;align-items: center;">{{pageName=='QualityInspection'?'车辆照片':'照片'}} <u-button
|
|
|
type="primary" style="width: 150rpx;margin-left: 10px;" size="small" text="拍照上传"
|
|
type="primary" style="width: 150rpx;margin-left: 10px;" size="small" text="拍照上传"
|
|
|
v-if="title != '详情'" @click="chooseImage"></u-button>
|
|
v-if="title != '详情'" @click="chooseImage"></u-button>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
- <view style="padding-left: 30rpx;" v-if="pageName == 'QualityInspection'">
|
|
|
|
|
|
|
+ <view style="padding-left: 30rpx;" v-if="pageName == 'QualityInspection'||pageName=='TransportAsh'||pageName=='HaulSlag'">
|
|
|
|
|
|
|
|
<AlbumDeletable :urls="getUrl(form.vehiclePhotoUrl)" :singleSize="170" :multipleSize="170"
|
|
<AlbumDeletable :urls="getUrl(form.vehiclePhotoUrl)" :singleSize="170" :multipleSize="170"
|
|
|
:deletable="title != '详情'" @delete="handleDeleteImage"></AlbumDeletable>
|
|
:deletable="title != '详情'" @delete="handleDeleteImage"></AlbumDeletable>
|
|
@@ -236,7 +237,8 @@
|
|
|
[]
|
|
[]
|
|
|
" title="选择" @confirm="executeIdListChange1">
|
|
" title="选择" @confirm="executeIdListChange1">
|
|
|
</search-select>
|
|
</search-select>
|
|
|
- <orderListDialog ref="orderListDialogRef" @changeParent="orderListDialogSuccess" :radioValue='true'></orderListDialog>
|
|
|
|
|
|
|
+ <orderListDialog ref="orderListDialogRef" @changeParent="orderListDialogSuccess" :radioValue='true'>
|
|
|
|
|
+ </orderListDialog>
|
|
|
</u-popup>
|
|
</u-popup>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -607,7 +609,7 @@
|
|
|
uni.chooseImage({
|
|
uni.chooseImage({
|
|
|
count: 9, //默认9
|
|
count: 9, //默认9
|
|
|
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
|
|
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
|
|
|
- sourceType: ['camera'], //从相册选择
|
|
|
|
|
|
|
+ sourceType: ['camera','album'], //从相册选择
|
|
|
success: function(res) {
|
|
success: function(res) {
|
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
|
title: '加载中'
|
|
title: '加载中'
|