This commit is contained in:
zmj 2024-04-11 15:31:04 +08:00
parent 32f5dd831e
commit 9d3c48cd45
53 changed files with 838 additions and 803 deletions

View File

@ -291,22 +291,19 @@ export const cost_approved_projects: Iconfig = {
},
{
label: "合同编号",
value: "contract_num",
value: "contract_code",
},
],
tableList: [
{ contract_num: "合同编号" },
{ contract_code: "合同编号" },
{ contract_name: "合同名称" },
{ part_a: "甲方签约单位" },
{ part_b: "乙方签约单位" },
{ start_date: "合同计划开始日期" },
{ end_date: "合同计划结束日期" },
{ project_money: "工程总投资" },
{ contract_type_text: "合同类型" },
{ part_a_name: "甲方单位" },
{ part_b: "乙方单位" },
{ project_money: "工程投资" },
{ signed_amount: "签订金额" },
{ signed_dept_name: "签订部门" },
{ business_nature_text: "业务性质" },
{ dept: "签订部门" },
{ fund_sources_text: "资金来源" },
{ project_director: "项目总监" },
{ regulators: "监管部门" },
],
};

View File

@ -43,7 +43,7 @@
</template>
</el-table-column>
<el-table-column label="不含税金额" prop="amount_excluding_tax" show-overflow-tooltip />
<el-table-column label="质保金比例%" prop="retention_money" show-overflow-tooltip />
<el-table-column label="质保金比例(%)" prop="retention_money" show-overflow-tooltip />
<el-table-column label="质保金" prop="retention_money_rate" show-overflow-tooltip />
</el-table>

View File

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

View File

@ -4,25 +4,25 @@
* <el-button v-perms="['auth.menu/edit']"></el-button>
*/
import feedback from '@/utils/feedback'
import useClipboard from 'vue-clipboard3'
const clipboard = 'data-clipboard-text'
import feedback from "@/utils/feedback";
import useClipboard from "vue-clipboard3";
const clipboard = "data-clipboard-text";
export default {
mounted: (el: HTMLElement, binding: any) => {
el.setAttribute(clipboard, binding.value)
const { toClipboard } = useClipboard()
mounted: (el: HTMLElement, binding: any) => {
el.setAttribute(clipboard, binding.value);
const { toClipboard } = useClipboard();
el.onclick = () => {
toClipboard(el.getAttribute(clipboard)!)
.then(() => {
feedback.msgSuccess('复制成功')
})
.catch(() => {
feedback.msgError('复制失败')
})
}
},
updated: (el: HTMLElement, binding: any) => {
el.setAttribute(clipboard, binding.value)
}
}
el.onclick = () => {
toClipboard(el.getAttribute(clipboard)!)
.then(() => {
feedback.msgSuccess("复制成功");
})
.catch(() => {
feedback.msgError("复制失败");
});
};
},
updated: (el: HTMLElement, binding: any) => {
el.setAttribute(clipboard, binding.value);
},
};

View File

