Browse Source

bug修复

chenrui 3 years ago
parent
commit
7d24c1d94a
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/views/salesManagement/salesQuery/edit.vue

+ 0 - 6
src/views/salesManagement/salesQuery/edit.vue

@@ -284,7 +284,6 @@ export default {
       }).then(res => {
         this.resetSearchForm(true)
         if (res.status == 200) {
-          this.$refs.partQuery.pageInit()
           this.$message.info(res.message)
         }
         this.spinning = false
@@ -303,7 +302,6 @@ export default {
         }).then(res => {
           this.resetSearchForm(true)
           if (res.status == 200) {
-            this.$refs.partQuery.pageInit()
             this.$message.info(res.message)
             this.spinning = false
           } else {
@@ -413,7 +411,6 @@ export default {
       }).then(res => {
         if (res.status == 200) {
           this.resetSearchForm(true)
-          this.$refs.partQuery.pageInit()
           this.spinning = false
         } else {
           this.spinning = false
@@ -434,7 +431,6 @@ export default {
           salesDetailDelAll({ salesBillSn: _this.detailData.salesBillSn }).then(res => {
             if (res.status == 200) {
               _this.resetSearchForm(true)
-              _this.$refs.partQuery.pageInit()
             }
             _this.$message.info(res.message)
             _this.delLoading = false
@@ -457,7 +453,6 @@ export default {
           salesDetailDel({ id: row.id }).then(res => {
             if (res.status == 200) {
               _this.resetSearchForm(true)
-              _this.$refs.partQuery.pageInit()
             }
             _this.$message.info(res.message)
             _this.delLoading = false
@@ -527,7 +522,6 @@ export default {
         if (res.status == 200) {
           this.resetSearchForm(true)
           this.$message.success('产品添加成功', 2.5)
-          this.$refs.partQuery.pageInit()
         }
         this.isInster = false
         this.spinning = false