Browse Source

bug 修复

lilei 2 năm trước cách đây
mục cha
commit
108f873e1f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/salesReturnManagement/billOfLading/add.vue

+ 2 - 2
src/views/salesReturnManagement/billOfLading/add.vue

@@ -326,7 +326,7 @@ export default {
               // 保存
               if (type == 'save') {
                 _this.$message.success(res.message)
-                _this.handleBack()
+                _this.$router.push({ name: 'billOfLadingList' })
                 _this.spinning = false
               }
               // 提交
@@ -349,7 +349,7 @@ export default {
       pickUpSubmit({ pickUpSn: this.$route.params.sn || this.pickUpSn, ...data }).then(res => {
         if (res.status == '200') {
           this.$message.success(res.message)
-          this.handleBack()
+          this.$router.push({ name: 'billOfLadingList' })
         }
         this.spinning = false
       })