|
|
@@ -96,13 +96,13 @@ import AppDatePicker from "@/components/app-date-picker";
|
|
|
import DorpdownSelect from "@/components/module/dorpdownSelect";
|
|
|
import { selectShop } from "@/mixins";
|
|
|
import { createStockOutOrderApi } from "@/api/storehouse/stock";
|
|
|
-import {mapActions} from "vuex";
|
|
|
+import {mapActions, mapGetters} from "vuex";
|
|
|
const formUtil = require("@/utils/formValidation.js");
|
|
|
|
|
|
export default {
|
|
|
components: { TuiListCell, AppDatePicker, DorpdownSelect },
|
|
|
mixins: [productMins, selectShop],
|
|
|
-
|
|
|
+ computed: { ...mapGetters(["getLoginInfo"]) },
|
|
|
data() {
|
|
|
return {
|
|
|
pageType: "allotEx",
|
|
|
@@ -146,7 +146,8 @@ export default {
|
|
|
this.resetSelectInfoByType(this.pageType)
|
|
|
},
|
|
|
async init() {
|
|
|
- this.form.inShopId = this.userInfo.id;
|
|
|
+ // this.form.inShopId = this.userInfo.id;
|
|
|
+ this.form.inShopId = this.getLoginInfo.shopId;
|
|
|
},
|
|
|
gotoSelectPage() {
|
|
|
uni.navigateTo({
|