lilei il y a 2 ans
Parent
commit
1e2ba2b6b3
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/views/salesReturnManagement/custConfirm/list.vue

+ 3 - 3
src/views/salesReturnManagement/custConfirm/list.vue

@@ -325,13 +325,13 @@ export default {
         this.$message.warning('请先选择退货原因!')
         return
       }
-      this.loading = true
+      this.spinning = true
       updateByCustomerService(record).then(res => {
         if (res.status == 200) {
           this.$message.success(res.message)
-          this.handleCancel()
+          this.handleCancel(record)
         }
-        this.loading = false
+        this.spinning = false
       })
     },
     // 删除产品