From 6d35811470edea26dc144db2f787251156d5c5d1 Mon Sep 17 00:00:00 2001 From: zhangyouji Date: Tue, 11 Jul 2023 17:33:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oilFinalStatement/oilFinalStatementAddList.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/oilFinalStatement/oilFinalStatementAddList.vue b/src/views/oilFinalStatement/oilFinalStatementAddList.vue index d6217e8..570556d 100644 --- a/src/views/oilFinalStatement/oilFinalStatementAddList.vue +++ b/src/views/oilFinalStatement/oilFinalStatementAddList.vue @@ -416,8 +416,10 @@ export default { let payRealAmountEnd = [] let customerSettleAmountList = [] + let endTime = '' this.selectedStaffList.forEach(item => { this.endT = item.createTime + endTime = item.createTime payRealAmountEnd.push(item.actAmount ? item.actAmount : '0') customerSettleAmountList.push(item.customerSettleAmount ? item.customerSettleAmount : '0') @@ -440,8 +442,8 @@ export default { this.importData.confirmState = 0 this.importData.settlementState = 0 this.importData.createSource = 'XOIL_OMS_WEB' - this.importData.orderStartDate = this.createT - this.importData.orderEndDate = this.endT + this.importData.orderStartTime = this.selectedStaffList[0].createTime + this.importData.orderEndTime = endTime this.importData.settlementObjectName = this.selectedStaffList[0].customerName this.importData.settlementId = this.selectedStaffList[0].customerId