shish 7 miesięcy temu
rodzic
commit
4fe8b77df4
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      hdPad/src/pages/home/components/console.vue

+ 2 - 1
hdPad/src/pages/home/components/console.vue

@@ -252,7 +252,8 @@ export default {
 			uni.showLoading({mask:true})
 			//isCashier=1时收银台播放 总金额139元,请扫码付款
 			//zjGathering 1 表示直接收款,dealPrice 1 表示有改价格也直接提交
-			createOrder({orderName:params.name,lsGoodsPrice:params.price,modifyPrice:params.price,isCashier:1,cash:params.cash,customId:this.customId,version:3,zjGathering:1,dealPrice:1}).then(res=>{
+			//senType==1到店自取 getGoods==1自动确认取货
+			createOrder({orderName:params.name,lsGoodsPrice:params.price,modifyPrice:params.price,isCashier:1,cash:params.cash,customId:this.customId,version:3,zjGathering:1,dealPrice:1,sendType:1,getGoods:1}).then(res=>{
 				uni.hideLoading()
 				if(res.code == 1){
 					if(res.data.status == 1){