|
@@ -642,7 +642,10 @@ const setTableFormMenu = (info) => {
|
|
newArr.push({ label: '关联试验数据', key: 'test' })
|
|
newArr.push({ label: '关联试验数据', key: 'test' })
|
|
newArr.push({ label: '关联试验文件', key: 'file' })
|
|
newArr.push({ label: '关联试验文件', key: 'file' })
|
|
newArr.push({ label: '公式参数', key: 'formula' })
|
|
newArr.push({ label: '公式参数', key: 'formula' })
|
|
- newArr.push({ label: '清除数据', key: 'clear' })
|
|
|
|
|
|
+ if (isStatus.value === 1 || isStatus.value === '' || isStatus.value === null || isStatus.value === 2) {
|
|
|
|
+ newArr.push({ label: '清除数据', key: 'clear' })
|
|
|
|
+ }
|
|
|
|
+
|
|
tableFormMenu.value = newArr
|
|
tableFormMenu.value = newArr
|
|
}
|
|
}
|
|
|
|
|