瀏覽代碼

商品上架bug修复

17755135699 11 月之前
父節點
當前提交
4f6dac73c2
共有 1 個文件被更改,包括 1 次插入2 次删除
  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;