From 6bd1ee13ebaf95d00009412d9b5b7f64dee1616a Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 13 十一月 2023 11:39:45 +0800
Subject: [PATCH] 补货页面线上新建不显示问题及库存报表搜索功能优化

---
 src/views/operate/orderPoint/index.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/views/operate/orderPoint/index.vue b/src/views/operate/orderPoint/index.vue
index 0da0d1d..676f4a1 100644
--- a/src/views/operate/orderPoint/index.vue
+++ b/src/views/operate/orderPoint/index.vue
@@ -113,13 +113,13 @@
     }
   },
   created() {
-    if(this.$route.params.productId){
+    if (this.$route.params.productId) {
       this.getData({
-        productId:this.$route.params.productId,
-        pageSize:15,
-        page:1
+        productId: this.$route.params.productId,
+        pageSize: 15,
+        page: 1
       })
-    }else{
+    } else {
       this.getData()
     }
     this.setTable()
@@ -153,7 +153,7 @@
         keyWord: data?.jointName,
         page: this.pagerOptions.currPage,
         pageSize: this.pagerOptions.pageSize,
-        productId:data?.productId
+        productId: data?.productId
       }).then((res) => {
         if (res.code === 200) {
           console.log(res)
@@ -241,6 +241,7 @@
           editable: false,
           isOrder: true
         })
+        this.tableList.tableData = this.tableData
         this.locationId = 0
         this.productId = 0
       } else {

--
Gitblit v1.8.0