|
@@ -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') {
|