shish 4 years ago
parent
commit
1449ddb1ad
1 changed files with 0 additions and 7 deletions
  1. 0 7
      ghsApp/src/mixins/globalMixins.js

+ 0 - 7
ghsApp/src/mixins/globalMixins.js

@@ -5,7 +5,6 @@ import { getShopInfo, wxMiniLogin } from '@/utils/auth'
 import { postWxCode, getDictionaries } from '@/api/mini'
 import { postWxCode, getDictionaries } from '@/api/mini'
 import { getStaffApi,hasTokenAutoLogin } from '@/api/common'
 import { getStaffApi,hasTokenAutoLogin } from '@/api/common'
 import { codePay} from "@/api/order/index";
 import { codePay} from "@/api/order/index";
-import { allProduct } from "@/api/product"
 
 
 export default {
 export default {
 	data() {
 	data() {
@@ -21,8 +20,6 @@ export default {
       no_shop_show_model: false,
       no_shop_show_model: false,
       shopAdminId: null,
       shopAdminId: null,
       show_login_model:false,
       show_login_model:false,
-      //所有花材列表
-      allProduct:[],
       //零售店对应的id
       //零售店对应的id
       skCustomId:0
       skCustomId:0
 		}
 		}
@@ -136,10 +133,6 @@ export default {
     ...mapActions(['setUserShopAll']),
     ...mapActions(['setUserShopAll']),
     //监听pda扫码开单
     //监听pda扫码开单
     listenPDAkd(){
     listenPDAkd(){
-      //PDA扫码开单前准备好所有花材
-      allProduct().then(res=>{
-        this.allProduct = res.data.list
-      })
       let that = this
       let that = this
       //新大陆PDA
       //新大陆PDA
       if(plus.device.vendor == 'Newland'){
       if(plus.device.vendor == 'Newland'){