From a9b303d28edf746ecabeb8d2be8f883aea025fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Tue, 8 Nov 2022 17:10:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/goodsOrder.js | 7 +- src/api/system/order.js | 13 +- src/views/system/StationDepartment/index.vue | 11 +- src/views/system/goodsOrder/index.vue | 672 ++++++++++--------- src/views/system/order/index.vue | 486 ++++++++------ src/views/system/person/index.vue | 14 +- src/views/system/stationConsumable/index.vue | 8 +- 7 files changed, 674 insertions(+), 537 deletions(-) diff --git a/src/api/system/goodsOrder.js b/src/api/system/goodsOrder.js index 17ab35b..cd126aa 100644 --- a/src/api/system/goodsOrder.js +++ b/src/api/system/goodsOrder.js @@ -19,14 +19,14 @@ export function getGoodsOrder(id) { // 查看商品详细信息 export function getGoodsOrderlist(id) { return request({ - url: `/system/goodsOrder/goodsOrderByOrder`+`?orderNo=${id}`, + url: `/system/goodsOrder/goodsOrderByOrder` + `?orderNo=${id}`, method: 'get' }) } // 退款 export function goodsOrderRefundinfo(id) { return request({ - url: `/system/goodsOrder/goodsOrderRefund`+`?goodsOrderId=${id}`, + url: `/system/goodsOrder/goodsOrderRefund` + `?goodsOrderId=${id}`, method: 'get', }) } @@ -41,7 +41,6 @@ export function editExpressNo(data) { } // 退款确定按钮 - export function weChatRefundOrderApply(data) { return request({ url: '/nurseApp/weChatPayment/weChatRefundOrderApply', @@ -74,4 +73,4 @@ export function delGoodsOrder(id) { url: '/system/goodsOrder/' + id, method: 'delete' }) -} +} \ No newline at end of file diff --git a/src/api/system/order.js b/src/api/system/order.js index 15a3e99..2c4a811 100644 --- a/src/api/system/order.js +++ b/src/api/system/order.js @@ -11,7 +11,7 @@ export function appointmentOrderDetailsList(query) { export function Detailed(id) { return request({ - url: `/system/appointmentOrderDetails/Detailed`+`?orderNo=${id}`, + url: `/system/appointmentOrderDetails/Detailed` + `?orderNo=${id}`, method: 'get', }) @@ -19,7 +19,7 @@ export function Detailed(id) { //删除 export function deldetailed(appointmentOrderId) { return request({ - url: '/system/appointmentOrder/'+appointmentOrderId, + url: '/system/appointmentOrder/' + appointmentOrderId, method: 'post', }) @@ -45,10 +45,9 @@ export function dispatchsubmit(data) { // 确认取消订单 -export function confirmCancel(data) { +export function confirmCancel(appointmentOrderId) { return request({ - url: '/system/appointmentOrder/confirmCancel', - method: 'post', - data: data + url: `/system/appointmentOrder/confirmCancel?appointmentOrderId=${appointmentOrderId}`, + method: 'post' }) -} +} \ No newline at end of file diff --git a/src/views/system/StationDepartment/index.vue b/src/views/system/StationDepartment/index.vue index 98e8081..5ab5c5f 100644 --- a/src/views/system/StationDepartment/index.vue +++ b/src/views/system/StationDepartment/index.vue @@ -375,6 +375,7 @@ :visible.sync="innerVisible" width="1000px" append-to-body + :before-close="innerVisiblecancel" > --> - + @@ -88,6 +127,46 @@ + + + 查看商品信息 - 录入物流单号 - + 确认退款 - - - - + --> - + + + + + + + + + - - 确认 - 取消 - + @@ -416,32 +474,25 @@ v-model="refundlist.dictLabel" placeholder="" clearable - @keyup.enter.native="handleQuery" disabled /> - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - +