|
|
|
@ -362,11 +362,10 @@ |
|
|
|
}).catch(res => {}); |
|
|
|
}else{ |
|
|
|
this.sales.alreadyEarn = (this.sales.alreadyEarn * 1) + (this.newEarn * 1); |
|
|
|
this.tui.request('/app/sale/edit','post', { |
|
|
|
sale: this.sales, |
|
|
|
customer: this.order, |
|
|
|
saleDetailDTOList: this.list |
|
|
|
},false,false).then(res => { |
|
|
|
this.tui.request('/app/sale/editPayPrice','post', { |
|
|
|
id:this.sales.id, |
|
|
|
price:e |
|
|
|
},false,true).then(res => { |
|
|
|
uni.showToast({ |
|
|
|
title: res.message, |
|
|
|
icon: 'none' |
|
|
|
|