|
@@ -10,6 +10,14 @@
|
|
|
</u-checkbox>
|
|
|
</u-checkbox-group>
|
|
|
</u-form-item>
|
|
|
+ <u-form-item label="训练服" prop="payTypeName">
|
|
|
+<!-- <text>{{form.payTypeName}}</text> -->
|
|
|
+ <u-checkbox-group>
|
|
|
+ <u-checkbox v-model="clothingChecked" name="clothingChecked" @change="clothingCheckboxChange">
|
|
|
+ 100元训练服
|
|
|
+ </u-checkbox>
|
|
|
+ </u-checkbox-group>
|
|
|
+ </u-form-item>
|
|
|
<!-- <u-form-item v-if="payTypeReasonShow" label="备注" prop="payTypeReason" required>
|
|
|
<u-input v-model="form.payTypeReason" placeholder="请输入支付备注" />
|
|
|
</u-form-item> -->
|
|
@@ -220,6 +228,7 @@
|
|
|
talkerShow: false,
|
|
|
talkerList: [],
|
|
|
payTypeShow: false,
|
|
|
+ clothingChecked: false,
|
|
|
payTypeList: [],
|
|
|
/*payTypeList: [
|
|
|
{
|
|
@@ -296,6 +305,9 @@
|
|
|
this.form.payTypeId.splice(itemIndex, 1)
|
|
|
}
|
|
|
},
|
|
|
+ clothingCheckboxChange(data){
|
|
|
+ console.log(data)
|
|
|
+ },
|
|
|
handleInputBlur(e) {
|
|
|
this.getQrCodeData(e)
|
|
|
},
|
|
@@ -344,7 +356,8 @@
|
|
|
this.form.discountCouponId = res.data.couponList[0].id
|
|
|
this.form.content = res.data.couponList[0].content
|
|
|
} else {
|
|
|
- this.form.content = '无可用优惠券'
|
|
|
+ this.form.discountCouponId = ""
|
|
|
+ this.form.content = '无可用优惠券'
|
|
|
}
|
|
|
this.form.orderNo = res.data.orderNo
|
|
|
}).catch(error => {
|
|
@@ -406,6 +419,7 @@
|
|
|
NET.request(API.getVenueListInfo, {
|
|
|
...uni.getStorageSync('locationData'),
|
|
|
}, 'POST').then(res => {
|
|
|
+ console.log(res.data)
|
|
|
this.venueList = res.data
|
|
|
}).catch(error => {
|
|
|
this.$refs.uTips.show({
|
|
@@ -464,6 +478,7 @@
|
|
|
},
|
|
|
// 提交表单
|
|
|
submitForm() {
|
|
|
+ this.form.suitFee = this.clothingChecked
|
|
|
console.log(this.form);
|
|
|
let message = ''
|
|
|
if(this.form.payTypeId.length == 0) {
|