zxz преди 3 години
родител
ревизия
36b170beaf

+ 1 - 1
src/views/warehouse/warehouseManagementNoComplete.vue

@@ -198,7 +198,7 @@ export default {
   methods: {
     //返回按钮
     returnWarehouse() {
-      this.$router.push({ path: 'warehouseManagementList' })
+      this.$router.go(-1)
     },
     //编辑
     edits(row) {

+ 2 - 2
src/views/warehouse/warehouseManagementPerfectDelivery.vue

@@ -553,7 +553,7 @@ export default {
                 .toPromise()
                 .then((response) => {
                   this.$message.success('暂存成功')
-                  this.$router.push({ path: 'warehouseManagementList' })
+                  this.$router.go(-1)
                 })
             } else {
               EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -963,7 +963,7 @@ export default {
             .toPromise()
             .then((response) => {
               this.$message.success('添加成功')
-              this.$router.push({ path: 'warehouseManagementList' })
+              this.$router.go(-1)
             })
         } else {
           EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))

+ 3 - 3
src/views/warehouse/warehouseManagementPut.vue

@@ -740,7 +740,7 @@ export default {
     },
     //返回按钮
     revert() {
-      this.$router.push({ path: 'warehouseManagementList' })
+       this.$router.go(-1)
     },
     carChange(e) {
       for (let i = 0; i < this.tranCarInfoList.length; i++) {
@@ -1281,7 +1281,7 @@ export default {
                 .toPromise()
                 .then((response) => {
                   this.$message.success('添加成功')
-                  this.$router.push({ path: 'warehouseManagementList' })
+                  this.$router.go(-1)
                 })
             } else {
               EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
@@ -1777,7 +1777,7 @@ export default {
                 .toPromise()
                 .then((response) => {
                   this.$message.success('暂存成功')
-                  this.$router.push({ path: 'warehouseManagementList' })
+                  this.$router.go(-1)
                 })
             } else {
               EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))