|
@@ -220,12 +220,12 @@
|
|
<el-option label="是" :value="1"> </el-option>
|
|
<el-option label="是" :value="1"> </el-option>
|
|
</el-select>
|
|
</el-select>
|
|
<template v-if="paymentForm.IsPay == 1">
|
|
<template v-if="paymentForm.IsPay == 1">
|
|
- <el-select @change="selecrPointsNumHandler" v-model="paymentForm.PointsObject" placeholder="请设置扣点数" style="width: 200px; margin: 0 20px">
|
|
|
|
|
|
+ <!-- <el-select @change="selecrPointsNumHandler" v-model="paymentForm.PointsObject" placeholder="请设置扣点数" style="width: 200px; margin: 0 20px">
|
|
<el-option label="同报名参会时的扣点数" value="1"> </el-option>
|
|
<el-option label="同报名参会时的扣点数" value="1"> </el-option>
|
|
<el-option label="输入其余点数" value="2"> </el-option>
|
|
<el-option label="输入其余点数" value="2"> </el-option>
|
|
- </el-select>
|
|
|
|
- <el-input :disabled="paymentForm.PointsObject == 1" style="width: 150px; margin-right: 20px" v-model="paymentForm.PointsNum" placeholder="请输入扣点数" type="number"></el-input>
|
|
|
|
- <el-input v-if="paymentForm.PointsObject == 2" style="width: 200px" v-model="paymentForm.GoodsMoney" placeholder="请输入无点数时的付费金额" type="number"></el-input>
|
|
|
|
|
|
+ </el-select> -->
|
|
|
|
+ <el-input style="width: 150px; margin:0 20px" v-model="paymentForm.PointsNum" placeholder="请输入扣点数" type="number"></el-input>
|
|
|
|
+ <el-input style="width: 220px" v-model="paymentForm.GoodsMoney" placeholder="请输入无点数时的付费金额" type="number"></el-input>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -666,8 +666,7 @@ export default {
|
|
});
|
|
});
|
|
console.log(this.paymentForm.PointsNum, this.paymentForm.GoodsMoney, !this.paymentForm.PointsNum, !this.paymentForm.GoodsMoney);
|
|
console.log(this.paymentForm.PointsNum, this.paymentForm.GoodsMoney, !this.paymentForm.PointsNum, !this.paymentForm.GoodsMoney);
|
|
|
|
|
|
- if (this.paymentForm.IsPay == 1 && !this.paymentForm.PointsObject) return this.$message.error("请选择设置扣点数");
|
|
|
|
- if (this.paymentForm.PointsObject == 2 && (!(this.paymentForm.PointsNum >= 0) || !(this.paymentForm.GoodsMoney >= 0))) return this.$message.error("请输入点数或金额");
|
|
|
|
|
|
+ if (this.paymentForm.IsPay == 1 && (!(this.paymentForm.PointsNum >= 0) || !(this.paymentForm.GoodsMoney >= 0))) return this.$message.error("请输入点数或金额");
|
|
this.saveTheRelease(type, arr, VoiceList, VideoDetail[0]);
|
|
this.saveTheRelease(type, arr, VoiceList, VideoDetail[0]);
|
|
},
|
|
},
|
|
//保存或发布
|
|
//保存或发布
|
|
@@ -1077,14 +1076,6 @@ export default {
|
|
this.videoAndVoiceList = res.Data.List;
|
|
this.videoAndVoiceList = res.Data.List;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- // 参会人扣点的选择
|
|
|
|
- selecrPointsNumHandler() {
|
|
|
|
- if (this.paymentForm.PointsObject == 1) {
|
|
|
|
- let RefPage = this.$refs.researchSelect;
|
|
|
|
- let PointsSet = RefPage.PointsSet;
|
|
|
|
- this.paymentForm.PointsNum = PointsSet.UserPointsNum;
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|