|
|
@@ -294,7 +294,7 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
if (this.form.isStart === 0) {
|
|
|
- this.form.planCommencementTime = this.time1
|
|
|
+ this.form.planCommencementTime = this.time1 === null ? '' : this.time1
|
|
|
this.form.startTime = ''
|
|
|
} else if (this.form.isStart === 1 && this.time1 !== null) {
|
|
|
this.form.planCommencementTime = ''
|
|
|
@@ -304,10 +304,10 @@ export default {
|
|
|
this.form.startTime = ''
|
|
|
}
|
|
|
|
|
|
- if (this.form.isStorage === 0 ) {
|
|
|
- this.form.planStorageTime = this.time2
|
|
|
+ if (this.form.isStorage === 0) {
|
|
|
+ this.form.planStorageTime = this.time2 === null ? '' : this.time2
|
|
|
this.form.storageTime = ''
|
|
|
- } else if (this.form.isStorage === 1 ) {
|
|
|
+ } else if (this.form.isStorage === 1) {
|
|
|
this.form.planStorageTime = ''
|
|
|
this.form.storageTime = this.time2
|
|
|
} else {
|