石广澎
2023-12-01 9497f101126c9f03dbd7917a3396696bdac6998c
admin-web/src/views/departmentitem/itemdis/distribution/index.vue
@@ -91,8 +91,7 @@
import myImport from '@/views/components/myImport';
import edit from './edit';
import detail from './detail';
import {getBaseUrl} from '@/utils/base';
import listPage from '../../../mixins/listPage';
import listPage from '@/views/mixins/listPage';
import {getUserDetail} from "@/utils/auth";
export default {
@@ -115,7 +114,7 @@
        },
        {
          type: 'select',
          dataIndex: 'inWarehouseId',
          dataIndex: 'inAgencyId',
          label: '分发部门',
          placeholder: '请选择',
          optionsConfig: {
@@ -136,7 +135,7 @@
          optionsConfig: {
            label: 'goodsName',
            value: 'id',
            url: SettingIplatform.apiBaseURL + '/pc/base/goods/template/query/goodsTemplate',
            url: SettingIplatform.apiBaseURL + `/pc/base/goods/template/query/goodsTemplate?tenantId=${getUserDetail().tenantId}`,
          },
        },
        {
@@ -173,6 +172,7 @@
        qryType: 1,
        pageNum: this.pageNum,
        pageSize: this.pageSize,
        outAgencyId: this.userInfo.tenantId,
        ...this.filterFrom,
      }).then((res) => {
        this.list = res.datas;