93 lines
4.4 KiB
Vue
93 lines
4.4 KiB
Vue
![]() |
<template>
|
||
|
<div>
|
||
|
<el-card class="!border-none mb-4" shadow="never">
|
||
|
<el-form class="mb-[-16px]" :model="queryParams" inline>
|
||
|
<el-form-item label="合同名称" prop="num">
|
||
|
<el-input class="w-[280px]" v-model="queryParams.contract_name" clearable placeholder="请输入单据编号" />
|
||
|
</el-form-item>
|
||
|
<el-form-item label="合同编号" prop="project">
|
||
|
<el-input class="w-[280px]" v-model="queryParams.contract_num" clearable placeholder="请输入项目名称" />
|
||
|
</el-form-item>
|
||
|
<!-- <el-form-item label="甲方签约单位" prop="project_num">
|
||
|
<el-input class="w-[280px]" v-model="queryParams.part_a" clearable placeholder="请输入项目编号" />
|
||
|
</el-form-item> -->
|
||
|
|
||
|
<el-form-item>
|
||
|
<el-button type="primary" @click="resetPage">查询</el-button>
|
||
|
<el-button @click="resetParams">重置</el-button>
|
||
|
</el-form-item>
|
||
|
</el-form>
|
||
|
</el-card>
|
||
|
<el-card class="!border-none" v-loading="pager.loading" shadow="never">
|
||
|
<div class="mt-4">
|
||
|
<el-table :data="pager.lists">
|
||
|
<el-table-column type="selection" width="55" />
|
||
|
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||
|
<el-table-column label="合同编号" prop="contract_num" show-overflow-tooltip />
|
||
|
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip>
|
||
|
<template #default="{ row }">
|
||
|
<dict-value :options="dictData.cost_contract_type" :value="row.contract_type" />
|
||
|
</template>
|
||
|
</el-table-column>
|
||
|
<el-table-column label="业务性质" prop="business_nature" show-overflow-tooltip>
|
||
|
<template #default="{ row }">
|
||
|
<dict-value :options="dictData.cost_consultation_business_nature"
|
||
|
:value="row.business_nature" />
|
||
|
</template>
|
||
|
</el-table-column>
|
||
|
<el-table-column label="甲方签约单位" prop="part_a_contract" show-overflow-tooltip />
|
||
|
<el-table-column label="合同签订日期" prop="start_date" show-overflow-tooltip />
|
||
|
<el-table-column label="签订部门" prop="dept" show-overflow-tooltip />
|
||
|
<el-table-column label="监管部门" prop="regulators" show-overflow-tooltip />
|
||
|
<el-table-column label="合同结算日期" prop="end_date" show-overflow-tooltip />
|
||
|
<el-table-column label="甲方联系人" prop="part_a_contract" show-overflow-tooltip />
|
||
|
<el-table-column label="合同计划开始日期" prop="start_date" show-overflow-tooltip />
|
||
|
<el-table-column label="工程总投资(万)" prop="project_money" show-overflow-tooltip />
|
||
|
<!-- <el-table-column label="合同签订金额" prop="djr" show-overflow-tooltip />
|
||
|
<el-table-column label="已开票金额" prop="djr" show-overflow-tooltip />
|
||
|
<el-table-column label="已结算金额" prop="djr" show-overflow-tooltip />
|
||
|
<el-table-column label="已到账金额" prop="djr" show-overflow-tooltip />
|
||
|
<el-table-column label="应收账款" prop="djr" show-overflow-tooltip /> -->
|
||
|
</el-table>
|
||
|
</div>
|
||
|
<div class="flex justify-end mt-4">
|
||
|
<pagination v-model="pager" @change="getLists" />
|
||
|
</div>
|
||
|
</el-card>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts" setup name="jianliProjectProgressReportLists">
|
||
|
import { usePaging } from '@/hooks/usePaging'
|
||
|
import { useDictData } from '@/hooks/useDictOptions'
|
||
|
import { cost_approved_project_list } from '@/api/data_report'
|
||
|
|
||
|
// 是否显示编辑框
|
||
|
|
||
|
|
||
|
// 查询条件
|
||
|
const queryParams = reactive({
|
||
|
contract_name: "",
|
||
|
contract_num: "",
|
||
|
part_a: ""
|
||
|
})
|
||
|
|
||
|
// 选中数据
|
||
|
|
||
|
|
||
|
// 获取字典数据
|
||
|
const { dictData } = useDictData('cost_contract_type,cost_consultation_business_nature')
|
||
|
|
||
|
// 分页相关
|
||
|
const { pager, getLists, resetParams, resetPage } = usePaging({
|
||
|
fetchFun: cost_approved_project_list,
|
||
|
params: queryParams
|
||
|
})
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
getLists()
|
||
|
</script>
|
||
|
|