From 81f846875acb24ee8966dfbc6cacc38cd5f68a0c Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Thu, 29 Feb 2024 18:55:26 +0800 Subject: [PATCH] Z --- src/pages/device/warehousepostion/components/CreateForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/device/warehousepostion/components/CreateForm.jsx b/src/pages/device/warehousepostion/components/CreateForm.jsx index f080920..76dded7 100644 --- a/src/pages/device/warehousepostion/components/CreateForm.jsx +++ b/src/pages/device/warehousepostion/components/CreateForm.jsx @@ -77,7 +77,7 @@ const CreateForm = (props) => { if(device){ var ary=[] for (let index = 0; index < device.productNumber; index++) { - ary.push({id: index,code:'',batchingId:''}) + ary.push({id: index,code:'LC000'+(index+1),batchingId:''}) } console.log("ary",ary) setEditableRowKeys(ary.map((item) => item.id))