shish 1 yıl önce
ebeveyn
işleme
056f0b2434
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      hdApp/src/admin/order/detail.vue

+ 3 - 1
hdApp/src/admin/order/detail.vue

@@ -228,7 +228,9 @@ export default {
 						let inWay = [{name:"未选择",id:-1},{name:"微信",id:0},{name:"支付宝",id:1},{name:"现金",id:4},{name:"银行卡",id:5}]
 						let inWay = [{name:"未选择",id:-1},{name:"微信",id:0},{name:"支付宝",id:1},{name:"现金",id:4},{name:"银行卡",id:5}]
 						if(currentIndex > 0){
 						if(currentIndex > 0){
 							let payWay = inWay[currentIndex].id
 							let payWay = inWay[currentIndex].id
-							confirmSettle({id:item.id,payWay:payWay}).then(res=>{
+              let arr = [{id:item.id}]
+              let str = JSON.stringify(arr)
+							confirmSettle({id:str,payWay:payWay,customId:item.customId}).then(res=>{
 								if(res.code == 1){
 								if(res.code == 1){
 									that.$msg('操作成功')
 									that.$msg('操作成功')
                   that.getDetailInfo()
                   that.getDetailInfo()