diff --git a/src/api/project_cost_adjustment.ts b/src/api/project_cost_adjustment.ts
new file mode 100644
index 0000000..bbffc6d
--- /dev/null
+++ b/src/api/project_cost_adjustment.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 项目财务-成本调整列表
+export function apiProjectCostAdjustmentLists(params: any) {
+ return request.get({ url: '/project.project_cost_adjustment/lists', params })
+}
+
+// 添加项目财务-成本调整
+export function apiProjectCostAdjustmentAdd(params: any) {
+ return request.post({ url: '/project.project_cost_adjustment/add', params })
+}
+
+// 编辑项目财务-成本调整
+export function apiProjectCostAdjustmentEdit(params: any) {
+ return request.post({ url: '/project.project_cost_adjustment/edit', params })
+}
+
+// 删除项目财务-成本调整
+export function apiProjectCostAdjustmentDelete(params: any) {
+ return request.post({ url: '/project.project_cost_adjustment/delete', params })
+}
+
+// 项目财务-成本调整详情
+export function apiProjectCostAdjustmentDetail(params: any) {
+ return request.get({ url: '/project.project_cost_adjustment/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/project_job_type copy.ts b/src/api/project_job_type copy.ts
new file mode 100644
index 0000000..e69de29
diff --git a/src/api/project_loan_apply.ts b/src/api/project_loan_apply.ts
new file mode 100644
index 0000000..8e488ac
--- /dev/null
+++ b/src/api/project_loan_apply.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 项目财务-借款申请列表
+export function apiProjectLoanApplyLists(params: any) {
+ return request.get({ url: '/project.project_loan_apply/lists', params })
+}
+
+// 添加项目财务-借款申请
+export function apiProjectLoanApplyAdd(params: any) {
+ return request.post({ url: '/project.project_loan_apply/add', params })
+}
+
+// 编辑项目财务-借款申请
+export function apiProjectLoanApplyEdit(params: any) {
+ return request.post({ url: '/project.project_loan_apply/edit', params })
+}
+
+// 删除项目财务-借款申请
+export function apiProjectLoanApplyDelete(params: any) {
+ return request.post({ url: '/project.project_loan_apply/delete', params })
+}
+
+// 项目财务-借款申请详情
+export function apiProjectLoanApplyDetail(params: any) {
+ return request.get({ url: '/project.project_loan_apply/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/project_travel_reimbursement.ts b/src/api/project_travel_reimbursement.ts
new file mode 100644
index 0000000..1b209a7
--- /dev/null
+++ b/src/api/project_travel_reimbursement.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 项目财务-差旅报销列表
+export function apiProjectTravelReimbursementLists(params: any) {
+ return request.get({ url: '/project.project_travel_reimbursement/lists', params })
+}
+
+// 添加项目财务-差旅报销
+export function apiProjectTravelReimbursementAdd(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement/add', params })
+}
+
+// 编辑项目财务-差旅报销
+export function apiProjectTravelReimbursementEdit(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement/edit', params })
+}
+
+// 删除项目财务-差旅报销
+export function apiProjectTravelReimbursementDelete(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement/delete', params })
+}
+
+// 项目财务-差旅报销详情
+export function apiProjectTravelReimbursementDetail(params: any) {
+ return request.get({ url: '/project.project_travel_reimbursement/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/project_travel_reimbursement_detail.ts b/src/api/project_travel_reimbursement_detail.ts
new file mode 100644
index 0000000..3b1e4fc
--- /dev/null
+++ b/src/api/project_travel_reimbursement_detail.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 项目财务-差旅报销-报销明细列表
+export function apiProjectTravelReimbursementDetailLists(params: any) {
+ return request.get({ url: '/project.project_travel_reimbursement_detail/lists', params })
+}
+
+// 添加项目财务-差旅报销-报销明细
+export function apiProjectTravelReimbursementDetailAdd(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement_detail/add', params })
+}
+
+// 编辑项目财务-差旅报销-报销明细
+export function apiProjectTravelReimbursementDetailEdit(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement_detail/edit', params })
+}
+
+// 删除项目财务-差旅报销-报销明细
+export function apiProjectTravelReimbursementDetailDelete(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement_detail/delete', params })
+}
+
+// 项目财务-差旅报销-报销明细详情
+export function apiProjectTravelReimbursementDetailDetail(params: any) {
+ return request.get({ url: '/project.project_travel_reimbursement_detail/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/project_travel_reimbursement_invoice_detail.ts b/src/api/project_travel_reimbursement_invoice_detail.ts
new file mode 100644
index 0000000..876aa09
--- /dev/null
+++ b/src/api/project_travel_reimbursement_invoice_detail.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 项目财务-差旅报销-发票明细列表
+export function apiProjectTravelReimbursementInvoiceDetailLists(params: any) {
+ return request.get({ url: '/project.project_travel_reimbursement_invoice_detail/lists', params })
+}
+
+// 添加项目财务-差旅报销-发票明细
+export function apiProjectTravelReimbursementInvoiceDetailAdd(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement_invoice_detail/add', params })
+}
+
+// 编辑项目财务-差旅报销-发票明细
+export function apiProjectTravelReimbursementInvoiceDetailEdit(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement_invoice_detail/edit', params })
+}
+
+// 删除项目财务-差旅报销-发票明细
+export function apiProjectTravelReimbursementInvoiceDetailDelete(params: any) {
+ return request.post({ url: '/project.project_travel_reimbursement_invoice_detail/delete', params })
+}
+
+// 项目财务-差旅报销-发票明细详情
+export function apiProjectTravelReimbursementInvoiceDetailDetail(params: any) {
+ return request.get({ url: '/project.project_travel_reimbursement_invoice_detail/detail', params })
+}
\ No newline at end of file
diff --git a/src/api/project_trip_apply.ts b/src/api/project_trip_apply.ts
new file mode 100644
index 0000000..1edd809
--- /dev/null
+++ b/src/api/project_trip_apply.ts
@@ -0,0 +1,26 @@
+import request from '@/utils/request'
+
+// 项目财务-出差申请列表
+export function apiProjectTripApplyLists(params: any) {
+ return request.get({ url: '/project.project_trip_apply/lists', params })
+}
+
+// 添加项目财务-出差申请
+export function apiProjectTripApplyAdd(params: any) {
+ return request.post({ url: '/project.project_trip_apply/add', params })
+}
+
+// 编辑项目财务-出差申请
+export function apiProjectTripApplyEdit(params: any) {
+ return request.post({ url: '/project.project_trip_apply/edit', params })
+}
+
+// 删除项目财务-出差申请
+export function apiProjectTripApplyDelete(params: any) {
+ return request.post({ url: '/project.project_trip_apply/delete', params })
+}
+
+// 项目财务-出差申请详情
+export function apiProjectTripApplyDetail(params: any) {
+ return request.get({ url: '/project.project_trip_apply/detail', params })
+}
\ No newline at end of file
diff --git a/src/components/project/index.vue b/src/components/project/index.vue
index b89f085..cfccc35 100644
--- a/src/components/project/index.vue
+++ b/src/components/project/index.vue
@@ -41,7 +41,7 @@
-
+
@@ -58,12 +58,14 @@ import { timeFormat } from '@/utils/util'
const props = defineProps({
custom_id: {
type: String
- }
+ },
+ is_budget: Number
})
// 查询条件
const queryParams = reactive({
name: '',
- custom_id: props.custom_id
+ custom_id: props.custom_id,
+ is_budget: props.is_budget
});
const { dictData } = useDictData('project_type,project_content,bidding_method,relationship,information_sources,construction_funds_sources,construction_financial_status,construction_recognition,my_construction_recognition,strategic_significance,industry,unit_nature')
diff --git a/src/components/projectCostBudget/index.vue b/src/components/projectCostBudget/index.vue
new file mode 100644
index 0000000..82da503
--- /dev/null
+++ b/src/components/projectCostBudget/index.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 文件{{
+ index + 1 }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/project_loan_apply/index.vue b/src/components/project_loan_apply/index.vue
new file mode 100644
index 0000000..60ec974
--- /dev/null
+++ b/src/components/project_loan_apply/index.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/project_travel_reimbursement/index.vue b/src/components/project_travel_reimbursement/index.vue
new file mode 100644
index 0000000..6264ce6
--- /dev/null
+++ b/src/components/project_travel_reimbursement/index.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/project_trip_apply/index.vue b/src/components/project_trip_apply/index.vue
new file mode 100644
index 0000000..14575fd
--- /dev/null
+++ b/src/components/project_trip_apply/index.vue
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/projectcostTemLists/index.vue b/src/components/projectcostTemLists/index.vue
new file mode 100644
index 0000000..4d05fba
--- /dev/null
+++ b/src/components/projectcostTemLists/index.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ row.is_travel == 1 ? '是' : '否' }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/project_cost_adjustment/edit.vue b/src/views/project_cost_adjustment/edit.vue
new file mode 100644
index 0000000..c1724d5
--- /dev/null
+++ b/src/views/project_cost_adjustment/edit.vue
@@ -0,0 +1,178 @@
+
+
+
+
+
diff --git a/src/views/project_cost_adjustment/index.vue b/src/views/project_cost_adjustment/index.vue
new file mode 100644
index 0000000..c3bec63
--- /dev/null
+++ b/src/views/project_cost_adjustment/index.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+ 文件{{
+ index + 1 }}
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_cost_budget/edit.vue b/src/views/project_cost_budget/edit.vue
index 5555435..679a9d7 100644
--- a/src/views/project_cost_budget/edit.vue
+++ b/src/views/project_cost_budget/edit.vue
@@ -55,12 +55,20 @@
-
-
-
-
+
+
+
+
+
+
+
@@ -85,11 +93,11 @@
-
+
+
+
+
-
@@ -101,18 +109,21 @@ import Popup from '@/components/popup/index.vue'
import { apiProjectCostBudgetAdd, apiProjectCostBudgetEdit, apiProjectCostBudgetDetail } from '@/api/project_cost_budget'
import { timeFormat } from '@/utils/util'
import type { PropType } from 'vue'
-
-import configs from "@/config"
-import useUserStore from "@/stores/modules/user";
import { deptAll } from '@/api/org/department'
import { getAll } from '@/api/org/organization'
import projectDialog from '@/components/project/index.vue'
+import projectcostTemLists from '@/components/projectcostTemLists/index.vue'
+
+import configs from "@/config"
+import useUserStore from "@/stores/modules/user";
+
const base_url = configs.baseUrl + configs.urlPrefix
const userStore = useUserStore();
const list1 = reactive([])
const list2 = reactive([])
const showDialog = ref(false)
+const showDialog1 = ref(false)
defineProps({
@@ -145,6 +156,7 @@ const formData = reactive({
"cost_budget_detail": [
{
"project_cost_temp_id": 2,
+ project_cost_temp_name: "",
"unit": "元",
"amount": 100,
"standard": "aaaa22",
@@ -152,7 +164,7 @@ const formData = reactive({
}
]
})
-const customEvent = (e) => {
+const customEvent = (e: any) => {
console.log(e)
formData.project_id = e.id
formData.project_code = e.project_code
@@ -160,6 +172,19 @@ const customEvent = (e) => {
showDialog.value = false
}
+// 获取点击行的index
+let rowIndex = 0
+const openDialog1 = (e: any) => {
+ rowIndex = e.$index
+ showDialog1.value = true
+}
+const customEvent1 = (e: any) => {
+ formData.cost_budget_detail[rowIndex].project_cost_temp_name = e.project_type_name
+ formData.cost_budget_detail[rowIndex].project_cost_temp_id = e.id
+ showDialog1.value = false
+}
+
+
// 表单验证
const formRules = reactive({
project_id: [{
diff --git a/src/views/project_cost_budget_detail/edit.vue b/src/views/project_cost_budget_detail/edit.vue
index 966cb57..3185c3c 100644
--- a/src/views/project_cost_budget_detail/edit.vue
+++ b/src/views/project_cost_budget_detail/edit.vue
@@ -1,16 +1,16 @@
@@ -34,6 +40,8 @@ import Popup from '@/components/popup/index.vue'
import { apiProjectCostBudgetDetailAdd, apiProjectCostBudgetDetailEdit, apiProjectCostBudgetDetailDetail } from '@/api/project_cost_budget_detail'
import { timeFormat } from '@/utils/util'
import type { PropType } from 'vue'
+import projectDialog from '@/components/projectCostBudget/index.vue'
+import projectcostTemLists from '@/components/projectcostTemLists/index.vue'
defineProps({
dictData: {
type: Object as PropType>,
@@ -44,6 +52,8 @@ const emit = defineEmits(['success', 'close'])
const formRef = shallowRef()
const popupRef = shallowRef>()
const mode = ref('add')
+const showDialog = ref(false)
+const showDialog1 = ref(false)
// 弹窗标题
@@ -54,15 +64,28 @@ const popupTitle = computed(() => {
// 表单数据
const formData = reactive({
id: '',
- project_id: '',
- cost_budget_id: '',
- project_cost_temp_id: '',
- unit: '',
- amount: '',
- standard: '',
- remark: '',
+ "cost_budget_id": '',
+ cost_budget_name: "",
+ "project_cost_temp_id": '',
+ project_cost_temp_name: "",
+ "unit": "",
+ "amount": '',
+ "standard": "",
+ "remark": ""
})
+const customEvent = (e: any) => {
+ formData.cost_budget_id = e.id
+ formData.cost_budget_name = e.project_name
+ showDialog.value = false
+}
+
+const customEvent1 = (e: any) => {
+ formData.project_cost_temp_name = e.project_type_name
+ formData.project_cost_temp_id = e.id
+ showDialog1.value = false
+}
+
// 表单验证
const formRules = reactive({
diff --git a/src/views/project_equipment_budget/edit.vue b/src/views/project_equipment_budget/edit.vue
index b29f882..9f10b4d 100644
--- a/src/views/project_equipment_budget/edit.vue
+++ b/src/views/project_equipment_budget/edit.vue
@@ -56,9 +56,7 @@
-
-
-
+
diff --git a/src/views/project_equipment_budget_detail/edit.vue b/src/views/project_equipment_budget_detail/edit.vue
index c5d0279..33c18cd 100644
--- a/src/views/project_equipment_budget_detail/edit.vue
+++ b/src/views/project_equipment_budget_detail/edit.vue
@@ -2,7 +2,7 @@
+
+
材料预算清单
diff --git a/src/views/project_travel_reimbursement/edit.vue b/src/views/project_travel_reimbursement/edit.vue
new file mode 100644
index 0000000..d5020a6
--- /dev/null
+++ b/src/views/project_travel_reimbursement/edit.vue
@@ -0,0 +1,477 @@
+
+
+
+
+
diff --git a/src/views/project_travel_reimbursement/index.vue b/src/views/project_travel_reimbursement/index.vue
new file mode 100644
index 0000000..e88d867
--- /dev/null
+++ b/src/views/project_travel_reimbursement/index.vue
@@ -0,0 +1,140 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_travel_reimbursement_detail/edit.vue b/src/views/project_travel_reimbursement_detail/edit.vue
new file mode 100644
index 0000000..0c0f77d
--- /dev/null
+++ b/src/views/project_travel_reimbursement_detail/edit.vue
@@ -0,0 +1,194 @@
+
+
+
+
+
diff --git a/src/views/project_travel_reimbursement_detail/index.vue b/src/views/project_travel_reimbursement_detail/index.vue
new file mode 100644
index 0000000..d3030a3
--- /dev/null
+++ b/src/views/project_travel_reimbursement_detail/index.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_travel_reimbursement_invoice_detail/edit.vue b/src/views/project_travel_reimbursement_invoice_detail/edit.vue
new file mode 100644
index 0000000..2174a13
--- /dev/null
+++ b/src/views/project_travel_reimbursement_invoice_detail/edit.vue
@@ -0,0 +1,209 @@
+
+
+
+
+
diff --git a/src/views/project_travel_reimbursement_invoice_detail/index.vue b/src/views/project_travel_reimbursement_invoice_detail/index.vue
new file mode 100644
index 0000000..39a8c97
--- /dev/null
+++ b/src/views/project_travel_reimbursement_invoice_detail/index.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/project_trip_apply/edit.vue b/src/views/project_trip_apply/edit.vue
new file mode 100644
index 0000000..c15502d
--- /dev/null
+++ b/src/views/project_trip_apply/edit.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
diff --git a/src/views/project_trip_apply/index.vue b/src/views/project_trip_apply/index.vue
new file mode 100644
index 0000000..a1845cc
--- /dev/null
+++ b/src/views/project_trip_apply/index.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+ 新增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+