|
@@ -150,6 +150,9 @@
|
|
|
<view class="informationNum" v-if="orderData.billsheet.Comment">{{orderData.billsheet.Comment}}
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="imgListBox">
|
|
|
+ <image class="pictureImg" @click="seeImg(index)" :src="item.imgPath" mode="" v-for="(item,index) in imgList"></image>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -325,6 +328,8 @@
|
|
|
iStatusBarHeight:'',
|
|
|
ShowSetting:'',
|
|
|
goodsMoney:'',
|
|
|
+ Picture:false,//图片
|
|
|
+ imgList:[]
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -355,6 +360,26 @@
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ seeImg(index){
|
|
|
+ console.log(index)
|
|
|
+ var imgs=[]
|
|
|
+ this.imgList.forEach(item=>{
|
|
|
+ imgs.push(item.imgPath)
|
|
|
+ })
|
|
|
+ uni.previewImage({
|
|
|
+ urls:imgs ,
|
|
|
+ current: index,
|
|
|
+ longPressActions: {
|
|
|
+ itemList: ['发送给朋友', '保存图片', '收藏'],
|
|
|
+ success: function(data) {
|
|
|
+ console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
|
|
|
+ },
|
|
|
+ fail: function(err) {
|
|
|
+ console.log(err.errMsg);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//显示权限
|
|
|
showPower() {
|
|
|
this.$http('openweiXinCardInfoController/getShowSetting', {
|
|
@@ -436,13 +461,27 @@
|
|
|
if (item.fieldValue == 'goodsMoney') {
|
|
|
this.goodsMoney = item.isChecked
|
|
|
}
|
|
|
-
|
|
|
+ if(item.fieldValue =='Picture'){
|
|
|
+ this.Picture = item.isChecked
|
|
|
+ if(item.isChecked){
|
|
|
+ this.queryBillInsurancePolicy()
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
})
|
|
|
},
|
|
|
+ queryBillInsurancePolicy(){
|
|
|
+ this.$http('openweiXinCardInfoController/queryBillInsurancePolicy', {
|
|
|
+ sheetID:this.id
|
|
|
+ }, 'GET').then(res => {
|
|
|
+ this.imgList=res.data
|
|
|
+
|
|
|
+
|
|
|
+ })
|
|
|
+ },
|
|
|
//评价权限
|
|
|
myPower() {
|
|
|
this.$http('openMiniEvaluate/getEvaluateSetting', {
|
|
@@ -620,6 +659,14 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+ .imgListBox{
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ }
|
|
|
+ .pictureImg{
|
|
|
+ width:170rpx;height: 170rpx;
|
|
|
+ margin: 2rpx;
|
|
|
+ }
|
|
|
.SalePrice{
|
|
|
color: #3C3C3C;
|
|
|
font-weight: 600;
|