liyg 2 år sedan
förälder
incheckning
cdf2216915

+ 6 - 0
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -703,6 +703,7 @@
           <el-image
             :src="item.src"
             fit="fill"
+            :previewSrcList="previewSrcList"
             @click.prevent.right="receiveClick(item.src, '抵达')"
           >
             <div slot="error" class="image-slot">
@@ -716,6 +717,7 @@
           <el-image
             :src="item.src"
             fit="fill"
+            :previewSrcList="previewSrcList2"
             @click.prevent.right="receiveClick(item.src, '签收')"
           >
             <div slot="error" class="image-slot">
@@ -1979,9 +1981,11 @@ export default {
       addressId: null,
       addressRow: {},
       srcList: [],
+      previewSrcList2:[],
       src: '',
       isShow: false,
       srcList2: [],
+      previewSrcList2:[],
       isShow2: false,
       maxHeight: 700,
       //轨迹窗口
@@ -3853,6 +3857,7 @@ export default {
         .post('/api/v1/otms/getArrivalPhoto?orderNumber=' + orderNo)
         .then(res => {
           this.srcList = []
+          this.previewSrcList = res.data
           console.log(res.data, 'sd')
           res.data.forEach(e => {
             this.srcList.push({
@@ -3896,6 +3901,7 @@ export default {
             this.isShow2 = true
           }
           this.srcList2 = []
+          this.previewSrcList2 = res.data
           if (res.data && res.data.length > 0) {
             res.data.forEach(item => {
               this.srcList2.push({