lilei 1 year ago
parent
commit
70ca1c86ad
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/salesManagement/salesQueryNew/comps/productList.vue

+ 3 - 3
src/views/salesManagement/salesQueryNew/comps/productList.vue

@@ -182,9 +182,9 @@
       <!-- 折扣 -->
       <template slot="discountPrice" slot-scope="text, record">
         <div v-if="record.promotionFlag=='DISCOUNT'&&detailData">
-          <span v-if="detailData.buyerLevel=='PROVINCE'">{{ ((record.provinceDiscount/record.origPrice)*100).toFixed(2) }}%</span>
-          <span v-if="detailData.buyerLevel=='CITY'">{{ ((record.cityDiscount/record.origPrice)*100).toFixed(2) }}%</span>
-          <span v-if="detailData.buyerLevel=='SPECIAL'">{{ ((record.specialDiscount/record.origPrice)*100).toFixed(2) }}%</span>
+          <span v-if="detailData.buyerLevel=='PROVINCE'">{{ ((record.provinceDiscount)*100).toFixed(2) }}%</span>
+          <span v-if="detailData.buyerLevel=='CITY'">{{ ((record.cityDiscount)*100).toFixed(2) }}%</span>
+          <span v-if="detailData.buyerLevel=='SPECIAL'">{{ ((record.specialDiscount)*100).toFixed(2) }}%</span>
         </div>
         <div v-else>--</div>
       </template>