浏览代码

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()
       })