兴安优化-车场不重复添加设备
This commit is contained in:
@@ -575,8 +575,10 @@ export default {
|
||||
},
|
||||
/** 提交按钮 */
|
||||
submitForm() {
|
||||
if(this.form.value2!=null){
|
||||
this.form.segTime=this.form.value2[0]+"-"+this.form.value2[1];
|
||||
if (this.form.value2 != null) {
|
||||
this.form.segTime = this.form.value2[0] + "-" + this.form.value2[1];
|
||||
} else {
|
||||
delete this.form.segTime;
|
||||
}
|
||||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
|
||||
Reference in New Issue
Block a user