From 16148e217859eeae338c2063024ffa8c8f7284a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Tue, 13 Aug 2024 19:09:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=B6=E9=97=B4=20?= =?UTF-8?q?=E6=97=B6=E5=88=86=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RentIn/TenantAuditStepModal.vue | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue index 5b51db29..2af1643d 100644 --- a/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/RentIn/TenantAuditStepModal.vue @@ -271,23 +271,23 @@ queryCondition: `[{ FieldName: 'Pid', FieldValue: '${rowId.value}', ConditionalType: 1 }]`, pageCondition: { pageIndex: 1, pageSize: 999, sortConditions: [] }, }).then((res) => { - console.log(res) + // console.log(res) - list.value.splice(0) - res.data.forEach((item) => { - list.value.push(item) - }) - // ------------------ // list.value.splice(0) - // let Arr = ['pickupDate', 'dropoffDate', 'feeStartDate', 'bsdate'] // res.data.forEach((item) => { - // console.log(item) - // Arr.forEach((e) => { - // console.log(item, item[e], item[e].split(' ')) - // item[e] = item[e].split(' ')[0] - // }) // list.value.push(item) // }) + // ------------------ + list.value.splice(0) + let Arr = ['pickupDate', 'dropoffDate', 'feeStartDate', 'bsdate'] + res.data.forEach((item) => { + console.log(item) + Arr.forEach((e) => { + console.log(item, item[e], item[e].split(' ')) + item[e] = item[e].split(' ')[0] + }) + list.value.push(item) + }) }) } function MakeFee() {