修改
This commit is contained in:
parent
0796093a12
commit
c643410c18
@ -1323,20 +1323,9 @@ this.$set(this.form,'packageTermUnit',e);
|
|||||||
submitForm() {
|
submitForm() {
|
||||||
console.log(this.form)
|
console.log(this.form)
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
|
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if(this.form.voList){
|
if(this.form.voList){
|
||||||
this.form.voList.forEach(e=>{
|
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('~')){
|
if(e.serviceFrequencyText.includes('~')){
|
||||||
const str = e.serviceFrequencyText;
|
const str = e.serviceFrequencyText;
|
||||||
const parts = str.split('~');
|
const parts = str.split('~');
|
||||||
@ -1379,10 +1368,6 @@ this.$set(this.form,'packageTermUnit',e);
|
|||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user