diff --git a/src/api/contract_ledger.ts b/src/api/contract_ledger.ts new file mode 100644 index 0000000..97a1643 --- /dev/null +++ b/src/api/contract_ledger.ts @@ -0,0 +1,9 @@ +import request from "@/utils/request"; + +// 财务管理--合同台账列表 +export function apiContractLedgerLists(params: any) { + return request.get({ + url: "/cost_project.cost_approved_project/ledger", + params, + }); +} diff --git a/src/api/cost_approved_project.ts b/src/api/cost_approved_project.ts index c7ae6d8..5db29c9 100644 --- a/src/api/cost_approved_project.ts +++ b/src/api/cost_approved_project.ts @@ -1,26 +1,49 @@ -import request from '@/utils/request' +import request from "@/utils/request"; // 待立项造价项目列表 export function apiCostApprovedProjectLists(params: any) { - return request.get({ url: '/cost_project.cost_approved_project/lists', params }) + return request.get({ + url: "/cost_project.cost_approved_project/lists", + params, + }); } // 添加待立项造价项目 export function apiCostApprovedProjectAdd(params: any) { - return request.post({ url: '/cost_project.cost_approved_project/add', params }) + return request.post({ + url: "/cost_project.cost_approved_project/add", + params, + }); } // 编辑待立项造价项目 export function apiCostApprovedProjectEdit(params: any) { - return request.post({ url: '/cost_project.cost_approved_project/edit', params }) + return request.post({ + url: "/cost_project.cost_approved_project/edit", + params, + }); } // 删除待立项造价项目 export function apiCostApprovedProjectDelete(params: any) { - return request.post({ url: '/cost_project.cost_approved_project/delete', params }) + return request.post({ + url: "/cost_project.cost_approved_project/delete", + params, + }); } // 待立项造价项目详情 export function apiCostApprovedProjectDetail(params: any) { - return request.get({ url: '/cost_project.cost_approved_project/detail', params }) -} \ No newline at end of file + return request.get({ + url: "/cost_project.cost_approved_project/detail", + params, + }); +} + +// 待立项造价项目列表 +export function apiCostApprovedProjectSerch(params: any) { + return request.get({ + url: "/cost_project.cost_approved_project/datas", + params, + }); +} diff --git a/src/api/financial_invoice.ts b/src/api/financial_invoice.ts new file mode 100644 index 0000000..e9a4e7d --- /dev/null +++ b/src/api/financial_invoice.ts @@ -0,0 +1,31 @@ +import request from "@/utils/request"; + +// 财务管理--开票台账列表 +export function apiFinancialInvoiceLists(params: any) { + return request.get({ url: "/financial.financial_invoice/lists", params }); +} + +// 添加财务管理--开票台账 +export function apiFinancialInvoiceAdd(params: any) { + return request.post({ url: "/financial.financial_invoice/add", params }); +} + +// 编辑财务管理--开票台账 +export function apiFinancialInvoiceEdit(params: any) { + return request.post({ url: "/financial.financial_invoice/edit", params }); +} + +// 删除财务管理--开票台账 +export function apiFinancialInvoiceDelete(params: any) { + return request.post({ url: "/financial.financial_invoice/delete", params }); +} + +// 财务管理--开票台账详情 +export function apiFinancialInvoiceDetail(params: any) { + return request.get({ url: "/financial.financial_invoice/detail", params }); +} + +// 财务管理--开票台账列表 +export function apiFinancialInvoiceSearch(params: any) { + return request.get({ url: "/financial.financial_invoice/datas", params }); +} diff --git a/src/api/financial_refund.ts b/src/api/financial_refund.ts new file mode 100644 index 0000000..d463363 --- /dev/null +++ b/src/api/financial_refund.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 财务管理--到账台账列表 +export function apiFinancialRefundLists(params: any) { + return request.get({ url: '/financial.financial_refund/lists', params }) +} + +// 添加财务管理--到账台账 +export function apiFinancialRefundAdd(params: any) { + return request.post({ url: '/financial.financial_refund/add', params }) +} + +// 编辑财务管理--到账台账 +export function apiFinancialRefundEdit(params: any) { + return request.post({ url: '/financial.financial_refund/edit', params }) +} + +// 删除财务管理--到账台账 +export function apiFinancialRefundDelete(params: any) { + return request.post({ url: '/financial.financial_refund/delete', params }) +} + +// 财务管理--到账台账详情 +export function apiFinancialRefundDetail(params: any) { + return request.get({ url: '/financial.financial_refund/detail', params }) +} \ No newline at end of file diff --git a/src/api/financial_settlement.ts b/src/api/financial_settlement.ts new file mode 100644 index 0000000..caf9542 --- /dev/null +++ b/src/api/financial_settlement.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 财务管理--项目结算列表 +export function apiFinancialSettlementLists(params: any) { + return request.get({ url: '/financial.financial_settlement/lists', params }) +} + +// 添加财务管理--项目结算 +export function apiFinancialSettlementAdd(params: any) { + return request.post({ url: '/financial.financial_settlement/add', params }) +} + +// 编辑财务管理--项目结算 +export function apiFinancialSettlementEdit(params: any) { + return request.post({ url: '/financial.financial_settlement/edit', params }) +} + +// 删除财务管理--项目结算 +export function apiFinancialSettlementDelete(params: any) { + return request.post({ url: '/financial.financial_settlement/delete', params }) +} + +// 财务管理--项目结算详情 +export function apiFinancialSettlementDetail(params: any) { + return request.get({ url: '/financial.financial_settlement/detail', params }) +} \ No newline at end of file diff --git a/src/components/dialogTable/dialogTableConfig.ts b/src/components/dialogTable/dialogTableConfig.ts index 488fd94..ce5e949 100644 --- a/src/components/dialogTable/dialogTableConfig.ts +++ b/src/components/dialogTable/dialogTableConfig.ts @@ -530,7 +530,6 @@ export const finance_payment_plan: Iconfig = { }; import { bankaccountLists } from "@/api/bank_account"; - export const bank_account: Iconfig = { fetchFn: bankaccountLists, serchList: [ @@ -560,3 +559,28 @@ export const bank_account: Iconfig = { { opening_amount: "期初金额" }, ], }; + +import { apiFinancialInvoiceLists } from "@/api/financial_invoice"; + +export const financial_invoice: Iconfig = { + fetchFn: apiFinancialInvoiceLists, + serchList: [ + { + label: "开票编号", + value: "invoice_type", + }, + ], + tableList: [ + { contract_name: "合同名称" }, + { invoice_code: "开票编号" }, + { apply_amount: "开票申请金额" }, + { apply_company: "开票单位名称" }, + { part_a: "甲方签约单位" }, + { part_b: "乙方签约单位" }, + { sign_money: "签订金额(元)" }, + { sign_time: "签约时间" }, + { invoice_type_text: "发票类型" }, + { is_refund: "到账状态" }, + { refund_amount: "到账金额" }, + ], +}; diff --git a/src/views/contract_ledger/edit.vue b/src/views/contract_ledger/edit.vue new file mode 100644 index 0000000..1d3ceb5 --- /dev/null +++ b/src/views/contract_ledger/edit.vue @@ -0,0 +1,147 @@ + + + diff --git a/src/views/contract_ledger/index.vue b/src/views/contract_ledger/index.vue new file mode 100644 index 0000000..331147f --- /dev/null +++ b/src/views/contract_ledger/index.vue @@ -0,0 +1,137 @@ + + + + diff --git a/src/views/financial_invoice/detail.js b/src/views/financial_invoice/detail.js new file mode 100644 index 0000000..a743901 --- /dev/null +++ b/src/views/financial_invoice/detail.js @@ -0,0 +1,98 @@ +const detailConfig = { + title: "财务管理--开票台账", + config: [ + { + label: "合同名称", + value: "contract_name" + }, + { + label: "合同类型", + value: "contract_type" + }, + { + label: "甲方签约单位", + value: "part_a" + }, + { + label: "乙方签约单位", + value: "part_b" + }, + { + label: "签订金额", + value: "sign_money" + }, + { + label: "合同签订日期", + value: "sign_time" + }, + { + label: "累计已开票(元)", + value: "total_invoice_amount" + }, + { + label: "累计已到账(元)", + value: "total_refund_amount" + }, + { + label: "开票编号", + value: "invoice_code", + }, + { + label: "发票类型", + value: "invoice_type_text", + }, + { + label: "开票申请金额", + value: "apply_amount", + }, + { + label: "开票单位名称", + value: "apply_company", + }, + { + label: "纳税人识别号", + value: "apply_company_number", + }, + { + label: "开票单位注册地址", + value: "apply_company_telephone", + + }, + { + label: "开户银行", + value: "apply_company_bank", + }, + + { + label: "开户账号", + value: "apply_company_account", + }, + { + label: "开票联系人", + value: "apply_contact", + }, + { + label: "发票接收邮箱", + value: "apply_email", + }, + { + label: "对应付款方式", + value: "pay_type", + }, + { + label: "开票内容", + value: "invoice_content", + }, + { + label: "创建人", + value: "create_user", + }, + { + label: "创建时间", + value: "create_time", + }, + + ] + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/financial_invoice/edit.vue b/src/views/financial_invoice/edit.vue new file mode 100644 index 0000000..4395ffb --- /dev/null +++ b/src/views/financial_invoice/edit.vue @@ -0,0 +1,335 @@ + + + diff --git a/src/views/financial_invoice/index.vue b/src/views/financial_invoice/index.vue new file mode 100644 index 0000000..4e402c2 --- /dev/null +++ b/src/views/financial_invoice/index.vue @@ -0,0 +1,155 @@ + + + + diff --git a/src/views/financial_refund/detail.js b/src/views/financial_refund/detail.js new file mode 100644 index 0000000..f982537 --- /dev/null +++ b/src/views/financial_refund/detail.js @@ -0,0 +1,65 @@ +const detailConfig = { + title: "财务管理--到账台账", + config: [ + { + label: "合同名称", + value: "contract_name" + }, + { + label: "合同类型", + value: "contract_type" + }, + { + label: "甲方签约单位", + value: "part_a" + }, + { + label: "乙方签约单位", + value: "part_b" + }, + { + label: "签订金额", + value: "sign_money" + }, + { + label: "合同签订日期", + value: "sign_time" + }, + { + label: "累计已开票(元)", + value: "total_invoice_amount" + }, + { + label: "累计已到账(元)", + value: "total_refund_amount" + }, + { + label: "开票台账编号", + value: "invoice_code", + }, + { + label: "本次到账金额", + value: "amount", + }, + { + label: "到账日期", + value: "date", + }, + { + label: "说明", + value: "remark", + column: 1, + }, + { + label: "创建人", + value: "create_user", + }, + { + label: "创建时间", + value: "create_time", + }, + + ] + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/financial_refund/edit.vue b/src/views/financial_refund/edit.vue new file mode 100644 index 0000000..6fc69e8 --- /dev/null +++ b/src/views/financial_refund/edit.vue @@ -0,0 +1,220 @@ + + + diff --git a/src/views/financial_refund/index.vue b/src/views/financial_refund/index.vue new file mode 100644 index 0000000..0415fbf --- /dev/null +++ b/src/views/financial_refund/index.vue @@ -0,0 +1,145 @@ + + + + diff --git a/src/views/financial_settlement/detail.js b/src/views/financial_settlement/detail.js new file mode 100644 index 0000000..6310a4f --- /dev/null +++ b/src/views/financial_settlement/detail.js @@ -0,0 +1,59 @@ +const detailConfig = { + title: "财务管理--项目结算", + config: [ + { + label: "合同名称", + value: "contract_name" + }, + { + label: "合同类型", + value: "contract_type" + }, + { + label: "甲方签约单位", + value: "part_a" + }, + { + label: "乙方签约单位", + value: "part_b" + }, + { + label: "签订金额", + value: "sign_money" + }, + { + label: "合同签订日期", + value: "sign_time" + }, + { + label: "累计已开票(元)", + value: "total_invoice_amount" + }, + { + label: "累计已到账(元)", + value: "total_refund_amount" + }, + { + label: "结算金额", + value: "amount", + }, + { + label: "结算日期", + value: "date", + }, + + { + label: "结算备注", + value: "remark", + column: 1, + }, + { + label: "附件", + value: "annex", + column: 1, + }, + + ] + +} +export default detailConfig; \ No newline at end of file diff --git a/src/views/financial_settlement/edit.vue b/src/views/financial_settlement/edit.vue new file mode 100644 index 0000000..fe22986 --- /dev/null +++ b/src/views/financial_settlement/edit.vue @@ -0,0 +1,186 @@ + + + diff --git a/src/views/financial_settlement/index.vue b/src/views/financial_settlement/index.vue new file mode 100644 index 0000000..da697fd --- /dev/null +++ b/src/views/financial_settlement/index.vue @@ -0,0 +1,141 @@ + + + + diff --git a/src/views/project_cost_budget/edit.vue b/src/views/project_cost_budget/edit.vue index 2db992e..2aa1459 100644 --- a/src/views/project_cost_budget/edit.vue +++ b/src/views/project_cost_budget/edit.vue @@ -56,8 +56,10 @@ - + +