This commit is contained in:
zmj 2024-04-16 11:19:48 +08:00
parent c1118d8ba0
commit a310a1a9f3
7 changed files with 47 additions and 37 deletions

View File

@ -102,7 +102,7 @@
<div style="margin-top: 20px">
<el-checkbox-group v-model="radiolist">
<el-checkbox :label="item" v-for="(item, i) in uesrlist" :key="i"
style="margin-bottom: 20px;">
style="margin-bottom: 40px;">
<div class="radio-con">
<div class="radioa">
<img :src="item.avatar" alt="" />

View File

@ -128,7 +128,7 @@ let option3 = {
},
series: [
{
name: 'Access From',
// name: 'Access From',
type: 'pie',
radius: '50%',
data: [

View File

@ -24,21 +24,16 @@
<div class="mt-4">
<el-table border :data="pager.lists">
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
<el-table-column label="合同编号" prop="contract_num" :render-header="pager.calcWidth" />
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip width='90'>
<template #default="{ row }">
<dict-value :options="dictData.cost_contract_type" :value="row.contract_type" />
</template>
</el-table-column>
<el-table-column label="业务性质" prop="business_nature" show-overflow-tooltip width='90'>
<template #default="{ row }">
<dict-value :options="dictData.cost_consultation_business_nature"
:value="row.business_nature" />
</template>
</el-table-column>
<el-table-column :render-header="pager.calcWidth" label="甲方签约单位" prop="part_a" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="签订部门" prop="dept" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="合同签订金额" prop="money" show-overflow-tooltip />
<el-table-column label="合同编号" prop="contract_code" :render-header="pager.calcWidth" />
<el-table-column label="合同类型" prop="contract_type_text" :render-header="pager.calcWidth"
show-overflow-tooltip />
<el-table-column label="业务性质" prop="business_nature_text" :render-header="pager.calcWidth"
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="signed_dept_name"
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="total_invoice_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="已到账金额" prop="total_refund_amount"
@ -51,7 +46,8 @@
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开票未回款金额" prop="invoice_not_refund_amount"
show-overflow-tooltip />
<el-table-column label="回款未开票金额" prop="refund_not_invoice_amount" show-overflow-tooltip />
<el-table-column label="回款未开票金额" :render-header="pager.calcWidth" prop="refund_not_invoice_amount"
show-overflow-tooltip />
<el-table-column label="合同结算日期" prop="settlement_date" show-overflow-tooltip width="120" />
</el-table>
</div>

View File

@ -216,6 +216,11 @@ import type { PropType } from "vue";
import { useRoute } from "vue-router";
import { cost_approved_projects } from "@/components/dialogTable/dialogTableConfig";
import { apiCityList, apiProvinceList } from "@/api/common";
import { checkPhone } from "@/utils/validate"
defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,
@ -376,12 +381,16 @@ const formRules = reactive<any>({
trigger: ["blur"],
},
],
invest: [
acontactnum: [
{
required: true,
message: "请输入项目总投资(元)",
message: "请输入联系电话",
trigger: ["blur"],
},
{
validator: checkPhone,
trigger: ["blur"],
}
],
aunit: [
{

View File

@ -11,13 +11,13 @@
</el-form-item>
<el-form-item label="甲方签约单位">
<el-input v-model="formData.part_a" clearable placeholder="系统自动获取" disabled />
<el-input v-model="formData.part_a_name" clearable placeholder="系统自动获取" disabled />
</el-form-item>
<el-form-item label="乙方签约单位">
<el-input v-model="formData.part_b" clearable placeholder="系统自动获取" disabled />
</el-form-item>
<el-form-item label="签订金额(元)">
<el-input v-model="formData.sign_money" clearable placeholder="系统自动获取" disabled />
<el-input v-model="formData.signed_amount" clearable placeholder="系统自动获取" disabled />
</el-form-item>
<el-form-item label="合同签订日期">
<el-input v-model="formData.sign_time" clearable placeholder="系统自动获取" disabled />
@ -104,8 +104,9 @@ const formData = reactive({
create_time: '',
"contract_type": "",
"part_a": "",
"part_a_name": "",
"part_b": "",
"sign_money": "",
"signed_amount": "",
"sign_time": "",
"apply_amount": "",
"total_invoice_amount": 0,
@ -117,8 +118,9 @@ const customEvent = (e) => {
formData.contract_name = e.contract_name
formData.contract_type = e.contract_type_text
formData.part_a = e.part_a
formData.part_a_name = e.part_a_name
formData.part_b = e.part_b
formData.sign_money = e.money
formData.signed_amount = e.signed_amount
formData.sign_time = e.sign_date
formData.total_invoice_amount = e.total_invoice_amount
formData.total_refund_amount = e.total_refund_amount

View File

@ -1,7 +1,6 @@
<template>
<div class="edit-popup">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80vw" @confirm="handleSubmit"
@close="handleClose">
<popup ref="popupRef" :title="popupTitle" :async="true" width="80vw" @confirm="handleSubmit" @close="handleClose">
<el-form ref="formRef" :model="formData" label-width="120px" :rules="formRules">
<el-card>
@ -93,8 +92,8 @@
</el-col>
<el-col :span="8">
<el-form-item label="负责人">
<el-input v-model="formData.business_opportunity.head_name" clearable
placeholder="点击选择负责人" readonly @click="userclick('head')" disabled />
<el-input v-model="formData.business_opportunity.head_name" clearable placeholder="点击选择负责人"
readonly @click="userclick('head')" disabled />
</el-form-item>
</el-col>
<el-col :span="8">
@ -142,20 +141,17 @@
</el-col>
<el-col :span="8">
<el-form-item label="投标项目编号" prop="bid_code">
<el-input v-model="formData.bid_code" clearable placeholder="请输入投标项目编号"
v-type="'code'" />
<el-input v-model="formData.bid_code" clearable placeholder="请输入投标项目编号" v-type="'code'" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="投标保证金" prop="bid_margin">
<el-input v-model="formData.bid_margin" clearable placeholder="请输入投标保证金"
type="number" />
<el-input v-model="formData.bid_margin" clearable placeholder="请输入投标保证金" type="number" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="报名和标书费" prop="bid_amount">
<el-input v-model="formData.bid_amount" clearable placeholder="请输入报名和标书费"
type="number" />
<el-input v-model="formData.bid_amount" clearable placeholder="请输入报名和标书费" type="number" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -246,6 +242,7 @@ import { apiMarketingBidEvaluationAdd, apiMarketingBidEvaluationEdit, apiMarketi
import type { PropType } from 'vue'
import { marketing_business_opportunity } from "@/components/dialogTable/dialogTableConfig";
import { apiMarketingBusinessOpportunityDetail } from '@/api/marketing_business_opportunity'
import { checkPhone } from "@/utils/validate"
let prop = defineProps({
@ -394,7 +391,13 @@ const formRules = reactive<any>({
required: true,
message: '请输入联系方式',
trigger: ['blur']
}]
},
{
validator: checkPhone,
trigger: ['blur']
}
]
})

View File

@ -38,7 +38,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="组织机构代码证">
<el-input v-model="formData.zzjgdmz" clearable placeholder="请输入组织机构代码证" />
<el-input v-model="formData.zzjgdmz" clearable placeholder="请输入组织机构代码证" v-type="'code'" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -127,7 +127,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="技术负责人手机" prop="jsfzrsj">
<el-input v-model="formData.jsfzrsj" clearable placeholder="请输入技术负责人手机" />
<el-input v-model="formData.jsfzrsj" clearable placeholder="请输入技术负责人手机" type="number" />
</el-form-item>
</el-col>
<el-col :span="8">