lilei 1 mês atrás
pai
commit
162379d007

+ 1 - 1
src/views/salesManagement/waitDispatchNew/queryPart.vue

@@ -298,7 +298,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>