lilei 1 개월 전
부모
커밋
162379d007
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>