This commit is contained in:
zlwu committed 2026-07-14 19:53:35 +08:00
1 parent 0e60b88cba
commit 87f7f6bf38
34 files changed
+18326 -6165

No files matched your search

+14 -2
View File
@@ -19,6 +19,14 @@
@keyup.enter="handleSearch"
/>
</el-form-item>
<el-form-item label="产品名称">
<el-input
v-model="searchForm.productName"
placeholder="搜索产品名称"
clearable
@keyup.enter="handleSearch"
/>
</el-form-item>
<el-form-item label="跟进状态">
<el-select v-model="searchForm.followStatus" placeholder="全部" clearable>
<el-option label="草稿" value="draft" />
@@ -398,8 +406,9 @@ const activePlanTypeTab = ref<PlPlanTypeTab>('all')
const searchForm = reactive({
planNo: '',
planType: '',
productName: '',
followStatus: '',
transportStatus: '',
transportStatus: 'arranged',
customerName: '',
archiveStatus: ''
})
@@ -451,6 +460,7 @@ async function fetchData() {
followStatus: searchForm.followStatus || undefined,
transportStatus: searchForm.transportStatus || undefined,
customerName: keyword ? undefined : searchForm.customerName || undefined,
productName: keyword ? undefined : searchForm.productName || undefined,
archiveStatus: searchForm.archiveStatus || undefined,
planDateFrom: dateRange.value?.[0] || undefined,
planDateTo: dateRange.value?.[1] || undefined,
@@ -480,8 +490,9 @@ function handleReset() {
activePlanTypeTab.value = 'all'
searchForm.planNo = ''
searchForm.planType = ''
searchForm.productName = ''
searchForm.followStatus = ''
searchForm.transportStatus = ''
searchForm.transportStatus = 'arranged'
searchForm.customerName = ''
searchForm.archiveStatus = ''
quickSearch.value = ''
@@ -581,6 +592,7 @@ useDbInstantSearch(
() => ({
planNo: searchForm.planNo,
planType: searchForm.planType,
productName: searchForm.productName,
followStatus: searchForm.followStatus,
transportStatus: searchForm.transportStatus,
customerName: searchForm.customerName,