Browse Source

商品上架bug修复

17755135699 11 months ago
parent
commit
4f6dac73c2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pagesHouse/HotelMerchandise/index.vue

+ 1 - 2
pagesHouse/HotelMerchandise/index.vue

@@ -662,8 +662,7 @@
 				return y + "-" + m + "-" + d;
 			},
 			xiajia1(e, i) {
-				console.log(e)
-				if (this.GetDateStr(2) != e.playDate && !e.status) {
+				if (e.goodsType==1&&this.GetDateStr(2) != e.playDate && !e.status) {
 					return this.$showToast("日期已过期");
 				}
 				this.lsdata = e;