This commit is contained in:
shidongli 2024-03-05 17:24:59 +08:00
parent 0796093a12
commit c643410c18

View File

@ -1323,20 +1323,9 @@ this.$set(this.form,'packageTermUnit',e);
submitForm() {
console.log(this.form)
this.$refs["form"].validate(valid => {
if (valid) {
if(this.form.voList){
this.form.voList.forEach(e=>{
if(e.serviceWayName==null){
this.$modal.msgError("请选择服务方式");
}else if(e.serviceContent==null){
this.$modal.msgError("请选择服务内容");
}
else if(e.serviceFrequencyText==null){
this.$modal.msgError("请选择服务频次");
}
else{
if(e.serviceFrequencyText.includes('~')){
const str = e.serviceFrequencyText;
const parts = str.split('~');
@ -1379,10 +1368,6 @@ this.$set(this.form,'packageTermUnit',e);
});
}
}
})
}