|
|
@@ -109,6 +109,7 @@ import loginModel from "@/components/login-model";
|
|
|
import {appLogin} from '@/api/common'
|
|
|
import { getDictionaries } from '@/api/mini'
|
|
|
import productMins from "@/mixins/product";
|
|
|
+import { allProduct } from '@/api/product'
|
|
|
export default {
|
|
|
name: "admin-workbench",
|
|
|
components: {
|
|
|
@@ -177,6 +178,15 @@ export default {
|
|
|
uni.stopPullDownRefresh();
|
|
|
},
|
|
|
onShow() {
|
|
|
+
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+ //PDA扫码开单前准备好所有花材
|
|
|
+ allProduct().then(res=>{
|
|
|
+ this.allProduct = res.data.list
|
|
|
+ console.log('................载入最新花材和库存................')
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(['setUserShopAll']),
|