|
@@ -488,9 +488,14 @@ const creatingDelegate = async () => {
|
|
window.$message.warning('请先选择合同段')
|
|
window.$message.warning('请先选择合同段')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- const { title } = nodeDataInfo.value
|
|
|
|
- let isCan = (title === '回弹法检测混凝土抗压强度' || title === '路基压实度' || title === '地基承载力' || title === '路基路面弯沉' || title === '锚杆' || title === '喷射混凝土厚度')
|
|
|
|
- if (isNullES(form.sampleId) && !isCan ) {
|
|
|
|
|
|
+ // const { title } = nodeDataInfo.value
|
|
|
|
+ // let isCan = (title === '回弹法检测混凝土抗压强度' || title === '路基压实度' || title === '地基承载力' || title === '路基路面弯沉' || title === '锚杆' || title === '喷射混凝土厚度')
|
|
|
|
+ // if (isNullES(form.sampleId) && !isCan ) {
|
|
|
|
+ // window.$message.warning('请先关联取样材料')
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ const { nodeType } = nodeDataInfo.value
|
|
|
|
+ if (nodeType !== 51) {
|
|
window.$message.warning('请先关联取样材料')
|
|
window.$message.warning('请先关联取样材料')
|
|
return
|
|
return
|
|
}
|
|
}
|