|
@@ -449,19 +449,19 @@ const saveClick = () => {
|
|
|
if(detailData.value?.supervisorUnit?.length>0){
|
|
|
let suisnullObj= isEmptyObj(detailData.value?.supervisorUnit[0])
|
|
|
if(suisnullObj===true){
|
|
|
- detailData.value.supervisorUnit=[]
|
|
|
+ detailData.value.supervisorUnit=null
|
|
|
}
|
|
|
}
|
|
|
if(detailData.value?.constructUnit?.length>0){
|
|
|
let coisnullObj= isEmptyObj(detailData.value?.constructUnit[0])
|
|
|
if(coisnullObj){
|
|
|
- detailData.value.constructUnit=[]
|
|
|
+ detailData.value.constructUnit=null
|
|
|
}
|
|
|
}
|
|
|
if(detailData.value?.buildUnit?.length>0){
|
|
|
let buisnullObj= isEmptyObj(detailData.value?.buildUnit[0])
|
|
|
if(buisnullObj){
|
|
|
- detailData.value.buildUnit=[]
|
|
|
+ detailData.value.buildUnit=null
|
|
|
}
|
|
|
}
|
|
|
updatePlan(detailData.value)
|