From 3a94fefb02746237a8d7271e8f59b1a4261bf61e Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 13 十一月 2023 18:19:49 +0800
Subject: [PATCH] 重订货点击空白显示对象问题 位置模块编辑查看的时候点击当前库存跳转到位置报表并且把当前位置商品列出来

---
 src/components/makepager/FormBtnsView.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/components/makepager/FormBtnsView.vue b/src/components/makepager/FormBtnsView.vue
index 653231a..6a1fafa 100644
--- a/src/components/makepager/FormBtnsView.vue
+++ b/src/components/makepager/FormBtnsView.vue
@@ -87,7 +87,7 @@
         <div class="right-label">宸插敭</div>
       </div>
     </div> -->
-    <div v-if="showPosition" class="sub-number no-cursor">
+    <div v-if="showPosition" :class="showPositionCursor?'sub-number yes-cursor':'no-cursor sub-number'" @click="positionReport">
       <div class="left"><i class="el-icon-help"></i></div>
       <div class="right">
         <div class="right-one">褰撳墠搴撳瓨</div>
@@ -129,6 +129,10 @@
       type: Boolean,
       default: true
     },
+    showPositionCursor:{
+      type: Boolean,
+      default: false,
+    },
     countObject: {
       type: Object,
       default: () => {
@@ -147,6 +151,9 @@
     return {}
   },
   methods: {
+    positionReport(){
+      this.$emit("positionReport")
+    },
     // 杩涘嚭
     inOutBoundClick() {
       this.$emit("inOutBoundClick")

--
Gitblit v1.8.0