测试问题修改8

This commit is contained in:
zzyuan 2025-07-03 09:43:33 +08:00
parent c0ce01494d
commit 3c0320ec87
1 changed files with 7 additions and 2 deletions

View File

@ -390,8 +390,13 @@
submitForm: function() {
this.$refs["baseForm"].validate(valid => {//
if (valid) {
this.baseForm.bizStartTime=this.rangeTime[0]
this.baseForm.bizEndTime=this.rangeTime[1]
if(this.rangeTime.length==0){
this.baseForm.bizStartTime=this.rangeTime[0]
this.baseForm.bizEndTime=this.rangeTime[1]
}else{
this.baseForm.bizStartTime=""
this.baseForm.bizEndTime=""
}
if (this.canteenId != "") {
updateCanteenApi(this.baseForm).then(response => {
this.$modal.msgSuccess("修改成功");