|
|
@ -928,6 +928,13 @@ const formFormDateChange = (field, val,row, index) => { |
|
|
|
if(field == 'produceDate'){ |
|
|
|
let produceDateStr = formatDate(val,'YYYYMMDD'); |
|
|
|
row.batch = produceDateStr |
|
|
|
tableData.value.forEach(item=>{ |
|
|
|
console.log("item.produceDate",item.produceDate) |
|
|
|
if(!item.produceDate){ |
|
|
|
item.produceDate = val |
|
|
|
item.batch = produceDateStr |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|