linwenxin 1 år sedan
förälder
incheckning
9a9066c1cc

+ 1 - 1
src/views/secondHandMall/activistOrder/details.vue

@@ -113,7 +113,7 @@
               <el-table-column label="商品信息" min-width="200">
                 <template slot-scope="scope">
                   <el-row>
-                    <el-col :span="6">
+                    <el-col v-if="scope.row.goodsUrl" :span="6">
                       <el-image style="width: 40px; height: 40px" :src="scope.row.goodsUrl">
                         <div slot="error" class="image-slot">
                           <i class="el-icon-picture-outline"></i>

+ 1 - 1
src/views/secondHandMall/orderManagement/details.vue

@@ -132,7 +132,7 @@
                 <el-table-column label="商品信息" min-width="200">
                   <template slot-scope="scope">
                     <el-row>
-                      <el-col :span="6">
+                      <el-col v-if="scope.row.goodsUrl" :span="6">
                         <el-image style="width: 40px; height: 40px" :src="scope.row.goodsUrl">
                           <div slot="error" class="image-slot">
                             <i class="el-icon-picture-outline"></i>

+ 2 - 2
src/views/secondHandMall/orderManagement/materialFlow.vue

@@ -20,7 +20,7 @@
                     <div class='info_title'>卖家信息</div>
                     <div class='info_bottom'>
                       <div class='info_bottom_lt'>
-                        <el-image style='width: 40px; height: 40px' :src="orderDetail.sellUrl"></el-image>
+                        <el-image v-if="orderDetail.sellUrl" style='width: 40px; height: 40px' :src="orderDetail.sellUrl"></el-image>
                       </div>
                       <div class='info_bottom_rt'>
                         <div>昵称:{{orderDetail.sellName}}</div>
@@ -35,7 +35,7 @@
                     <div class='info_title'>买家信息</div>
                     <div class='info_bottom'>
                       <div class='info_bottom_lt'>
-                        <el-image style='width: 40px; height: 40px' :src="orderDetail.wechatUserUrl">
+                        <el-image v-if="orderDetail.wechatUserUrl" style='width: 40px; height: 40px' :src="orderDetail.wechatUserUrl">
                         </el-image>
                       </div>
                       <div class='info_bottom_rt'>