From 70daf57903a201ef90ba9c95bc1b8ffb1ddbe276 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Sat, 9 Nov 2024 15:26:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8D=95=E6=8D=AE=E6=98=8E=E7=BB=86card?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/collect/collectOrder.js | 17 +++ src/views/collect/ConfirmDrugDealOrder.vue | 4 +- src/views/collect/PannelOrderBizCard.vue | 149 +++------------------ 3 files changed, 39 insertions(+), 131 deletions(-) diff --git a/src/api/collect/collectOrder.js b/src/api/collect/collectOrder.js index 06fad9a6..aba8c13a 100644 --- a/src/api/collect/collectOrder.js +++ b/src/api/collect/collectOrder.js @@ -271,4 +271,21 @@ export function decideOrder(query) { } +export function bizConfirm(query) { + return axios({ + url: "/udiwms/basic/collect/order/bizConfirm", + method: "post", + data: query + }); +} + +export function confirmFinish(query) { + return axios({ + url: "/udiwms/basic/collect/order/confirmFinish", + method: "post", + data: query + }); +} + + diff --git a/src/views/collect/ConfirmDrugDealOrder.vue b/src/views/collect/ConfirmDrugDealOrder.vue index 650253a3..36051cc6 100644 --- a/src/views/collect/ConfirmDrugDealOrder.vue +++ b/src/views/collect/ConfirmDrugDealOrder.vue @@ -414,7 +414,7 @@ import { findByBill, findFromCorp, orderDetail, - removeByScanCode + removeByScanCode,confirmFinish } from "@/api/collect/collectOrder"; import PanelOrderAllDetail from "@/views/collect/PanelOrderAllDetail"; import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments' @@ -1097,7 +1097,7 @@ export default { }, finishOrder() { - finishOrder(this.formData).then(res => { + confirmFinish(this.formData).then(res => { this.loading = false if (res.code == 20000) { this.reset() diff --git a/src/views/collect/PannelOrderBizCard.vue b/src/views/collect/PannelOrderBizCard.vue index c2943613..bd8ddca0 100644 --- a/src/views/collect/PannelOrderBizCard.vue +++ b/src/views/collect/PannelOrderBizCard.vue @@ -1,146 +1,24 @@