shish 1 anno fa
parent
commit
7b039edbb0

+ 2 - 2
hdPad/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜收银",
     "appid" : "__UNI__F6E7EA0",
     "description" : "花掌柜收银",
-    "versionName" : "1.7.7",
-    "versionCode" : 177,
+    "versionName" : "1.7.8",
+    "versionCode" : 178,
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {

+ 4 - 5
hdPad/src/mixins/product.js

@@ -33,7 +33,7 @@ export default {
 	},
 	onUnload() {},
 	computed: {
-		...mapGetters(["getSelectInfo"]),
+		...mapGetters(["getSelectInfo","getMyShopInfo"]),
 		selectList() {
 			let selectInfo = this.getSelectInfo;
 			return selectInfo[this.currentJobType+'_'+this.currentJobId] || []
@@ -349,13 +349,12 @@ export default {
 			uni.$on('listenGetScanCode',function(data){
 				that.takeItem(data.code)
 			})
-			//that.getAllProduct()
-			//console.log('111111')
+			if(this.getMyShopInfo && this.getMyShopInfo.scan == 1){
+				that.getAllProduct()
+			}
 		},
 		getAllProduct(){
-			uni.showLoading({mask:false})
 			allProduct().then(res=>{
-				uni.hideLoading()
 				if(res.code == 1){
 					this.globalAllProduct = res.data.list
 					//console.log('载入最新花材...')

+ 2 - 2
开发/hdPad/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜收银",
     "appid" : "__UNI__F6E7EA0",
     "description" : "花掌柜收银",
-    "versionName" : "1.7.7",
-    "versionCode" : 177,
+    "versionName" : "1.7.8",
+    "versionCode" : 178,
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {

+ 2 - 2
线上/hdPad/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "花掌柜收银",
     "appid" : "__UNI__F6E7EA0",
     "description" : "花掌柜收银",
-    "versionName" : "1.7.7",
-    "versionCode" : 177,
+    "versionName" : "1.7.8",
+    "versionCode" : 178,
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {