lilei 4 days ago
parent
commit
10e8d8565b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/salesManagement/salesQueryNew/edit.vue

+ 2 - 0
src/views/salesManagement/salesQueryNew/edit.vue

@@ -522,6 +522,8 @@ export default {
       // 重新获取详情信息更新时间
       // 重新获取详情信息更新时间
       const detail = await salesDetailBySn({ salesBillSn: this.$route.params.sn }).then(res => res.data)
       const detail = await salesDetailBySn({ salesBillSn: this.$route.params.sn }).then(res => res.data)
       if (detail) {
       if (detail) {
+        this.detailData = detail
+        this.detailData.totalDiscountAmount = Number(this.detailData.totalOrigAmount || 0) - Number(this.detailData.totalAmount || 0)
         this.$refs.chooseProduct.spinning = false
         this.$refs.chooseProduct.spinning = false
         // 如果是活动产品,刷新正常产品列表
         // 如果是活动产品,刷新正常产品列表
         if (type == 'promo') {
         if (type == 'promo') {