lilei 1 day ago
parent
commit
162379d007
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/salesManagement/waitDispatchNew/queryPart.vue

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