产权公司

This commit is contained in:
2023-06-06 10:26:22 +08:00
parent 2c11634cfa
commit 372843d129
4 changed files with 48 additions and 19 deletions
+12 -4
View File
@@ -54,7 +54,7 @@
</a-card>
</div>
<!-- 编辑弹窗 -->
<FallEdit v-model:visible="showEdit" :data="current" @done="reload" />
<FallEdit v-model:visible="showEdit" :company-list="companys" :data="current" @done="reload" />
</div>
</template>
@@ -76,6 +76,9 @@
updateBatchTowerFall
} from '@/api/tower/fall';
import { TowerFall, TowerFallParam } from '@/api/tower/fall/model';
import { pageCompany } from '@/api/system/company';
import { Customer } from '@/api/oa/customer/model';
import { Company } from '@/api/system/company/model';
defineProps<{
activeKey?: boolean;
@@ -118,8 +121,8 @@
},
{
title: '产权单位',
dataIndex: 'company',
key: 'company'
dataIndex: 'companyName',
key: 'companyName'
},
{
title: '出厂日期',
@@ -154,7 +157,12 @@
const current = ref<TowerFall | null>(null);
// 是否显示编辑弹窗
const showEdit = ref(false);
const companys = ref<Company[] | undefined>();
pageCompany({
companyTypeMultiple: '产权单位'
}).then((res) => {
companys.value = res?.list;
});
// 表格数据源
const datasource: DatasourceFunction = ({
page,