产值计划

This commit is contained in:
2025-08-09 18:02:32 +08:00
parent bebd4e3a2e
commit c7340572c9
22 changed files with 657 additions and 307 deletions

View File

@ -9,7 +9,8 @@
</el-form-item>
<el-form-item label="产值类型" prop="valueType">
<el-select v-model="queryParams.valueType" placeholder="请选择产值类型">
<el-option v-for="item in out_value_type" :key="item.value" :label="item.label" :value="item.value" />
<el-option label="设计" value="1" />
<el-option label="采购" value="2" />
</el-select>
</el-form-item>
<el-form-item>
@ -23,9 +24,6 @@
<el-card shadow="never">
<template #header>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['out:valueAllocation:export']">导出</el-button>
</el-col>
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
</template>
@ -57,14 +55,13 @@ const valueAllocationList = ref([]);
const loading = ref(true);
const showSearch = ref(true);
const total = ref(0);
const { out_value_type } = toRefs<any>(proxy?.useDict('out_value_type'));
var { out_value_type } = toRefs<any>(proxy?.useDict('out_value_type'));
const queryFormRef = ref<ElFormInstance>();
const data = reactive({
queryParams: {
pageNum: 1,
pageSize: 10,
valueType: undefined,
valueType: '1',
projectId: currentProject.value.id,
month: undefined
}