瀏覽代碼

Merge branch 'master' of http://git.ringzle.com:3000/htcwl/hotelHomestayWx

2912631854@qq.com 1 年之前
父節點
當前提交
c197601eb9
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      pages/house/payAdd.vue

+ 5 - 2
pages/house/payAdd.vue

@@ -73,8 +73,8 @@ import list from '../../uni_modules/uview-ui/libs/config/props/list';
 					name:'收款'
 				}],
 				dataForm: {
-					flowType: '',
-					flowTypeName:'',
+					flowType: '1',
+					flowTypeName:'收款',
 					amount: '',
 					remark: '',
 					payType: '',
@@ -118,6 +118,9 @@ import list from '../../uni_modules/uview-ui/libs/config/props/list';
 				this.showPay = false;
 			},
 			conform() {
+				if(this.dataForm.payType==''){
+					return this.$showToast('请选择支付方式');
+				}
 				if(this.dataForm.flowTypeName=='收款'){
 					this.dataForm.flowType=1;
 				}else{