|
|
@@ -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)) |
|
|
|