lilei 1 year ago
parent
commit
222f8ad812
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/views/salesManagement/salesQueryNew/comps/activeQueryPart.vue

+ 1 - 3
src/views/salesManagement/salesQueryNew/comps/activeQueryPart.vue

@@ -78,7 +78,7 @@
       </template>
       <!-- 价格 -->
       <template slot="productPrice" slot-scope="text, record">
-         {{ text }} <span title="原价" v-if="promoProductClz == 'GIFT' || promoProductClz == 'DISCOUNT'">({{ record.origPrice }})</span>
+         {{ text||text==0 ? text : '--' }} <span title="原价" v-if="promoProductClz == 'GIFT' || promoProductClz == 'DISCOUNT'">({{ record.origPrice||record.origPrice==0 ? record.origPrice : '--' }})</span>
       </template>
       <!-- 产品名称 -->
       <template slot="productName" slot-scope="text, record">
@@ -100,9 +100,7 @@
           class="button-info"
           :loading="newLoading"
           @click="handleAdd(record)"
-          v-if="record.productPrice"
           id="productInfoList-edit-btn">添加</a-button>
-        <span v-else>--</span>
       </template>
     </s-table>
   </div>