|
@@ -465,8 +465,10 @@ const linksSampleModalClose = () => {
|
|
|
//保存
|
|
|
const tableFormSaveLoading = ref(false)
|
|
|
const tableFormSaveClick = async () => {
|
|
|
- console.log('保存',listItemBaseData.value);
|
|
|
- listItemBaseData.value.projectPosition=checkrelationString.value
|
|
|
+ if(checkrelationString.value.length>0){
|
|
|
+ listItemBaseData.value.projectPosition=checkrelationString.value
|
|
|
+ }
|
|
|
+
|
|
|
let FormData = ListItemRef.value?.getFormData()
|
|
|
let FormRegExpJson = ListItemRef.value?.getFormRegExpJson()
|
|
|
//效验数据
|
|
@@ -483,7 +485,7 @@ const tableFormSaveClick = async () => {
|
|
|
if (!error && code === 200) {
|
|
|
window?.$message?.success('保存成功')
|
|
|
listItemBaseData.value.deviceUseIds=''
|
|
|
- listItemBaseData.value.projectPosition=''
|
|
|
+
|
|
|
//bussPdfsClick()
|
|
|
getTableDataAll()
|
|
|
}
|