소스 검색

订单列表当是客户自己下单时,下单这排信息隐藏不展示

shizhongqi 23 시간 전
부모
커밋
a5df9ab564
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      hdApp/src/admin/home/order.vue

+ 2 - 2
hdApp/src/admin/home/order.vue

@@ -109,9 +109,9 @@
                 <text class="field-label">收花:</text>
                 <text class="field-label">收花:</text>
                 <text class="field-value">{{ item.receiveUserName || '' }}</text>
                 <text class="field-value">{{ item.receiveUserName || '' }}</text>
               </view>
               </view>
-              <view class="info-row">
+              <view class="info-row" v-if="item.shopAdminName">
                 <text class="field-label">下单:</text>
                 <text class="field-label">下单:</text>
-                <text class="field-value">{{ item.shopAdminName || '' }}</text>
+                <text class="field-value">{{ item.shopAdminName }}</text>
               </view>
               </view>
               <view class="info-row">
               <view class="info-row">
                 <text class="field-label">时间:</text>
                 <text class="field-label">时间:</text>