17755135699 1 year ago
parent
commit
a763e74cff
1 changed files with 6 additions and 2 deletions
  1. 6 2
      pages/house/createOrder.vue

+ 6 - 2
pages/house/createOrder.vue

@@ -415,7 +415,7 @@
 					if (res.data.code == 0) {
 						this.$showToast('操作成功');
 						setTimeout(() => {
-							uni.reLaunch({
+							uni.redirectTo({
 								url: '/pagesMy/orderList/orderList'
 							})
 						}, 1500)
@@ -463,7 +463,11 @@
 						this.totalMOney = this.dataForm.orderAmount;
 						this.dataForm.flowRecord.forEach((i,index)=>{
 							let flowTypeName=i.flowType==1?'收款':'退款';
-							let payTypeName=this.flowTypeNames[i.payType];
+							var payTypeName='微信';
+							if(i.payType){
+								payTypeName=this.flowTypeNames[i.payType-1];
+							}
+							
 							this.$set(this.dataForm.flowRecord[index],'flowTypeName',flowTypeName)
 							this.$set(this.dataForm.flowRecord[index],'payTypeName',payTypeName)
 						})