shish 1 год назад
Родитель
Сommit
056f0b2434
1 измененных файлов с 3 добавлено и 1 удалено
  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}]
 						if(currentIndex > 0){
 							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){
 									that.$msg('操作成功')
                   that.getDetailInfo()