lilei 1 week ago
parent
commit
4b531487fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/salesManagement/salesQueryNew/edit.vue

+ 1 - 1
src/views/salesManagement/salesQueryNew/edit.vue

@@ -123,7 +123,7 @@
             产品总款数:<strong style="margin-right: 10px;"> {{ detailData.totalCategory }} </strong>
             总数量:<strong style="margin-right: 10px;"> {{ detailData.totalQty }} </strong>
             <!-- 总售价:¥<strong> {{ toThousands(detailData.totalOrigAmount) }}</strong> -->
-            <span style="margin:0 10px;" v-if="detailData.totalDiscountAmount">优惠金额:¥<strong>{{ Number(detailData.totalDiscountAmount).toFixed(2) }}</strong></span>
+            <span style="margin:0 10px;" v-if="detailData.totalDiscountAmount">优惠金额:¥<strong>-{{ Number(detailData.totalDiscountAmount).toFixed(2) }}</strong></span>
             <a-popover title="优惠明细" @visibleChange="(visible)=>{visible&&getPromYhDetail()}">
               <a-button shape="round" size="small" v-if="detailData.totalDiscountAmount">优惠明细</a-button>
               <div slot="content">