Explorar el Código

fix: 退货缺少id

zh hace 2 años
padre
commit
423f91bc8b

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