|
@@ -441,7 +441,9 @@ const creatingDelegate = async () => {
|
|
|
window.$message.warning('请先选择合同段')
|
|
|
return
|
|
|
}
|
|
|
- if (isNullES(form.sampleId)) {
|
|
|
+ const { title } = nodeDataInfo.value
|
|
|
+ let isCan = (title === '回弹法检测混凝土抗压强度' || title === '路基压实度' || title === '地基承载力' || title === '路基路面弯沉')
|
|
|
+ if (isNullES(form.sampleId) && !isCan ) {
|
|
|
window.$message.warning('请先关联取样材料')
|
|
|
return
|
|
|
}
|
|
@@ -454,7 +456,6 @@ const creatingDelegate = async () => {
|
|
|
form.contractId = delegateContractId.value
|
|
|
form.nodeErTreeId = nodeErTreeId.value
|
|
|
form.nodeId = primaryKeyId
|
|
|
- console.log(form)
|
|
|
//发起请求
|
|
|
const { error, code, msg } = await mainApi.htmlSave(form)
|
|
|
if (!error && code === 200) {
|