zhaoy 10 months ago
parent
commit
81f846875a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/pages/device/warehousepostion/components/CreateForm.jsx

+ 1
- 1
src/pages/device/warehousepostion/components/CreateForm.jsx View File

@@ -77,7 +77,7 @@ const CreateForm = (props) => {
if(device){ if(device){
var ary=[] var ary=[]
for (let index = 0; index < device.productNumber; index++) { 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) console.log("ary",ary)
setEditableRowKeys(ary.map((item) => item.id)) setEditableRowKeys(ary.map((item) => item.id))


Loading…
Cancel
Save