From 66900bcf11faa01ea740ee14ee8d8a59a13a8e26 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Wed, 25 Mar 2026 10:57:33 +0800
Subject: [PATCH] 新增设备类型
---
src/views/purchase/person.vue | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/src/views/purchase/person.vue b/src/views/purchase/person.vue
index 490b233..84f647b 100644
--- a/src/views/purchase/person.vue
+++ b/src/views/purchase/person.vue
@@ -330,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)
@@ -439,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