소스 검색

fix: 退货缺少id

zh 2 년 전
부모
커밋
423f91bc8b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/sales_control/sales_management/components/return_sales_form.vue

+ 1 - 1
src/views/sales_control/sales_management/components/return_sales_form.vue

@@ -354,7 +354,7 @@ export default {
       }
     },
     handleInform(status = 2) {
-      sendRefund({ id: this.salesId, status }).then(res => {
+      sendRefund({ id: this.salesId || this.details.id, status }).then(res => {
         this.$successMsg('退货通知')
         this.handleBack()
       })