Commit 48d0decf99f893ef4a2fad7464a4c686d2c474a1

Authored by chenxt
1 parent ec3a8ddd

产量上报id

src/mes/common/commonModelComponent/index.js
@@ -479,7 +479,7 @@ const useCommonModelEvent = props => { @@ -479,7 +479,7 @@ const useCommonModelEvent = props => {
479 for (const key of Object.keys(returnData)) { 479 for (const key of Object.keys(returnData)) {
480 const data = returnData[key].map(x => { 480 const data = returnData[key].map(x => {
481 x.sParentId = props.masterData.sId 481 x.sParentId = props.masterData.sId
482 - x.sId = x.sId ? x.sId : commonUtils.createSid() 482 + x.sId = commonUtils.createSid()
483 x.handleType = "add" 483 x.handleType = "add"
484 return x 484 return x
485 }) 485 })