From e0366dc2424df3233aeb3baa50999dfb2bf4aad0 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Fri, 13 Feb 2026 13:05:32 +0800
Subject: [PATCH] 修改
---
src/views/purchase/person.vue | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/src/views/purchase/person.vue b/src/views/purchase/person.vue
index b38db5f..84f647b 100644
--- a/src/views/purchase/person.vue
+++ b/src/views/purchase/person.vue
@@ -29,6 +29,13 @@
</el-option>
</el-select>
</div>
+ <div class="basic_search" style="padding-top: 10px;margin-left: 20px" >
+ <span>OCR识别:</span>
+ <el-select v-model="listQuery.filter.isOcr" placeholder="请选择" style="width:100px">
+ <el-option label="是" key="1" :value="1"></el-option>
+ <el-option label="否" key="0" :value="0"></el-option>
+ </el-select>
+ </div>
</div>
<div style="margin-top: 10px;">
<div style="display: block">
@@ -234,6 +241,7 @@
parententerprisename:'',
directioncode:'',
isNeedUploadPhoto:'',
+ isOcr: null,
province:'',
city:'',
district:'',
@@ -322,7 +330,7 @@
},
showPurchaseDetail(val){
- this.$refs.person.openPersonPurchaseDetail(this.listQuery.filter.starttime,this.listQuery.filter.endtime,val.identify,val.companynumber,this.listQuery.filter.directioncode)
+ this.$refs.person.openPersonPurchaseDetail(this.listQuery.filter.starttime,this.listQuery.filter.endtime,val.identify,val.companynumber,this.listQuery.filter.directioncode,1)
},
showUploadDialogHandler(idCard) {
this.$refs.upload.showDialog(idCard)
@@ -415,6 +423,7 @@
parententerprisename:'',
directioncode:'',
isNeedUploadPhoto:'',
+ isOcr: null,
province:'',
city:'',
district:'',
@@ -430,17 +439,17 @@
searchProductSearch(){
this.listQuery.pageIndex = 1
- const date1 = new Date(this.validTime[0]);
- const date2 = new Date(this.validTime[1]);
- const differenceInMs = Math.abs(date2 - date1);
- const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
- if(differenceInDays > 32){
- this.$message({
- type: 'warning',
- message: '时间跨度超过一个月的,请联系管理员查询数据'
- })
- return
- }
+ // const date1 = new Date(this.validTime[0]);
+ // const date2 = new Date(this.validTime[1]);
+ // const differenceInMs = Math.abs(date2 - date1);
+ // const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
+ // if(differenceInDays > 32){
+ // this.$message({
+ // type: 'warning',
+ // message: '时间跨度超过一个月的,请联系管理员查询数据'
+ // })
+ // return
+ // }
this.getPersonProductList()
},
--
Gitblit v1.9.2