From 0c316bdff96984b96af34bb8420f69edba9bb0bb Mon Sep 17 00:00:00 2001 From: Vayne Date: Fri, 28 Apr 2023 12:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E9=94=80=E5=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/scm/basicInformation/poundlist/index.vue | 5 ++++- .../views/scm/basicInformation/purchaseorder/index.vue | 9 ++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/SC-web/src/views/scm/basicInformation/poundlist/index.vue b/SC-web/src/views/scm/basicInformation/poundlist/index.vue index e7dee03d..7a26992c 100644 --- a/SC-web/src/views/scm/basicInformation/poundlist/index.vue +++ b/SC-web/src/views/scm/basicInformation/poundlist/index.vue @@ -1172,8 +1172,11 @@ export default { } const ids = this.multipleSelection.join(); request({ - url: `/api/poundlist/Poundlist/createsale/${ids}`, + url: `/api/poundlist/Poundlist/createsale`, method: "post", + data: { + ids: ids + }, }).then((res) => { var list = []; for (let i = 0; i < res.data.length; i++) { diff --git a/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue b/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue index ff99e9c0..a6b30999 100644 --- a/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue +++ b/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue @@ -951,9 +951,12 @@ export default { } debugger; request({ - url: `/api/poundlist/Poundlist/createsale/${ids}`, - method: "post", - }).then((res) => { + url: "/api/poundlist/Poundlist/createsale", + method: "post", + data: { + ids: ids + }, + }).then(res => { debugger var purchaseOrderIds = []; this.multipleSelectionItem.forEach((item, index) => {