a
This commit is contained in:
parent
0bc8e3010c
commit
a6582fce24
@ -6,5 +6,4 @@ const config = {
|
||||
urlPrefix: "adminapi", //请求默认前缀
|
||||
timeout: 10 * 1000, //请求超时时长
|
||||
};
|
||||
console.log(import.meta.env)
|
||||
export default config;
|
||||
|
@ -16,7 +16,8 @@
|
||||
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合同编号" prop="administrative_contract_id" @click="showDialog1 = true" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="合同编号" prop="administrative_contract_id" @click="showDialog1 = true"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="contract_no" clearable placeholder="请输入合同编号" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -26,7 +27,8 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="供应商名称" rop="administrative_contract_id" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="供应商名称" rop="administrative_contract_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="supplier_name" readonly clearable placeholder="请选择客户" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -38,7 +40,8 @@
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="开票日期" prop="invoicing_date">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.invoicing_date" clearable type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="选择开票日期">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.invoicing_date" clearable type="datetime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss" placeholder="选择开票日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -49,9 +52,11 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发票类型" prop="invoice_type" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="发票类型" prop="invoice_type"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-radio-group v-model="formData.invoice_type" placeholder="请选择发票类型">
|
||||
<el-radio v-for="(item, index) in dictData.invoice_type" :key="index" :label="parseInt(item.value)">
|
||||
<el-radio v-for="(item, index) in dictData.invoice_type" :key="index"
|
||||
:label="parseInt(item.value)">
|
||||
{{ item.name }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
@ -63,8 +68,10 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="发票金额" prop="invoice_amount" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.invoice_amount" clearable placeholder="请输入发票金额" @input="amountinput" />
|
||||
<el-form-item label="发票金额" prop="invoice_amount"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.invoice_amount" clearable placeholder="请输入发票金额"
|
||||
@input="amountinput" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
@ -87,15 +94,18 @@
|
||||
</el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="不含税金额" prop="amount_excluding_tax" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="不含税金额" prop="amount_excluding_tax"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.amount_excluding_tax" clearable placeholder="请输入不含税金额" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="收票日期" prop="receipt_date" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="收票日期" prop="receipt_date"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<!-- <el-input v-model="formData.receipt_date" clearable placeholder="请输入收票日期" /> -->
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.receipt_date" clearable type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="选择收票日期">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.receipt_date" clearable type="datetime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss" placeholder="选择收票日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -109,7 +119,11 @@
|
||||
<el-col :span="24">
|
||||
|
||||
<el-form-item label="附件" prop="field87">
|
||||
<el-upload accept="doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, tar, jpg, png, gif, jpeg, webp, wmv, avi, mpg, mpeg, 3gp, mov, mp4, flv, f4v, rmvb, mkv" class="upload-demo" :show-file-list="false" aria-hidden="true" :headers="{ Token: userStore.token }" :action="base_url + '/upload/file'" :on-success="handleAvatarSuccess_four" ref="upload">
|
||||
<el-upload
|
||||
accept="doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, tar, jpg, png, gif, jpeg, webp, wmv, avi, mpg, mpeg, 3gp, mov, mp4, flv, f4v, rmvb, mkv"
|
||||
class="upload-demo" :show-file-list="false" aria-hidden="true"
|
||||
:headers="{ Token: userStore.token }" :action="base_url + '/upload/file'"
|
||||
:on-success="handleAvatarSuccess_four" ref="upload">
|
||||
<el-button type="primary">
|
||||
上传
|
||||
</el-button>
|
||||
@ -117,7 +131,8 @@
|
||||
|
||||
<div>
|
||||
<div v-for="(item, index) in formDataannex" style="margin-left: 5px;display: block;">
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri" target="_blank">{{ item.name }}</a>
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri"
|
||||
target="_blank">{{ item.name }}</a>
|
||||
<span style="cursor: pointer;margin-left: 5px;" @click="delFileFn(index)">x</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -14,24 +14,29 @@
|
||||
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="项目名称" prop="project_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]" @click="showDialog = true">
|
||||
<el-form-item label="项目名称" prop="project_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]" @click="showDialog = true">
|
||||
<el-input v-model="project_name" readonly clearable placeholder="选择项目" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="项目编码" prop="project_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="项目编码" prop="project_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="project_code" clearable disabled placeholder="系统自动填写" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="客户名称" prop="project_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="客户名称" prop="project_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="matsname" clearable disabled placeholder="系统自动填写" />
|
||||
</el-form-item></el-col><el-col :span="8">
|
||||
<el-form-item label="项目估算" prop="project_estimation" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="项目估算" prop="project_estimation"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.project_estimation" clearable placeholder="请输入项目估算" />
|
||||
</el-form-item></el-col><el-col :span="24">
|
||||
<el-form-item label="招标项目资金来源" label-width="130px" prop="bidding_project_fund_source">
|
||||
<el-radio-group v-model="formData.bidding_project_fund_source" placeholder="请选择招标项目资金来源">
|
||||
<el-radio v-for="(item, index) in dictData.construction_funds_sources" :key="index" :label="parseInt(item.value)">
|
||||
<el-radio v-for="(item, index) in dictData.construction_funds_sources" :key="index"
|
||||
:label="parseInt(item.value)">
|
||||
{{ item.name }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
@ -39,15 +44,18 @@
|
||||
<el-form-item label="投标时间" prop="bidding_time">
|
||||
<!-- <el-input v-model="formData.bidding_time" clearable placeholder="请输入投标时间" />
|
||||
-->
|
||||
<el-date-picker v-model="formData.bidding_time" format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请选择投标时间" clearable></el-date-picker>
|
||||
<el-date-picker v-model="formData.bidding_time" format="YYYY-MM-DD" value-format="YYYY-MM-DD"
|
||||
placeholder="请选择投标时间" clearable></el-date-picker>
|
||||
</el-form-item></el-col><el-col :span="8">
|
||||
<el-form-item label="购买标书时间" prop="buy_bid_document_date">
|
||||
<!-- <el-input v-model="formData.buy_bid_document_date" clearable placeholder="请输入购买标书时间" /> -->
|
||||
<el-date-picker v-model="formData.buy_bid_document_date" format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请输入购买标书时间" clearable></el-date-picker>
|
||||
<el-date-picker v-model="formData.buy_bid_document_date" format="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD" placeholder="请输入购买标书时间" clearable></el-date-picker>
|
||||
</el-form-item></el-col><el-col :span="24">
|
||||
<el-form-item label="招标方式" prop="bid_type">
|
||||
<el-radio-group v-model="formData.bid_type" placeholder="请选择招标方式">
|
||||
<el-radio v-for="(item, index) in dictData.bidding_method" :key="index" :label="parseInt(item.value)">
|
||||
<el-radio v-for="(item, index) in dictData.bidding_method" :key="index"
|
||||
:label="parseInt(item.value)">
|
||||
{{ item.name }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
@ -57,7 +65,8 @@
|
||||
</el-form-item></el-col><el-col :span="24">
|
||||
<el-form-item label="是否需要保证金" prop="is_margin">
|
||||
<el-radio-group v-model="formData.is_margin" placeholder="请选择是否需要保证金">
|
||||
<el-radio v-for="(item, index) in dictData.whether_status" :key="index" :label="parseInt(item.value)">
|
||||
<el-radio v-for="(item, index) in dictData.whether_status" :key="index"
|
||||
:label="parseInt(item.value)">
|
||||
{{ item.name }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
@ -68,15 +77,18 @@
|
||||
<el-form-item label="开标日期" prop="bid_opening_date">
|
||||
<!-- <el-input v-model="formData.bid_opening_date" clearable placeholder="请输入开标日期" />
|
||||
-->
|
||||
<el-date-picker v-model="formData.bid_opening_date" format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请输入开标日期" clearable></el-date-picker>
|
||||
<el-date-picker v-model="formData.bid_opening_date" format="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD" placeholder="请输入开标日期" clearable></el-date-picker>
|
||||
</el-form-item></el-col><el-col :span="8">
|
||||
<el-form-item label="保证金退还时间" prop="margin_amount_return_date">
|
||||
<!-- <el-input v-model="formData.margin_amount_return_date" clearable placeholder="请输入保证金退还时间" /> -->
|
||||
<el-date-picker v-model="formData.margin_amount_return_date" format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请输入保证金退还时间" clearable></el-date-picker>
|
||||
<el-date-picker v-model="formData.margin_amount_return_date" format="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD" placeholder="请输入保证金退还时间" clearable></el-date-picker>
|
||||
</el-form-item></el-col><el-col :span="24">
|
||||
<el-form-item label="有无内部资源" prop="is_internal_resources">
|
||||
<el-radio-group v-model="formData.is_internal_resources" placeholder="请选择有无内部资源">
|
||||
<el-radio v-for="(item, index) in dictData.whether_status" :key="index" :label="parseInt(item.value)">
|
||||
<el-radio v-for="(item, index) in dictData.whether_status" :key="index"
|
||||
:label="parseInt(item.value)">
|
||||
{{ item.name }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
@ -87,7 +99,8 @@
|
||||
<el-form-item label="项目把握度" label-width="130px" prop="project_assurance">
|
||||
|
||||
<el-select v-model="formData.project_assurance" clearable placeholder="请选择项目把握度">
|
||||
<el-option v-for="(item, index) in dictData.project_assurance" :key="index" :label="item.name" :value="parseInt(item.value)" />
|
||||
<el-option v-for="(item, index) in dictData.project_assurance" :key="index"
|
||||
:label="item.name" :value="parseInt(item.value)" />
|
||||
</el-select>
|
||||
</el-form-item></el-col>
|
||||
|
||||
@ -99,7 +112,11 @@
|
||||
<el-input v-model="formData.project_desc" clearable placeholder="请输入项目简介" />
|
||||
</el-form-item></el-col><el-col :span="24">
|
||||
<el-form-item label="附件" prop="field127">
|
||||
<el-upload accept="doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, tar, jpg, png, gif, jpeg, webp, wmv, avi, mpg, mpeg, 3gp, mov, mp4, flv, f4v, rmvb, mkv" class="upload-demo" :show-file-list="false" aria-hidden="true" :headers="{ Token: userStore.token }" :action="base_url + '/upload/file'" :on-success="handleAvatarSuccess_four" ref="upload">
|
||||
<el-upload
|
||||
accept="doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, tar, jpg, png, gif, jpeg, webp, wmv, avi, mpg, mpeg, 3gp, mov, mp4, flv, f4v, rmvb, mkv"
|
||||
class="upload-demo" :show-file-list="false" aria-hidden="true"
|
||||
:headers="{ Token: userStore.token }" :action="base_url + '/upload/file'"
|
||||
:on-success="handleAvatarSuccess_four" ref="upload">
|
||||
<el-button type="primary">
|
||||
上传
|
||||
</el-button>
|
||||
@ -107,7 +124,8 @@
|
||||
|
||||
<div>
|
||||
<div v-for="(item, index) in formDataannex" style="margin-left: 5px;display: block;">
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri" target="_blank">{{ item.name }}</a>
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri"
|
||||
target="_blank">{{ item.name }}</a>
|
||||
<span style="cursor: pointer;margin-left: 5px;" @click="delFileFn(index)">x</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -179,9 +197,12 @@ const delFileFn = (index: number) => {
|
||||
}
|
||||
//获取值
|
||||
const customEvent = (e: any) => {
|
||||
|
||||
|
||||
console.log(e, "e")
|
||||
formData.project_id = e.id;
|
||||
matsname.value = e.person
|
||||
project_name.value = e.custom_name
|
||||
project_name.value = e.name
|
||||
project_code.value = e.project_code
|
||||
showDialog.value = false;
|
||||
};
|
||||
|
@ -13,24 +13,29 @@
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="项目名称" prop="project_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]" @click="showDialog = true">
|
||||
<el-form-item label="项目名称" prop="project_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]" @click="showDialog = true">
|
||||
<el-input v-model="project_name" readonly clearable placeholder="选择项目" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="项目编码" prop="project_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="项目编码" prop="project_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="project_code" clearable disabled placeholder="系统自动填写" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="客户名称" prop="project_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="客户名称" prop="project_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="matsname" clearable disabled placeholder="系统自动填写" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="招标公司名称" prop="invite_tenders_company_name" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="招标公司名称" prop="invite_tenders_company_name"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.invite_tenders_company_name" clearable placeholder="请输入招标公司名称" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="投标公司名称" prop="bid_company_name" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="投标公司名称" prop="bid_company_name"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.bid_company_name" clearable placeholder="请输入投标公司名称" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
@ -56,7 +61,8 @@
|
||||
</el-col> -->
|
||||
<el-col :span="8">
|
||||
<el-form-item label="购买标书时间" prop="buy_date">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.buy_date" clearable type="datetime" value-format="YYYY-MM-DD HH:mm:ss" placeholder="选择购买标书时间">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.buy_date" clearable type="datetime"
|
||||
value-format="YYYY-MM-DD HH:mm:ss" placeholder="选择购买标书时间">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -109,7 +115,7 @@
|
||||
</el-col>-->
|
||||
</el-row>
|
||||
</el-form>
|
||||
<reviewprocess />
|
||||
<!-- <reviewprocess /> -->
|
||||
</popup>
|
||||
<personnelselector ref="personnel" @confirm="submituser" type="1"></personnelselector>
|
||||
|
||||
@ -240,7 +246,10 @@ const getlist1 = (id: any) => {
|
||||
}
|
||||
//获取值
|
||||
const customEvent = (e: any) => {
|
||||
formData.project_id = e.id;
|
||||
|
||||
console.log(e, 'e')
|
||||
|
||||
formData.project_id = e.project_id;
|
||||
matsname.value = e.custom_name
|
||||
project_name.value = e.project_name
|
||||
project_code.value = e.project_code
|
||||
|
@ -169,7 +169,7 @@ const handledetail = async (data: any) => {
|
||||
//获取项目
|
||||
|
||||
const projectlist = async () => {
|
||||
let res = await apiProjectLists({ page_no: 1, page_size: 9999 })
|
||||
let res = await apiProjectLists({ page_no: 1, page_size: 15 })
|
||||
projectList.value = res.lists
|
||||
|
||||
}
|
||||
|
@ -13,19 +13,25 @@
|
||||
|
||||
<el-descriptions title="基本信息" :column="2" border>
|
||||
|
||||
<el-descriptions-item label="客户名称" label-align="left" align="left" label-class-name="my-label">{{ formData.name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户属性" label-align="left" align="left" label-class-name="my-label"> {{ formData.custom_type_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="上级公司" label-align="left" align="left" label-class-name="my-label"> {{ formData.parent_company }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户名称" label-align="left" align="left"
|
||||
label-class-name="my-label">{{ formData.name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户属性" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.custom_type_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="上级公司" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.parent_company }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户地址" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.address }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电话" label-align="left" align="left" label-class-name="my-label"> {{ formData.phone
|
||||
<el-descriptions-item label="电话" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.phone
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="信用度" label-align="left" align="left" label-class-name="my-label"> {{ formData.credit_rating_text
|
||||
<el-descriptions-item label="信用度" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.credit_rating_text
|
||||
|
||||
}}</el-descriptions-item>
|
||||
}}</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="备注" label-align="left" align="left" label-class-name="my-label"> {{ formData.notes
|
||||
<el-descriptions-item label="备注" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.notes
|
||||
|
||||
}}</el-descriptions-item>
|
||||
|
||||
@ -33,15 +39,20 @@
|
||||
|
||||
<el-descriptions title="主要负责人" :column="2" border style="margin: 20px 0;">
|
||||
|
||||
<el-descriptions-item label="姓名" label-align="left" align="left" label-class-name="my-label">{{ formData.master_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="职位" label-align="left" align="left" label-class-name="my-label"> {{ formData.master_position }}</el-descriptions-item>
|
||||
<el-descriptions-item label="手机" label-align="left" align="left" label-class-name="my-label"> {{ formData.master_phone }}</el-descriptions-item>
|
||||
<el-descriptions-item label="姓名" label-align="left" align="left" label-class-name="my-label">{{
|
||||
formData.master_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="职位" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.master_position }}</el-descriptions-item>
|
||||
<el-descriptions-item label="手机" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.master_phone }}</el-descriptions-item>
|
||||
<el-descriptions-item label="邮箱" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.master_email }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电话" label-align="left" align="left" label-class-name="my-label"> {{ formData.master_telephone
|
||||
<el-descriptions-item label="电话" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.master_telephone
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="备注" label-align="left" align="left" label-class-name="my-label"> {{ formData.master_notes
|
||||
<el-descriptions-item label="备注" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.master_notes
|
||||
|
||||
}}</el-descriptions-item>
|
||||
|
||||
@ -69,20 +80,25 @@
|
||||
|
||||
<el-descriptions title="开票信息" :column="2" border style="margin: 20px 0;">
|
||||
|
||||
<el-descriptions-item label="开票公司名称" label-align="left" align="left" label-class-name="my-label">{{ formData.company_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="纳税人识别号" label-align="left" align="left" label-class-name="my-label"> {{ formData.company_tin }}</el-descriptions-item>
|
||||
<el-descriptions-item label="开票公司名称" label-align="left" align="left"
|
||||
label-class-name="my-label">{{ formData.company_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="纳税人识别号" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.company_tin }}</el-descriptions-item>
|
||||
|
||||
<el-descriptions-item label="开户地址" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bank_open_address }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="电话" label-align="left" align="left" label-class-name="my-label"> {{ formData.company_telephone
|
||||
<el-descriptions-item label="电话" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.company_telephone
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="开户银行" label-align="left" align="left" label-class-name="my-label"> {{ formData.bank_name
|
||||
<el-descriptions-item label="开户银行" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bank_name
|
||||
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="银行账号" label-align="left" align="left" label-class-name="my-label"> {{ formData.bank_account
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="银行账号" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bank_account
|
||||
|
||||
}}</el-descriptions-item>
|
||||
}}</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
||||
|
||||
@ -101,7 +117,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager1.page_no" v-model:page-size="pager1.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total1" @size-change="handleSizeChange1" @current-change="handleCurrentChange1" />
|
||||
<el-pagination v-model:current-page="pager1.page_no" v-model:page-size="pager1.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total1" @size-change="handleSizeChange1" @current-change="handleCurrentChange1" />
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
@ -118,7 +136,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager2.page_no" v-model:page-size="pager2.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total2" @size-change="handleSizeChange2" @current-change="handleCurrentChange2" />
|
||||
<el-pagination v-model:current-page="pager2.page_no" v-model:page-size="pager2.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total2" @size-change="handleSizeChange2" @current-change="handleCurrentChange2" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="合同" name="new_name_4">
|
||||
@ -141,7 +161,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager4.page_no" v-model:page-size="pager4.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total4" @size-change="handleSizeChange4" @current-change="handleCurrentChange4" />
|
||||
<el-pagination v-model:current-page="pager4.page_no" v-model:page-size="pager4.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total4" @size-change="handleSizeChange4" @current-change="handleCurrentChange4" />
|
||||
</div>
|
||||
<div class='tit' style="margin: 20px 0;">合同洽商</div>
|
||||
<div>
|
||||
@ -156,10 +178,12 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager5.page_no" v-model:page-size="pager5.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total5" @size-change="handleSizeChange5" @current-change="handleCurrentChange5" />
|
||||
<el-pagination v-model:current-page="pager5.page_no" v-model:page-size="pager5.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total5" @size-change="handleSizeChange5" @current-change="handleCurrentChange5" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="订单" name="new_name_5">Task</el-tab-pane>
|
||||
<!-- <el-tab-pane label="订单" name="new_name_5">Task</el-tab-pane> -->
|
||||
<el-tab-pane label="发票" name="new_name_6">Task</el-tab-pane>
|
||||
<el-tab-pane label="回款" name="new_name_7">
|
||||
<div class="tit" style="margin:20px 0">回款计划</div>
|
||||
@ -178,7 +202,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager6.page_no" v-model:page-size="pager6.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total6" @size-change="handleSizeChange6" @current-change="handleCurrentChange6" />
|
||||
<el-pagination v-model:current-page="pager6.page_no" v-model:page-size="pager6.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total6" @size-change="handleSizeChange6" @current-change="handleCurrentChange6" />
|
||||
</div>
|
||||
<div class="tit" style="margin:20px 0">回款记录</div>
|
||||
<div>
|
||||
@ -194,7 +220,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager7.page_no" v-model:page-size="pager7.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total7" @size-change="handleSizeChange7" @current-change="handleCurrentChange7" />
|
||||
<el-pagination v-model:current-page="pager7.page_no" v-model:page-size="pager7.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total7" @size-change="handleSizeChange7" @current-change="handleCurrentChange7" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="售后" name="new_name_8">
|
||||
@ -211,7 +239,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager3.page_no" v-model:page-size="pager3.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total3" @size-change="handleSizeChange3" @current-change="handleCurrentChange3" />
|
||||
<el-pagination v-model:current-page="pager3.page_no" v-model:page-size="pager3.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total3" @size-change="handleSizeChange3" @current-change="handleCurrentChange3" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
|
@ -9,7 +9,8 @@
|
||||
<el-form-item label="客户属性" prop="custom_type">
|
||||
<el-select class="w-[280px]" v-model="queryParams.custom_type" clearable placeholder="请选择客户属性">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.custom_type" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.custom_type" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="电话" prop="master_phone">
|
||||
|
259
src/views/project/components/Business.vue
Normal file
259
src/views/project/components/Business.vue
Normal file
@ -0,0 +1,259 @@
|
||||
<template>
|
||||
<div class="tit">项目跟进</div>
|
||||
<div>
|
||||
<el-table :data="tableData1" stripe style="width: 100%">
|
||||
<el-table-column label="主题" prop='theme' width="180" />
|
||||
<el-table-column label="日期" prop='follow_date' width="180" />
|
||||
<el-table-column label="方案内容" prop='solution_content' />
|
||||
<el-table-column label="类型" prop='follow_type_text' />
|
||||
<el-table-column label="执行人" prop='executor' />
|
||||
<el-table-column label="阶段" prop='follow_stage_text' />
|
||||
<el-table-column label="状态" prop='follow_status_text' />
|
||||
<el-table-column label="项目把握度" prop='project_assurance_text' />
|
||||
</el-table>
|
||||
</div>
|
||||
<!-- <div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager1.page_no" v-model:page-size="pager1.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total"
|
||||
@size-change="handleSizeChange1" @current-change="handleCurrentChange1" />
|
||||
</div>
|
||||
|
||||
<div class="tit">客户需求</div>
|
||||
<div>
|
||||
<el-table :data="tableData2" stripe style="width: 100%">
|
||||
<el-table-column label="需求主题" prop='theme' width="180" />
|
||||
<el-table-column label="重要程度" prop='importance_text' width="180" />
|
||||
<el-table-column label="记录时间" prop='recording_time' />
|
||||
<el-table-column label="需求内容" prop='demand_content' />
|
||||
<el-table-column label="附件" prop="annex" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.annex && row.annex.length > 0">
|
||||
<div v-for="(item, i) in row.annex " :key='i'>
|
||||
<el-link :href="item" target="_blank">文件{{ i + 1 }}查看</el-link>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
暂无文件
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager2.page_no" v-model:page-size="pager2.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total1"
|
||||
@size-change="handleSizeChange2" @current-change="handleCurrentChange2" />
|
||||
</div>
|
||||
|
||||
<div class="tit">解决方案</div> -->
|
||||
<!-- <div>
|
||||
<el-table :data="tableData3" stripe style="width: 100%">
|
||||
<el-table-column label="解决方案主题" prop='customer_demand_name' width="180" />
|
||||
<el-table-column label="提交时间" prop='submission_time' width="180" />
|
||||
<el-table-column label="方案内容" prop='solution_content' />
|
||||
<el-table-column label="客户反馈" prop='customer_feedback' />
|
||||
<el-table-column label="附件" prop="annex" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.annex && row.annex.length > 0">
|
||||
<div v-for="(item, i) in row.annex " :key='i'>
|
||||
<el-link :href="item" target="_blank">文件{{ i + 1 }}查看</el-link>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
暂无文件
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div> -->
|
||||
<!-- <div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager3.page_no" v-model:page-size="pager3.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total2"
|
||||
@size-change="handleSizeChange3" @current-change="handleCurrentChange3" />
|
||||
</div>
|
||||
|
||||
<div class="tit">项目概算</div>
|
||||
<div>
|
||||
<el-table :data="tableData4" stripe style="width: 100%">
|
||||
<el-table-column label="概算来源" prop='estimate_source_text' width="180" />
|
||||
<el-table-column label="制单人" prop='create_user' width="180" />
|
||||
<el-table-column label="报价日期" prop='quotation_date' />
|
||||
<el-table-column label="技术人员" prop='technician_name' width="180" />
|
||||
<el-table-column label="概算金额(万元)" prop='estimate_amount' width="180" />
|
||||
<el-table-column label="要求" prop='ask' />
|
||||
<el-table-column label="附件" prop="annex" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.annex && row.annex.length > 0">
|
||||
<div v-for="(item, i) in row.annex " :key='i'>
|
||||
<el-link :href="item" target="_blank">文件{{ i + 1 }}查看</el-link>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
暂无文件
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager4.page_no" v-model:page-size="pager4.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total3"
|
||||
@size-change="handleSizeChange4" @current-change="handleCurrentChange4" />
|
||||
</div>
|
||||
|
||||
<div class="tit">竞争对手</div>
|
||||
<div>
|
||||
<el-table :data="tableData5" stripe style="width: 100%">
|
||||
<el-table-column label="竞争对手名称" prop='competitor_name' width="180" />
|
||||
<el-table-column label="竞争对手联系人" prop='competitor_contacts' width="180" />
|
||||
<el-table-column label="联系人电话" prop='competitor_contacts_phone' />
|
||||
<el-table-column label="竞争能力" prop='competitive_power' />
|
||||
<el-table-column label="竞争对手优势" prop='competitor_advantages' />
|
||||
<el-table-column label="竞争对手劣势" prop='competitor_disadvantages' />
|
||||
<el-table-column label="备注" prop='remark' />
|
||||
<el-table-column label="附件" prop="annex" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
<div v-if="row.annex && row.annex.length > 0">
|
||||
<div v-for="(item, i) in row.annex " :key='i'>
|
||||
<el-link :href="item" target="_blank">文件{{ i + 1 }}查看</el-link>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
暂无文件
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager5.page_no" v-model:page-size="pager5.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total4"
|
||||
@size-change="handleSizeChange5" @current-change="handleCurrentChange5" />
|
||||
</div> -->
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
<script setup>
|
||||
|
||||
import { ref, reactive, defineProps } from "vue"
|
||||
import { apiProjectFollowUpLists } from '@/api/project_follow_up'
|
||||
import { apiCustomerDemandLists } from '@/api/customer_demand'
|
||||
import { apiCustomerDemandSolutionLists } from '@/api/customer_demand_solution'
|
||||
import { apiProjectEstimateLists } from '@/api/project_estimate'
|
||||
import { apiCompetitorLists } from '@/api/competitor'
|
||||
|
||||
|
||||
const tableData1 = ref([])
|
||||
const tableData2 = ref([])
|
||||
const tableData3 = ref([])
|
||||
const tableData4 = ref([])
|
||||
const tableData5 = ref([])
|
||||
|
||||
|
||||
const pager1 = reactive({
|
||||
page_size: 10,
|
||||
page_no: 1,
|
||||
project_id: ""
|
||||
})
|
||||
// const pager2 = reactive({
|
||||
// page_size: 10,
|
||||
// page_no: 1,
|
||||
// project_id: ""
|
||||
// })
|
||||
// const pager3 = reactive({
|
||||
// page_size: 10,
|
||||
// page_no: 1,
|
||||
// project_id: ""
|
||||
// })
|
||||
// const pager4 = reactive({
|
||||
// page_size: 10,
|
||||
// page_no: 1,
|
||||
// project_id: ""
|
||||
// })
|
||||
const pager5 = reactive({
|
||||
page_size: 10,
|
||||
page_no: 1,
|
||||
project_id: ""
|
||||
})
|
||||
|
||||
|
||||
// //获取客户跟进进路
|
||||
const followUpLists = () => {
|
||||
apiProjectFollowUpLists(pager5).then((res) => {
|
||||
tableData1.value = res.lists
|
||||
total.value = res.count
|
||||
|
||||
})
|
||||
}
|
||||
//获取客户需求列表
|
||||
const demandList = () => {
|
||||
apiCustomerDemandLists(pager5).then((res) => {
|
||||
tableData2.value = res.lists
|
||||
total1.value = res.count
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 解决方案列表
|
||||
// const solutionLists = () => {
|
||||
// apiCustomerDemandSolutionLists(pager5).then((res) => {
|
||||
// tableData3.value = res.lists
|
||||
// total2.value = res.count
|
||||
|
||||
// })
|
||||
// }
|
||||
|
||||
// 获取项目概算列表
|
||||
// const estimateLists = () => {
|
||||
// apiProjectEstimateLists(pager4).then((res) => {
|
||||
// tableData4.value = res.lists
|
||||
// total3.value = res.count
|
||||
// })
|
||||
// }
|
||||
|
||||
// 获取竞争对手列表
|
||||
// const competitorLists = () => {
|
||||
// apiCompetitorLists(pager5).then((res) => {
|
||||
// tableData5.value = res.lists
|
||||
// total4.value = res.count
|
||||
// })
|
||||
// }
|
||||
|
||||
// const handleSizeChange1 = (val: number) => {
|
||||
// pager1.page_size = val
|
||||
// followUpLists()
|
||||
// }
|
||||
// const handleSizeChange2 = (val: number) => {
|
||||
// pager2.page_size = val
|
||||
// demandList()
|
||||
// }
|
||||
// const handleSizeChange3 = (val: number) => {
|
||||
// pager3.page_size = val
|
||||
// solutionLists()
|
||||
// }
|
||||
// const handleSizeChange4 = (val: number) => {
|
||||
// pager4.page_size = val
|
||||
// estimateLists()
|
||||
// }
|
||||
// const handleSizeChange5 = (val: number) => {
|
||||
// pager5.page_size = val
|
||||
// competitorLists()
|
||||
// }
|
||||
|
||||
|
||||
// //获取客户需求列表
|
||||
// const demandList = () => {
|
||||
// apiCustomerDemandLists(pager5).then((res) => {
|
||||
// tableData1.value = res.lists
|
||||
// total1.value = res.count
|
||||
|
||||
// })
|
||||
// }
|
||||
followUpLists()
|
||||
// demandList()
|
||||
// competitorLists()
|
||||
// solutionLists()
|
||||
// estimateLists()
|
||||
</script>
|
93
src/views/project/components/Overview.vue
Normal file
93
src/views/project/components/Overview.vue
Normal file
@ -0,0 +1,93 @@
|
||||
<template>
|
||||
<el-descriptions :column="3" title="基本信息" border>
|
||||
<el-descriptions-item label="组织名称" label-align="left" align="left" label-class-name="my-label">{{ formData.org_name
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="部门名称" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.dept_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称" label-align="left" align="left" label-class-name="my-label">{{ formData.name
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目编码" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_code }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户名称" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.custom_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目状态" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.status_text }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目类型" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_type_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="立项日期" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.create_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目所在地" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_address }}</el-descriptions-item>
|
||||
<el-descriptions-item label="战略意义" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.strategic_significance_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="所属行业" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.industry_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="单位性质" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.unit_nature_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="招标方式" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bidding_method_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="投标时间" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bidding_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="预计工期" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.estimated_construction }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目估算(万元)" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.project_estimation }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目估算(外币)" label-align="left" align="left" label-class-name="my-label"> {{ formData.name
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.contacts }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人部门" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.department }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人职位" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.position }}</el-descriptions-item>
|
||||
<el-descriptions-item label="关系度" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.telephone }}</el-descriptions-item>
|
||||
<el-descriptions-item label="发现时间" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.discovery_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="信息来源" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.information_sources_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="负责人" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.person }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目内容" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_content }}</el-descriptions-item>
|
||||
<el-descriptions-item label="竞争对手" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.competitor }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目建设资金来源" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.construction_funds_sources_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位付款方式" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.construction_payment_method
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位财务状况" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.construction_financial_status_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位对我方认可度" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.construction_recognition_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="我方对建设单位认可度" label-align="left" align="left" label-class-name="my-label"> {{
|
||||
formData.my_construction_recognition_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="附件" label-align="left" align="left" label-class-name="my-label">
|
||||
<div v-if="formData.annex && formData.annex.length > 0">
|
||||
<div v-for="(item, index) in formData.annex" style="margin-left: 5px;display: block;">
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri"
|
||||
target="_blank">文件{{ index + 1 }} 查看</a>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
暂无文件
|
||||
</div>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</template>
|
||||
|
||||
|
||||
|
||||
<script setup>
|
||||
|
||||
import { ref, reactive, defineProps } from "vue"
|
||||
const props = defineProps({
|
||||
formData: Object
|
||||
})
|
||||
</script>
|
11
src/views/project/components/a.vue
Normal file
11
src/views/project/components/a.vue
Normal file
@ -0,0 +1,11 @@
|
||||
<template></template>
|
||||
|
||||
|
||||
|
||||
<script setup>
|
||||
|
||||
import { ref, reactive, defineProps } from "vue"
|
||||
const props = defineProps({
|
||||
// formData: Object
|
||||
})
|
||||
</script>
|
@ -8,39 +8,74 @@
|
||||
|
||||
|
||||
<el-descriptions :column="3" title="基本信息" border>
|
||||
<el-descriptions-item label="组织名称" label-align="left" align="left" label-class-name="my-label">{{ formData.org_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="部门名称" label-align="left" align="left" label-class-name="my-label"> {{ formData.dept_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称" label-align="left" align="left" label-class-name="my-label">{{ formData.name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目编码" label-align="left" align="left" label-class-name="my-label"> {{ formData.project_code }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户名称" label-align="left" align="left" label-class-name="my-label"> {{ formData.custom_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="组织名称" label-align="left" align="left"
|
||||
label-class-name="my-label">{{ formData.org_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="部门名称" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.dept_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目名称" label-align="left" align="left"
|
||||
label-class-name="my-label">{{ formData.name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目编码" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_code }}</el-descriptions-item>
|
||||
<el-descriptions-item label="客户名称" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.custom_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目状态" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.status_text }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="项目类型" label-align="left" align="left" label-class-name="my-label"> {{ formData.project_type_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="立项日期" label-align="left" align="left" label-class-name="my-label"> {{ formData.create_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目所在地" label-align="left" align="left" label-class-name="my-label"> {{ formData.project_address }}</el-descriptions-item>
|
||||
<el-descriptions-item label="战略意义" label-align="left" align="left" label-class-name="my-label"> {{ formData.strategic_significance_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="所属行业" label-align="left" align="left" label-class-name="my-label"> {{ formData.industry_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="单位性质" label-align="left" align="left" label-class-name="my-label"> {{ formData.unit_nature_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="招标方式" label-align="left" align="left" label-class-name="my-label"> {{ formData.bidding_method_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="投标时间" label-align="left" align="left" label-class-name="my-label"> {{ formData.bidding_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="预计工期" label-align="left" align="left" label-class-name="my-label"> {{ formData.estimated_construction }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目估算(万元)" label-align="left" align="left" label-class-name="my-label"> {{ formData.project_estimation }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目估算(外币)" label-align="left" align="left" label-class-name="my-label"> {{ formData.name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人" label-align="left" align="left" label-class-name="my-label"> {{ formData.contacts }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人部门" label-align="left" align="left" label-class-name="my-label"> {{ formData.department }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人职位" label-align="left" align="left" label-class-name="my-label"> {{ formData.position }}</el-descriptions-item>
|
||||
<el-descriptions-item label="关系度" label-align="left" align="left" label-class-name="my-label"> {{ formData.telephone }}</el-descriptions-item>
|
||||
<el-descriptions-item label="发现时间" label-align="left" align="left" label-class-name="my-label"> {{ formData.discovery_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="信息来源" label-align="left" align="left" label-class-name="my-label"> {{ formData.information_sources_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="负责人" label-align="left" align="left" label-class-name="my-label"> {{ formData.person }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目内容" label-align="left" align="left" label-class-name="my-label"> {{ formData.project_content }}</el-descriptions-item>
|
||||
<el-descriptions-item label="竞争对手" label-align="left" align="left" label-class-name="my-label"> {{ formData.competitor }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目建设资金来源" label-align="left" align="left" label-class-name="my-label"> {{ formData.construction_funds_sources_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位付款方式" label-align="left" align="left" label-class-name="my-label"> {{ formData.construction_payment_method }}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位财务状况" label-align="left" align="left" label-class-name="my-label"> {{ formData.construction_financial_status_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位对我方认可度" label-align="left" align="left" label-class-name="my-label"> {{ formData.construction_recognition_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="我方对建设单位认可度" label-align="left" align="left" label-class-name="my-label"> {{ formData.my_construction_recognition_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目类型" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_type_name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="立项日期" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.create_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目所在地" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_address }}</el-descriptions-item>
|
||||
<el-descriptions-item label="战略意义" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.strategic_significance_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="所属行业" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.industry_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="单位性质" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.unit_nature_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="招标方式" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bidding_method_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="投标时间" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.bidding_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="预计工期" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.estimated_construction }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目估算(万元)" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.project_estimation }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目估算(外币)" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.name }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.contacts }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人部门" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.department }}</el-descriptions-item>
|
||||
<el-descriptions-item label="联系人职位" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.position }}</el-descriptions-item>
|
||||
<el-descriptions-item label="关系度" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.telephone }}</el-descriptions-item>
|
||||
<el-descriptions-item label="发现时间" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.discovery_time }}</el-descriptions-item>
|
||||
<el-descriptions-item label="信息来源" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.information_sources_text }}</el-descriptions-item>
|
||||
<el-descriptions-item label="负责人" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.person }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目内容" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.project_content }}</el-descriptions-item>
|
||||
<el-descriptions-item label="竞争对手" label-align="left" align="left" label-class-name="my-label">
|
||||
{{ formData.competitor }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目建设资金来源" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.construction_funds_sources_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位付款方式" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.construction_payment_method
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位财务状况" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.construction_financial_status_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="建设单位对我方认可度" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.construction_recognition_text
|
||||
}}</el-descriptions-item>
|
||||
<el-descriptions-item label="我方对建设单位认可度" label-align="left" align="left"
|
||||
label-class-name="my-label"> {{ formData.my_construction_recognition_text
|
||||
}}</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="项目开始日期" label-align="left" align="left" label-class-name="my-label"> {{ formData.notes }}</el-descriptions-item>
|
||||
<el-descriptions-item label="项目交付日期" label-align="left" align="left" label-class-name="my-label"> {{ formData.notes }}</el-descriptions-item> -->
|
||||
|
||||
@ -51,7 +86,8 @@
|
||||
<el-descriptions-item label="附件" label-align="left" align="left" label-class-name="my-label">
|
||||
<div v-if="formData.annex && formData.annex.length > 0">
|
||||
<div v-for="(item, index) in formData.annex" style="margin-left: 5px;display: block;">
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri" target="_blank">文件{{ index + 1 }} 查看</a>
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start"
|
||||
:href="item.uri" target="_blank">文件{{ index + 1 }} 查看</a>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
@ -78,7 +114,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager1.page_no" v-model:page-size="pager1.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange1" @current-change="handleCurrentChange1" />
|
||||
<el-pagination v-model:current-page="pager1.page_no" v-model:page-size="pager1.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total" @size-change="handleSizeChange1" @current-change="handleCurrentChange1" />
|
||||
</div>
|
||||
|
||||
<div class="tit">客户需求</div>
|
||||
@ -103,7 +141,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager2.page_no" v-model:page-size="pager2.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total1" @size-change="handleSizeChange2" @current-change="handleCurrentChange2" />
|
||||
<el-pagination v-model:current-page="pager2.page_no" v-model:page-size="pager2.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total1" @size-change="handleSizeChange2" @current-change="handleCurrentChange2" />
|
||||
</div>
|
||||
|
||||
<div class="tit">解决方案</div>
|
||||
@ -128,7 +168,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager3.page_no" v-model:page-size="pager3.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total2" @size-change="handleSizeChange3" @current-change="handleCurrentChange3" />
|
||||
<el-pagination v-model:current-page="pager3.page_no" v-model:page-size="pager3.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total2" @size-change="handleSizeChange3" @current-change="handleCurrentChange3" />
|
||||
</div>
|
||||
|
||||
<div class="tit">项目概算</div>
|
||||
@ -155,7 +197,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager4.page_no" v-model:page-size="pager4.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total3" @size-change="handleSizeChange4" @current-change="handleCurrentChange4" />
|
||||
<el-pagination v-model:current-page="pager4.page_no" v-model:page-size="pager4.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total3" @size-change="handleSizeChange4" @current-change="handleCurrentChange4" />
|
||||
</div>
|
||||
|
||||
<div class="tit">竞争对手</div>
|
||||
@ -183,7 +227,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager5.page_no" v-model:page-size="pager5.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total4" @size-change="handleSizeChange5" @current-change="handleCurrentChange5" />
|
||||
<el-pagination v-model:current-page="pager5.page_no" v-model:page-size="pager5.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total4" @size-change="handleSizeChange5" @current-change="handleCurrentChange5" />
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
@ -203,7 +249,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager6.page_no" v-model:page-size="pager6.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total5" @size-change="handleSizeChange6" @current-change="handleCurrentChange6" />
|
||||
<el-pagination v-model:current-page="pager6.page_no" v-model:page-size="pager6.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total5" @size-change="handleSizeChange6" @current-change="handleCurrentChange6" />
|
||||
</div>
|
||||
|
||||
<div class="tit">购买标书</div>
|
||||
@ -218,7 +266,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager7.page_no" v-model:page-size="pager7.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total6" @size-change="handleSizeChange7" @current-change="handleCurrentChange7" />
|
||||
<el-pagination v-model:current-page="pager7.page_no" v-model:page-size="pager7.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total6" @size-change="handleSizeChange7" @current-change="handleCurrentChange7" />
|
||||
</div>
|
||||
|
||||
<div class="tit">标书审查</div>
|
||||
@ -234,7 +284,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager8.page_no" v-model:page-size="pager8.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total7" @size-change="handleSizeChange8" @current-change="handleCurrentChange8" />
|
||||
<el-pagination v-model:current-page="pager8.page_no" v-model:page-size="pager8.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total7" @size-change="handleSizeChange8" @current-change="handleCurrentChange8" />
|
||||
</div>
|
||||
|
||||
<div class="tit">投标结果</div>
|
||||
@ -250,7 +302,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager9.page_no" v-model:page-size="pager9.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total8" @size-change="handleSizeChang9" @current-change="handleCurrentChange9" />
|
||||
<el-pagination v-model:current-page="pager9.page_no" v-model:page-size="pager9.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total8" @size-change="handleSizeChang9" @current-change="handleCurrentChange9" />
|
||||
</div>
|
||||
|
||||
<div class="tit">投标保证金</div>
|
||||
@ -266,7 +320,9 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager10.page_no" v-model:page-size="pager10.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total9" @size-change="handleSizeChange10" @current-change="handleCurrentChange10" />
|
||||
<el-pagination v-model:current-page="pager10.page_no" v-model:page-size="pager10.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total9" @size-change="handleSizeChange10" @current-change="handleCurrentChange10" />
|
||||
</div>
|
||||
<div class="tit">退投标保证金</div>
|
||||
<div>
|
||||
@ -281,7 +337,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager11.page_no" v-model:page-size="pager11.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total10" @size-change="handleSizeChange11" @current-change="handleCurrentChange11" />
|
||||
<el-pagination v-model:current-page="pager11.page_no" v-model:page-size="pager11.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total10" @size-change="handleSizeChange11"
|
||||
@current-change="handleCurrentChange11" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="合同" name="demo-4">
|
||||
@ -303,7 +362,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager19.page_no" v-model:page-size="pager19.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total18" @size-change="handleSizeChange19" @current-change="handleCurrentChange19" />
|
||||
<el-pagination v-model:current-page="pager19.page_no" v-model:page-size="pager19.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total18" @size-change="handleSizeChange19"
|
||||
@current-change="handleCurrentChange19" />
|
||||
</div>
|
||||
<div class='tit' style="margin: 20px 0;">合同洽商</div>
|
||||
<div>
|
||||
@ -318,7 +380,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager20.page_no" v-model:page-size="pager20.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total19" @size-change="handleSizeChange20" @current-change="handleCurrentChange20" />
|
||||
<el-pagination v-model:current-page="pager20.page_no" v-model:page-size="pager20.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total19" @size-change="handleSizeChange20"
|
||||
@current-change="handleCurrentChange20" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
|
||||
@ -340,7 +405,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager21.page_no" v-model:page-size="pager21.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total20" @size-change="handleSizeChange21" @current-change="handleCurrentChange21" />
|
||||
<el-pagination v-model:current-page="pager21.page_no" v-model:page-size="pager21.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total20" @size-change="handleSizeChange21"
|
||||
@current-change="handleCurrentChange21" />
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
@ -364,7 +432,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager26.page_no" v-model:page-size="pager26.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total25" @size-change="handleSizeChange26" @current-change="handleCurrentChange26" />
|
||||
<el-pagination v-model:current-page="pager26.page_no" v-model:page-size="pager26.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total25" @size-change="handleSizeChange26"
|
||||
@current-change="handleCurrentChange26" />
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
@ -394,7 +465,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager27.page_no" v-model:page-size="pager27.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total26" @size-change="handleSizeChange27" @current-change="handleCurrentChange27" />
|
||||
<el-pagination v-model:current-page="pager27.page_no" v-model:page-size="pager27.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total26" @size-change="handleSizeChange27"
|
||||
@current-change="handleCurrentChange27" />
|
||||
</div>
|
||||
<div class='tit' style="margin: 20px 0;">分包洽商</div>
|
||||
<div>
|
||||
@ -412,7 +486,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager28.page_no" v-model:page-size="pager28.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total27" @size-change="handleSizeChange28" @current-change="handleCurrentChange28" />
|
||||
<el-pagination v-model:current-page="pager28.page_no" v-model:page-size="pager28.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total27" @size-change="handleSizeChange28"
|
||||
@current-change="handleCurrentChange28" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="收款" name="demo-14">
|
||||
@ -434,7 +511,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager29.page_no" v-model:page-size="pager29.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total28" @size-change="handleSizeChange29" @current-change="handleCurrentChange29" />
|
||||
<el-pagination v-model:current-page="pager29.page_no" v-model:page-size="pager29.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total28" @size-change="handleSizeChange29"
|
||||
@current-change="handleCurrentChange29" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -453,7 +533,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager30.page_no" v-model:page-size="pager30.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total29" @size-change="handleSizeChange30" @current-change="handleCurrentChange30" />
|
||||
<el-pagination v-model:current-page="pager30.page_no" v-model:page-size="pager30.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total29" @size-change="handleSizeChange30"
|
||||
@current-change="handleCurrentChange30" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -471,7 +554,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager31.page_no" v-model:page-size="pager31.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total30" @size-change="handleSizeChange31" @current-change="handleCurrentChange31" />
|
||||
<el-pagination v-model:current-page="pager31.page_no" v-model:page-size="pager31.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total30" @size-change="handleSizeChange31"
|
||||
@current-change="handleCurrentChange31" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -491,7 +577,10 @@
|
||||
</div>
|
||||
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager32.page_no" v-model:page-size="pager32.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total31" @size-change="handleSizeChange32" @current-change="handleCurrentChange32" />
|
||||
<el-pagination v-model:current-page="pager32.page_no" v-model:page-size="pager32.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total31" @size-change="handleSizeChange32"
|
||||
@current-change="handleCurrentChange32" />
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
@ -511,7 +600,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager22.page_no" v-model:page-size="pager22.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total21" @size-change="handleSizeChange22" @current-change="handleCurrentChange22" />
|
||||
<el-pagination v-model:current-page="pager22.page_no" v-model:page-size="pager22.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total21" @size-change="handleSizeChange22"
|
||||
@current-change="handleCurrentChange22" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -529,7 +621,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager23.page_no" v-model:page-size="pager23.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total22" @size-change="handleSizeChange23" @current-change="handleCurrentChange23" />
|
||||
<el-pagination v-model:current-page="pager23.page_no" v-model:page-size="pager23.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total22" @size-change="handleSizeChange23"
|
||||
@current-change="handleCurrentChange23" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -550,7 +645,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager24.page_no" v-model:page-size="pager24.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total23" @size-change="handleSizeChange24" @current-change="handleCurrentChange24" />
|
||||
<el-pagination v-model:current-page="pager24.page_no" v-model:page-size="pager24.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total23" @size-change="handleSizeChange24"
|
||||
@current-change="handleCurrentChange24" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -570,7 +668,10 @@
|
||||
</div>
|
||||
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager25.page_no" v-model:page-size="pager25.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total24" @size-change="handleSizeChange25" @current-change="handleCurrentChange25" />
|
||||
<el-pagination v-model:current-page="pager25.page_no" v-model:page-size="pager25.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total24" @size-change="handleSizeChange25"
|
||||
@current-change="handleCurrentChange25" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -596,7 +697,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager12.page_no" v-model:page-size="pager12.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total11" @size-change="handleSizeChange12" @current-change="handleCurrentChange12" />
|
||||
<el-pagination v-model:current-page="pager12.page_no"
|
||||
v-model:page-size="pager12.page_size" :page-sizes="[10, 20, 30, 40]"
|
||||
layout="total, sizes, prev, pager, next, jumper" :total="total11"
|
||||
@size-change="handleSizeChange12" @current-change="handleCurrentChange12" />
|
||||
</div>
|
||||
|
||||
</el-tab-pane>
|
||||
@ -629,7 +733,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager13.page_no" v-model:page-size="pager13.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total12" @size-change="handleSizeChange13" @current-change="handleCurrentChange13" />
|
||||
<el-pagination v-model:current-page="pager13.page_no"
|
||||
v-model:page-size="pager13.page_size" :page-sizes="[10, 20, 30, 40]"
|
||||
layout="total, sizes, prev, pager, next, jumper" :total="total12"
|
||||
@size-change="handleSizeChange13" @current-change="handleCurrentChange13" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="保险记录" name="first-3">
|
||||
@ -648,7 +755,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager14.page_no" v-model:page-size="pager14.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total13" @size-change="handleSizeChange14" @current-change="handleCurrentChange14" />
|
||||
<el-pagination v-model:current-page="pager14.page_no"
|
||||
v-model:page-size="pager14.page_size" :page-sizes="[10, 20, 30, 40]"
|
||||
layout="total, sizes, prev, pager, next, jumper" :total="total13"
|
||||
@size-change="handleSizeChange14" @current-change="handleCurrentChange14" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="项目考勤" name="first-4">
|
||||
@ -670,7 +780,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager15.page_no" v-model:page-size="pager15.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total14" @size-change="handleSizeChange15" @current-change="handleCurrentChange15" />
|
||||
<el-pagination v-model:current-page="pager15.page_no"
|
||||
v-model:page-size="pager15.page_size" :page-sizes="[10, 20, 30, 40]"
|
||||
layout="total, sizes, prev, pager, next, jumper" :total="total14"
|
||||
@size-change="handleSizeChange15" @current-change="handleCurrentChange15" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="考勤明细" name="first-5">
|
||||
@ -694,7 +807,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager16.page_no" v-model:page-size="pager16.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total15" @size-change="handleSizeChange16" @current-change="handleCurrentChange16" />
|
||||
<el-pagination v-model:current-page="pager16.page_no"
|
||||
v-model:page-size="pager16.page_size" :page-sizes="[10, 20, 30, 40]"
|
||||
layout="total, sizes, prev, pager, next, jumper" :total="total15"
|
||||
@size-change="handleSizeChange16" @current-change="handleCurrentChange16" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane label="工资付款" name="first-6">
|
||||
@ -713,7 +829,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 20px 0;">
|
||||
<el-pagination v-model:current-page="pager17.page_no" v-model:page-size="pager17.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total16" @size-change="handleSizeChange17" @current-change="handleCurrentChange17" />
|
||||
<el-pagination v-model:current-page="pager17.page_no"
|
||||
v-model:page-size="pager17.page_size" :page-sizes="[10, 20, 30, 40]"
|
||||
layout="total, sizes, prev, pager, next, jumper" :total="total16"
|
||||
@size-change="handleSizeChange17" @current-change="handleCurrentChange17" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
@ -746,7 +865,10 @@
|
||||
</el-table>
|
||||
</div>
|
||||
<div style="margin: 10px 0;">
|
||||
<el-pagination v-model:current-page="pager18.page_no" v-model:page-size="pager18.page_size" :page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper" :total="total17" @size-change="handleSizeChange18" @current-change="handleCurrentChange18" />
|
||||
<el-pagination v-model:current-page="pager18.page_no" v-model:page-size="pager18.page_size"
|
||||
:page-sizes="[10, 20, 30, 40]" layout="total, sizes, prev, pager, next, jumper"
|
||||
:total="total17" @size-change="handleSizeChange18"
|
||||
@current-change="handleCurrentChange18" />
|
||||
</div>
|
||||
|
||||
|
||||
@ -1896,13 +2018,11 @@ defineExpose({
|
||||
getDetail
|
||||
})
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.tit {
|
||||
<style lang="scss" scoped>.tit {
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
:deep(.my-label) {
|
||||
width: 150px;
|
||||
}
|
||||
</style>
|
||||
}</style>
|
||||
|
@ -20,7 +20,8 @@
|
||||
<el-form-item label="项目内容" prop="project_content">
|
||||
<el-select class="w-[280px]" v-model="queryParams.project_content" clearable placeholder="请选择战略意义">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.project_content" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.project_content" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
@ -32,33 +33,39 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="战略意义" prop="strategic_significance">
|
||||
<el-select class="w-[280px]" v-model="queryParams.strategic_significance" clearable placeholder="请选择战略意义">
|
||||
<el-select class="w-[280px]" v-model="queryParams.strategic_significance" clearable
|
||||
placeholder="请选择战略意义">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.strategic_significance" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.strategic_significance" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属行业" prop="industry">
|
||||
<el-select class="w-[280px]" v-model="queryParams.industry" clearable placeholder="请选择所属行业">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.industry" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.industry" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="单位性质" prop="unit_nature">
|
||||
<el-select class="w-[280px]" v-model="queryParams.unit_nature" clearable placeholder="请选择单位性质">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.unit_nature" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.unit_nature" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="招标方式" prop="bidding_method">
|
||||
<el-select class="w-[280px]" v-model="queryParams.bidding_method" clearable placeholder="请选择招标方式">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.bidding_method" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.bidding_method" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="信息来源" prop="information_sources">
|
||||
<el-select class="w-[280px]" v-model="queryParams.information_sources" clearable placeholder="请选择信息来源">
|
||||
<el-option label="全部" value=""></el-option>
|
||||
<el-option v-for="(item, index) in dictData.information_sources" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.information_sources" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="项目类型" prop="project_type">
|
||||
@ -81,7 +88,8 @@
|
||||
</template>
|
||||
新增
|
||||
</el-button>
|
||||
<el-button v-perms="['project.project/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)">
|
||||
<el-button v-perms="['project.project/delete']" :disabled="!selectData.length"
|
||||
@click="handleDelete(selectData)">
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -106,7 +114,8 @@
|
||||
<el-button v-perms="['project.project/edit']" type="primary" link @click="handleEdit(row)">
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button v-perms="['project.project/delete']" type="danger" link @click="handleDelete(row.id)">
|
||||
<el-button v-perms="['project.project/delete']" type="danger" link
|
||||
@click="handleDelete(row.id)">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button v-perms="['project.project/detail']" link @click="handledetail(row)">
|
||||
|
@ -13,13 +13,16 @@
|
||||
</div>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="客户" prop="custom_id" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="customer_name" clearable placeholder="请输入客户" readonly @click="showDialog = true" />
|
||||
<el-form-item label="客户" prop="custom_id"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="customer_name" clearable placeholder="请输入客户" readonly
|
||||
@click="showDialog = true" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="报价日期" prop="quotation_date">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.quotation_date" clearable type="date" value-format="YYYY-MM-DD" placeholder="选择报价日期">
|
||||
<el-date-picker class="flex-1 !flex" v-model="formData.quotation_date" clearable type="date"
|
||||
value-format="YYYY-MM-DD" placeholder="选择报价日期">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -28,8 +31,10 @@
|
||||
<el-input v-model="formData.custom_master_name" clearable placeholder="请输入联系人" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="联系电话" prop="custom_master_phone" :rules="[{ validator: isMobileNumber, trigger: 'blur' }]">
|
||||
<el-input v-model="formData.custom_master_phone" clearable placeholder="请输入联系电话" :regex="/^ 1[3 - 9]\d{ 9}$ /" />
|
||||
<el-form-item label="联系电话" prop="custom_master_phone"
|
||||
:rules="[{ validator: isMobileNumber, trigger: 'blur' }]">
|
||||
<el-input v-model="formData.custom_master_phone" clearable placeholder="请输入联系电话"
|
||||
:regex="/^ 1[3 - 9]\d{ 9}$ /" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
@ -40,45 +45,57 @@
|
||||
<el-col :span="24">
|
||||
<el-form-item label="发票类型" prop="invoice_type">
|
||||
<el-radio-group v-model="formData.invoice_type" placeholder="请选择发票类型">
|
||||
<el-radio v-for="( item, index ) in dictData.invoice_type " :key="index" :label="parseInt(item.value)">
|
||||
<el-radio v-for="( item, index ) in dictData.invoice_type " :key="index"
|
||||
:label="parseInt(item.value)">
|
||||
{{ item.name }}
|
||||
</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col> <el-col :span="8">
|
||||
<el-form-item label="含税金额" prop="amount_including_tax" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="formData.amount_including_tax" clearable placeholder="请输入含税金额" @input="amountinput" />
|
||||
<el-form-item label="含税金额" prop="amount_including_tax"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="formData.amount_including_tax" clearable placeholder="请输入含税金额"
|
||||
@input="amountinput" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="含税金额大写" prop="amount_including_tax" :rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-form-item label="含税金额大写" prop="amount_including_tax"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'change' }]">
|
||||
<el-input v-model="amount_including_daxie" disabled clearable placeholder="请输入含税金额大写" />
|
||||
</el-form-item></el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="运费" prop="freight" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="运费" prop="freight"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.freight" clearable placeholder="请输入运费" />
|
||||
</el-form-item></el-col><el-col :span="8">
|
||||
<el-form-item label="其他费用" prop="other_fee" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="其他费用" prop="other_fee"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.other_fee" clearable placeholder="请输入其他费用" />
|
||||
</el-form-item></el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合计金额" prop="total_amount">
|
||||
<el-input v-model="formData.total_amount" clearable placeholder="请输入合计金额" @input="amountinput1" />
|
||||
<el-input v-model="formData.total_amount" clearable placeholder="请输入合计金额"
|
||||
@input="amountinput1" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="合计金额大写" prop="total_amount">
|
||||
<el-input v-model="total_amount_daxie" clearable disabled placeholder="请输入合计金额大写" />
|
||||
</el-form-item></el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="客户需求" prop="customer_require" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-form-item label="客户需求" prop="customer_require"
|
||||
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
|
||||
<el-input v-model="formData.customer_require" clearable placeholder="请输入客户需求" />
|
||||
</el-form-item></el-col><el-col :span="8">
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="formData.remark" clearable placeholder="请输入备注" />
|
||||
</el-form-item></el-col><el-col :span="8">
|
||||
<el-form-item label="附件" prop="field127">
|
||||
<el-upload accept="doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, tar, jpg, png, gif, jpeg, webp, wmv, avi, mpg, mpeg, 3gp, mov, mp4, flv, f4v, rmvb, mkv" class="upload-demo" :show-file-list="false" aria-hidden="true" :headers="{ Token: userStore.token }" :action="base_url + '/upload/file'" :on-success="handleAvatarSuccess_four" ref="upload">
|
||||
<el-upload
|
||||
accept="doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, tar, jpg, png, gif, jpeg, webp, wmv, avi, mpg, mpeg, 3gp, mov, mp4, flv, f4v, rmvb, mkv"
|
||||
class="upload-demo" :show-file-list="false" aria-hidden="true"
|
||||
:headers="{ Token: userStore.token }" :action="base_url + '/upload/file'"
|
||||
:on-success="handleAvatarSuccess_four" ref="upload">
|
||||
<el-button type="primary">
|
||||
上传
|
||||
</el-button>
|
||||
@ -86,7 +103,8 @@
|
||||
|
||||
<div>
|
||||
<div v-for="(item, index) in formDataannex" style="margin-left: 5px;display: block;">
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri" target="_blank">{{ item.name }}</a>
|
||||
<a style="margin-left: 10px; color: #4a5dff; align-self: flex-start" :href="item.uri"
|
||||
target="_blank">{{ item.name }}</a>
|
||||
<span style="cursor: pointer;margin-left: 5px;" @click="delFileFn(index)">x</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -96,7 +114,8 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<div style=" display: flex;justify-content: flex-end;margin-bottom: 30px;"> <el-button @click="showDialog1 = true">选择产品</el-button></div>
|
||||
<div style=" display: flex;justify-content: flex-end;margin-bottom: 30px;"> <el-button
|
||||
@click="showDialog1 = true">选择产品</el-button></div>
|
||||
|
||||
<div style="margin-bottom: 30px;">
|
||||
<el-table :data="tableData">
|
||||
@ -113,9 +132,11 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="产品编码" prop="code">
|
||||
<template #default="{ row }"> <el-input v-model="row.code" disabled placeholder="系统自动填写" /> </template></el-table-column>
|
||||
<template #default="{ row }"> <el-input v-model="row.code" disabled placeholder="系统自动填写" />
|
||||
</template></el-table-column>
|
||||
<el-table-column label="规格型号" prop="specs">
|
||||
<template #default="{ row }"> <el-input v-model="row.specs" disabled placeholder="系统自动填写" /> </template></el-table-column>
|
||||
<template #default="{ row }"> <el-input v-model="row.specs" disabled placeholder="系统自动填写" />
|
||||
</template></el-table-column>
|
||||
|
||||
<el-table-column label="品牌" prop="brand">
|
||||
<template #default="{ row }">
|
||||
@ -124,9 +145,11 @@
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="参数说明" prop="parameter_description">
|
||||
<template #default="{ row }"> <el-input v-model="row.parameter_description" disabled /> </template></el-table-column>
|
||||
<template #default="{ row }"> <el-input v-model="row.parameter_description" disabled />
|
||||
</template></el-table-column>
|
||||
<el-table-column label="单位" prop="unit">
|
||||
<template #default="{ row }"> <el-input v-model="row.unit" disabled /> </template></el-table-column>
|
||||
<template #default="{ row }"> <el-input v-model="row.unit" disabled />
|
||||
</template></el-table-column>
|
||||
<el-table-column label="数量" prop="product_num">
|
||||
<template #default="{ row }">
|
||||
<el-input v-model="row.product_num" />
|
||||
@ -136,7 +159,8 @@
|
||||
<template #default="{ row }">
|
||||
|
||||
<el-select class="flex-1" v-model="row.tax_rate" clearable placeholder="请选择税率">
|
||||
<el-option v-for="(item, index) in dictData.tax_rate" :key="index" :label="item.name" :value="item.value" />
|
||||
<el-option v-for="(item, index) in dictData.tax_rate" :key="index" :label="item.name"
|
||||
:value="item.value" />
|
||||
</el-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@ -304,7 +328,7 @@ const formData = reactive({
|
||||
remark: '',
|
||||
annex: '',
|
||||
|
||||
product: [],
|
||||
quotation_detail: [],
|
||||
|
||||
})
|
||||
|
||||
@ -408,12 +432,17 @@ const handleSubmit = async () => {
|
||||
formData.annex = JSON.stringify(formDataannex.map((item) => item.uri))
|
||||
}
|
||||
if (tableData.value.length > 0) {
|
||||
formData.product = tableData.value.map(item => ({
|
||||
formData.quotation_detail = tableData.value.map(item => ({
|
||||
|
||||
tax_inclusive_price: item.price,
|
||||
product_id: item.product_id,
|
||||
product_num: item.product_num,
|
||||
num: item.product_num,
|
||||
tax_rate: item.tax_rate,
|
||||
remark: item.remark
|
||||
}));
|
||||
|
||||
// formData.quotation_detail = JSON.stringify(formData.quotation_detail)
|
||||
|
||||
}
|
||||
await formRef.value?.validate()
|
||||
const data = { ...formData, }
|
||||
|
@ -14,7 +14,8 @@ import vueSetupExtend from 'vite-plugin-vue-setup-extend'
|
||||
export default defineConfig({
|
||||
base: '/admin/',
|
||||
server: {
|
||||
host: '0.0.0.0'
|
||||
host: '0.0.0.0',
|
||||
open:true
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user