lilei 1 week ago
parent
commit
b08a5f8ecc

+ 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>