From 870920f3b46eb80be7e1c99d0019b36f6e055a81 Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Fri, 28 Mar 2025 18:27:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../picking/apply/component/AddPicking1.vue | 32 +++++++++---------- .../picking/apply/component/home1.vue | 4 +-- .../picking/auditing/component/home1.vue | 4 +-- .../claimAndreturn/picking/outbound/index.vue | 4 +-- .../component/finishAndDetails.vue | 13 ++++++-- 5 files changed, 32 insertions(+), 25 deletions(-) diff --git a/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue b/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue index 5651a44..4fe79fe 100644 --- a/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue +++ b/src/views/claimAndreturn/picking/apply/component/AddPicking1.vue @@ -58,20 +58,6 @@ - - - - - + + + + + 长期领用 - - + + diff --git a/src/views/claimAndreturn/picking/outbound/index.vue b/src/views/claimAndreturn/picking/outbound/index.vue index b7e67ea..085a348 100644 --- a/src/views/claimAndreturn/picking/outbound/index.vue +++ b/src/views/claimAndreturn/picking/outbound/index.vue @@ -63,8 +63,8 @@ :index="indexContinuation(queryParams.pageNum, queryParams.pageSize)" /> - - + + 确认完工结算 @@ -268,7 +268,13 @@ export default { }, /** 确认结算 01或03 */ async submitSell(type) { - const agreementIds = [...new Set(this.settleTableData_01.map(item => item.agreementId))]; + let agreementIds = [] + if(type == "01"){ + agreementIds = [...new Set(this.settleTableData_01.map(item => item.agreementId))]; + }else if(type == "03"){ + agreementIds = [...new Set(this.settleTableData_03.map(item => item.agreementId))]; + } + const sellParams = { agreementIds: agreementIds, costBearingParty: type, @@ -336,7 +342,8 @@ export default { // 3. 组装请求参数 const params = { repairIds: repairIds.join(','), - agreementId: this.currRowInfo.agreementId, + agreementIds:[...new Set(this.currRowInfo.map(item => item.agreementId))], + // agreementId: this.currRowInfo[0].agreementId, relation: { leaseCostOne: this.settleTotalPrice_01, // 01承担方费用 leaseCostThree: this.settleTotalPrice_03, // 0.承担方