@@ -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 @@
回款计划
-
-
+
+