lilei 1 月之前
父節點
當前提交
b08a5f8ecc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -205,7 +205,7 @@ export default {
         return (
           <div>
             {_this.toThousands(data)}
-            {record.promotionFlag == 'GIFT' || record.promotionFlag == 'DISCOUNT' ? (
+            {record.promotionFlag.indexOf('GIFT') >= 0 || record.promotionFlag.indexOf('DISCOUNT') >= 0 ? (
               <span title="原价">({ _this.toThousands(record.origPrice)})</span>
             ) : ''}
           </div>