瀏覽代碼

服务类商品上架限制

baijunde 9 月之前
父節點
當前提交
0609f640d3
共有 3 個文件被更改,包括 11 次插入8 次删除
  1. 2 2
      manifest.json
  2. 4 4
      pages/order/serviceOrder/orderDetail.vue
  3. 5 2
      pages/product/index.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "掌柜生活商户版",
     "appid" : "__UNI__E0EA6E1",
     "description" : "",
-    "versionName" : "1.1.3.2",
-    "versionCode" : 1132,
+    "versionName" : "1.1.3.3",
+    "versionCode" : 1133,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 4 - 4
pages/order/serviceOrder/orderDetail.vue

@@ -712,13 +712,13 @@
 				this.getDeatil()
 			},
 		},
-		onshow() {
-			this.getDeatil()
-		},
-		onLoad(options) {
+		onLoad(options) {		
 			this.taskId = options.taskId
 			this.checkType = options.checkType
 			this.rightsId = options.rightsId
+			this.getDeatil()
+			
+			
 		}
 	}
 </script>

+ 5 - 2
pages/product/index.vue

@@ -435,11 +435,14 @@
 			},
 			//上架
 			sell(item) {
-				console.log(item.categoryId)
+				console.log(item)
 				let noStockCheckCategoryIds = [
 					'1889837335015636994',
 					'1889837859597238273',
-					'1909434886438043649'
+					'1909434886438043649',//送车到站,上门取车
+					'1889837859597238273,1922135355425357825',//换胎
+					'1889837859597238273,1922135298970025985',//拖车
+					'1889837859597238273,1922135248814538754'//搭电
 				];
 
 				if (item.stockQuantity == 0 && !noStockCheckCategoryIds.includes(item.categoryId)) {