diff --git a/apps/web-antd/src/views/property/clean/cleanOrders/clean-modal.vue b/apps/web-antd/src/views/property/clean/cleanOrders/clean-modal.vue index 5e3b97f9..4c2b938e 100644 --- a/apps/web-antd/src/views/property/clean/cleanOrders/clean-modal.vue +++ b/apps/web-antd/src/views/property/clean/cleanOrders/clean-modal.vue @@ -310,10 +310,12 @@ async function handleConfirm() { : isUpdate.value ? editCleanId.value : ''; - // data.sumPeices = totalSumPeices; + + data.sumPeices = parseInt(totalSumPeices.value, 10); + // 组装 cleanIds - data.cleanIds = detailTable.value.map((item: any) => item.id); - data.details = detailTable.value; + // data.cleanIds = detailTable.value.map((item: any) => item.id); + data.cleanList = detailTable.value; console.log(data); console.log(12037847120120); await clean_orderAdd(data)