From ce1d9926ff986e195fd4a58cb5159fc8f45b32a5 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期五, 01 十二月 2023 16:06:59 +0800 Subject: [PATCH] feat: 部门物品 1、报废单列表 2、报废明细 3、退回单列表 4、退回明细 --- admin-web/src/views/departmentitem/itemdis/distribution/index.vue | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/admin-web/src/views/departmentitem/itemdis/distribution/index.vue b/admin-web/src/views/departmentitem/itemdis/distribution/index.vue index 681e679..4cd1a5a 100644 --- a/admin-web/src/views/departmentitem/itemdis/distribution/index.vue +++ b/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,17 +172,14 @@ qryType: 1, pageNum: this.pageNum, pageSize: this.pageSize, + outAgencyId: this.userInfo.tenantId, ...this.filterFrom, }).then((res) => { this.list = res.datas; this.total = res.totalRows; this.loading = false; }); - }, - fifterForm(params) { - this.filterFrom = Object.assign(this.filterFrom, params); - this.search(1); - }, + } }, }; </script> -- Gitblit v1.9.1