lilei há 1 ano atrás
pai
commit
72a4bbcb48

+ 1 - 0
src/views/salesManagement/salesQueryNew/comps/productList.vue

@@ -573,6 +573,7 @@
         const _this = this
         _this.spinning = true
         updateWarehouse(data).then(res => {
+          console.log(res)
           if (res.status == 200) {
             _this.openWarehouseModal = false
             _this.resetSearchForm(true)

+ 1 - 2
src/views/salesManagement/salesQueryNew/comps/productNormalList.vue

@@ -407,8 +407,6 @@
             _this.resetSearchForm(true)
             _this.$message.success(res.message)
           }
-          _this.$refs.table.refresh(true)
-          _this.$refs.table.clearSelected()
           _this.spinning = false
         })
       },
@@ -464,6 +462,7 @@
         this.queryParam.productTypeSn2 = ''
         this.queryParam.productTypeSn3 = ''
         this.productType = []
+        this.$refs.table.clearSelected()
         this.$refs.table.refresh(!!flag)
       },
       // 删除产品