|
@@ -10,7 +10,7 @@
|
|
|
:selectConfig="[]"
|
|
|
:table-events="{}"
|
|
|
:action-list="[]"
|
|
|
- @get-list="getList"
|
|
|
+ @get-list="getData"
|
|
|
:hideSearch="true"
|
|
|
>
|
|
|
<template #advanceCharge="{ item }">
|
|
@@ -90,10 +90,15 @@ const config = computed(() => {
|
|
|
},
|
|
|
];
|
|
|
});
|
|
|
-const getData = () => {
|
|
|
+const getData = (req = {}) => {
|
|
|
loading.value = true;
|
|
|
+ sourceList.value.pagination = { ...sourceList.value.pagination, ...req };
|
|
|
proxy
|
|
|
- .post("/saleQuotation/saleDetail", { id: props.customerId })
|
|
|
+ .post("/saleQuotation/saleDetail", {
|
|
|
+ id: props.customerId,
|
|
|
+ ...sourceList.value.pagination,
|
|
|
+ ...req,
|
|
|
+ })
|
|
|
.then((res) => {
|
|
|
sourceList.value.data = res.rows;
|
|
|
sourceList.value.pagination.total = res.total;
|