|
|
@ -1,6 +1,6 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
import { syncSendCmd } from 'apis/system' |
|
|
|
import { ElMessageBox } from 'element-plus' |
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus' |
|
|
|
import { onMounted, ref, watch } from 'vue' |
|
|
|
|
|
|
|
import { FtMessage } from '@/libs/message' |
|
|
@ -91,6 +91,10 @@ const deleteRecipe = (item: Formula.FormulaItem) => { |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning', |
|
|
|
}).then(() => { |
|
|
|
if (formulaStore.selectedFormulaInfo?.formula_id === item.formula_id) { |
|
|
|
ElMessage.warning('禁止修改正在执行的配方信息!') |
|
|
|
return |
|
|
|
} |
|
|
|
if (item.formula_id) { |
|
|
|
const delParams = { |
|
|
|
className: 'SettingMgrService', |
|
|
|