diff --git a/dist.zip b/dist.zip deleted file mode 100644 index 4cddbe4..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/package.json b/package.json index c993777..8b7b648 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dev": "vite", "preview": "vite preview --port 4173", "build": "vite build && node scripts/release.mjs", + "build:prod": "vite build --mode production && node scripts/release.mjs", "type-check": "vue-tsc --noEmit", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" }, diff --git a/src/views/project/detail.vue b/src/views/project/detail.vue index bbea08b..b4537d3 100644 --- a/src/views/project/detail.vue +++ b/src/views/project/detail.vue @@ -415,7 +415,86 @@ - Task + +
开票记录
+
+ + + + + + + + + + + + + + +
+
+ +
+ + +
回款计划
+
+ + + + + + + + + + + +
+
+ +
+ + +
回款记录
+
+ + + + + + + + + + +
+
+ +
+ + +
退款记录
+
+ + + + + + + + + + + +
+ +
+ +
+ +
收票记录
@@ -443,8 +522,8 @@ - - + + @@ -719,6 +798,10 @@ import { apiProcurementContractLists } from '@/api/procurement_contract' import { apiSubcontractingContractLists } from '@/api/subcontracting_contract' import { apinegotiationLists } from '@/api/subcontractor' +import { apiinvoiceapplyLists } from '@/api/InvoicingRequests' +import { apireturnedLists } from '@/api/remittance' +import { apireturnedrecordLists } from '@/api/recordsPayment' +import { apirefundapplyLists } from '@/api/refund' const active = ref('first-1') const activeName = ref('demo-1') const handleClick = (tab: TabsPaneContext, event: Event) => { @@ -901,6 +984,16 @@ const pager30 = reactive({ page_no: 1, project_id: "" }) +const pager31 = reactive({ + page_size: 10, + page_no: 1, + project_id: "" +}) +const pager32 = reactive({ + page_size: 10, + page_no: 1, + project_id: "" +}) @@ -936,6 +1029,11 @@ const total25 = ref(0) const total26 = ref(0) const total27 = ref(0) const total28 = ref(0) +const total29 = ref(0) +const total30 = ref(0) +const total31 = ref(0) +const total32 = ref(0) +const total33 = ref(0) const tableData1 = ref([]) const tableData2 = ref([]) const tableData3 = ref([]) @@ -970,7 +1068,8 @@ const tableData27 = ref([]) const tableData28 = ref([]) const tableData29 = ref([]) const tableData30 = ref([]) - +const tableData31 = ref([]) +const tableData32 = ref([]) // 表单数据 const formData = reactive({ @@ -1159,7 +1258,7 @@ const handleSizeChange29 = (val: number) => { pager29.page_size = val - customServiceLists() + invoiceapplyLists() } @@ -1169,7 +1268,18 @@ const handleSizeChange30 = (val: number) => { pager30.page_size = val - customServiceLists() + returnedLists() +} +const handleSizeChange31 = (val: number) => { + + pager30.page_size = val + + returnedrecordLists() +} +const handleSizeChange32 = (val: number) => { + + pager30.page_size = val + refundapplyLists() } @@ -1357,8 +1467,7 @@ const handleCurrentChange28 = (val: number) => { const handleCurrentChange29 = (val: number) => { pager29.page_no = val console.log(`current page: ${val}`) - - customServiceLists() + invoiceapplyLists() } @@ -1366,10 +1475,29 @@ const handleCurrentChange30 = (val: number) => { pager30.page_no = val console.log(`current page: ${val}`) - customServiceLists() + returnedLists() } +const handleCurrentChange31 = (val: number) => { + pager31.page_no = val + console.log(`current page: ${val}`) + + returnedrecordLists() +} +const handleCurrentChange32 = (val: number) => { + pager32.page_no = val + console.log(`current page: ${val}`) + + refundapplyLists() +} + + + + + + + @@ -1606,6 +1734,37 @@ const negotiationLists = () => { }) } +//获取开票申请 +const invoiceapplyLists = () => { + apiinvoiceapplyLists(pager29).then((res) => { + tableData29.value = res.lists + total28.value = res.count + }) +} + +//获取回款计划 +const returnedLists = () => { + apireturnedLists(pager30).then((res) => { + tableData30.value = res.lists + total29.value = res.count + }) +} + +//获取回款记录 +const returnedrecordLists = () => { + apireturnedrecordLists(pager31).then((res) => { + tableData31.value = res.lists + total30.value = res.count + }) +} + +//获取退款申请 +const refundapplyLists = () => { + apirefundapplyLists(pager32).then((res) => { + tableData32.value = res.lists + total31.value = res.count + }) +} // 获取详情 @@ -1652,6 +1811,8 @@ const setFormData = async (data: Record) => { pager28.project_id = data.id pager29.project_id = data.id pager30.project_id = data.id + pager31.project_id = data.id + pager32.project_id = data.id Object.assign(formData, data) if (data.annex && data.annex.length > 0) { @@ -1691,6 +1852,10 @@ const setFormData = async (data: Record) => { procurementContractLists() subcontractingContractLists() negotiationLists() + invoiceapplyLists() + returnedLists() + returnedrecordLists() + refundapplyLists() } const getDetail = async (row: Record) => { diff --git a/src/views/project_list/detail.vue b/src/views/project_list/detail.vue index 08f1e6b..b4537d3 100644 --- a/src/views/project_list/detail.vue +++ b/src/views/project_list/detail.vue @@ -441,8 +441,8 @@
回款计划
- - + +