From 0617dce254a2317c95f402484263c5bff7843164 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 5 Feb 2026 10:13:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=9D=BF=E6=AE=B5=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=B7=BB=E5=8A=A0=E6=9C=80=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E5=92=8C=E6=9C=80=E8=BF=91=E4=BA=A4=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/wpr_statistics.vue | 57 +++++++++++++++++-------- 1 file changed, 39 insertions(+), 18 deletions(-) diff --git a/src/views/statistics/wpr_statistics.vue b/src/views/statistics/wpr_statistics.vue index 2eb6b32c..880ab6d6 100644 --- a/src/views/statistics/wpr_statistics.vue +++ b/src/views/statistics/wpr_statistics.vue @@ -30,30 +30,39 @@ - - - + + + {{wprItem.material_name}} - + {{wprItem.number}} - + {{wprItem.belong_dept_name}} - - {{wprItem.mgroup_name}} - - + {{wprItem.batch}} - + {{wprItem.material_ofrom_name}} - + {{wprItem.batch_ofrom}} - + + + + {{wprItem.mgroup_name}} + + + [{{mlogItem.belong_dept_name}}/{{mlogItem.mgroup_name}}] + {{mlogItem.submit_user_name}} + {{mlogItem.update_time}}提交 + + + [{{handoverItem.send_mgroup_name}}]{{handoverItem.send_user_name}}交送,[{{handoverItem.recive_mgroup_name}}]{{handoverItem.recive_user_name}}{{ handoverItem.submit_time }}接收 + @@ -93,7 +102,7 @@ prop="handle_user_name" width="80" > - + @@ -186,9 +195,9 @@ width="80" > @@ -269,6 +278,8 @@ export default { apiObj_mlog:null, apiObj_handover:null, apiObj_mio:null, + mlogItem:null, + handoverItem:null, }; }, mounted() { @@ -295,8 +306,18 @@ export default { that.apiObj_handover = that.$API.wpm.handover.list; that.apiObj_mio = that.$API.inm.mio.list; that.$refs.tableMlog.queryData(that.params_mlog); - that.$refs.tableHandover.queryData(that.params_handover); - that.$refs.tableMio.queryData(that.params_mio); + // that.$refs.tableHandover.queryData(that.params_handover); + // that.$refs.tableMio.queryData(that.params_mio); + setTimeout(()=>{ + this.$API.wpm.mlog.list.req({cnumber: row.number,page:1,page_size:1}).then(mlogres=>{ + console.log('mlogres',mlogres); + that.mlogItem = mlogres.results[0]; + }) + this.$API.wpm.handover.list.req({b_handover__w_handoverb__number : row.number,page:1,page_size:1}).then(handoverres=>{ + console.log('handoverres',handoverres); + that.handoverItem = handoverres.results[0]; + }) + },1000) }) },