This commit is contained in:
weiz 2024-03-19 17:13:12 +08:00
parent 9374ccfb14
commit acad0b892f
2 changed files with 6 additions and 12 deletions

View File

@ -33,7 +33,6 @@
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="标书审查编号" prop="bid_document_examination_code" show-overflow-tooltip />
<el-table-column label="项目编码" prop="project_code" show-overflow-tooltip />
<el-table-column label="投标时间" prop="bidding_time" show-overflow-tooltip />
<el-table-column label="开标日期" prop="bid_opening_date" show-overflow-tooltip />
<el-table-column label="是否中标" prop="is_successful" show-overflow-tooltip>

View File

@ -2,14 +2,11 @@
<div>
<el-card class="!border-none mb-4" shadow="never">
<el-form class="mb-[-16px]" :model="queryParams" label-width="auto" inline>
<el-form-item label="客户" prop="custom_id">
<el-select class="w-[280px]" v-model="queryParams.custom_id" clearable placeholder="请选择客户">
<el-option v-for="(item, index) in customerList" :key="index" :label="item.name"
:value="parseInt(item.id)" />
</el-select>
<el-form-item label="客户名称" prop="custom_id">
<selectRemote :formData="queryParams" model="custom_id" :api="apiCustomSearch" />
</el-form-item>
<el-form-item label="编码" prop="code">
<el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入编码" />
<el-form-item label="报价单号" prop="code">
<el-input class="w-[280px]" v-model="queryParams.code" clearable placeholder="请输入报价单号" />
</el-form-item>
<el-form-item label="制单人" prop="create_user">
<el-input class="w-[280px]" v-model="queryParams.create_user" clearable placeholder="请输入制单人" />
@ -42,8 +39,8 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="报价单号" prop="code" show-overflow-tooltip />
<el-table-column label="客户" prop="custom_name" show-overflow-tooltip />
<el-table-column label="报价日期" prop="quotation_date" show-overflow-tooltip />
<el-table-column label="联系人" prop="custom_master_name" show-overflow-tooltip />
<el-table-column label="联系电话" prop="custom_master_phone" show-overflow-tooltip />
@ -81,8 +78,7 @@
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiQuotationLists, apiQuotationDelete, apiQuotationDetail } from '@/api/quotation'
import { apiCustomLists } from '@/api/custom'
import { timeFormat } from '@/utils/util'
import { apiCustomSearch } from '@/api/custom'
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
import DetailPopup from './detail.vue'
@ -160,4 +156,3 @@ const customerlist = async () => {
customerlist()
getLists()
</script>