lilei пре 2 година
родитељ
комит
1e2ba2b6b3
1 измењених фајлова са 3 додато и 3 уклоњено
  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
       })
     },
     // 删除产品