From 5c3cd4de385227dd19ad080e5329fdc78503b1ad Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 10 Apr 2026 09:49:07 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E4=BA=A7=E5=93=81=E7=89=A9?= =?UTF-8?q?=E6=96=99=E4=BF=A1=E6=81=AF-=E6=96=B0=E5=A2=9E/=E7=BC=96?= =?UTF-8?q?=E8=BE=91-=E8=AE=BE=E5=A4=87=E5=88=97=E8=A1=A8=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=B7=B2=E6=8E=92=E4=BA=A7=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/erp/product/product/ProductForm.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/erp/product/product/ProductForm.vue b/src/views/erp/product/product/ProductForm.vue index 77918894..d8c4fd79 100644 --- a/src/views/erp/product/product/ProductForm.vue +++ b/src/views/erp/product/product/ProductForm.vue @@ -183,7 +183,7 @@ ref="deviceSelectDialogRef" title="选择设备" :columns="deviceColumns" - :fetch-api="DeviceLedgerApi.getDeviceLedgerPage" + :fetch-api="fetchDeviceLedgerPage" row-key="id" @confirm="handleDeviceSelectConfirm" /> @@ -348,6 +348,12 @@ const moldColumns = [ { label: '模具型号', prop: 'brandName', minWidth: 140 }, { label: '状态', prop: 'status', minWidth: 100 } ] +const fetchDeviceLedgerPage = (params: Record) => { + return DeviceLedgerApi.getDeviceLedgerPage({ + ...params, + isScheduled: 1 + }) +} const openDeviceSelectDialog = () => { const rows = selectedDeviceRows.value.length ? selectedDeviceRows.value.map((item) => ({ ...item, id: Number(item.id) }))