Explorar o código

app 价格表下载

shish %!s(int64=4) %!d(string=hai) anos
pai
achega
66e7fb98e4
Modificáronse 1 ficheiros con 10 adicións e 1 borrados
  1. 10 1
      ghsApp/src/admin/item/list.vue

+ 10 - 1
ghsApp/src/admin/item/list.vue

@@ -91,6 +91,7 @@ export default {
 	},
 	methods: {
 		downPriceTable(){
+			// #ifdef MP-WEIXIN
 			let level = 0
 			let levelList = ['散客价', '普店价', '银店价','金店价']
 			uni.showActionSheet({
@@ -128,9 +129,13 @@ export default {
 					})
 				}
 			})
-
+			// #endif
+			// #ifdef APP-PLUS
+			this.$msg('请在电脑上打开小程序进行下载')
+			// #endif
 		},
 		downBarcodeTable(){
+			// #ifdef MP-WEIXIN
 			uni.showLoading({title:'下载中',mask:true})
 			generateBarcodeTable().then(res => {
 				if(res.code == 1){
@@ -160,6 +165,10 @@ export default {
 					});
 				}					
 			})
+			// #endif
+			// #ifdef APP-PLUS
+			this.$msg('请在电脑上打开小程序进行下载')
+			// #endif
 		},
 		goToProduct (id) {
 			let that = this