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.承担方