This commit is contained in:
zmj 2024-04-10 18:03:03 +08:00
parent fa33b3fa72
commit 32f5dd831e
23 changed files with 398 additions and 269 deletions

View File

@ -49,6 +49,8 @@ export function usePaging(options: Options) {
lists: [] as any[],
extend: {} as Record<string, any>,
calcWidth: ({ column }: Icolumn) => {
if (!pager.lists?.length) return column.label;
let propWidth = column.label.length * 14 + 26;
let list = pager.lists.map(
(item: Object) => (item as any)[column.property]

View File

@ -44,15 +44,22 @@
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="开票编号" prop="invoicing_code" show-overflow-tooltip />
<el-table-column label="开票公司" prop="invoicing_company_name" show-overflow-tooltip />
<el-table-column label="开票日期" prop="invoicing_date" show-overflow-tooltip />
<el-table-column label="期次" prop="period" show-overflow-tooltip />
<el-table-column label="发票类型" prop="invoice_type" show-overflow-tooltip />
<el-table-column label="开票金额(含税)" prop="invoicing_amount" show-overflow-tooltip width="120" />
<el-table-column label="开票金额(非税)" prop="amount_including_tax" show-overflow-tooltip width="120" />
<el-table-column label="税率(%)" prop="tax_rate" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开票编号" prop="invoicing_code"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开票公司" prop="invoicing_company_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开票日期" prop="invoicing_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="期次" prop="period" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="发票类型" prop="invoice_type"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开票金额(含税)" prop="invoicing_amount"
show-overflow-tooltip width="120" />
<el-table-column :render-header="pager.calcWidth" label="开票金额(非税)" prop="amount_including_tax"
show-overflow-tooltip width="120" />
<el-table-column :render-header="pager.calcWidth" label="税率(%)" prop="tax_rate" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right" align="center">
<template #default="{ row }">
<el-button v-perms="['InvoicingRequests.InvoicingRequests/edit']" type="primary" link

View File

@ -39,19 +39,23 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="投标决策编号" prop="bid_decision_code" :render-header="pager.calcWidth" />
<el-table-column label="标书编号" prop="bid_document_no" :render-header="pager.calcWidth" />
<el-table-column label="招标公司名称" prop="invite_tenders_company_name" :render-header="pager.calcWidth" />
<el-table-column label="投标公司名称" prop="bid_company_name" :render-header="pager.calcWidth" />
<el-table-column label="购买人员" prop="buyer" show-overflow-tooltip />
<el-table-column label="购买标书金额" width="120" prop="amount" show-overflow-tooltip />
<el-table-column label="招标项目资金来源" width="170" prop="bidding_project_fund_source"
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column label=" 投标时间" prop="bidding_time" show-overflow-tooltip />
<el-table-column label="购买标书时间" prop="buy_date" width="120" show-overflow-tooltip />
<el-table-column label="招标方式" prop="bid_type" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="投标决策编号" prop="bid_decision_code" />
<el-table-column :render-header="pager.calcWidth" label="标书编号" prop="bid_document_no" />
<el-table-column :render-header="pager.calcWidth" label="招标公司名称" prop="invite_tenders_company_name" />
<el-table-column :render-header="pager.calcWidth" label="投标公司名称" prop="bid_company_name" />
<el-table-column :render-header="pager.calcWidth" label="购买人员" prop="buyer" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="购买标书金额" width="120" prop="amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="招标项目资金来源" width="170"
prop="bidding_project_fund_source" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label=" 投标时间" prop="bidding_time"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="购买标书时间" prop="buy_date" width="120"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="招标方式" prop="bid_type" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">

View File

@ -34,21 +34,23 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="审查编号" prop="code" :render-header="pager.calcWidth" />
<el-table-column label="标书编号" prop="bid_document_no" :render-header="pager.calcWidth" />
<el-table-column label="招标公司名称" prop="invite_tenders_company_name" :render-header="pager.calcWidth"
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="审查编号" prop="code" />
<el-table-column :render-header="pager.calcWidth" label="标书编号" prop="bid_document_no" />
<el-table-column :render-header="pager.calcWidth" label="招标公司名称" prop="invite_tenders_company_name"
show-overflow-tooltip />
<el-table-column label="投标公司名称" prop="bid_company_name" :render-header="pager.calcWidth"
<el-table-column :render-header="pager.calcWidth" label="投标公司名称" prop="bid_company_name"
show-overflow-tooltip />
<el-table-column label="招标项目资金来源" :render-header="pager.calcWidth" prop="bidding_project_fund_source"
<el-table-column :render-header="pager.calcWidth" label="招标项目资金来源" prop="bidding_project_fund_source"
show-overflow-tooltip />
<el-table-column label="是否需要保证金" :render-header="pager.calcWidth" prop="is_margin"
<el-table-column :render-header="pager.calcWidth" label="是否需要保证金" prop="is_margin"
show-overflow-tooltip />
<el-table-column label="保证金金额" :render-header="pager.calcWidth" prop="margin_amount"
<el-table-column :render-header="pager.calcWidth" label="保证金金额" prop="margin_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开标日期" prop="bid_opening_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="总金额" prop="total_amount"
show-overflow-tooltip />
<el-table-column label="开标日期" prop="bid_opening_date" show-overflow-tooltip />
<el-table-column label="总金额" prop="total_amount" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['bid.bid_document_examination/edit']" type="primary" link

View File

@ -29,21 +29,26 @@
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="标书审查编号" prop="bid_document_examination_code" :render-header="pager.calcWidth" />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="项目编码" prop="project_code" :render-header="pager.calcWidth" />
<el-table-column label="产品名称" prop="product_name" :render-header="pager.calcWidth" />
<el-table-column label="型号规格" prop="product_specs" show-overflow-tooltip />
<el-table-column label="单位" prop="product_unit" show-overflow-tooltip />
<el-table-column label="数量" prop="num" show-overflow-tooltip />
<el-table-column label="成本单价" prop="cost_price" show-overflow-tooltip />
<el-table-column label="金额" prop="cost_amount" show-overflow-tooltip />
<el-table-column label="点数" prop="points" show-overflow-tooltip />
<el-table-column label="报价单价" prop="sale_price" show-overflow-tooltip />
<el-table-column label="报价金额" prop="sale_amount" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="标书审查编号" prop="bid_document_examination_code" />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="项目编码" prop="project_code" />
<el-table-column :render-header="pager.calcWidth" label="产品名称" prop="product_name" />
<el-table-column :render-header="pager.calcWidth" label="型号规格" prop="product_specs"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="单位" prop="product_unit"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="数量" prop="num" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="成本单价" prop="cost_price"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="金额" prop="cost_amount" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="点数" prop="points" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="报价单价" prop="sale_price"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="报价金额" prop="sale_amount"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">

View File

@ -27,20 +27,27 @@
</el-button>
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="标书审查编号" prop="bid_document_examination_code" show-overflow-tooltip />
<el-table-column label="投标时间" prop="bidding_time" show-overflow-tooltip />
<el-table-column label="开标日期" prop="bid_opening_date" show-overflow-tooltip />
<el-table-column label="是否中标" prop="is_successful" show-overflow-tooltip>
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="标书审查编号" prop="bid_document_examination_code"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="投标时间" prop="bidding_time"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开标日期" prop="bid_opening_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="是否中标" prop="is_successful"
show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.is_successful" :value="row.is_successful" />
</template>
</el-table-column>
<el-table-column label="中标单位" prop="bidder_company" show-overflow-tooltip />
<el-table-column label="中标金额" prop="bidder_amount" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="中标单位" prop="bidder_company"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="中标金额" prop="bidder_amount"
show-overflow-tooltip />
<el-table-column label="操作" width="160" align="center" fixed="right">
<template #default="{ row }">

View File

@ -42,15 +42,22 @@
</el-button>
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="客户需求" prop="customer_demand_name" show-overflow-tooltip />
<el-table-column label="竞争对手名称" prop="competitor_name" show-overflow-tooltip />
<el-table-column label="竞争对手联系人" prop="competitor_contacts" show-overflow-tooltip />
<el-table-column label="联系人电话" prop="competitor_contacts_phone" show-overflow-tooltip />
<el-table-column label="竞争能力" prop="competitive_power" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" type="selection" width="55" />
<el-table-column :render-header="pager.calcWidth" label="序号" type="index" width="55" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户需求" prop="customer_demand_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="竞争对手名称" prop="competitor_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="竞争对手联系人" prop="competitor_contacts"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="联系人电话" prop="competitor_contacts_phone"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="竞争能力" prop="competitive_power"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['project.competitor/edit']" type="primary" link @click="handleEdit(row)">

View File

@ -43,17 +43,21 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="洽商编号" prop="negotiation_no" :render-header="pager.calcWidth" />
<el-table-column label="合同编号" prop="contract_code" :render-header="pager.calcWidth" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="洽商报价金额" prop="negotiation_amount" :render-header="pager.calcWidth" />
<el-table-column label="洽商类别" prop="negotiation_type" show-overflow-tooltip />
<el-table-column label="签约日期" prop="contract_date" show-overflow-tooltip />
<el-table-column label="业务负责人" prop="business_director" :render-header="pager.calcWidth" />
<el-table-column label="利润" prop="profit" show-overflow-tooltip />
<el-table-column label="利润率" prop="profit_rate" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="洽商编号" prop="negotiation_no" />
<el-table-column :render-header="pager.calcWidth" label="合同编号" prop="contract_code" />
<el-table-column :render-header="pager.calcWidth" label="合同名称" prop="contract_name" />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="洽商报价金额" prop="negotiation_amount" />
<el-table-column :render-header="pager.calcWidth" label="洽商类别" prop="negotiation_type"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签约日期" prop="contract_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="业务负责人" prop="business_director" />
<el-table-column :render-header="pager.calcWidth" label="利润" prop="profit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="利润率" prop="profit_rate"
show-overflow-tooltip />
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['contract.contract_negotiation/edit']" type="primary" link

View File

@ -40,20 +40,25 @@
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="所属客户" prop="custom_name" show-overflow-tooltip />
<el-table-column label="跟进主题" prop="name" show-overflow-tooltip width="200" />
<el-table-column label="联系人" prop="custom_master_name" show-overflow-tooltip />
<el-table-column label="日期" prop="date" show-overflow-tooltip />
<el-table-column label="类型" prop="types">
<el-table-column :render-header="pager.calcWidth" label="序号" type="index" width="55" />
<el-table-column :render-header="pager.calcWidth" label="所属客户" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="跟进主题" prop="name" show-overflow-tooltip
width="200" />
<el-table-column :render-header="pager.calcWidth" label="联系人" prop="custom_master_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="日期" prop="date" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="类型" prop="types">
<template #default="{ row }">
<dict-value :options="dictData.follow_type" :value="row.types" />
</template>
</el-table-column>
<el-table-column label="执行人" prop="executor" show-overflow-tooltip />
<el-table-column label="行动描述" prop="description" show-overflow-tooltip />
<el-table-column label="位置" prop="coordinate" show-overflow-tooltip />
<el-table-column label="下次回访日期" prop="next_follow_date" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="执行人" prop="executor" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="行动描述" prop="description"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="位置" prop="coordinate" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="下次回访日期" prop="next_follow_date"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['custom_follow.custom_follow/edit']" type="primary" link

View File

@ -49,21 +49,23 @@
</el-button>
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="需求主题" prop="theme" show-overflow-tooltip />
<el-table-column label="需求提供人" prop="supplier" show-overflow-tooltip />
<el-table-column label="提供人联系方式" prop="supplier_contacts" show-overflow-tooltip />
<el-table-column label="重要程度" prop="importance">
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="需求主题" prop="theme" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="需求提供人" prop="supplier" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="提供人联系方式" prop="supplier_contacts"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="重要程度" prop="importance">
<template #default="{ row }">
<dict-value :options="dictData.importance" :value="row.importance" />
</template>
</el-table-column>
<el-table-column label="记录时间" prop="recording_time" />
<el-table-column :render-header="pager.calcWidth" label="记录时间" prop="recording_time" />
<el-table-column label="需求内容" prop="demand_content" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="需求内容" prop="demand_content"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">

View File

@ -34,15 +34,21 @@
</el-button>
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="需求名称" prop="customer_demand_name" show-overflow-tooltip />
<el-table-column label="解决方案主题" prop="theme" show-overflow-tooltip />
<el-table-column label="提交时间" prop="submission_time" show-overflow-tooltip />
<el-table-column label="方案内容" prop="solution_content" show-overflow-tooltip />
<el-table-column label="客户反馈" prop="customer_feedback" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" type="selection" width="55" />
<el-table-column :render-header="pager.calcWidth" label="序号" type="index" width="55" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="需求名称" prop="customer_demand_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="解决方案主题" prop="theme" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="提交时间" prop="submission_time"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="方案内容" prop="solution_content"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户反馈" prop="customer_feedback"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['custom.customer_demand_solution/edit']" type="primary" link

View File

@ -16,39 +16,38 @@
<el-col :span="6">
<el-form-item label="业务性质" prop="business_nature">
<el-select class='flex-1' v-model="queryParams.business_nature">
<el-option v-for="(item, index) in dictData.cost_consultation_business_nature "
:key="index" :label="item.name" :value="parseInt(item.value)"></el-option>
<el-option v-for="(item, index) in dictData.cost_consultation_business_nature " :key="index"
:label="item.name" :value="parseInt(item.value)"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="行业性质" prop="industry_nature">
<el-select class='flex-1' v-model="queryParams.industry_nature">
<el-option v-for="(item, index) in dictData.cost_consultation_industry_nature "
:key="index" :label="item.name" :value="parseInt(item.value)"></el-option>
<el-option v-for="(item, index) in dictData.cost_consultation_industry_nature " :key="index"
:label="item.name" :value="parseInt(item.value)"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="资金来源" prop="fund_sources">
<el-select class='flex-1' v-model="queryParams.fund_sources">
<el-option v-for="(item, index) in dictData.money_source " :key="index"
:label="item.name" :value="parseInt(item.value)"></el-option>
<el-option v-for="(item, index) in dictData.money_source " :key="index" :label="item.name"
:value="parseInt(item.value)"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="建设区域" prop="const_area">
<el-select class='flex-1' v-model="queryParams.const_area">
<el-option v-for="(item, index) in dictData.const_area " :key="index"
:label="item.name" :value="parseInt(item.value)"></el-option>
<el-option v-for="(item, index) in dictData.const_area " :key="index" :label="item.name"
:value="parseInt(item.value)"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="签订金额" prop="signed_amount">
<el-input v-model="queryParams.signed_amount" clearable placeholder="请输入签订金额"
type="number" />
<el-input v-model="queryParams.signed_amount" clearable placeholder="请输入签订金额" type="number" />
</el-form-item>
</el-col>
<el-col :span="6">
@ -74,24 +73,40 @@
<div class="mt-4">
<el-table :data="pager.lists" @selection-change="handleSelectionChange" border>
<el-table-column type="selection" width="55" />
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
<el-table-column label="合同编号" prop="contract_code" show-overflow-tooltip />
<el-table-column label="甲方单位" prop="part_a_name" show-overflow-tooltip />
<el-table-column label="乙方单位" prop="part_b" show-overflow-tooltip />
<el-table-column label="业务性质" prop="business_nature_text" show-overflow-tooltip />
<el-table-column label="行业性质" prop="industry_nature_text" show-overflow-tooltip />
<el-table-column label="资金来源" prop="fund_sources_text" show-overflow-tooltip />
<el-table-column label="建设区域" prop="const_area_text" show-overflow-tooltip />
<el-table-column label="签订金额" prop="signed_amount" show-overflow-tooltip />
<el-table-column label="签订部门" prop="signed_dept_name" show-overflow-tooltip />
<el-table-column label="签订负责人" prop="signed_head_name" show-overflow-tooltip />
<el-table-column label="监管部门" prop="supervise_dept_name" show-overflow-tooltip />
<el-table-column label="项目经理" prop="project_manager_name" show-overflow-tooltip />
<el-table-column label="计划开始" prop="start_date" show-overflow-tooltip />
<el-table-column label="计划结束" prop="end_date" show-overflow-tooltip />
<el-table-column label="签订时间" prop="create_time" show-overflow-tooltip />
<el-table-column label="审核状态" prop="approve_status_text" show-overflow-tooltip />
<el-table-column label="移交状态" prop="review_status_text" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同名称" prop="contract_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同编号" prop="contract_code"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="甲方单位" prop="part_a_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="乙方单位" prop="part_b" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="业务性质" prop="business_nature_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="行业性质" prop="industry_nature_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="资金来源" prop="fund_sources_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="建设区域" prop="const_area_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签订金额" prop="signed_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签订部门" prop="signed_dept_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签订负责人" prop="signed_head_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="监管部门" prop="supervise_dept_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目经理" prop="project_manager_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="计划开始" prop="start_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="计划结束" prop="end_date" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签订时间" prop="create_time"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="审核状态" prop="approve_status_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="移交状态" prop="review_status_text"
show-overflow-tooltip />
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['marketing.marketing_contract/edit']" type="primary" link
@ -102,8 +117,7 @@
@click="handleDelete(row.id)">
删除
</el-button>
<el-button v-perms="['marketing.marketing_contract/detail']" link
@click="handledetail(row)">
<el-button v-perms="['marketing.marketing_contract/detail']" link @click="handledetail(row)">
详情
</el-button>
</template>

View File

@ -70,13 +70,12 @@
</el-col>
<el-row v-if="mode == 'add'">
<el-table :data="tablist1">
<el-table-column label="序号">
<!-- <el-table-column label="序号">
<template #default="{ row }">
<el-button @click="handleAdd(row)" size="small">+</el-button>
<el-button @click="handleDelete(row)" size="small">-</el-button>
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="材料名称" prop="material_name">
<template #default="{ row, $index }">
@ -264,8 +263,8 @@ const formData = reactive({
const chekcDate = (rule: any, value: any, callback: any) => {
if (new Date(formData.apply_date) < new Date(formData.arrival_date)) {
callback(new Error('申请日期不能早于希望到货日期'))
if (new Date(formData.apply_date) > new Date(formData.arrival_date)) {
callback(new Error('希望到货日期不能早于申请日期'))
} else {
callback()
}

View File

@ -108,54 +108,56 @@
<el-button @click="handleDelete1(row)">-</el-button>
</template>
</el-table-column>
<el-table-column label="采购申请单号" prop="material_purchase_request_code">
<el-table-column width="170" label="采购申请单号" prop="material_purchase_request_code">
<template #default="{ row }">
<el-input v-model="row.material_purchase_request_code" disabled />
</template>
</el-table-column>
<el-table-column label="材料名称" prop="material_name">
<el-table-column width="170" label="材料名称" prop="material_name">
<template #default="{ row }"> <el-input v-model="row.material_name" disabled />
</template></el-table-column>
<el-table-column label="材料编码" prop="material_code">
<el-table-column width="170" label="材料编码" prop="material_code">
<template #default="{ row }"> <el-input v-model="row.material_code" disabled />
</template></el-table-column>
<el-table-column label="规格型号" prop="material_specs">
<el-table-column width="170" label="规格型号" prop="material_specs">
<template #default="{ row }">
<el-input v-model="row.material_specs" />
</template>
</el-table-column>
<el-table-column label="品牌" prop="material_brand">
<el-table-column width="170" label="品牌" prop="material_brand">
<template #default="{ row }">
<el-input v-model="row.material_brand" disabled />
</template>
</el-table-column>
<el-table-column label="单位" prop="material_unit">
<el-table-column width="170" label="单位" prop="material_unit">
<template #default="{ row }">
<el-input v-model="row.material_unit" disabled />
</template>
</el-table-column>
<el-table-column label="数量" prop="num">
<el-table-column width="170" label="可申购数量" prop="could_num">
<template #default="{ row, $index }">
<el-input v-model="row.num" />
<el-input v-model="row.could_num" disabled />
</template>
</el-table-column>
<el-table-column label="含税单价" prop="price">
<el-table-column width="170" label="数量" prop="num">
<template #default="{ row, $index }">
<el-input-number v-model="row.num" min="0" :max="row.could_num" />
</template>
</el-table-column>
<el-table-column width="170" label="含税单价" prop="price">
<template #default="{ row, $index }">
<el-input v-model="row.price" />
</template>
</el-table-column>
<el-table-column label="税率(%)" prop="tax_rate">
<el-table-column width="170" label="税率(%)" prop="tax_rate">
<template #default="{ row, $index }">
<el-select v-model="row.tax_rate" clearable placeholder="请选择税率" value-key="name">
@ -165,13 +167,13 @@
</template>
</el-table-column>
<el-table-column label="不含税金额" prop="amount_excluding_tax">
<el-table-column width="170" label="不含税金额" prop="amount_excluding_tax">
<template #default="{ row }">
<el-input v-model="row.amount_excluding_tax" prop="num" disabled />
</template>
</el-table-column>
<el-table-column label="含税金额" prop="amount_including_tax">
<el-table-column width="170" label="含税金额" prop="amount_including_tax">
<template #default="{ row }">
<el-input v-model="row.amount_including_tax" prop="num" disabled type="number" />
@ -188,7 +190,6 @@
<template #default="{ row }">
<el-button @click="handleAdd(row)">+</el-button>
<el-button @click="handleDelete(row)">-</el-button>
</template>
</el-table-column>
@ -397,6 +398,7 @@ const customEvent2 = (e: any) => {
'material_brand': e.material_brand,
'material_purchase_request_code': e.material_purchase_request_code,
'material_specs': e.material_specs,
could_num: e.num,
});
showDialog2.value = false;
}

View File

@ -35,21 +35,30 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="155" show-overflow-tooltip />
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
<el-table-column label="签订日期" prop="signing_date" show-overflow-tooltip />
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
<el-table-column label="已付款金额" prop="has_pay_amount" width="100" />
<el-table-column label="已开票金额" prop="has_invoice_amount" show-overflow-tooltip width="100" />
<el-table-column label="未付款金额" prop="not_pay_amount" show-overflow-tooltip width="100" />
<el-table-column label="未开票金额" prop="not_invoice_amount" show-overflow-tooltip width="100" />
<el-table-column label="退款金额" prop="refund_amount" show-overflow-tooltip />
<el-table-column label="已入库数量" prop="has_storage_num" show-overflow-tooltip width="100" />
<el-table-column label="未入库数量" prop="not_storage_num" show-overflow-tooltip width="100" />
<el-table-column label="数量" prop="num" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="供应商名称" prop="supplier_name" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="合同名称" prop="contract_name" />
<el-table-column :render-header="pager.calcWidth" label="合同编号" prop="contract_no" />
<el-table-column :render-header="pager.calcWidth" label="合同类型" prop="contract_type"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签订日期" prop="signing_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同金额" prop="contract_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="已付款金额" prop="has_pay_amount" width="100" />
<el-table-column :render-header="pager.calcWidth" label="已开票金额" prop="has_invoice_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="未付款金额" prop="not_pay_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="未开票金额" prop="not_invoice_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="退款金额" prop="refund_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="已入库数量" prop="has_storage_num"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="未入库数量" prop="not_storage_num"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="数量" prop="num" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['contract.procurement_contract/edit']" type="primary" link

View File

@ -28,19 +28,28 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
<el-table-column label="合同类型" prop="contract_type_text" show-overflow-tooltip />
<el-table-column label="税率" prop="tax_rate_text" show-overflow-tooltip />
<el-table-column label="材料小类" prop="material_three_level" show-overflow-tooltip />
<el-table-column label="材料名称" prop="material_name" show-overflow-tooltip />
<el-table-column label="材料类别" prop="material_first_level" show-overflow-tooltip />
<el-table-column label="材料中类" prop="material_second_level" show-overflow-tooltip />
<el-table-column label="材料编码" prop="material_code" show-overflow-tooltip />
<el-table-column label="规格型号" prop="material_specs" show-overflow-tooltip />
<el-table-column label="品牌" prop="material_brand" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="合同名称" prop="contract_name" />
<el-table-column :render-header="pager.calcWidth" label="合同编号" prop="contract_no" />
<el-table-column :render-header="pager.calcWidth" label="供应商名称" prop="supplier_name" />
<el-table-column :render-header="pager.calcWidth" label="合同类型" prop="contract_type_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="税率" prop="tax_rate_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="材料小类" prop="material_three_level"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="材料名称" prop="material_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="材料类别" prop="material_first_level"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="材料中类" prop="material_second_level"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="材料编码" prop="material_code"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="规格型号" prop="material_specs"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="品牌" prop="material_brand"
show-overflow-tooltip />
<el-table-column label="参数说明" prop="material_parameter_description" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">

View File

@ -57,25 +57,32 @@
</el-button>
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
<el-table-column label="需求" prop="customer_demand_name" show-overflow-tooltip />
<el-table-column label="概算来源" prop="estimate_source">
<el-table-column :render-header="pager.calcWidth" type="selection" width="55" />
<el-table-column :render-header="pager.calcWidth" label="序号" type="index" width="55" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="需求" prop="customer_demand_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="概算来源" prop="estimate_source">
<template #default="{ row }">
<dict-value :options="dictData.estimate_source" :value="row.estimate_source" />
</template>
</el-table-column>
<el-table-column label="制单人" prop="create_user" show-overflow-tooltip />
<el-table-column label="报价日期" prop="quotation_date" show-overflow-tooltip />
<el-table-column label="发票类型" prop="invoice_type">
<el-table-column :render-header="pager.calcWidth" label="制单人" prop="create_user"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="报价日期" prop="quotation_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="发票类型" prop="invoice_type">
<template #default="{ row }">
<dict-value :options="dictData.invoice_type" :value="row.invoice_type" />
</template>
</el-table-column>
<el-table-column label="技术人员" prop="technician_name" show-overflow-tooltip />
<el-table-column label="概算金额" prop="estimate_amount" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="技术人员" prop="technician_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="概算金额" prop="estimate_amount"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['project.project_estimate/edit']" type="primary" link

View File

@ -32,20 +32,29 @@
<div class="mt-4">
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="预算单号" prop="total_budget_code" :render-header="pager.calcWidth" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="项目编码" prop="project_code" :render-header="pager.calcWidth" />
<el-table-column label="项目经理" prop="project_manager" show-overflow-tooltip />
<el-table-column label="预算日期" prop="budget_date" show-overflow-tooltip />
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
<el-table-column label="总成本" prop="total_cost" show-overflow-tooltip />
<el-table-column label="项目利润" prop="profit" show-overflow-tooltip />
<el-table-column label="项目利润率" prop="profit_rate" show-overflow-tooltip width="100" />
<el-table-column label="材料预算成本" prop="cl_cost" show-overflow-tooltip width="120" />
<el-table-column label="分包预算成本" prop="fb_cost" show-overflow-tooltip width="120" />
<el-table-column label="人工预算成本" prop="rg_cost" show-overflow-tooltip width="120" />
<el-table-column label="费用预算成本" prop="fy_cost" show-overflow-tooltip width="120" />
<el-table-column label="机具预算成本" prop="jj_cost" show-overflow-tooltip width="120" />
<el-table-column :render-header="pager.calcWidth" label="预算单号" prop="total_budget_code" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="项目编码" prop="project_code" />
<el-table-column :render-header="pager.calcWidth" label="项目经理" prop="project_manager"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="预算日期" prop="budget_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同金额" prop="contract_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="总成本" prop="total_cost" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目利润" prop="profit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目利润率" prop="profit_rate" show-overflow-tooltip
width="100" />
<el-table-column :render-header="pager.calcWidth" label="材料预算成本" prop="cl_cost" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="分包预算成本" prop="fb_cost" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="人工预算成本" prop="rg_cost" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="费用预算成本" prop="fy_cost" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="机具预算成本" prop="jj_cost" show-overflow-tooltip
width="120" />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">

View File

@ -16,26 +16,37 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="报价单号" prop="quotation_code" :render-header="pager.calcWidth" />
<el-table-column label="客户名称" prop="custom_name" :render-header="pager.calcWidth" />
<el-table-column label="制单人" prop="quotation_create_user" show-overflow-tooltip />
<el-table-column label="报价日期" prop="quotation_date" show-overflow-tooltip />
<el-table-column label="产品类别" prop="product_first_level_name" show-overflow-tooltip />
<el-table-column label="产品中类" prop="product_second_level_name" show-overflow-tooltip />
<el-table-column label="产品小类" prop="product_three_level_name" show-overflow-tooltip />
<el-table-column label="产品名称" prop="product_name" :render-header="pager.calcWidth" />
<el-table-column label="产品编码" prop="product_code" :render-header="pager.calcWidth" />
<el-table-column label="规格型号" prop="product_specs" show-overflow-tooltip />
<el-table-column label="品牌" prop="product_brand" show-overflow-tooltip />
<el-table-column label="参数说明" prop="product_parameter_description" show-overflow-tooltip />
<el-table-column label="单位" prop="product_unit" show-overflow-tooltip />
<el-table-column label="数量" prop="num" show-overflow-tooltip />
<el-table-column label="税率" prop="tax_rate" show-overflow-tooltip />
<el-table-column label="含税单价" prop="tax_inclusive_price" show-overflow-tooltip />
<el-table-column label="不含税金额" :width="94" prop="tax_exclusive_amount" show-overflow-tooltip />
<el-table-column label="含税金额" prop="tax_inclusive_amount" show-overflow-tooltip />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
<el-table-column label="创建日期" prop="create_time" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="报价单号" prop="quotation_code" />
<el-table-column :render-header="pager.calcWidth" label="客户名称" prop="custom_name" />
<el-table-column :render-header="pager.calcWidth" label="制单人" prop="quotation_create_user"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="报价日期" prop="quotation_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="产品类别" prop="product_first_level_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="产品中类" prop="product_second_level_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="产品小类" prop="product_three_level_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="产品名称" prop="product_name" />
<el-table-column :render-header="pager.calcWidth" label="产品编码" prop="product_code" />
<el-table-column :render-header="pager.calcWidth" label="规格型号" prop="product_specs"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="品牌" prop="product_brand"
show-overflow-tooltip />
<el-table-column prop="product_parameter_description" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="单位" prop="product_unit"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="数量" prop="num" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="税率" prop="tax_rate" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="含税单价" prop="tax_inclusive_price"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="不含税金额" :width="94" prop="tax_exclusive_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="含税金额" prop="tax_inclusive_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="创建日期" prop="create_time"
show-overflow-tooltip />
</el-table>
</div>
<div class="flex mt-4 justify-end">

View File

@ -34,24 +34,34 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" /> -->
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="签订日期" prop="signing_date" show-overflow-tooltip />
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
<el-table-column label="洽商金额" prop="negotiation_amount" show-overflow-tooltip />
<el-table-column label="不含税金额" prop="excluding_tax_amount" show-overflow-tooltip width="94" />
<el-table-column label="实际合同金额" prop="reality_contract_amount" show-overflow-tooltip width="120" />
<el-table-column label="已付款金额" prop="has_pay_amount" show-overflow-tooltip width="100" />
<el-table-column label="未付款金额" prop="not_pay_amount" show-overflow-tooltip width="100" />
<el-table-column label="已开票金额" prop="invoice_amount" show-overflow-tooltip width="100" />
<el-table-column label="未开票金额" prop="not_invoice_amount" show-overflow-tooltip width="100" />
<el-table-column label="已退款金额" prop="refund_amount" show-overflow-tooltip width="100" />
<el-table-column label="结算差异" prop="settlement_difference" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="供应商名称" prop="supplier_name" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="合同编号" prop="contract_no" />
<el-table-column :render-header="pager.calcWidth" label="合同名称" prop="contract_name" />
<el-table-column :render-header="pager.calcWidth" label="签订日期" prop="signing_date"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同类型" prop="contract_type"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同金额" prop="contract_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="洽商金额" prop="negotiation_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="不含税金额" prop="excluding_tax_amount"
show-overflow-tooltip width="94" />
<el-table-column :render-header="pager.calcWidth" label="实际合同金额" prop="reality_contract_amount"
show-overflow-tooltip width="120" />
<el-table-column :render-header="pager.calcWidth" label="已付款金额" prop="has_pay_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="未付款金额" prop="not_pay_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="已开票金额" prop="invoice_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="未开票金额" prop="not_invoice_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="已退款金额" prop="refund_amount"
show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="结算差异" prop="settlement_difference"
show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right" align='center'>
<template #default="{ row }">
<el-button v-perms="['contract.subcontracting_contract/edit']" type="primary" link

View File

@ -29,18 +29,23 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="序号" type="index" width="55" />
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
<el-table-column label="工作类型" prop="work_type" show-overflow-tooltip />
<el-table-column label="工作内容" prop="work_content" show-overflow-tooltip />
<el-table-column label="项目特征" prop="project_features" show-overflow-tooltip />
<el-table-column label="单位" prop="unit" show-overflow-tooltip />
<el-table-column label="税率(%)" prop="tax_rate_text" show-overflow-tooltip />
<el-table-column label="工作量" prop="num" show-overflow-tooltip />
<el-table-column label="不含税金额" prop="amount_excluding_tax" show-overflow-tooltip width="94" />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="project_name" />
<el-table-column :render-header="pager.calcWidth" label="供应商名称" prop="supplier_name" />
<el-table-column :render-header="pager.calcWidth" label="合同名称" prop="contract_name" />
<el-table-column :render-header="pager.calcWidth" label="合同编号" prop="contract_no" />
<el-table-column :render-header="pager.calcWidth" label="合同类型" prop="contract_type"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工作类型" prop="work_type" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工作内容" prop="work_content"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目特征" prop="project_features"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="单位" prop="unit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="税率(%)" prop="tax_rate_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工作量" prop="num" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="不含税金额" prop="amount_excluding_tax"
show-overflow-tooltip width="94" />
<el-table-column label="含税金额" prop="amount_including_tax" show-overflow-tooltip />
<el-table-column label="操作" width="160" fixed="right" align="center">
<template #default="{ row }">

View File

@ -47,11 +47,16 @@
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="洽商编号" prop="negotiation_no" :render-header="pager.calcWidth" />
<el-table-column label="洽商单名称" prop="negotiation_name" show-overflow-tooltip />
<el-table-column label="洽商金额" prop="negotiation_amount" show-overflow-tooltip />
<el-table-column label="洽商类别" prop="negotiation_type_text" show-overflow-tooltip />
<el-table-column label="洽商质保金额" prop="warranty_amount" show-overflow-tooltip />
<el-table-column label="洽商质保到期时间" prop="warranty_expire_date" width="170" />
<el-table-column :render-header="pager.calcWidth" label="洽商单名称" prop="negotiation_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="洽商金额" prop="negotiation_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="洽商类别" prop="negotiation_type_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="洽商质保金额" prop="warranty_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="洽商质保到期时间" prop="warranty_expire_date"
width="170" />
<el-table-column label="操作" width="160" fixed="right" align='center'>
<template #default="{ row }">
<el-button v-perms="['contract.subcontracting_contract_negotiation/edit']" type="primary" link

View File

@ -1,7 +1,6 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80%" @confirm="handleSubmit"
@close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80%" @confirm="handleSubmit" @close="handleClose">
<el-form ref="formRef" :model="formData" label-width="140px" :rules="formRules">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="基本信息" name="first">
@ -106,8 +105,7 @@
<el-input v-model="formData.phone" clearable placeholder="请输入" />
</el-form-item></el-col>
<el-col :span="8">
<el-form-item label="邮箱" prop="email"
:rules="[{ validator: userEmail, trigger: 'blur' }]">
<el-form-item label="邮箱" prop="email" :rules="[{ validator: userEmail, trigger: 'blur' }]">
<el-input v-model="formData.email" clearable placeholder="请输入" />
</el-form-item></el-col>
@ -136,8 +134,8 @@
</el-form-item></el-col>
<el-col :span="8">
<el-form-item label="纳税人识别号" prop="taxpayer_identification_number">
<el-input v-model="formData.taxpayer_identification_number" clearable
placeholder="请输入" />
<el-input v-model="formData.taxpayer_identification_number" clearable placeholder="请输入"
v-type="'code'" />
</el-form-item></el-col>
<el-col :span="8">
<el-form-item label="开户银行" prop="bank_name">
@ -149,7 +147,7 @@
</el-form-item></el-col>
<el-col :span="8">
<el-form-item label="账号" prop="bank_account">
<el-input v-model="formData.bank_account" clearable placeholder="请输入" />
<el-input v-model="formData.bank_account" clearable placeholder="请输入" type="number" />
</el-form-item></el-col>
<el-col :span="8">
<el-form-item label="开户地址" prop="bank_address">