From 153bb37d10ab5cb3f4e764d1272ee03f10e49fa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Mon, 13 Oct 2025 09:44:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=BB=88=E7=89=88=20?= =?UTF-8?q?=E8=BD=A6=E6=9E=B6=E5=8F=B7=20=E5=BF=85=E9=A1=BB=E9=83=BD?= =?UTF-8?q?=E5=A1=AB=E5=86=99=E6=89=8D=E8=83=BD=E6=8F=90=E4=BA=A4=E7=9A=84?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/composables/useStockingForm.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/composables/useStockingForm.ts b/src/composables/useStockingForm.ts index 957f39d..3becd2d 100644 --- a/src/composables/useStockingForm.ts +++ b/src/composables/useStockingForm.ts @@ -805,11 +805,11 @@ export function useStockingForm(isFinal = false, stockingId?: string | number) { // 提交校验:最终提交且为提交动作时(type=1),必须填写 VIN const isFinalFlag = isfinal === '1' || (isfinal as any) === true if (isFinalFlag && type === 1) { - const hasEmptyVin = (items.value || []).some((it) => !it.vin || String(it.vin).trim() === '') - if (hasEmptyVin) { - ElMessage.error('存在未填写车架号(VIN)的明细,请补全后再提交') - return - } + // const hasEmptyVin = (items.value || []).some((it) => !it.vin || String(it.vin).trim() === '') + // if (hasEmptyVin) { + // ElMessage.error('存在未填写车架号(VIN)的明细,请补全后再提交') + // return + // } } const mappedItems = items.value.map((it) => ({ sku_id: it.sku_id,