|
|
@@ -219,6 +219,13 @@ export default {
|
|
|
printLabel(ele){
|
|
|
let that = this
|
|
|
// #ifdef APP-PLUS
|
|
|
+
|
|
|
+ let platform=uni.getSystemInfoSync().platform
|
|
|
+ if(platform=='ios'){
|
|
|
+ that.$msg('苹果打印即将上线,请用安卓手机打印')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
plug.state({},ret=>{
|
|
|
if(ret.code == 1){
|
|
|
that.$util.confirmModal({content:'您还没有连接条码机,请先连接'},() => {
|
|
|
@@ -251,6 +258,13 @@ export default {
|
|
|
printAllLabel(){
|
|
|
let that = this
|
|
|
// #ifdef APP-PLUS
|
|
|
+
|
|
|
+ let platform=uni.getSystemInfoSync().platform
|
|
|
+ if(platform=='ios'){
|
|
|
+ that.$msg('苹果打印即将上线,请用安卓手机打印')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
plug.state({},ret=>{
|
|
|
if(ret.code == 1){
|
|
|
that.$util.confirmModal({content:'您还没有连接条码机,请先连接'},() => {
|