From 217943be81548171f149c09b9495af3375a0fa65 Mon Sep 17 00:00:00 2001
From: wangweidong <850489345@qq.com>
Date: Wed, 21 Jan 2026 13:57:02 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/yuangongindex/detIlspro.vue | 93 ++++++++++++++++++++++++++---
pages/yuangongindex/procurement.vue | 4 +-
2 files changed, 88 insertions(+), 9 deletions(-)
diff --git a/pages/yuangongindex/detIlspro.vue b/pages/yuangongindex/detIlspro.vue
index bd272d7..029f138 100644
--- a/pages/yuangongindex/detIlspro.vue
+++ b/pages/yuangongindex/detIlspro.vue
@@ -24,7 +24,7 @@
采购日期
- {{list.qgDate.substring(0,10)}}
+ {{list.qgDate?.substring(0,10)}}
@@ -68,8 +68,11 @@
+
+ {{v}}
+
-
+
{{v.wlName}}
@@ -87,7 +90,7 @@
已入库数量
- {{v.wrksl}}
+ {{v.wrksl}}
挂账数量
@@ -96,7 +99,11 @@
-
+
+
+ 暂无信息
+
@@ -127,14 +134,86 @@
timeout,
success(response) {
const res = response.data;
- console.log(res)
- list.value = res.result
+ list.value = res.result;
+ naurl(dex.value)
}})
})
-
+ const dex = ref(0);
+ const listarr = ref([]);
+ const naurl = (e)=>{
+ dex.value = e;
+ if(e==0){
+ listarr.value = list.value.list
+ }
+ if(e==1){
+ listarr.value = [];
+ list.value.list.map(v=>{
+ if(v.wrksl>0){
+ listarr.value.push(v)
+ }
+ })
+ }
+ if(e==2){
+ listarr.value = [];
+ list.value.list.map(v=>{
+ if(v.xzsl>0){
+ listarr.value.push(v)
+ }
+ })
+ }
+ }