diff --git a/src/api/bid_buy_bidding_document.ts b/src/api/bid_buy_bidding_document.ts index eeb3c61..ea32290 100644 --- a/src/api/bid_buy_bidding_document.ts +++ b/src/api/bid_buy_bidding_document.ts @@ -11,14 +11,14 @@ export function apiBidBuyBiddingDocumentAdd(params: any) { } // 编辑购买标书 -// export function apiBidBuyBiddingDocumentEdit(params: any) { -// return request.post({ url: '/bid.bid_buy_bidding_document/edit', params }) -// } +export function apiBidBuyBiddingDocumentEdit(params: any) { + return request.post({ url: '/bid.bid_buy_bidding_document/edit', params }) +} // 删除购买标书 -// export function apiBidBuyBiddingDocumentDelete(params: any) { -// return request.post({ url: '/bid.bid_buy_bidding_document/delete', params }) -// } +export function apiBidBuyBiddingDocumentDelete(params: any) { + return request.post({ url: '/bid.bid_buy_bidding_document/delete', params }) +} // 购买标书详情 export function apiBidBuyBiddingDocumentDetail(params: any) { diff --git a/src/api/procurement_contract.ts b/src/api/procurement_contract.ts index 60e4c08..2de6336 100644 --- a/src/api/procurement_contract.ts +++ b/src/api/procurement_contract.ts @@ -1,26 +1,30 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 采购合同列表 export function apiProcurementContractLists(params: any) { - return request.get({ url: '/contract.procurement_contract/lists', params }) + return request.get({ url: "/contract.procurement_contract/lists", params }); } // 添加采购合同 export function apiProcurementContractAdd(params: any) { - return request.post({ url: '/contract.procurement_contract/add', params }) + return request.post({ url: "/contract.procurement_contract/add", params }); } // 编辑采购合同 export function apiProcurementContractEdit(params: any) { - return request.post({ url: '/contract.procurement_contract/edit', params }) + return request.post({ url: "/contract.procurement_contract/edit", params }); } // 删除采购合同 export function apiProcurementContractDelete(params: any) { - return request.post({ url: '/contract.procurement_contract/delete', params }) + return request.post({ url: "/contract.procurement_contract/delete", params }); } // 采购合同详情 export function apiProcurementContractDetail(params: any) { - return request.get({ url: '/contract.procurement_contract/detail', params }) -} \ No newline at end of file + return request.get({ url: "/contract.procurement_contract/detail", params }); +} + +export function apiProcurementContractSearch(params: any) { + return request.get({ url: "/contract.procurement_contract/datas", params }); +} diff --git a/src/api/quotation_detail.ts b/src/api/quotation_detail.ts index 21730d1..c4f7b71 100644 --- a/src/api/quotation_detail.ts +++ b/src/api/quotation_detail.ts @@ -5,3 +5,9 @@ export function apiQuotationDetailLists(params: any) { return request.get({ url: '/quotation.quotation_detail/lists', params }) } + +// 删除报价明细列表 +export function apiQuotationDetailDelete(params: any) { + return request.post({ url: '/quotation.quotation_detail/delete', params }) +} + diff --git a/src/api/subcontracting_contract.ts b/src/api/subcontracting_contract.ts index e03a676..f4130cb 100644 --- a/src/api/subcontracting_contract.ts +++ b/src/api/subcontracting_contract.ts @@ -1,26 +1,45 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 分包合同列表 export function apiSubcontractingContractLists(params: any) { - return request.get({ url: '/contract.subcontracting_contract/lists', params }) + return request.get({ + url: "/contract.subcontracting_contract/lists", + params, + }); } // 添加分包合同 export function apiSubcontractingContractAdd(params: any) { - return request.post({ url: '/contract.subcontracting_contract/add', params }) + return request.post({ url: "/contract.subcontracting_contract/add", params }); } // 编辑分包合同 export function apiSubcontractingContractEdit(params: any) { - return request.post({ url: '/contract.subcontracting_contract/edit', params }) + return request.post({ + url: "/contract.subcontracting_contract/edit", + params, + }); } // 删除分包合同 export function apiSubcontractingContractDelete(params: any) { - return request.post({ url: '/contract.subcontracting_contract/delete', params }) + return request.post({ + url: "/contract.subcontracting_contract/delete", + params, + }); } // 分包合同详情 export function apiSubcontractingContractDetail(params: any) { - return request.get({ url: '/contract.subcontracting_contract/detail', params }) -} \ No newline at end of file + return request.get({ + url: "/contract.subcontracting_contract/detail", + params, + }); +} + +export function apiSubcontractingContractSearch(params: any) { + return request.get({ + url: "/contract.subcontracting_contract/datas", + params, + }); +} diff --git a/src/api/suppler_list.ts b/src/api/suppler_list.ts index 990941a..b829627 100644 --- a/src/api/suppler_list.ts +++ b/src/api/suppler_list.ts @@ -1,27 +1,30 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 供应商表列表 export function apisupplierLists(params: any) { - return request.get({ url: '/supplier.supplier/lists', params }) + return request.get({ url: "/supplier.supplier/lists", params }); } // 添加供应商 export function apisupplierAdd(params: any) { - return request.post({ url: '/supplier.supplier/add', params }) + return request.post({ url: "/supplier.supplier/add", params }); } // 编辑供应商 export function apisupplierEdit(params: any) { - return request.post({ url: '/supplier.supplier/edit', params }) + return request.post({ url: "/supplier.supplier/edit", params }); } // 删除供应商 export function apisupplierDelete(params: any) { - return request.post({ url: '/supplier.supplier/delete', params }) + return request.post({ url: "/supplier.supplier/delete", params }); } - // 供应商详情 export function apisupplierDetail(params: any) { - return request.get({ url: '/supplier.supplier/detail', params }) -} \ No newline at end of file + return request.get({ url: "/supplier.supplier/detail", params }); +} + +export function apiSupplierSearch(params: any) { + return request.get({ url: "/supplier.supplier/datas", params }); +} diff --git a/src/components/biddingDecision/index.vue b/src/components/biddingDecision/index.vue index 062b76f..f740781 100644 --- a/src/components/biddingDecision/index.vue +++ b/src/components/biddingDecision/index.vue @@ -16,7 +16,7 @@ - + diff --git a/src/components/contacts/index.vue b/src/components/contacts/index.vue index bd899a7..ad1e6bb 100644 --- a/src/components/contacts/index.vue +++ b/src/components/contacts/index.vue @@ -16,7 +16,7 @@ - + @@ -34,7 +34,7 @@ - + - + diff --git a/src/components/dialogTable/dialogTableConfig.ts b/src/components/dialogTable/dialogTableConfig.ts index ff6836f..488fd94 100644 --- a/src/components/dialogTable/dialogTableConfig.ts +++ b/src/components/dialogTable/dialogTableConfig.ts @@ -1,424 +1,562 @@ -interface Iconfig{ - /** 请求列表的接口*/ - fetchFn:Function, +interface Iconfig { + /** 请求列表的接口*/ + fetchFn: Function; - /**用户可搜索的内容,select为下拉列表,select为数组时为自定义option,w为string时表示获取字典里的值 */ - serchList:Array<{label:String,value:String,select?:Array<{name:string,value:string|Number}>|String }>, + /**用户可搜索的内容,select为下拉列表,select为数组时为自定义option,w为string时表示获取字典里的值 */ + serchList: Array<{ + label: String; + value: String; + select?: Array<{ name: string; value: string | Number }> | String; + }>; - /**需要的字典数据,以,隔开的string */ - dictData?:String, + /**需要的字典数据,以,隔开的string */ + dictData?: String; - /**table配置 */ - tableList:Array, + /**table配置 */ + tableList: Array; } -import { apiSupervisionProjectLists } from '@/api/supervision_project' -import { apiSupervisionParticipatingUnitsLists, } from '@/api/supervision_participating_units' -import { apiSupervisionCheckItemLists } from '@/api/supervision_check_item' -import { apiManageProjectLists} from '@/api/manage_project' -import { apiSupervisionDangerousEngineeringMonitoringLists, } from '@/api/supervision_dangerous_engineering_monitoring' -import { apiSupervisionMaterialEntryLists } from '@/api/supervision_material_entry' -import { apiSupervisionParticipatingUnitsQualificationsLists } from '@/api/supervision_participating_units_qualifications' -import { apiCostApprovedProjectLists } from '@/api/cost_approved_project' -import { apiCostProjectLists } from '@/api/cost_project' -import { apiTaskTypeLists } from '@/api/task_type' -import {apiSupervisionMaterialEquipmentInfoLists}from "@/api/supervision_material_equipment_info" -import { apiConsultProjectLists} from '@/api/consult_project' -import { apiZjzxInvoiceLists } from '@/api/zjzx_invoice' +import { apiSupervisionProjectLists } from "@/api/supervision_project"; +import { apiSupervisionParticipatingUnitsLists } from "@/api/supervision_participating_units"; +import { apiSupervisionCheckItemLists } from "@/api/supervision_check_item"; +import { apiManageProjectLists } from "@/api/manage_project"; +import { apiSupervisionDangerousEngineeringMonitoringLists } from "@/api/supervision_dangerous_engineering_monitoring"; +import { apiSupervisionMaterialEntryLists } from "@/api/supervision_material_entry"; +import { apiSupervisionParticipatingUnitsQualificationsLists } from "@/api/supervision_participating_units_qualifications"; +import { apiCostApprovedProjectLists } from "@/api/cost_approved_project"; +import { apiCostProjectLists } from "@/api/cost_project"; +import { apiTaskTypeLists } from "@/api/task_type"; +import { apiSupervisionMaterialEquipmentInfoLists } from "@/api/supervision_material_equipment_info"; +import { apiConsultProjectLists } from "@/api/consult_project"; +import { apiZjzxInvoiceLists } from "@/api/zjzx_invoice"; +import { apiSubcontractingContractLists } from "@/api/subcontracting_contract"; +import { apisupplierLists } from "@/api/suppler_list"; +export const supervision_project: Iconfig = { + fetchFn: apiSupervisionProjectLists, + serchList: [ + { + label: "项目名称", + value: "project_name", + }, + { + label: "项目编号", + value: "project_code", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { project_code: "项目编号" }, + { industry_text: "性质" }, + { build_unit: "建设单位" }, + { build_area_text: "建设区域" }, + { address: "项目地址" }, + { project_level_text: "项目等级" }, + { total_investment: "总投资" }, + { initiation_date: "立项日期" }, + { contract: "关联合同" }, + { contract_amount: "合同金额" }, + { project_overview: "项目概况" }, + { contract_content: "合同服务内容" }, + { project_requirements: "项目要求" }, + { remark: "备注" }, + { supervision_department: "监管部门" }, + { implementation_department: "实施部门" }, + { project_department: "项目部" }, + { engineering_status_text: "工程状态" }, + { project_manager: "项目负责人员" }, + { part_a_unit: "甲方单位" }, + ], +}; +export const supervision_participating_units: Iconfig = { + fetchFn: apiSupervisionParticipatingUnitsLists, + serchList: [ + { + label: "单位名称", + value: "unit_name", + }, + { + label: "资质等级", + value: "qualification_grade", + }, + ], + tableList: [ + { unit_name: "单位名称" }, + { unit_type_text: "单位类别" }, + { qualification_grade: "资质等级" }, + { telephone: "联系电话" }, + { duty: "责任范围" }, + ], +}; -export const supervision_project:Iconfig = { - fetchFn: apiSupervisionProjectLists, - serchList: [ - { - label: '项目名称', - value: "project_name" - }, - { - label: '项目编号', - value: "project_code" - }, - ], - tableList: [ - { project_name: "项目名称" }, - { project_code: "项目编号" }, - { industry_text: "性质" }, - { build_unit: "建设单位" }, - { build_area_text: "建设区域" }, - { address: "项目地址" }, - { project_level_text: "项目等级" }, - { total_investment: "总投资" }, - { initiation_date: "立项日期" }, - { contract: "关联合同" }, - { contract_amount: "合同金额" }, - { project_overview: "项目概况" }, - { contract_content: "合同服务内容" }, - { project_requirements: "项目要求" }, - { remark: "备注" }, - { supervision_department: "监管部门" }, - { implementation_department: "实施部门" }, - { project_department: "项目部" }, - { engineering_status_text: "工程状态" }, - { project_manager: "项目负责人员" }, - { part_a_unit: "甲方单位" }, - ] -} +export const supervision_check_item: Iconfig = { + fetchFn: apiSupervisionCheckItemLists, + dictData: "check_item_node_type", + serchList: [ + { + label: "节点名称", + value: "node_name", + }, + { + label: "节点类型", + value: "node_type", + select: "check_item_node_type", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { node_name: "节点名称" }, + { node_type_text: "节点类型" }, + { node_code: "节点编号" }, + ], +}; -export const supervision_participating_units:Iconfig = { - fetchFn: apiSupervisionParticipatingUnitsLists, - serchList: [ - { - label: '单位名称', - value: "unit_name" - }, - { - label: '资质等级', - value: "qualification_grade" - }, - ], - tableList: [ - { unit_name: "单位名称" }, - { unit_type_text: "单位类别" }, - { qualification_grade: "资质等级" }, - { telephone: "联系电话" }, - { duty: "责任范围" }, - ] -} +export const manage_project: Iconfig = { + fetchFn: apiManageProjectLists, + dictData: "cost_consultation_industry_nature,industry,engineering_status", + serchList: [ + { + label: "项目名称", + value: "project_name", + }, + { + label: "项目编号", + value: "project_code", + }, + { + label: "性质", + value: "nature", + select: "cost_consultation_industry_nature", + }, + { + label: "行业", + value: "industry", + select: "industry", + }, + { + label: "工程状态", + value: "engineering_status", + select: "engineering_status", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { project_code: "项目编号" }, + { nature_text: "性质" }, + { industry_text: "行业" }, + { build_area_text: "建设区域" }, + { project_level_text: "项目级别" }, + { total_investment: "总投资" }, + { engineering_status_text: "工程状态" }, + { implementation_department: "实施部门" }, + { supervision_department: "监管部门" }, + { project_manager: "项目经理" }, + ], +}; -export const supervision_check_item:Iconfig = { - fetchFn: apiSupervisionCheckItemLists, - dictData:'check_item_node_type', - serchList: [ - { - label: '节点名称', - value: "node_name" - }, - { - label: '节点类型', - value: "node_type", - select:'check_item_node_type' - }, - ], - tableList: [ - { project_name: "项目名称" }, - { node_name: "节点名称" }, - { node_type_text: "节点类型" }, - { node_code: "节点编号" }, - ] -} +export const supervision_dangerous_engineering_monitoring: Iconfig = { + fetchFn: apiSupervisionDangerousEngineeringMonitoringLists, + dictData: "partial_project", + serchList: [ + { + label: "危大工程类型", + value: "type", + }, + { + label: "分部分项工程", + value: "partial_project", + select: "partial_project", + }, + { + label: "施工部位", + value: "position", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { type_text: "危大工程类型" }, + { partial_project_text: "分部分项工程" }, + { planned_construction_time: "计划施工时间" }, + { position: "施工部位" }, + ], +}; -export const manage_project:Iconfig = { - fetchFn: apiManageProjectLists, - dictData:'cost_consultation_industry_nature,industry,engineering_status', - serchList: [ - { - label: '项目名称', - value: "project_name" - }, - { - label: '项目编号', - value: "project_code", - }, - { - label:"性质", - value:'nature', - select:'cost_consultation_industry_nature' - }, - { - label:"行业", - value:'industry', - select:"industry" - }, - { - label:"工程状态", - value:'engineering_status', - select:"engineering_status" - } - - ], - tableList: [ - { project_name: "项目名称" }, - { project_code: "项目编号" }, - { nature_text: "性质" }, - { industry_text: "行业" }, - { build_area_text: "建设区域" }, - { project_level_text: "项目级别" }, - { total_investment: "总投资" }, - { engineering_status_text: "工程状态" }, - { implementation_department: "实施部门" }, - { supervision_department: "监管部门" }, - { project_manager: "项目经理" }, - ] -} +export const supervision_material_entry: Iconfig = { + fetchFn: apiSupervisionMaterialEntryLists, + serchList: [ + { + label: "进场主题", + value: "theme", + }, + { + label: "编号", + value: "code", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { company_name: "采购单位" }, + { theme: "进场主题" }, + { code: "编号" }, + { enter_time: "进场时间" }, + { enter_result_text: "进场结果" }, + { parallel_test_text: "是否平行检验" }, + ], +}; -export const supervision_dangerous_engineering_monitoring:Iconfig = { - fetchFn: apiSupervisionDangerousEngineeringMonitoringLists, - dictData:'partial_project', - serchList: [ +export const supervision_material_equipment_info: Iconfig = { + fetchFn: apiSupervisionMaterialEquipmentInfoLists, + serchList: [ + { + label: "材料/设备名称", + value: "name", + }, + { + label: "材料/设备品牌", + value: "brand", + }, + { + label: "合同约定品牌", + value: "contract_brand", + select: [ { - label: '危大工程类型', - value: "type" + name: "否", + value: 0, }, { - label:"分部分项工程", - value:'partial_project', - select:"partial_project" + name: "是", + value: 1, + }, + ], + }, + { + label: "类型", + value: "type", + select: [ + { + name: "材料", + value: 0, }, { - label:"施工部位", - value:'position', - } - - ], - tableList: [ - { project_name: "项目名称" }, - { type_text: "危大工程类型" }, - { partial_project_text: "分部分项工程" }, - { planned_construction_time: "计划施工时间" }, - { position: "施工部位" }, - ] -} + name: "设备", + value: 1, + }, + ], + }, + ], + tableList: [ + { project_name: "项目名称" }, + { name: "材料/设备名称" }, + { brand: "材料/设备品牌" }, + { model: "型号" }, + { unit: "计数单位" }, + { number: "计划数量" }, + { contract_brand_text: "合同约定品牌" }, + { type_text: "类型" }, + { remark: "备注" }, + ], +}; -export const supervision_material_entry:Iconfig = { - fetchFn: apiSupervisionMaterialEntryLists, - serchList: [ - { - label: '进场主题', - value: "theme" - }, - { - label:"编号", - value:'code', - }, - ], - tableList: [ - { project_name: "项目名称" }, - { company_name: "采购单位" }, - { theme: "进场主题" }, - { code: "编号" }, - { enter_time: "进场时间" }, - { enter_result_text: "进场结果" }, - { parallel_test_text: "是否平行检验" }, - ] -} +export const supervision_participating_units_qualifications: Iconfig = { + fetchFn: apiSupervisionParticipatingUnitsQualificationsLists, + serchList: [ + { + label: "资质名称", + value: "qualification_name", + }, + { + label: "资质编号", + value: "qualification_number", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { company_name: "所属单位" }, + { qualification_name: "资质名称" }, + { qualification_number: "资质编号" }, + { get_date: "发证日期" }, + { effective_date: "有效日期" }, + { qualification_status_text: "资质状态" }, + { remark: "备注" }, + ], +}; -export const supervision_material_equipment_info:Iconfig = { - fetchFn: apiSupervisionMaterialEquipmentInfoLists, - serchList: [ - { - label: '材料/设备名称', - value: "name" - }, - { - label:"材料/设备品牌", - value:'brand', - }, - { - label:"合同约定品牌", - value:'contract_brand', - select:[ - { - name:"否", - value:0 - }, - { - name:"是", - value:1 - }, - - ] - }, - { - label:"类型", - value:'type', - select:[ - { - name:"材料", - value:0 - }, - { - name:"设备", - value:1 - }, - - ] - }, - ], - tableList: [ - { project_name: "项目名称" }, - { name: "材料/设备名称" }, - { brand: "材料/设备品牌" }, - { model: "型号" }, - { unit: "计数单位" }, - { number: "计划数量" }, - { contract_brand_text: "合同约定品牌" }, - { type_text: "类型" }, - { remark: "备注" }, - ] -} +export const cost_approved_projects: Iconfig = { + fetchFn: apiCostApprovedProjectLists, + serchList: [ + { + label: "合同名称", + value: "contract_name", + }, + { + label: "合同编号", + value: "contract_num", + }, + ], + tableList: [ + { contract_num: "合同编号" }, + { contract_name: "合同名称" }, + { part_a: "甲方签约单位" }, + { part_b: "乙方签约单位" }, + { start_date: "合同计划开始日期" }, + { end_date: "合同计划结束日期" }, + { project_money: "工程总投资" }, + { business_nature_text: "业务性质" }, + { dept: "签订部门" }, + { fund_sources_text: "资金来源" }, + { project_director: "项目总监" }, + { regulators: "监管部门" }, + ], +}; -export const supervision_participating_units_qualifications:Iconfig = { - fetchFn: apiSupervisionParticipatingUnitsQualificationsLists, - serchList: [ - { - label: '资质名称', - value: "qualification_name" - }, - { - label:"资质编号", - value:'qualification_number', - }, - ], - tableList: [ - { project_name: "项目名称" }, - { company_name: "所属单位" }, - { qualification_name: "资质名称" }, - { qualification_number: "资质编号" }, - { get_date: "发证日期" }, - { effective_date: "有效日期" }, - { qualification_status_text: "资质状态" }, - { remark: "备注" }, - ] -} +export const cost_project: Iconfig = { + fetchFn: apiCostProjectLists, + serchList: [ + { + label: "项目编号", + value: "project_num", + }, + { + label: "项目名称", + value: "project_name", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { address: "具体地址" }, + { starting: "计划开始日期" }, + { endtime: "计划结束日期" }, + { jhgq: "计划工期(天)" }, + { person_text: "项目相关人员" }, + { invest: "项目总投资(元)" }, + { budget: "预算造价(元)" }, + { cost: "送审造价(元)" }, + { approval: "审定造价(元)" }, + { aunit: "委托单位" }, + { acontactnum: "联系电话" }, + { date: "登记日期" }, + { generalize: "项目规模及概括" }, + { note: "注意事项" }, + { remark: "备注" }, + ], +}; -export const cost_approved_projects:Iconfig = { - fetchFn: apiCostApprovedProjectLists, - serchList: [ - { - label: '合同名称', - value: "contract_name" - }, - { - label:"合同编号", - value:'contract_num', - }, - ], - tableList: [ - { contract_num: "合同编号" }, - { contract_name: "合同名称" }, - { part_a: "甲方签约单位" }, - { part_b: "乙方签约单位" }, - { start_date: "合同计划开始日期" }, - { end_date: "合同计划结束日期" }, - { project_money: "工程总投资" }, - { business_nature_text: "业务性质" }, - { dept: "签订部门" }, - { fund_sources_text: "资金来源" }, - { project_director: "项目总监" }, - { regulators: "监管部门" }, - ] -} +export const task_type: Iconfig = { + fetchFn: apiTaskTypeLists, + dictData: "superior_category", + serchList: [ + { + label: "任务名称", + value: "unit_name", + }, + { + label: "上级类别", + value: "superior_sort", + select: "superior_category", + }, + ], + tableList: [ + { dataid: "标识" }, + { num: "任务编号" }, + { name: "任务名称" }, + { level: "任务级次" }, + { remarks: "备注" }, + ], +}; -export const cost_project:Iconfig = { - fetchFn: apiCostProjectLists, - serchList: [ - { - label: '项目编号', - value: "project_num" - }, - { - label:"项目名称", - value:'project_name', - }, - ], - tableList: [ - { project_name: "项目名称" }, - { address: "具体地址" }, - { starting: "计划开始日期" }, - { endtime: "计划结束日期" }, - { jhgq: "计划工期(天)" }, - { person_text: "项目相关人员" }, - { invest: "项目总投资(万元)" }, - { budget: "预算造价(万元)" }, - { cost: "送审造价(万元)" }, - { approval: "审定造价(万元)" }, - { aunit: "委托单位" }, - { acontactnum: "联系电话" }, - { date: "登记日期" }, - { generalize: "项目规模及概括" }, - { note: "注意事项" }, - { remark: "备注" }, - ] -} +export const consult_project: Iconfig = { + fetchFn: apiConsultProjectLists, + dictData: "", + serchList: [ + { + label: "项目名称", + value: "project_name", + }, + { + label: "项目编号", + value: "project_code", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { project_code: "项目编号" }, + { company: "委托单位" }, + { total_investment: "总投资" }, + { contract: "关联合同" }, + { engineering_status_text: "工程状态" }, + { consult_type_text: "咨询类型" }, + { supervision_department: "监管部门" }, + { implementation_department: "实施部门" }, + { project_manager: "项目负责人员" }, + ], +}; -export const task_type:Iconfig = { - fetchFn: apiTaskTypeLists, - dictData:"superior_category", - serchList: [ - { - label: '任务名称', - value: "unit_name" - }, - { - label:"上级类别", - value:'superior_sort', - select:'superior_category' - }, - ], - tableList: [ - { dataid: "标识" }, - { num: "任务编号" }, - { name: "任务名称" }, - { level: "任务级次" }, - { remarks: "备注" }, - ] -} +export const zjzx_invoice: Iconfig = { + fetchFn: apiZjzxInvoiceLists, + dictData: "zjzx_invoice_type", + serchList: [ + { + label: "开票编号", + value: "invoice_code", + }, + { + label: "发票类型", + value: "invoice_type", + select: "zjzx_invoice_type", + }, + { + label: "开票单位名称", + value: "apply_company", + }, + ], + tableList: [ + { project_name: "项目名称" }, + { invoice_code: "开票编号" }, + { invoice_type_text: "发票类型" }, + { apply_amount: "开票申请金额" }, + ], +}; -export const consult_project:Iconfig = { - fetchFn: apiConsultProjectLists, - dictData:"", - serchList: [ - { - label: '项目名称', - value: "project_name" - }, - { - label:"项目编号", - value:'project_code', - }, - ], - tableList: [ - { project_name: "项目名称" }, - { project_code: "项目编号" }, - { company: "委托单位" }, - { total_investment: "总投资" }, - { contract: "关联合同" }, - { engineering_status_text: "工程状态" }, - { consult_type_text: "咨询类型" }, - { supervision_department: "监管部门" }, - { implementation_department: "实施部门" }, - { project_manager: "项目负责人员" }, - ] -} +export const subcontracting_contract: Iconfig = { + fetchFn: apiSubcontractingContractLists, + // dictData: "zjzx_invoice_type", + serchList: [ + { + label: "合同编号", + value: "contract_no", + }, + ], + tableList: [ + { supplier_name: "供应商名称" }, + { project_name: "项目名称" }, + { contract_no: "合同编号" }, + { contract_name: "合同名称" }, + { signing_date: "签订日期" }, + { contract_type: "合同类型" }, + { contract_amount: "合同金额" }, + { negotiation_amount: "洽商金额" }, + { excluding_tax_amount: "不含税金额" }, + { reality_contract_amount: "实际合同金额" }, + { has_pay_amount: "已付款金额" }, + { not_pay_amount: "未付款金额" }, + { invoice_amount: "已开票金额" }, + { not_invoice_amount: "未开票金额" }, + { refund_amount: "已退款金额" }, + { settlement_difference: "结算差异" }, + ], +}; -export const zjzx_invoice:Iconfig = { - fetchFn: apiZjzxInvoiceLists, - dictData:"zjzx_invoice_type", - serchList: [ - { - label: '开票编号', - value: "invoice_code" - }, - { - label: '发票类型', - value: "invoice_type", - select:'zjzx_invoice_type' - }, - { - label:"开票单位名称", - value:'apply_company', - }, - ], - tableList: [ - { project_name: "项目名称" }, - { invoice_code: "开票编号" }, - { invoice_type_text: "发票类型" }, - { apply_amount: "开票申请金额" }, - - ] -} +export const supplier_tab: Iconfig = { + fetchFn: apisupplierLists, + serchList: [ + { + label: "联系人", + value: "contacts", + }, + { + label: "建档人", + value: "create_user_name", + }, + { + label: "供应商编码", + value: "supplier_code", + }, + ], + tableList: [ + { create_user_name: "建档人" }, + { supplier_code: "供应商编码" }, + { supplier_name: "供应商名称" }, + { brand_category: "品牌类别" }, + { supplier_group: "供应商分组" }, + { supplier_category: "供应商分类" }, + { supplier_grade: "供应商等级" }, + { contacts: "联系人" }, + { contacts_sex: "性别" }, + { phone: "电话号码" }, + ], +}; +import { apiProcurementContractLists } from "@/api/procurement_contract"; +export const procurement_contract: Iconfig = { + fetchFn: apiProcurementContractLists, + serchList: [ + { + label: "合同编号", + value: "contract_no", + }, + ], + tableList: [ + { supplier_name: "供应商名称" }, + { project_name: "项目名称" }, + { contract_name: "合同名称" }, + { contract_type: "合同类型" }, + { signing_date: "签订日期" }, + { contract_amount: "合同金额" }, + { has_pay_amount: "已付款金额" }, + { has_invoice_amount: "已开票金额" }, + { not_pay_amount: "未付款金额" }, + { not_invoice_amount: "未开票金额" }, + { refund_amount: "退款金额" }, + { has_storage_num: "已入库数量" }, + { not_storage_num: "未入库数量" }, + { num: "数量" }, + ], +}; +import { paymentplanLists } from "@/api/paymentplan"; +export const finance_payment_plan: Iconfig = { + fetchFn: paymentplanLists, + dictData: "pay_status", + serchList: [ + { + label: "状态", + value: "status", + select: "pay_status", + }, + ], + tableList: [ + { supplier_name: "供应商名称" }, + { project_name: "项目名称" }, + { contract_name: "合同名称" }, + { contract_type_text: "合同类型" }, + { pay_date: "计划付款日期" }, + { amount: "金额" }, + { period_text: "期次" }, + { status_text: "状态" }, + { has_payment_amount: "已付款" }, + { not_payment_amount: "未付款" }, + ], +}; +import { bankaccountLists } from "@/api/bank_account"; +export const bank_account: Iconfig = { + fetchFn: bankaccountLists, + serchList: [ + { + label: "账户编码", + value: "account_sn", + }, + { + label: "账号", + value: "account", + }, + { + label: "开户银行", + value: "deposit_bank", + }, + { + label: "开户名称", + value: "account_name", + }, + ], + tableList: [ + { account_sn: "账户编码" }, + { deposit_bank: "开户银行" }, + { account_name: "开户名称" }, + { account: "账号" }, + { account_opening_date: "开户日期" }, + { opening_amount: "期初金额" }, + ], +}; diff --git a/src/components/formTable/index.vue b/src/components/formTable/index.vue index b7a6aa1..abf9b1b 100644 --- a/src/components/formTable/index.vue +++ b/src/components/formTable/index.vue @@ -32,7 +32,7 @@ diff --git a/src/components/project/index.vue b/src/components/project/index.vue index cfccc35..cdd03b4 100644 --- a/src/components/project/index.vue +++ b/src/components/project/index.vue @@ -26,7 +26,7 @@ - + @@ -47,7 +47,7 @@ - + \ No newline at end of file diff --git a/src/components/uploadAnnex/index.vue b/src/components/uploadAnnex/index.vue index 9b0709e..188a1c1 100644 --- a/src/components/uploadAnnex/index.vue +++ b/src/components/uploadAnnex/index.vue @@ -7,12 +7,10 @@ 上传 -
- + +
+ {{ item.name }} + x
- - diff --git a/src/views/InvoicingRequests/detail.js b/src/views/InvoicingRequests/detail.js new file mode 100644 index 0000000..9b243c3 --- /dev/null +++ b/src/views/InvoicingRequests/detail.js @@ -0,0 +1,118 @@ +const detailConfig = { + title: "开票申请", + config: [ + { + label: "合同编号", + value: "contract_code" + }, + { + label: "合同名称", + value: "contract_name" + }, + { + label: "项目名称", + value: "project_name" + }, + { + label: "项目编码", + value: "project_code" + }, + { + label: "客户名称", + value: "custom_name" + }, + { + label: "开票日期", + value: "invoicing_date" + }, + { + label: "合同金额", + value: "contract_amount" + }, + { + label: "期次", + value: "period_text" + }, + { + label: "税率", + value: "tax_rate_text" + }, + { + label: "发票类型", + value: "invoice_type_text" + }, + + { + label: "开票金额(含税)", + value: "invoicing_amount" + }, + { + label: "开票内容", + value: "content", + column: 1 + }, + { + label: "发票编号", + value: "invoice_no" + }, + + { + label: "开票公司名称", + value: "invoicing_company_name" + }, + { + label: "纳税人识别号", + value: "taxpayer_identification_number" + }, + { + label: "开户银行", + value: "deposit_bank" + }, + { + label: "账号", + value: "bank_accnout" + }, + { + label: "开户地址及电话", + value: "address_phone" + }, + { + label: "收票地址", + value: "receiving_address" + }, + { + label: "联系人", + value: "contacts" + }, + + { + label: "联系电话", + value: "phone" + }, + { + label: "邮寄时间", + value: "mailing_time" + }, + { + label: "邮寄方式", + value: "mailing_type" + }, + { + label: "邮寄单号", + value: "mailing_no" + }, + { + label: "备注", + value: "remark", + column: 1 + }, + { + label: "附件", + value: "annex", + column: 1 + + }, + ], + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/InvoicingRequests/detail.vue b/src/views/InvoicingRequests/detail.vue deleted file mode 100644 index 96e4dfe..0000000 --- a/src/views/InvoicingRequests/detail.vue +++ /dev/null @@ -1,109 +0,0 @@ - - - - - diff --git a/src/views/InvoicingRequests/edit.vue b/src/views/InvoicingRequests/edit.vue index 9524ab0..bea39e9 100644 --- a/src/views/InvoicingRequests/edit.vue +++ b/src/views/InvoicingRequests/edit.vue @@ -1,7 +1,6 @@