@ -7,6 +7,7 @@
export default {
mounted: async (el: HTMLElement, binding: any) => {
console.log(el, "el");
var inputElements = el.getElementsByTagName("input")[0];
var { value } = binding;
inputElements.addEventListener("input", function (event) {

View File

@ -74,8 +74,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="本次支付比例%%" prop="payment_rate">
<el-input v-model="formData.payment_rate" clearable placeholder="请输入本次支付比例%%" />
<el-form-item label="本次支付比例(%)" prop="payment_rate">
<el-input v-model="formData.payment_rate" clearable placeholder="请输入本次支付比例(%)" />
</el-form-item>
</el-col>
<el-col :span="8">

View File

@ -46,7 +46,7 @@
<el-table-column label="申请人" prop="applier" show-overflow-tooltip />
<el-table-column label="本次支付金额" prop="payment_amount" show-overflow-tooltip />
<el-table-column label="合计已付款" prop="invoice_amount" show-overflow-tooltip />
<el-table-column label="本次支付比例%" prop="amount_excluding_tax" show-overflow-tooltip />
<el-table-column label="本次支付比例(%)" prop="amount_excluding_tax" show-overflow-tooltip />
<el-table-column label="本次支付金额" prop="tax" show-overflow-tooltip />
<el-table-column label="付款方式" prop="invoice_type">

View File

@ -24,8 +24,6 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="骑缝盖章" prop="ridingseam">
<el-radio-group v-model="formData.ridingseam" placeholder="请选择骑缝盖章">
@ -45,14 +43,12 @@
<el-input v-model="formData.frequency" clearable placeholder="请输入盖章次数" type="number" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="限制次数" prop="limit">
<el-input v-model="formData.limit" clearable placeholder="请输入限制次数" type="number" />
</el-form-item>
</el-col>
<el-col :span="8">
<!-- <el-col :span="8">
<el-form-item label="组织" :rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
<el-select class="flex-1" v-model="formData.org_id" clearable placeholder="请选择组织"
@change="deptrmt">
@ -60,36 +56,31 @@
:value="item.id" />
</el-select>
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="8">
<el-form-item label="用印部门" prop="depar">
<el-select class="flex-1" v-model="formData.depar" clearable placeholder="用印部门">
<el-option v-for="(item, index) in list2" :key="index" :label="item.name"
<el-option v-for="(item, index) in deptList" :key="index" :label="item.name"
:value="item.id" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="关联项目" prop="project_name">
<el-input v-model="formData.project_name" clearable placeholder="点击选择项目" readonly
@click="showDialog = true" />
</el-form-item>
</el-col>
<el-col :span="8">
<!-- <el-col :span="8">
<el-form-item label="项目负责人" prop="project_director">
<el-input v-model="formData.project_director" clearable placeholder="系统自动获取" disabled />
</el-form-item>
</el-col>
</el-col> -->
<el-col :span="8">
<el-form-item label="盖章内容" prop="content">
<el-input v-model="formData.content" clearable placeholder="请输入盖章内容" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="印章是否外借" prop="loan">
<el-radio-group v-model="formData.loan" placeholder="请选择骑缝盖章">
@ -116,8 +107,6 @@
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="申请人" prop="applicant">
<el-input v-model="formData.applicant" clearable placeholder="请输入申请人" />
@ -130,15 +119,12 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="盖章人" prop="stampman">
<el-input v-model="formData.stampman" clearable placeholder="请输入盖章人"
@click="userclick('stampman')" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="实际借章日期" prop="sjborrow">
<el-date-picker class="flex-1 !flex" v-model="formData.sjborrow" clearable type="datetime"
@ -158,8 +144,6 @@
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="实际归还人" prop="returnee">
<el-input v-model="formData.returnee" clearable placeholder="请输入实际归还人" />
@ -188,15 +172,14 @@
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiApplyWithSealAdd, apiApplyWithSealEdit, apiApplyWithSealDetail } from '@/api/apply_with_seal'
import { deptAll } from '@/api/org/department'
import { getAll } from '@/api/org/organization'
import { cost_project } from "@/components/dialogTable/dialogTableConfig"
import type { PropType } from 'vue'
defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,
default: () => ({})
}
},
deptList: Array
})
const emit = defineEmits(['success', 'close'])
const formRef = shallowRef<FormInstance>()
@ -205,8 +188,7 @@ const mode = ref('add')
const showDialog = ref(false)
const showDialog3 = ref(false)
const personnel = ref<any>()
const list1 = reactive([])
const list2 = reactive([])
//
const popupTitle = computed(() => {
@ -246,10 +228,9 @@ const formData = reactive({
})
const customEvent = (e: any) => {
console.log(e, 'e')
formData.project_id = e.id
formData.project_name = e.project_name
formData.project_director = e.contract.project_director
formData.project_director = e.principal_name
showDialog.value = false
}
@ -318,29 +299,10 @@ const setFormData = async (data: Record<any, any>) => {
formData.project_id = formData.projectInfo.id
formData.project_name = formData.projectInfo.project_name
formData.principal = formData.projectInfo.principal
getlist1(formData.depar)
}
//
const getlist = () => {
getAll().then((res) => {
Object.assign(list1, res)
})
}
//
const deptrmt = (e: any) => {
formData.depar = ''
getlist1(e)
}
//
const getlist1 = (id: any) => {
deptAll({ 'org_id': id }).then((res) => {
list2.splice(0, list2.length, ...res)
})
}
const getDetail = async (row: Record<string, any>) => {
const data = await apiApplyWithSealDetail({
id: row.id
@ -364,7 +326,6 @@ const handleSubmit = async () => {
const open = (type = 'add') => {
mode.value = type
popupRef.value?.open()
getlist()
}

View File

@ -37,40 +37,48 @@
<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="num" :render-header="pager.calcWidth" />
<el-table-column label="关联项目" prop="projectInfo.project_name" :render-header="pager.calcWidth" />
<el-table-column label="盖章申请类型" prop="types" width="120">
<el-table-column :render-header="pager.calcWidth" label="申请编号" prop="num" />
<el-table-column :render-header="pager.calcWidth" label="关联项目" prop="projectInfo.project_name" />
<el-table-column :render-header="pager.calcWidth" label="盖章申请类型" prop="types" width="120">
<template #default="{ row }">
<dict-value :options="dictData.apply_with_seal_type" :value="row.types" />
</template>
</el-table-column>
<el-table-column label="文件类型" prop="filetype">
<el-table-column :render-header="pager.calcWidth" label="文件类型" prop="filetype">
<template #default="{ row }">
<dict-value :options="dictData.apply_with_seal_file_type" :value="row.filetype" />
</template>
</el-table-column>
<el-table-column label="骑缝盖章" prop="ridingseam">
<el-table-column :render-header="pager.calcWidth" label="骑缝盖章" prop="ridingseam">
<template #default="{ row }">
<dict-value :options="dictData.isqfgz" :value="row.ridingseam" />
</template>
</el-table-column>
<el-table-column label="印章名称" prop="name" show-overflow-tooltip />
<el-table-column label="盖章次数" prop="frequency" show-overflow-tooltip />
<el-table-column label="限制次数" prop="limit" show-overflow-tooltip />
<el-table-column label="盖章人" prop="stampman" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="project_director" show-overflow-tooltip width="100" />
<el-table-column label="盖章内容" prop="content" show-overflow-tooltip />
<el-table-column label="印章是否外借" prop="loan" show-overflow-tooltip width="120">
<el-table-column :render-header="pager.calcWidth" label="印章名称" prop="name" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="盖章次数" prop="frequency" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="限制次数" prop="limit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="盖章人" prop="stampman" show-overflow-tooltip />
<!-- <el-table-column :render-header="pager.calcWidth" label="项目负责人" prop="project_director"
show-overflow-tooltip width="100" /> -->
<el-table-column :render-header="pager.calcWidth" label="盖章内容" prop="content" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="印章是否外借" prop="loan" show-overflow-tooltip
width="120">
<template #default="{ row }">
{{ row.loan == 1 ? '是' : "否" }}
</template>
</el-table-column>
<el-table-column label="印章借用日期" prop="borrow" show-overflow-tooltip width="120" />
<el-table-column label="结束借用日期" prop="returndate" show-overflow-tooltip width="120" />
<el-table-column label="实际借章日期" prop="sjborrow" show-overflow-tooltip width="120" />
<el-table-column label="实际借章人" prop="sjborrower" show-overflow-tooltip width="100" />
<el-table-column label="实际归还日期" prop="sjreturn" show-overflow-tooltip width="120" />
<el-table-column label="实际归还人" prop="returnee" show-overflow-tooltip width="100" />
<el-table-column :render-header="pager.calcWidth" label="印章借用日期" prop="borrow" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="结束借用日期" prop="returndate" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="实际借章日期" prop="sjborrow" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="实际借章人" prop="sjborrower" show-overflow-tooltip
width="100" />
<el-table-column :render-header="pager.calcWidth" label="实际归还日期" prop="sjreturn" show-overflow-tooltip
width="120" />
<el-table-column :render-header="pager.calcWidth" label="实际归还人" prop="returnee" show-overflow-tooltip
width="100" />
<el-table-column label="操作" width="170" fixed="right" align="center">
<template #default="{ row }">
<el-button v-perms="['project_process_management.apply_with_seal/edit']" type="primary" link
@ -94,7 +102,8 @@
<pagination v-model="pager" @change="getLists" />
</div>
</el-card>
<edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" />
<edit-popup :deptList="deptList" v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists"
@close="showEdit = false" />
<detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" />
</div>
</template>
@ -107,6 +116,7 @@ import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
import { apiCostProjectDatas } from "@/api/cost_project";
import detailConfig from './detail'
import { deptLists } from "@/api/org/department"
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
const detailRef = ref('')
@ -171,6 +181,12 @@ const handleDetail = async (row) => {
detailRef.value?.setFormData(res)
}
const deptList = ref([])
const getDeptList = async () => {
let res = await deptLists()
deptList.value = res.lists
}
getLists()
getDeptList()
</script>

View File

@ -38,20 +38,22 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<!-- <el-table-column label="" prop="dataid" show-overflow-tooltip /> -->
<el-table-column label="单据编号" prop="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip />
<el-table-column label="项目编号" prop="projectInfo.project_num" show-overflow-tooltip />
<el-table-column label="任务名称" prop="task" show-overflow-tooltip />
<el-table-column label="工序" prop="processes" show-overflow-tooltip />
<el-table-column label="资料份数" prop="number" show-overflow-tooltip />
<el-table-column label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column label="登记人" prop="person" show-overflow-tooltip />
<el-table-column label="备注" prop="tips" show-overflow-tooltip />
<el-table-column label="多行文本框1" prop="fd_1" show-overflow-tooltip />
<el-table-column label="多行文本框2" prop="fd_2" show-overflow-tooltip />
<el-table-column label="多行文本框3" prop="fd_3" 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="projectInfo.project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目编号" prop="projectInfo.project_num"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务名称" prop="task" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工序" prop="processes" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="资料份数" prop="number" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记人" prop="person" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="备注" prop="tips" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="多行文本框1" prop="fd_1" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="多行文本框2" prop="fd_2" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="多行文本框3" prop="fd_3" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['approval_issuance_achievement_documents/edit']" type="primary" link
@click="handleEdit(row)">

View File

@ -63,7 +63,7 @@
formData.tax_rate }}</el-descriptions-item>
<el-descriptions-item label="付款方式" label-align="left" align="left" label-class-name="my-label">{{
formData.pay_type }}</el-descriptions-item>
<el-descriptions-item label="付款比例%" label-align="left" align="left" label-class-name="my-label">{{
<el-descriptions-item label="付款比例(%)" label-align="left" align="left" label-class-name="my-label">{{
formData.pay_rate }}</el-descriptions-item>
<el-descriptions-item label="商务合同偏差" label-align="left" align="left" label-class-name="my-label">{{
formData.business_contract_deviation }}</el-descriptions-item>

View File

@ -127,8 +127,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="付款比例%" prop="pay_rate">
<el-input v-model="formData.pay_rate" clearable placeholder="请输入付款比例%" />
<el-form-item label="付款比例(%)" prop="pay_rate">
<el-input v-model="formData.pay_rate" clearable placeholder="请输入付款比例(%)" />
</el-form-item>
</el-col>
<el-col :span="8">

View File

@ -1,161 +0,0 @@
const detailConfig = {
title: "造价合同",
config: [
{
label: "合同名称",
value: "contract_name"
},
{
label: "合同编号",
value: "contract_code"
},
{
label: "合同类型",
value: "contract_type_text"
},
{
label: "甲方签约单位",
value: "part_a_name"
},
{
label: "甲方联系人",
value: "part_a_contact"
},
{
label: "业主地址",
value: "part_a_address"
},
{
label: "乙方签约单位",
value: "part_b"
},
{
label: "乙方签约人",
value: "part_b_signatory_name",
},
{
label: "业务性质",
value: "business_nature_text",
},
{
label: "行业性质",
value: "industry_nature_text",
},
{
label: "建设区域",
value: "const_area_text",
},
{
label: "资金来源",
value: "fund_sources_text",
},
{
label: "工程总投资",
value: "project_money",
},
{
label: "工程规模及概况",
value: "project_scale",
},
{
label: "签订金额(元)",
value: "signed_amount",
},
{
label: "合同服务工期",
value: "service_duration",
},
{
label: "合同签订费率",
value: "signed_rate",
},
{
label: "合同计划开始日期",
value: "start_date",
},
{
label: "合同计划结束日期",
value: "end_date",
},
{
label: "合同履约金",
value: "performance_money",
},
{
label: "履约金到期时间",
value: "performance_money_expiration_time",
},
{
label: "合同付款方式",
value: "payment_method",
},
{
label: "合同主要内容",
value: "content",
},
{
label: "签订部门",
value: "signed_dept_name",
},
{
label: "签订负责人",
value: "signed_head_name",
},
{
label: "项目总监/经理",
value: "project_manager_name",
},
{
label: "实施方式",
value: "implement_method_text",
},
{
label: "盖章名称",
value: "seal_name_text",
},
{
label: "是否限制",
value: "is_limit_text",
},
{
label: "限制次数",
value: "limit_num",
},
{
label: "文件类型",
value: "file_type_text",
},
{
label: "盖章份数",
value: "seal_num",
},
{
label: "盖章人",
value: "seal_user_name",
},
{
label: "骑缝盖章",
value: "plance_seal_text",
},
{
label: "发出日期",
value: "send_date",
},
{
label: "邮寄编号",
value: "mailing_number",
},
{
label: "附件",
value: "annex",
column: 1
},
]
}
export default detailConfig;

View File

@ -0,0 +1,250 @@
<template>
<div class="detail-popup">
<popup ref="popupRef" title="补充协议名详情" :async="true" width="80%" @confirm="handleSubmit" @close="handleClose">
<el-card>
<el-descriptions :column="3" border>
<el-descriptions-item v-if="formData.contract_name" label="合同名称" label-align="left" align="left"
label-class-name="my-label">
{{ formData.contract_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.framework_agreement_name" label="关联主合同" label-align="left"
align="left" label-class-name="my-label"> {{
formData.framework_agreement_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.contract_type_text" label="合同类型" label-align="left" align="left"
label-class-name="my-label"> {{
formData.contract_type_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_a_name" label="甲方签约单位" label-align="left" align="left"
label-class-name="my-label"> {{
formData.part_a_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_a_contact" label="联系人" label-align="left" align="left"
label-class-name="my-label"> {{
formData.part_a_contact }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_a_address" label="业主地址" label-align="left" align="left"
label-class-name="my-label"> {{
formData.part_a_address }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_a_contact" label="联系人" label-align="left" align="left"
label-class-name="my-label"> {{
formData.part_a_contact }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_a_address" label="业主地址" label-align="left" align="left"
label-class-name="my-label"> {{
formData.part_a_address }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_b" label="乙方签约单位" label-align="left" align="left"
label-class-name="my-label"> {{
formData.part_b }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.part_b_signatory_name" label="乙方签约人" label-align="left"
align="left" label-class-name="my-label"> {{
formData.part_b_signatory_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.business_nature_text" label="业务性质" label-align="left" align="left"
label-class-name="my-label"> {{
formData.business_nature_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.industry_nature_text" label="行业性质" label-align="left" align="left"
label-class-name="my-label"> {{
formData.industry_nature_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.fund_sources_text" label="资金来源" label-align="left" align="left"
label-class-name="my-label">
{{ formData.fund_sources_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.const_area_text" label="建设区域" label-align="left" align="left"
label-class-name="my-label">
{{ formData.const_area_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.project_money" label="工程总投资" label-align="left" align="left"
label-class-name="my-label">
{{ formData.project_money }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.project_scale" label="工程规模及概况" label-align="left" align="left"
label-class-name="my-label">
{{ formData.project_scale }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.signed_amount" label="签订金额" label-align="left" align="left"
label-class-name="my-label"> {{
formData.signed_amount }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.signed_rate" label="合同签订费率" label-align="left" align="left"
label-class-name="my-label">
{{ formData.signed_rate }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.service_duration" label="合同服务工期" label-align="left" align="left"
label-class-name="my-label">
{{ formData.service_duration }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.start_date" label="计划开始日期" label-align="left" align="left"
label-class-name="my-label">
{{ formData.start_date }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.end_date" label="计划结束日期" label-align="left" align="left"
label-class-name="my-label">
{{ formData.end_date }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.performance_money" label="履约金" label-align="left" align="left"
label-class-name="my-label">
{{ formData.performance_money }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.performance_money_expiration_time" label="履约金到期时间"
label-align="left" align="left" label-class-name="my-label">
{{ formData.performance_money_expiration_time }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.payment_method" label="合同付款方式" label-align="left" align="left"
label-class-name="my-label"> {{
formData.payment_method }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.content" label="合同主要内容" label-align="left" align="left"
label-class-name="my-label"> {{
formData.content }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.signed_dept_name" label="签订部门" label-align="left" align="left"
label-class-name="my-label"> {{
formData.signed_dept_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.signed_head_name" label="签订负责人" label-align="left" align="left"
label-class-name="my-label"> {{
formData.signed_head_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.supervise_dept_name" label="监管部门" label-align="left" align="left"
label-class-name="my-label">
{{ formData.supervise_dept_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.project_manager_name" label="项目总监/经理" label-align="left"
align="left" label-class-name="my-label">
{{ formData.project_manager_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.implement_method_text" label="实施方式" label-align="left" align="left"
label-class-name="my-label">
{{ formData.implement_method_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.seal_name_text" label="盖章名称" label-align="left" align="left"
label-class-name="my-label"> {{
formData.seal_name_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.is_limit_text" label="是否限制" label-align="left" align="left"
label-class-name="my-label"> {{
formData.is_limit_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.limit_num" label="限制次数" label-align="left" align="left"
label-class-name="my-label"> {{
formData.limit_num }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.file_type_text" label="文件类型" label-align="left" align="left"
label-class-name="my-label"> {{
formData.file_type_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.seal_num" label="盖章份数" label-align="left" align="left"
label-class-name="my-label"> {{
formData.seal_num }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.seal_user_name" label="盖章人" label-align="left" align="left"
label-class-name="my-label"> {{
formData.seal_user_name }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.plance_seal_text" label="骑缝盖章" label-align="left" align="left"
label-class-name="my-label"> {{
formData.plance_seal_text }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.send_date" label="发出日期" label-align="left" align="left"
label-class-name="my-label"> {{
formData.send_date }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.mailing_number" label="邮寄编号" label-align="left" align="left"
label-class-name="my-label"> {{
formData.mailing_number }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.create_user" label="录入人" label-align="left" align="left"
label-class-name="my-label"> {{
formData.create_user }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.create_time" label="录入日期" label-align="left" align="left"
label-class-name="my-label"> {{
formData.create_time }}
</el-descriptions-item>
<el-descriptions-item v-if="formData.annex" label="附件" label-align="left" align="left"
label-class-name="my-label">
<annexLink :annex="formData.annex"></annexLink>
</el-descriptions-item>
</el-descriptions>
</el-card>
<!-- <flowProcess v-if="!formData?.approve_id || formData.approve_check_status == 4" :flows="flows"
:submitApi="apimarketing_supplementary_agreementApprove" :id="formData?.id" @off="handleClose">
</flowProcess>
<flowDetail v-else :approve_id="formData?.approve_id" @off="handleClose" /> -->
</popup>
</div>
</template>
<script lang="ts" setup name="customdetail">
// import { apimarketing_supplementary_agreementFlows, apimarketing_supplementary_agreementApprove } from '@/api/flowSet'
import Popup from '@/components/popup/index.vue'
// import { apiCustomDetail } from '@/api/custom'
import type { PropType } from 'vue'
defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,
default: () => ({})
}
})
const emit = defineEmits(['success', 'close'])
const popupRef = shallowRef<InstanceType<typeof Popup>>()
const tableData = ref([])
//
const formData = reactive({})
//
const setFormData = async (data: Record<any, any>) => {
Object.assign(formData, data)
// getbidDocumentExaminationFlows()
}
//
const handleSubmit = async () => {
popupRef.value?.close()
}
//
const open = () => {
popupRef.value?.open()
}
//
const handleClose = () => {
emit('close')
}
//
// const flows = ref([])
// const getbidDocumentExaminationFlows = async () => {
// if (formData?.approve_id) return
// let res = await apimarketing_supplementary_agreementFlows()
// flows.value = res
// }
defineExpose({
open,
setFormData,
})
</script>
<style lang="scss" scoped>
.tit {
font-size: 1.2em;
margin-bottom: 10px;
}
:deep(.my-label) {
width: 150px;
}
</style>

View File

@ -294,7 +294,8 @@ defineProps({
dictData: {
type: Object as PropType<Record<string, any[]>>,
default: () => ({})
}
},
deptList: Array
})
const emit = defineEmits(['success', 'close'])
const formRef = shallowRef<FormInstance>()

View File

@ -34,10 +34,9 @@
</el-col>
<el-col :span="6">
<el-form-item label="业务性质" prop="business_nature">
<el-select class="flex-1" v-model="queryParams.business_nature" clearable
placeholder="请选择业务性质">
<el-option v-for="(item, index) in dictData.cost_consultation_business_nature"
:key="index" :label="item.name" :value="parseInt(item.value)" />
<el-select class="flex-1" v-model="queryParams.business_nature" clearable placeholder="请选择业务性质">
<el-option v-for="(item, index) in dictData.cost_consultation_business_nature" :key="index"
:label="item.name" :value="parseInt(item.value)" />
</el-select>
</el-form-item>
</el-col>
@ -91,17 +90,17 @@
</div>
</el-card>
<edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" />
<detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" />
<detail-popup v-if="showDetail" ref="detailRef" :dict-data="dictData" @close="showDetail = false" />
</div>
</template>
<script lang="ts" setup name="costApprovedProjectLists">
import { usePaging } from '@/hooks/usePaging'
import { useDictData } from '@/hooks/useDictOptions'
import { apiCostApprovedProjectLists, apiCostApprovedProjectDelete, apiCostApprovedProjectDetail } from '@/api/cost_approved_project'
import feedback from '@/utils/feedback'
import { apiCostApprovedProjectLists, apiCostApprovedProjectDetail } from '@/api/cost_approved_project'
import EditPopup from './edit.vue'
import detailConfig from './detail'
import DetailPopup from './detail.vue'
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
@ -156,25 +155,14 @@ const handleEdit = async (data: any) => {
editRef.value?.setFormData(res)
}
//
const handleDelete = async (id: number | any[]) => {
await feedback.confirm('确定要删除?')
await apiCostApprovedProjectDelete({ id })
getLists()
}
//
const handleCreation = async (id: number | any[]) => {
await feedback.confirm('是否生成项目')
// await apiCostApprovedProjectDelete({ id })
getLists()
}
//
const handleDetail = async (id: any) => {
let res = await apiCostApprovedProjectDetail({ id })
showDetail.value = true
await nextTick()
detailRef.value?.open()
detailRef.value?.setFormData(res)
}

View File

@ -11,7 +11,7 @@ const detailConfig = {
},
{
label: "关联合同",
value: "contract.contract_name"
value: "contract_name"
},
{
label: "咨询类型",
@ -19,7 +19,7 @@ const detailConfig = {
},
{
label: "行业",
value: "industry_nature_text"
value: "industry_text"
},
{
label: "所在省份",
@ -45,17 +45,14 @@ const detailConfig = {
label: "计划工期",
value: "jhgq",
},
{
label: "组织",
value: "org_name",
},
{
label: "部门",
value: "dept_name",
},
{
label: "项目负责人",
value: "contract.signing_person",
value: "principal_name",
},
{
label: "项目相关人员",
@ -82,7 +79,7 @@ const detailConfig = {
{
label: "委托单位",
value: "aunit",
value: "aunit_name",
},
{

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-row>
<el-col :span="8">
@ -20,8 +19,7 @@
@click="showDialog = true" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="咨询类型" prop="types">
<el-select v-model="formData.types" clearable placeholder="请选择业务性质" class="flex-1">
@ -32,31 +30,28 @@
</el-col>
<el-col :span="8">
<el-form-item label="行业" prop="industry">
<el-select v-model="formData.industry" clearable placeholder="请选择行业" class="flex-1"
disabled>
<el-option v-for="(
item, index
) in dictData.cost_consultation_industry_nature" :key="index" :label="item.name"
:value="parseInt(item.value)" />
<!-- <el-select v-model="formData.industry" clearable placeholder="请选择行业" class="flex-1" disabled> -->
<el-select v-model="formData.industry" clearable placeholder="请选择行业" class="flex-1">
<el-option v-for="( item, index ) in dictData.cost_consultation_industry_nature"
:key="index" :label="item.name" :value="parseInt(item.value)" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="所在省份" prop="province">
<el-select v-model="formData.province" clearable placeholder="请选择省"
@change="province_change" class="flex-1">
<el-select v-model="formData.province" clearable placeholder="请选择省" @change="province_change"
class="flex-1">
<el-option v-for="(item, index) in datas.provinceOptions" :key="index"
:label="item.province_name" :value="parseInt(item.province_code)" />
:label="item.province_name" :value="(item.province_code)" />
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="所在市区" prop="city">
<el-select v-model="formData.city" clearable placeholder="请选择市" class="flex-1">
<el-option v-for="(item, index) in datas.cityOptions" :key="index"
:label="item.city_name" :value="parseInt(item.city_code)" />
<el-option v-for="(item, index) in datas.cityOptions" :key="index" :label="item.city_name"
:value="(item.city_code)" />
</el-select>
</el-form-item>
</el-col>
@ -67,41 +62,45 @@
</el-col>
<el-col :span="8">
<el-form-item label="计划开始日期" prop="starting" label-width="120px">
<!-- <el-date-picker class="flex-1 !flex" v-model="formData.starting" clearable type="date"
value-format="YYYY-MM-DD" placeholder="请选择日期" disabled> -->
<el-date-picker class="flex-1 !flex" v-model="formData.starting" clearable type="date"
value-format="YYYY-MM-DD" placeholder="请选择日期" disabled>
value-format="YYYY-MM-DD" placeholder="请选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="计划结束日期" prop="endtime" label-width="120px">
<!-- <el-date-picker class="flex-1 !flex" v-model="formData.endtime" clearable type="date"
value-format="YYYY-MM-DD" placeholder="请选择日期" disabled> -->
<el-date-picker class="flex-1 !flex" v-model="formData.endtime" clearable type="date"
value-format="YYYY-MM-DD" placeholder="请选择日期" disabled>
value-format="YYYY-MM-DD" placeholder="请选择日期">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="计划工期" prop="jhgq">
<el-input v-model="formData.jhgq" clearable placeholder="请输入计划工期(天)" type="number" />
<el-input v-model="formData.jhgq" clearable placeholder="请输入计划工期(天)" type="number" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="项目所属部门" prop="depar" :rules="[
{ required: true, message: '不可为空', trigger: 'blur' },
]">
<el-select class="flex-1" v-model="formData.depar" clearable placeholder="请选择部门">
<el-option v-for="(item, index) in list2" :key="index" :label="item.name"
<el-option v-for="(item, index) in deptList" :key="index" :label="item.name"
:value="item.id" />
</el-select>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="项目负责人" prop="principal">
<el-input v-model="formData.principal" clearable placeholder="请输入项目负责人"
@click="userclick('principal')" disabled />
<!-- <el-input v-model="formData.principal" clearable placeholder="请输入项目负责人"
@click="userclick('principal')" disabled /> -->
<el-input v-model="formData.principal_name" clearable placeholder="请输入项目负责人"
@click="userclick('principal')" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -110,12 +109,12 @@
@click="userclick('person')" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="项目总投资" prop="invest">
<el-input v-model="formData.invest" clearable placeholder="请输入项目总投资(元)" type="number"
disabled />
<!-- <el-input v-model="formData.invest" clearable placeholder="请输入项目总投资(元)" type="number"
disabled /> -->
<el-input v-model="formData.invest" clearable placeholder="请输入项目总投资(元)" type="number" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -128,8 +127,7 @@
<el-input v-model="formData.cost" clearable placeholder="请输入送审造价(元)" type="number" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="审定造价" prop="approval">
<el-input v-model="formData.approval" clearable placeholder="请输入审定造价(元)" type="number" />
@ -137,16 +135,18 @@
</el-col>
<el-col :span="8">
<el-form-item label="委托单位" prop="aunit">
<el-input v-model="formData.aunit" clearable placeholder="请输入委托单位" disabled />
<!-- <el-input v-model="formData.aunit" clearable placeholder="请输入委托单位" disabled /> -->
<el-input v-model="formData.aunit_name" clearable placeholder="请输入委托单位" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="委托方联系人" prop="Acontact" label-width="120px">
<el-input v-model="formData.Acontact" clearable placeholder="请输入委托方联系人" disabled />
<!-- <el-input v-model="formData.Acontact" clearable placeholder="请输入委托方联系人" disabled /> -->
<el-input v-model="formData.Acontact" clearable placeholder="请输入委托方联系人" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="联系电话" prop="acontactnum">
<el-input v-model="formData.acontactnum" clearable placeholder="请输入联系电话" type="number" />
@ -161,12 +161,12 @@
</el-col>
<el-col :span="8">
<el-form-item label="项目规模及概括" prop="generalize" label-width="120px">
<el-input v-model="formData.generalize" clearable placeholder="请输入项目规模及概括" disabled
type="textarea" />
<!-- <el-input v-model="formData.generalize" clearable placeholder="请输入项目规模及概括" disabled
type="textarea" /> -->
<el-input v-model="formData.generalize" clearable placeholder="请输入项目规模及概括" type="textarea" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="建设单位" prop="js_unit">
<el-input v-model="formData.js_unit" clearable placeholder="请输入建设单位" />
@ -207,8 +207,6 @@ import Popup from "@/components/popup/index.vue";
import { apiCostProjectAdd, apiCostProjectEdit } from "@/api/cost_project";
import { apiCostApprovedProjectDetail } from '@/api/cost_approved_project'
import type { PropType } from "vue";
import { deptAll } from "@/api/org/department";
import { getAll } from "@/api/org/organization";
import { useRoute } from "vue-router";
import { cost_approved_projects } from "@/components/dialogTable/dialogTableConfig";
import { apiCityList, apiProvinceList } from "@/api/common";
@ -217,6 +215,7 @@ defineProps({
type: Object as PropType<Record<string, any[]>>,
default: () => ({}),
},
deptList: Array
});
const emit = defineEmits(["success", "close"]);
const formRef = shallowRef<FormInstance>();
@ -224,8 +223,7 @@ const popupRef = shallowRef<InstanceType<typeof Popup>>();
const mode = ref("add");
const showDialog = ref(false);
const showDialog1 = ref(false);
const list1 = reactive([]);
const list2 = reactive([]);
const personnel = ref<any>();
const route = useRoute();
@ -253,7 +251,7 @@ const formData = reactive({
jhgq: "",
depar: "",
principal: "",
principal_id: "",
principal_name: "",
person: "",
person_text: "",
invest: "",
@ -262,6 +260,7 @@ const formData = reactive({
approval: "",
aunit: "",
Acontact: "",
aunit_name: "",
acontactnum: "",
date: "",
generalize: "",
@ -269,23 +268,7 @@ const formData = reactive({
remark: "",
annex: [],
});
//
const getlist = () => {
getAll().then((res) => {
Object.assign(list1, res);
});
};
//
const deptrmt = (e: any) => {
formData.dept_id = "";
getlist1(e);
};
//
const getlist1 = (id: any) => {
deptAll({ org_id: id }).then((res) => {
list2.splice(0, list2.length, ...res);
});
};
const datas = reactive({
provinceOptions: [],
@ -298,11 +281,13 @@ const customEvent = (e) => {
formData.industry = e.industry_nature
formData.starting = e.start_date
formData.endtime = e.end_date
formData.principal = e.project_director
formData.principal_name = e.project_director
// formData.principal_name = e.project_director
formData.invest = e.project_money
formData.aunit_name = e.part_a_name
formData.aunit = e.part_a
formData.generalize = e.project_scale
formData.Acontact = e.part_a_contract
// formData.Acontact = e.part_a_contract
showDialog.value = false;
};
@ -406,15 +391,14 @@ const setFormData = async (data: Record<any, any>) => {
formData[key] = data[key];
}
}
formData.province = Number(formData.province);
formData.city = Number(formData.city);
formData.depar = Number(formData.depar);
formData.contract_name = data.contract.contract_name;
formData.principal = data.contract?.signing_person
formData.starting = data.contract.start_date
formData.endtime = data.contract.end_date
// formData.province = Number(formData.province);
// formData.city = Number(formData.city);
// formData.depar = Number(formData.depar);
// formData.contract_name = data.contract.contract_name;
// formData.principal = data.contract?.signing_person
// formData.starting = data.contract.start_date
// formData.endtime = data.contract.end_date
getCityList();
deptrmt(formData.org_id);
};
//
@ -433,12 +417,10 @@ const handleSubmit = async () => {
const open = (type = "add") => {
mode.value = type;
popupRef.value?.open();
getlist();
};
//
const userclick = async (e: any) => {
e == "person" ? (persoleType.value = 2) : (persoleType.value = 1);
// label.value = e
showDialog1.value = true;
await nextTick();
personnel.value.open();
@ -456,8 +438,8 @@ const submituser = (e: any) => {
formData.person_text = personl;
formData.person = personl_id;
} else {
formData.principal = personl;
formData.principal_id = personl_id;
formData.principal_name = personl;
formData.principal = personl_id;
}
showDialog1.value = false;
};

View File

@ -42,35 +42,45 @@
<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="project_name" show-overflow-tooltip />
<el-table-column label="关联合同" prop="contract.contract_name" show-overflow-tooltip />
<el-table-column label="咨询类型" prop="types" 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="contract.contract_name"
show-overflow-tooltip /> -->
<el-table-column :render-header="pager.calcWidth" label="咨询类型" prop="types" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.consultation_type" :value="row.types" />
</template>
</el-table-column>
<el-table-column label="行业" prop="industry" show-overflow-tooltip>
<el-table-column :render-header="pager.calcWidth" label="行业" prop="industry" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.cost_consultation_industry_nature" :value="row.industry" />
</template>
</el-table-column>
<el-table-column label="计划开始日期" prop="starting" show-overflow-tooltip />
<el-table-column label="计划结束日期" prop="endtime" show-overflow-tooltip />
<el-table-column label="计划工期(天)" prop="jhgq" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="contract.signing_person" show-overflow-tooltip />
<el-table-column label="项目相关人员" prop="person_text" show-overflow-tooltip />
<el-table-column label="项目总投资(元)" prop="invest" show-overflow-tooltip />
<el-table-column label="预算造价(元)" prop="budget" show-overflow-tooltip />
<el-table-column label="送审造价(元)" prop="cost" show-overflow-tooltip />
<el-table-column label="审定造价(元)" prop="approval" show-overflow-tooltip />
<el-table-column label="委托单位" prop="aunit" show-overflow-tooltip />
<el-table-column label="委托方联系人" prop="Acontact" show-overflow-tooltip />
<el-table-column label="联系电话" prop="acontactnum" show-overflow-tooltip />
<el-table-column label="登记日期" prop="date" show-overflow-tooltip />
<el-table-column label="项目规模及概括" prop="generalize" show-overflow-tooltip />
<el-table-column label="注意事项" prop="note" show-overflow-tooltip />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<el-table-column :render-header="pager.calcWidth" label="计划开始日期" prop="starting"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="计划结束日期" prop="endtime" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="计划工期(天)" prop="jhgq" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目负责人" prop="principal_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目相关人员" prop="person_text"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目总投资(元)" prop="invest"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="预算造价(元)" prop="budget" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="送审造价(元)" prop="cost" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="审定造价(元)" prop="approval"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="委托单位" prop="aunit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="委托方联系人" prop="Acontact"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="联系电话" prop="acontactnum"
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="generalize"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="注意事项" prop="note" show-overflow-tooltip />
<!-- <el-table-column label="备注" prop="remark" show-overflow-tooltip /> -->
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['cost_project.cost_project/edit']" type="primary" link
@click="handleEdit(row)">
@ -80,8 +90,7 @@
@click="handleDelete(row.id)">
删除
</el-button>
<el-button v-perms="['cost_project.cost_project/detail']" link
@click="handleDetail(row.id)">
<el-button v-perms="['cost_project.cost_project/detail']" link @click="handleDetail(row.id)">
详情
</el-button>
</template>
@ -92,7 +101,8 @@
<pagination v-model="pager" @change="getLists" />
</div>
</el-card>
<edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" />
<edit-popup :deptList="deptList" v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists"
@close="showEdit = false" />
<detailPage v-if="showDetail" ref="detailRef" @close="showDetail = false" :detailConfig="detailConfig" />
</div>
</template>
@ -105,6 +115,7 @@ import { apiCostProjectLists, apiCostProjectDelete, apiCostProjectDetail } from
import feedback from '@/utils/feedback'
import EditPopup from './edit.vue'
import detailConfig from './detail'
import { deptLists } from "@/api/org/department"
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
@ -177,5 +188,12 @@ if (route.query.contractId) {
handleAdd()
}
const deptList = ref([])
const getDeptList = async () => {
let res = await deptLists()
deptList.value = res.lists
}
getLists()
getDeptList()
</script>

View File

@ -65,7 +65,7 @@
</el-table>
</template>
</el-table-column>
<el-table-column label="提成比例%" prop="tc_rate" show-overflow-tooltip>
<el-table-column label="提成比例(%)" prop="tc_rate" show-overflow-tooltip>
<template #default="{ row }">
<el-table :data="row.children" :show-header="false">
<el-table-column prop="tc_rate" show-overflow-tooltip />

View File

@ -39,7 +39,7 @@
<el-table-column label="实际开始日期" prop="actual_starting" show-overflow-tooltip />
<el-table-column label="实际结束日期" prop="actual_endtime" show-overflow-tooltip />
<el-table-column label="实际工期(天)" prop="duration" show-overflow-tooltip />
<el-table-column label="已完成进度%" prop="done_progress" show-overflow-tooltip />
<el-table-column label="已完成进度(%)" prop="done_progress" show-overflow-tooltip />
</el-table-column>
</el-table>
</div>

View File

@ -19,26 +19,23 @@
<el-input v-model="formData.project_num" clearable placeholder="请输入项目编号" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="项目负责人" prop="xm_master">
<el-input v-model="formData.xm_master" clearable placeholder="请输入项目负责人" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="部门负责人" prop="bm_master">
<el-input v-model="formData.bm_master" clearable placeholder="请选择部门负责人" @click="userclick()" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="委托单位" prop="wt_unit">
<el-input v-model="formData.wt_unit" clearable placeholder="请输入委托单位" readonly />
<el-input v-model="formData.wt_unit" clearable placeholder="请输入委托单位" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="项目负责人" prop="xm_master">
<el-input v-model="formData.xm_master" clearable placeholder="请输入项目负责人" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="实际开始日期" prop="start_date">
<el-date-picker class="flex-1 !flex" v-model="formData.start_date" clearable type="date"
@ -59,8 +56,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="工时" prop="working_hours">
<el-input v-model="formData.working_hours" clearable placeholder="请输入工时" type="number" />
@ -68,7 +64,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="累计已完成进度" prop="done_progress">
<el-input v-model="formData.done_progress" clearable placeholder="请输入累计已完成进度%"
<el-input v-model="formData.done_progress" clearable placeholder="请输入累计已完成进度(%)"
type="number" />
</el-form-item>
</el-col>
@ -77,8 +73,7 @@
<el-input v-model="formData.bjd_progress" clearable placeholder="请输入本阶段完成进度(%)" type="number" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="登记人" prop="djr">
<el-input v-model="formData.djr" clearable placeholder="请输入登记人" />
@ -96,8 +91,7 @@
<el-input v-model="formData.jdms" clearable placeholder="请输入形象进度描述" />
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="附件" prop="datas">
<uploadAnnex :formData="formData"></uploadAnnex>
@ -178,7 +172,8 @@ const customEvent = (e: any) => {
formData.project_id = e.id
formData.project_name = e.project_name
formData.project_num = e.project_num
formData.wt_unit = e.aunit
// formData.wt_unit = e.part_a_name
formData.xm_master = e.principal_name
showDialog.value = false
}

View File

@ -37,20 +37,28 @@
<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="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip />
<el-table-column label="部门负责人" prop="bm_master" show-overflow-tooltip />
<el-table-column label="委托单位" prop="wt_unit" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="xm_master" 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="duration" show-overflow-tooltip />
<el-table-column label="工时" prop="working_hours" show-overflow-tooltip />
<el-table-column label="累计已完成进度(%)" prop="done_progress" show-overflow-tooltip />
<el-table-column label="本阶段完成进度(%)" prop="bjd_progress" show-overflow-tooltip />
<el-table-column label="登记人" prop="djr" show-overflow-tooltip />
<el-table-column label="登记时间" prop="apptime" show-overflow-tooltip />
<el-table-column label="形象进度描述" prop="jdms" 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="projectInfo.project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="部门负责人" prop="bm_master"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="委托单位" prop="wt_unit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目负责人" prop="xm_master"
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="duration" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工时" prop="working_hours"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="累计已完成进度(%)" prop="done_progress"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="本阶段完成进度(%)" prop="bjd_progress"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记人" prop="djr" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记时间" prop="apptime" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="形象进度描述" prop="jdms" show-overflow-tooltip />
<el-table-column label="操作" width="170" fixed="right" align="center">
<template #default="{ row }">
<el-button v-perms="['project_process_management.jianli_project_progress_report/edit']"

View File

@ -11,7 +11,7 @@
value-format="YYYY-MM" placeholder="请选择日期">
</el-date-picker>
</el-form-item>
<el-form-item label="累计工程进度%" prop="progress">
<el-form-item label="累计工程进度(%)" prop="progress">
<el-input v-model="formData.progress" clearable placeholder="请输入累计工程进度" type="number" />
</el-form-item>
<el-form-item label="工程状态" prop="status">

View File

@ -57,7 +57,8 @@
</el-col>
<el-col :span="8">
<el-form-item label="纳税人识别号">
<el-input v-model="formData.taxpayer_identification_number" clearable placeholder="请输入纳税人识别号" />
<el-input v-model="formData.taxpayer_identification_number" v-type="'code'" clearable
placeholder="请输入纳税人识别号" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -77,7 +78,8 @@
</el-col>
<el-col :span="8">
<el-form-item label="开票单位电话">
<el-input v-model="formData.invoice_company_telephone" clearable placeholder="请输入开票单位电话" />
<el-input v-model="formData.invoice_company_telephone" clearable placeholder="请输入开票单位电话"
type="number" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -384,11 +386,11 @@ const formRules = reactive<any>({
required: true,
message: '请输入电话',
trigger: ['blur']
},
{
validator: checkPhone,
trigger: ['blur']
}],
// {
// validator: checkPhone,
// trigger: ['blur']
// }],
fax: [{
required: true,
message: '请输入传真',
@ -471,8 +473,9 @@ const getCityList = async () => {
datas["cityOptions"] = data;
};
//
//
function province_change(value: string) {
formData.city = ''
getCityList();
}

View File

@ -1,7 +1,6 @@
<template>
<div class="detail-popup">
<popup ref="popupRef" title="补充协议名详情" :async="true" width="80%" @confirm="handleSubmit" @close="handleClose">
<el-card>
<el-descriptions :column="3" border>
<el-descriptions-item label="补充协议名称" label-align="left" align="left" label-class-name="my-label"> {{
@ -17,7 +16,7 @@
formData.part_a_contact }}
</el-descriptions-item>
<el-descriptions-item label="业主地址" label-align="left" align="left" label-class-name="my-label"> {{
formData.part_a_name }}
formData.part_a_address }}
</el-descriptions-item>
<el-descriptions-item label="联系人" label-align="left" align="left" label-class-name="my-label"> {{
formData.part_a_contact }}
@ -100,7 +99,6 @@
<script lang="ts" setup name="customdetail">
import { apimarketing_supplementary_agreementFlows, apimarketing_supplementary_agreementApprove } from '@/api/flowSet'
import type { FormInstance } from 'element-plus'
import Popup from '@/components/popup/index.vue'
import { apiCustomDetail } from '@/api/custom'
import type { PropType } from 'vue'
@ -114,42 +112,8 @@ const emit = defineEmits(['success', 'close'])
const popupRef = shallowRef<InstanceType<typeof Popup>>()
const tableData = ref([])
//
const formData = reactive({
id: "",
"contract_name": "",
"related_contract_id": '',
"supplementary_agreement_name": '',
"part_a": '',
"part_a_name": '',
"part_a_contact": "",
"part_a_address": "",
"part_b": "",
"part_b_signatory": '',
"part_b_signatory_name": '',
"business_nature": '',
"signed_amount": '',
"payment_method": "",
"content": "",
"annex": [],
"signed_dept": '',
"signed_head": '',
"signed_head_name": '',
"seal_name": '',
"is_limit": '',
"limit_num": '',
"file_type": '',
"seal_num": '',
"seal_user": '',
"seal_user_name": '',
"plance_seal": '',
"send_date": "",
"mailing_number": "",
"create_user": "",
"create_time": ""
})
const formData = reactive({})

View File

@ -69,7 +69,7 @@
</el-card>
<edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false"
:deptList="deptList" />
<detail-popup v-if="showDtail" ref="detailRef" :dict-data="dictData" @close="showDtail = false" />
<detail-popup v-if="showDetail" ref="detailRef" :dict-data="dictData" @close="showDetail = false" />
</div>
</template>
@ -86,7 +86,7 @@ import DetailPopup from './detail.vue'
const detailRef = shallowRef<InstanceType<typeof DetailPopup>>()
const editRef = shallowRef<InstanceType<typeof EditPopup>>()
const showEdit = ref(false)
const showDtail = ref(false)
const showDetail = ref(false)
//
@ -140,7 +140,7 @@ const handleDelete = async (id: number | any[]) => {
//
const handledetail = async (data: any) => {
let res = await apiMarketingSupplementaryAgreementDetail({ id: data.id })
showDtail.value = true
showDetail.value = true
await nextTick()
detailRef.value?.open()
detailRef.value?.setFormData(res)

View File

@ -42,7 +42,7 @@
<el-descriptions-item label="不含税金额" label-align="left" align="left" label-class-name="my-label">
{{ formData.amount_excluding_tax }}
</el-descriptions-item>
<el-descriptions-item label="质保金比例%()" label-align="left" align="left"
<el-descriptions-item label="质保金比例(%)()" label-align="left" align="left"
label-class-name="my-label">
{{ formData.retention_money_rate }}
</el-descriptions-item>

View File

@ -75,8 +75,8 @@
:rules="[{ required: true, message: '不可为空', trigger: 'blur' }]">
<el-input v-model="amount_daxie" clearable disabled placeholder="请输入金额大写" />
</el-form-item> </el-col> <el-col :span="8">
<el-form-item label="质保金比例%" prop="retention_money_rate">
<el-input v-model="formData.retention_money_rate" clearable placeholder="请输入质保金比例%" />
<el-form-item label="质保金比例(%)" prop="retention_money_rate">
<el-input v-model="formData.retention_money_rate" clearable placeholder="请输入质保金比例(%)" />
</el-form-item> </el-col>
<el-col :span="8">
<el-form-item label="质保金" prop="project_id"

View File

@ -43,22 +43,15 @@
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="合同金额" 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 label="操作" width="160" fixed="right">
<template #default="{ row }">
<el-button v-perms="['contract.procurement_contract/edit']" type="primary" link

View File

@ -10,19 +10,19 @@ const detailConfig = {
value: "project_code"
},
{
label: "材料预算花费比例%",
label: "材料预算花费比例(%)",
value: "material_budget_expenditure_ratio"
},
{
label: "人工预算花费比例%",
label: "人工预算花费比例(%)",
value: "labour_budget_expenditure_ratio"
},
{
label: "费用预算花费比例%",
label: "费用预算花费比例(%)",
value: "cost_budget_expenditure_ratio"
},
{
label: "分包预算花费比例%",
label: "分包预算花费比例(%)",
value: "subcontract_budget_expenditure_ratio"
},

View File

@ -15,7 +15,7 @@ const detailConfig = {
},
{
label: "项目负责人",
value: "project_director"
value: "principal_name"
},
{
label: "关联合同",
@ -23,7 +23,7 @@ const detailConfig = {
},
{
label: "行业",
value: "industry_nature_text"
value: "industry_nature"
},
{
label: "项目回款总额",
@ -31,7 +31,7 @@ const detailConfig = {
},
{
label: "提成比例%",
label: "提成比例(%)",
value: "rate"
},
{
@ -91,7 +91,7 @@ const detailConfig = {
value: 'other_fee',
},
{
label: "提成比例%",
label: "提成比例(%)",
value: 'tc_rate',
},
{

View File

@ -33,7 +33,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="行业" prop="industry">
<el-select class="flex-1" v-model="formData.industry_nature" clearable placeholder="请选择行业类型">
<el-select class="flex-1" v-model="formData.industry" clearable placeholder="请选择行业类型">
<el-option v-for="(item, index) in dictData.supervision_project_industry" :key="index"
:label="item.name" :value="item.value" />
</el-select>
@ -48,8 +48,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="提成比例%%" prop="rate">
<el-input v-model="formData.rate" clearable placeholder="请输入提成比例%%" />
<el-form-item label="提成比例(%)" prop="rate">
<el-input v-model="formData.rate" clearable placeholder="请输入提成比例(%)" />
</el-form-item>
</el-col>
<el-col :span="8">
@ -160,7 +160,7 @@
<el-input v-model="scope.row.other_fee" type="number" @blur="calcMoney" />
</template>
</el-table-column>
<el-table-column label="提成比例%(%)" prop="tc_rate" width="200px">
<el-table-column label="提成比例(%)" prop="tc_rate" width="200px">
<template #default="scope">
<el-input v-model="scope.row.tc_rate" type="number" @blur="calcMoney" />
@ -230,7 +230,7 @@ const formData = reactive({
contract_name: '',
affcontract_name: "",
contract: {},
industry_nature: '',
// industry_nature: '',
total_refund_amount: '',
rate: '',
ticheng: '',
@ -248,9 +248,9 @@ const customEvent = (e) => {
formData.project_id = e.id
formData.project_name = e.project_name
formData.project_num = e.project_num
formData.project_director = e.contract.project_director
formData.contract_name = e.contract.contract_name
formData.industry_nature = String(e.industry)
formData.project_director = e.principal_name
formData.contract_name = e.contract_name
formData.industry = String(e.industry)
formData.total_refund_amount = e.total_refund_amount
formData.total_pay_amount = e.total_pay_amount
showDialog.value = false
@ -276,9 +276,7 @@ const handleAdd = () => {
const handleDelete = async (row: any) => {
if (row.id) {
await apiProjectCommissionDetailDelete({ id: row.id })
}
if (row.id) await apiProjectCommissionDetailDelete({ id: row.id });
const index = formData.project_commission_detail.indexOf(row);
formData.project_commission_detail.splice(index, 1);
getBczfze()

View File

@ -53,29 +53,36 @@
</el-table-column>
<el-table-column label="造价金额" prop="zj_amount" show-overflow-tooltip />
<el-table-column label="收款金额" prop="sk_amount" show-overflow-tooltip />
<el-table-column label="提成比例%%" prop="tc_rate" show-overflow-tooltip />
<el-table-column label="提成比例(%)" prop="tc_rate" show-overflow-tooltip />
<el-table-column label="应提成金额" prop="tc_amount" show-overflow-tooltip />
<el-table-column label="本次支付金额" prop="pay_amount" show-overflow-tooltip />
</el-table>
</div>
</template>
</el-table-column>
<el-table-column label="单据编号" prop="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
<el-table-column label="项目编号" prop="project_num" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="project_director" show-overflow-tooltip />
<el-table-column label="关联合同" prop="contract_name" show-overflow-tooltip />
<el-table-column label="行业" prop="industry_nature" show-overflow-tooltip />
<el-table-column label="项目回款总额" prop="total_refund_amount" show-overflow-tooltip />
<el-table-column label="提成比例(%%" prop="rate" show-overflow-tooltip />
<el-table-column label="应提成总金额" prop="total_commission_amount" show-overflow-tooltip />
<el-table-column label="已支付总额" prop="total_pay_amount" show-overflow-tooltip />
<el-table-column label="本次支付总额" prop="bczfze" show-overflow-tooltip />
<el-table-column label="登记人" prop="djr" show-overflow-tooltip />
<el-table-column label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<el-table-column :render-header="pager.calcWidth" label="单据编号" prop="num" 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="project_num"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目负责人" prop="principal_name"
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="industry_nature"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目回款总额" prop="total_refund_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="提成比例(%)" prop="rate" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="应提成总金额" prop="total_commission_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="已支付总额" prop="total_pay_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="本次支付总额" prop="bczfze" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记人" prop="djr" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记日期" prop="apptime" show-overflow-tooltip />
<!-- <el-table-column :render-header="pager.calcWidth" label="备注" prop="remark" show-overflow-tooltip /> -->
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['project_commission/edit']" type="primary" link @click="handleEdit(row)">
编辑

View File

@ -43,7 +43,7 @@
</el-table-column>
<el-table-column label="造价金额" prop="zj_amount" show-overflow-tooltip />
<el-table-column label="收款金额" prop="sk_amount" show-overflow-tooltip />
<el-table-column label="提成比例%%" prop="tc_rate" show-overflow-tooltip />
<el-table-column label="提成比例(%)" prop="tc_rate" show-overflow-tooltip />
<el-table-column label="应提成金额" prop="tc_amount" show-overflow-tooltip />
<el-table-column label="本次支付金额" prop="pay_amount" show-overflow-tooltip />

View File

@ -27,7 +27,8 @@
</el-form-item> </el-col><el-col :span="8">
<el-form-item label="联系电话" prop="contact_information"
:rules="[{ validator: checkPhone, trigger: 'blur' }]">
<el-input v-model="formData.contact_information" clearable placeholder="请输入联系方式" />
<el-input v-model="formData.contact_information" clearable placeholder="请输入联系方式"
type="number" />
</el-form-item> </el-col>
<el-col :span="8">
<el-form-item label="项目角色" prop="project_role">

View File

@ -95,7 +95,7 @@ const contractList = reactive([
{ name: '已开票', value: 0 },
{ name: '已回款', value: 0 },
{ name: '未回款', value: 0 },
{ name: '回款比例%', value: 0 },
{ name: '回款比例(%)', value: 0 },
],
[
{ name: '分包合同金额', value: 0 },
@ -104,14 +104,14 @@ const contractList = reactive([
{ name: '已收票', value: 0 },
{ name: '已付款', value: 0 },
{ name: '未付款', value: 0 },
{ name: '付款比例%', value: 0 },
{ name: '付款比例(%)', value: 0 },
],
[
{ name: '材料合同金额', value: 0 },
{ name: '已收票', value: 0 },
{ name: '已付款', value: 0 },
{ name: '未付款', value: 0 },
{ name: '付款比例%', value: 0 },
{ name: '付款比例(%)', value: 0 },
],
])

View File

@ -58,7 +58,7 @@ const detailConfig = {
},
{
label: "合同付款比例%",
label: "合同付款比例(%)",
value: 'dcntract_payment_rate',
},
{
@ -110,7 +110,7 @@ const detailConfig = {
value: 'deduction_amount',
},
{
label: "完成产值比例%(%)",
label: "完成产值比例(%)",
value: 'completed_rate',
},
{
@ -122,7 +122,7 @@ const detailConfig = {
value: 'current_payable_funds',
},
{
label: "付款比例%",
label: "付款比例(%)",
value: 'payment_rate',
},
{

View File

@ -89,7 +89,7 @@
<el-input v-model="row.contract_total_amount" type="number" />
</template>
</el-table-column>
<el-table-column label="合同付款比例%(%)" prop="dcntract_payment_rate" width="200px">
<el-table-column label="合同付款比例(%)" prop="dcntract_payment_rate" width="200px">
<template #default="{ row }">
<el-input v-model="row.dcntract_payment_rate" type="number" />
@ -163,7 +163,7 @@
<el-input v-model="row.deduction_amount" type="number" placeholder="系统自动计算" disabled />
</template>
</el-table-column>
<el-table-column label="完成产值比例%(%)" prop="completed_rate" width="200px">
<el-table-column label="完成产值比例(%)" prop="completed_rate" width="200px">
<template #default="{ row }">
<el-input v-model="row.completed_rate" type="number" />
@ -182,7 +182,7 @@
</template>
</el-table-column>
<el-table-column label="付款比例%(%)" prop="payment_rate" width="200px">
<el-table-column label="付款比例(%)" prop="payment_rate" width="200px">
<template #default="{ row }">
<el-input v-model="row.payment_rate" type="number" placeholder="系统自动计算" disabled />

View File

@ -55,14 +55,13 @@
<el-table-column label="审核造价(其他)" prop="audit_cost_other" show-overflow-tooltip />
<el-table-column label="进度审核造价小计" prop="jdshzj_xiaoji" show-overflow-tooltip />
<el-table-column label="审减额(元)" prop="deduction_amount" show-overflow-tooltip />
<el-table-column label="完成产值比例%(%)" prop="completed_rate" show-overflow-tooltip />
<el-table-column label="完成产值比例(%)" prop="completed_rate" show-overflow-tooltip />
<el-table-column label="合同工程款总额" prop="contract_total_amount" show-overflow-tooltip />
<el-table-column label="累计完成工程款" prop="ljwc_funds" show-overflow-tooltip />
<el-table-column label="当期应付工程款(元)" prop="current_payable_funds"
show-overflow-tooltip />
<el-table-column label="付款比例(%(%)" prop="payment_rate" show-overflow-tooltip />
<el-table-column label="合同付款比例(%(%)" prop="dcntract_payment_rate"
show-overflow-tooltip />
<el-table-column label="付款比例(%)" prop="payment_rate" show-overflow-tooltip />
<el-table-column label="合同付款比例(%)" prop="dcntract_payment_rate" show-overflow-tooltip />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
</el-table>
</div>

View File

@ -34,8 +34,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="合同付款比例%(%)" prop="dcntract_payment_rate">
<el-input v-model="formData.dcntract_payment_rate" clearable placeholder="请输入合同付款比例%(%)"
<el-form-item label="合同付款比例(%)" prop="dcntract_payment_rate">
<el-input v-model="formData.dcntract_payment_rate" clearable placeholder="请输入合同付款比例(%)"
type="number" />
</el-form-item>
</el-col>
@ -94,8 +94,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="完成产值比例%(%)" prop="completed_rate">
<el-input v-model="formData.completed_rate" clearable placeholder="请输入完成产值比例%(%)"
<el-form-item label="完成产值比例(%)" prop="completed_rate">
<el-input v-model="formData.completed_rate" clearable placeholder="请输入完成产值比例(%)"
type="number" />
</el-form-item>
</el-col>
@ -115,7 +115,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="付款比例%(%)" prop="payment_rate">
<el-form-item label="付款比例(%)" prop="payment_rate">
<el-input v-model="formData.payment_rate" clearable placeholder="系统自动计算" disabled
type="number" />
</el-form-item>

View File

@ -43,12 +43,12 @@
<el-table-column label="审核造价(其他)" prop="audit_cost_other" show-overflow-tooltip />
<el-table-column label="进度审核造价小计" prop="jdshzj_xiaoji" show-overflow-tooltip />
<el-table-column label="审减额(元)" prop="deduction_amount" show-overflow-tooltip />
<el-table-column label="完成产值比例%(%)" prop="completed_rate" show-overflow-tooltip />
<el-table-column label="完成产值比例(%)" prop="completed_rate" show-overflow-tooltip />
<el-table-column label="合同工程款总额" prop="contract_total_amount" show-overflow-tooltip />
<el-table-column label="累计完成工程款" prop="ljwc_funds" show-overflow-tooltip />
<el-table-column label="当期应付工程款(元)" prop="current_payable_funds" show-overflow-tooltip />
<el-table-column label="付款比例%(%)" prop="payment_rate" show-overflow-tooltip />
<el-table-column label="合同付款比例%(%)" prop="dcntract_payment_rate" show-overflow-tooltip />
<el-table-column label="付款比例(%)" prop="payment_rate" show-overflow-tooltip />
<el-table-column label="合同付款比例(%)" prop="dcntract_payment_rate" show-overflow-tooltip />
<el-table-column label="备注" prop="remark" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">

View File

@ -57,7 +57,7 @@
<el-table-column type="selection" width="55" />
<el-table-column label="单据编号" prop="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip />
<el-table-column label="委托单位" prop="wt_unit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="委托单位" prop="wt_unit" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="xm_master" show-overflow-tooltip />
<el-table-column label="咨询类型" prop="zx_type" show-overflow-tooltip />
<el-table-column label="项目整改人" prop="zg_master" show-overflow-tooltip />
@ -66,7 +66,7 @@
<el-table-column label="存在问题" prop="problem" show-overflow-tooltip />
<el-table-column label="修改情况" prop="deal_desc" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['project_process_management.project_rectification/edit']" type="primary"
link @click="handleEdit(row)">

View File

@ -43,8 +43,9 @@
<el-table border :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="单据编号" prop="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip />
<el-table-column label="委托单位" prop="wt_unit" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目名称" prop="projectInfo.project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="委托单位" prop="wt_unit" show-overflow-tooltip />
<el-table-column label="建设单位" prop="jsdw" show-overflow-tooltip />
<el-table-column label="部门负责人" prop="bmfz" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="xmfz" show-overflow-tooltip />
@ -54,7 +55,7 @@
<el-table-column label="登记人" prop="djr" show-overflow-tooltip />
<el-table-column label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column label="核实结果" prop="result" show-overflow-tooltip />
<el-table-column label="操作" width="120" fixed="right">
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['project_process_management.project_survey_signature/edit']" type="primary"
link @click="handleEdit(row)">

View File

@ -43,7 +43,7 @@
<el-descriptions-item label="不含税金额" label-align="left" align="left" label-class-name="my-label">
{{ formData.amount_excluding_tax }}
</el-descriptions-item>
<el-descriptions-item label="质保金比例%()" label-align="left" align="left"
<el-descriptions-item label="质保金比例(%)()" label-align="left" align="left"
label-class-name="my-label">
{{ formData.retention_money_rate }}
</el-descriptions-item>

View File

@ -101,7 +101,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="质保金比例(%)" prop="retention_money_rate">
<el-input v-model="formData.retention_money_rate" clearable placeholder="请输入质保金比例%"
<el-input v-model="formData.retention_money_rate" clearable placeholder="请输入质保金比例(%)"
type="number" />
</el-form-item>
</el-col>

View File

@ -99,8 +99,8 @@
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="质保金比例%(%)" prop="field116">
<el-input v-model="formData.field116" placeholder="请输入质保金比例%(%)" clearable
<el-form-item label="质保金比例(%)" prop="field116">
<el-input v-model="formData.field116" placeholder="请输入质保金比例(%)" clearable
:style="{ width: '100%' }"></el-input>
</el-form-item>
</el-col>
@ -141,167 +141,167 @@
</div>
</template>
<script>
export default {
components: {},
props: [],
data() {
return {
formData: {
field101: undefined,
field102: undefined,
field103: undefined,
field104: undefined,
field105: undefined,
field106: undefined,
field107: 1,
field108: null,
field109: 1,
field110: 1,
field111: undefined,
field112: undefined,
field113: undefined,
field114: undefined,
field116: undefined,
field117: undefined,
field118: undefined,
field119: null,
},
rules: {
field101: [{
required: true,
message: '点击选择项目',
trigger: 'blur'
}],
field102: [{
required: true,
message: '系统自动填写',
trigger: 'blur'
}],
field103: [{
required: true,
message: '系统自动编号',
trigger: 'blur'
}],
field104: [{
required: true,
message: '请输入合同名称',
trigger: 'blur'
}],
field105: [{
required: true,
message: '点击选择目项供应商',
trigger: 'blur'
}],
field106: [{
required: true,
message: '系统自动填写',
trigger: 'blur'
}],
field107: [{
required: true,
message: '合同类型不能为空',
trigger: 'change'
}],
field108: [{
required: true,
message: '请选择签订日期',
trigger: 'change'
}],
field109: [],
field110: [{
required: true,
message: '账期不能为空',
trigger: 'change'
}],
field111: [],
field112: [{
required: true,
message: '系统自动填写',
trigger: 'blur'
}],
field113: [{
required: true,
message: '请选择税率',
trigger: 'change'
}],
field114: [],
field116: [{
required: true,
message: '请输入质保金比例%(%)',
trigger: 'blur'
}],
field117: [{
required: true,
message: '系统自动计算',
trigger: 'blur'
}],
field118: [],
},
/* “我被叫到这里来,不会是因为加图索家是校董会成员吧?”恺撒看着昂热,“进入卡塞尔学院时,我就说过这是我的个人选择,和家族无关。”*/
export default {
components: {},
props: [],
data() {
return {
formData: {
field101: undefined,
field102: undefined,
field103: undefined,
field104: undefined,
field105: undefined,
field106: undefined,
field107: 1,
field108: null,
field109: 1,
field110: 1,
field111: undefined,
field112: undefined,
field113: undefined,
field114: undefined,
field116: undefined,
field117: undefined,
field118: undefined,
field119: null,
},
rules: {
field101: [{
required: true,
message: '点击选择项目',
trigger: 'blur'
}],
field102: [{
required: true,
message: '系统自动填写',
trigger: 'blur'
}],
field103: [{
required: true,
message: '系统自动编号',
trigger: 'blur'
}],
field104: [{
required: true,
message: '请输入合同名称',
trigger: 'blur'
}],
field105: [{
required: true,
message: '点击选择目项供应商',
trigger: 'blur'
}],
field106: [{
required: true,
message: '系统自动填写',
trigger: 'blur'
}],
field107: [{
required: true,
message: '合同类型不能为空',
trigger: 'change'
}],
field108: [{
required: true,
message: '请选择签订日期',
trigger: 'change'
}],
field109: [],
field110: [{
required: true,
message: '账期不能为空',
trigger: 'change'
}],
field111: [],
field112: [{
required: true,
message: '系统自动填写',
trigger: 'blur'
}],
field113: [{
required: true,
message: '请选择税率',
trigger: 'change'
}],
field114: [],
field116: [{
required: true,
message: '请输入质保金比例(%)',
trigger: 'blur'
}],
field117: [{
required: true,
message: '系统自动计算',
trigger: 'blur'
}],
field118: [],
},
/* “我被叫到这里来,不会是因为加图索家是校董会成员吧?”恺撒看着昂热,“进入卡塞尔学院时,我就说过这是我的个人选择,和家族无关。”*/
field119Action: 'https://jsonplaceholder.typicode.com/posts/',
field119fileList: [],
field107Options: [{
"label": "专业分包",
"value": 1
}, {
"label": "劳务分包",
"value": 2
}],
field109Options: [{
"label": "承兑",
"value": 1
}, {
"label": "电汇",
"value": 2
}, {
"label": "支票",
"value": 3
}],
field110Options: [{
"label": "现结",
"value": 1
}, {
"label": "月结",
"value": 2
}, {
"label": "季度结",
"value": 3
}],
field113Options: [{
"label": "选项一",
"value": 1
}, {
"label": "选项二",
"value": 2
}],
}
},
computed: {},
watch: {},
created() {},
mounted() {},
methods: {
submitForm() {
this.$refs['elForm'].validate(valid => {
if (!valid) return
// TODO
})
},
resetForm() {
this.$refs['elForm'].resetFields()
},
field119BeforeUpload(file) {
let isRightSize = file.size / 1024 / 1024 < 2
if (!isRightSize) {
this.$message.error('文件大小超过 2MB')
}
return isRightSize
},
field119Action: 'https://jsonplaceholder.typicode.com/posts/',
field119fileList: [],
field107Options: [{
"label": "专业分包",
"value": 1
}, {
"label": "劳务分包",
"value": 2
}],
field109Options: [{
"label": "承兑",
"value": 1
}, {
"label": "电汇",
"value": 2
}, {
"label": "支票",
"value": 3
}],
field110Options: [{
"label": "现结",
"value": 1
}, {
"label": "月结",
"value": 2
}, {
"label": "季度结",
"value": 3
}],
field113Options: [{
"label": "选项一",
"value": 1
}, {
"label": "选项二",
"value": 2
}],
}
},
computed: {},
watch: {},
created() { },
mounted() { },
methods: {
submitForm() {
this.$refs['elForm'].validate(valid => {
if (!valid) return
// TODO
})
},
resetForm() {
this.$refs['elForm'].resetFields()
},
field119BeforeUpload(file) {
let isRightSize = file.size / 1024 / 1024 < 2
if (!isRightSize) {
this.$message.error('文件大小超过 2MB')
}
return isRightSize
},
}
</script>
}
</script>
<style>
.el-upload__tip {
line-height: 1.2;

View File

@ -11,7 +11,7 @@ const detailConfig = {
value: "date"
},
{
label: "上月计划工程进度%",
label: "上月计划工程进度(%)",
value: "last_month_planned_progress"
},
{

View File

@ -17,8 +17,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="上月计划工程进度%" prop="last_month_planned_progress">
<el-input v-model="formData.last_month_planned_progress" clearable placeholder="请输入上月计划工程进度%"
<el-form-item label="上月计划工程进度(%)" prop="last_month_planned_progress">
<el-input v-model="formData.last_month_planned_progress" clearable placeholder="请输入上月计划工程进度(%)"
type="number" />
</el-form-item>
</el-col>
@ -29,8 +29,8 @@
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="本月累计工程进度%" prop="this_month_progress">
<el-input v-model="formData.this_month_progress" clearable placeholder="请输入本月累计工程进度%"
<el-form-item label="本月累计工程进度(%)" prop="this_month_progress">
<el-input v-model="formData.this_month_progress" clearable placeholder="请输入本月累计工程进度(%)"
type="number" />
</el-form-item>
</el-col>
@ -207,7 +207,7 @@ const formRules = reactive<any>({
}],
last_month_planned_progress: [{
required: true,
message: '请输入上月计划工程进度%',
message: '请输入上月计划工程进度(%)',
trigger: ['blur']
}],
next_month_planned_progress: [{
@ -217,7 +217,7 @@ const formRules = reactive<any>({
}],
this_month_progress: [{
required: true,
message: '请输入本月累计工程进度%',
message: '请输入本月累计工程进度(%)',
trigger: ['blur']
}],
engineering_status: [{

View File

@ -40,10 +40,10 @@
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip
:render-header="pager.calcWidth" />
<el-table-column label="年月" prop="date" show-overflow-tooltip />
<el-table-column label="上月计划工程进度%" prop="last_month_planned_progress" width="200" />
<el-table-column label="上月计划工程进度(%)" prop="last_month_planned_progress" width="200" />
<el-table-column label="下月计划工程进度(%)" prop="next_month_planned_progress" show-overflow-tooltip
width="200" />
<el-table-column label="本月累计工程进度%" prop="this_month_progress" show-overflow-tooltip width="200" />
<el-table-column label="本月累计工程进度(%)" prop="this_month_progress" show-overflow-tooltip width="200" />
<el-table-column label="工程状态" prop="engineering_status_text" show-overflow-tooltip />
<el-table-column label="进度描述" prop="progress_description" show-overflow-tooltip />
<el-table-column label="存在的问题及解决措施" prop="problems_and_measure" show-overflow-tooltip width="200" />

View File

@ -333,7 +333,7 @@ const customEvent = (e) => {
formData.project_id = e.id
formData.project_name = e.project_name
formData.project_num = e.project_num
formData.project_director = e.contract.project_director
formData.project_director = e.principal_name
showDialog.value = false
}

View File

@ -18,35 +18,46 @@
<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="task_allocation_num" show-overflow-tooltip />
<el-table-column label="任务名称" prop="taskTypeInfo.name" show-overflow-tooltip />
<el-table-column label="工序" prop="process" show-overflow-tooltip />
<el-table-column label="任务类型" prop="task_type_id">
<el-table-column :render-header="pager.calcWidth" label="任务分配单号" prop="task_allocation_num"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务名称" prop="taskTypeInfo.name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工序" prop="process" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务类型" prop="task_type_id">
<template #default="{ row }">
<dict-value :options="dictData.task_type" :value="row.task_type_id" />
</template>
</el-table-column>
<el-table-column label="专业类型" prop="professional_type">
<el-table-column :render-header="pager.calcWidth" label="专业类型" prop="professional_type">
<template #default="{ row }">
<dict-value :options="dictData.major_type" :value="row.professional_type" />
</template>
</el-table-column>
<el-table-column label="工程师" prop="engineer" show-overflow-tooltip />
<el-table-column label="任务级次" prop="level" show-overflow-tooltip />
<el-table-column label="一级审核人" prop="first_reviewer" show-overflow-tooltip />
<el-table-column label="二级审核人" prop="secondary_reviewer" show-overflow-tooltip />
<el-table-column label="三级审核人" prop="third_level_reviewer" show-overflow-tooltip />
<el-table-column label="中标金额(元)" prop="bid_winning_amount" show-overflow-tooltip />
<el-table-column label="送审造价(元)" prop="cost" show-overflow-tooltip />
<el-table-column label="第三方核定金额(元)" prop="approved_amount" show-overflow-tooltip />
<el-table-column label="施工单位" prop="construction_unit" show-overflow-tooltip />
<el-table-column label="施工单位id" prop="construction_unit_id" show-overflow-tooltip />
<el-table-column label="联系人" prop="contact" show-overflow-tooltip />
<el-table-column label="联系电话" prop="contact_phone" show-overflow-tooltip />
<el-table-column label="天数" prop="days" 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="remark" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工程师" prop="engineer" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务级次" prop="level" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="一级审核人" prop="first_reviewer"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="二级审核人" prop="secondary_reviewer"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="三级审核人" prop="third_level_reviewer"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="中标金额(元)" prop="bid_winning_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="送审造价(元)" prop="cost" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="第三方核定金额(元)" prop="approved_amount"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="施工单位" prop="construction_unit"
show-overflow-tooltip />
<!-- <el-table-column :render-header="pager.calcWidth" label="施工单位id" prop="construction_unit_id"
show-overflow-tooltip /> -->
<el-table-column :render-header="pager.calcWidth" label="联系人" prop="contact" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="联系电话" prop="contact_phone"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="天数" prop="days" 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 label="备注" prop="remark" show-overflow-tooltip /> -->
<el-table-column label="操作" width="120" fixed="right">
<template #default="{ row }">

View File

@ -32,52 +32,55 @@
<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="num" show-overflow-tooltip />
<el-table-column label="项目名称" prop="projectInfo.project_name" show-overflow-tooltip />
<el-table-column label="项目编号" prop="projectInfo.project_num" show-overflow-tooltip />
<el-table-column label="任务名称" prop="task" show-overflow-tooltip />
<el-table-column label="工序" prop="processes" show-overflow-tooltip />
<el-table-column label="任务类型" prop="rtype" 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="projectInfo.project_name"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目编号" prop="projectInfo.project_num"
show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务名称" prop="task" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工序" prop="processes" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务类型" prop="rtype" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.task_type" :value="row.rtype" />
</template>
</el-table-column>
<el-table-column label="专业类型" prop="zType" show-overflow-tooltip>
<el-table-column :render-header="pager.calcWidth" label="专业类型" prop="zType" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.major_type" :value="row.zType" />
</template>
</el-table-column>
<el-table-column label="工程师" prop="engineer" show-overflow-tooltip />
<el-table-column label="项目负责人" prop="head" show-overflow-tooltip />
<el-table-column label="审核流程" prop="examine" show-overflow-tooltip>
<el-table-column :render-header="pager.calcWidth" label="工程师" prop="engineer" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目负责人" prop="head" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="审核流程" prop="examine" show-overflow-tooltip>
<template #default="{ row }">
<dict-value :options="dictData.review_process" :value="row.examine" />
</template>
</el-table-column>
<el-table-column label="一级审核人" prop="one" show-overflow-tooltip />
<el-table-column label="二级审核人" prop="two" show-overflow-tooltip />
<el-table-column label="三级审核人" prop="three" show-overflow-tooltip />
<el-table-column label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column label="任务级次" prop="level" show-overflow-tooltip />
<el-table-column label="建筑面积" prop="area" show-overflow-tooltip />
<!-- <el-table-column label="建筑结构类型" prop="type" show-overflow-tooltip /> -->
<el-table-column label="建筑用途" prop="use" show-overflow-tooltip />
<el-table-column label="施工单位" prop="construction" show-overflow-tooltip />
<!-- <el-table-column label="编制要求" prop="ask" show-overflow-tooltip /> -->
<!-- <el-table-column label="造价依据" prop="according" show-overflow-tooltip /> -->
<!-- <el-table-column label="材料补差" prop="clbc" show-overflow-tooltip /> -->
<el-table-column label="送审金额" prop="ssje" show-overflow-tooltip />
<el-table-column label="工程师核定价" prop="gcshd" show-overflow-tooltip />
<el-table-column label="核增/核减金额" prop="hzhj" show-overflow-tooltip />
<el-table-column label="人工单价" prop="rg" show-overflow-tooltip />
<el-table-column label="项目负责人核定价" prop="xmhd" show-overflow-tooltip />
<el-table-column label="部门负责人核定价" prop="bmhd" show-overflow-tooltip />
<el-table-column label="审核部核定价" prop="shbhd" show-overflow-tooltip />
<el-table-column label="开工日期" prop="kaigong" show-overflow-tooltip />
<el-table-column label="竣工日期" prop="jungong" show-overflow-tooltip />
<el-table-column label="备注" prop="bz" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="一级审核人" prop="one" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="二级审核人" prop="two" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="三级审核人" prop="three" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="登记日期" prop="apptime" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="任务级次" prop="level" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="建筑面积" prop="area" show-overflow-tooltip />
<!-- <el-table-column :render-header="pager.calcWidth" label="建筑结构类型" prop="type" show-overflow-tooltip /> -->
<el-table-column :render-header="pager.calcWidth" label="建筑用途" prop="use" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="施工单位" prop="construction"
show-overflow-tooltip />
<!-- <el-table-column :render-header="pager.calcWidth" label="编制要求" prop="ask" show-overflow-tooltip /> -->
<!-- <el-table-column :render-header="pager.calcWidth" label="造价依据" prop="according" show-overflow-tooltip /> -->
<!-- <el-table-column :render-header="pager.calcWidth" label="材料补差" prop="clbc" show-overflow-tooltip /> -->
<el-table-column :render-header="pager.calcWidth" label="送审金额" prop="ssje" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="工程师核定价" prop="gcshd" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="核增/核减金额" prop="hzhj" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="人工单价" prop="rg" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="项目负责人核定价" prop="xmhd" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="部门负责人核定价" prop="bmhd" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="审核部核定价" prop="shbhd" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="开工日期" prop="kaigong" show-overflow-tooltip />
<el-table-column :render-header="pager.calcWidth" label="竣工日期" prop="jungong" show-overflow-tooltip />
<!-- <el-table-column label="备注" prop="bz" show-overflow-tooltip /> -->
<el-table-column label="操作" width="120" fixed="right">
<el-table-column label="操作" width="170" fixed="right">
<template #default="{ row }">
<el-button v-perms="['task_handling_three_level_review/edit']" type="primary" link
@click="handleEdit(row)">