Ver Fonte

预售未开启时,日期可不填写

shizhongqi há 4 meses atrás
pai
commit
dae45d6c1e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      ghsApp/src/admin/item/presell.vue

+ 1 - 1
ghsApp/src/admin/item/presell.vue

@@ -124,7 +124,7 @@ export default {
 		if(!this.$util.isEmpty(this.form.date4)){
 			arr.push(this.form.date4)
 		}
-		if(this.$util.isEmpty(arr)){
+		if(this.form.presell == 1 && this.$util.isEmpty(arr)){
 			this.$msg('请填写日期')
 			return false
 		}