|
|
@@ -386,7 +386,10 @@ export default {
|
|
|
cancelSelectPrice(){
|
|
|
this.$refs.gatheringRef.close()
|
|
|
},
|
|
|
- //直接收款
|
|
|
+ /**
|
|
|
+ * 计算器直接收款:用户输入(及手选折)即最终应收。
|
|
|
+ * 提交后不再套会员折扣/门店满减;传 skip* 避免 createHdOrder/addOrder 二次扣减。
|
|
|
+ */
|
|
|
zjGathering(params){
|
|
|
uni.showLoading()
|
|
|
const payload = {
|
|
|
@@ -402,7 +405,10 @@ export default {
|
|
|
sendType: 1,
|
|
|
getGoods: 1,
|
|
|
hasPay: params.hasPay != null ? params.hasPay : 0,
|
|
|
- payWay: Number(params.hasPay) === 1 ? (params.payWay != null ? params.payWay : 0) : 0
|
|
|
+ payWay: Number(params.hasPay) === 1 ? (params.payWay != null ? params.payWay : 0) : 0,
|
|
|
+ // 金额已是最终订单金额,禁止服务端再套会员折扣/门店满减(对齐 hdApp calculator)
|
|
|
+ skipMemberDiscount: 1,
|
|
|
+ skipShopMeetCut: 1
|
|
|
}
|
|
|
createOrder(payload).then(res=>{
|
|
|
uni.hideLoading()
|