diff --git a/src/api/Coupon.js b/src/api/Coupon.js index 5d015721..3e8c78a6 100644 --- a/src/api/Coupon.js +++ b/src/api/Coupon.js @@ -1,5 +1,17 @@ import request from '@/utils/request' +export function returnMoney(query) { + var params = new URLSearchParams() + if (query !== '' && query !== null && query !== undefined) { + params.append('detailJson', query) // 你要传给后台的参数值 key/value + } + return request({ + url: '/coupon/returnMoney', + method: 'post', + data: params + }) +} + // 添加领料单 export function provide(query) { var params = new URLSearchParams() diff --git a/src/views/SaleOut/AddSaleOut.vue b/src/views/SaleOut/AddSaleOut.vue index c039cbee..14e30d8b 100644 --- a/src/views/SaleOut/AddSaleOut.vue +++ b/src/views/SaleOut/AddSaleOut.vue @@ -197,7 +197,7 @@ - + @@ -548,6 +548,7 @@