admin-web/src/views/stock/inventorycount/inventorytask/edit.vue
@@ -49,6 +49,7 @@
import winSm from '@/components/win/win-sm';
import myButton from '@/components/myButton/myButton';
import {formatDate} from '@/utils/DateFormatter'
import { mapGetters } from 'vuex';
export default {
  components: { winSm, myButton },
@@ -73,6 +74,9 @@
      },
    };
  },
  computed:{
    ...mapGetters(['userInfo'])
  },
  created() {
    if (this.setting.info) {
      this.formData = Object.assign({}, JSON.parse(this.setting.info));
@@ -87,7 +91,7 @@
  methods: {
    // 获取仓库列表
    handleSelectTenantWarehouse() {
      selectTenantWarehouse().then((res) => {
      selectTenantWarehouse({agencyId:this.userInfo.tenantId}).then((res) => {
        this.warehouseOptions = res;
      });
    },