This commit is contained in:
吴红兵
2026-03-06 02:50:46 +08:00
parent 9a4490b2c6
commit a5a77b509b

View File

@@ -592,7 +592,7 @@
</el-form>
<!-- 操作按钮非流程嵌入模式显示 -->
<div class="form-footer" v-if="!isFlowEmbed">
<div class="form-footer" v-if="!isFlowEmbed && !isViewMode">
<el-button @click="handleCancel">取消</el-button>
<el-button type="warning" @click="handleTempStore" :disabled="loading"> 暂存 </el-button>
</div>
@@ -662,6 +662,9 @@ const pageTitle = computed(() => {
return '新增采购申请';
});
// 是否为查看模式
const isViewMode = computed(() => String(route.query.mode) === 'view');
// 定义变量内容
const formRef = ref();
const dataForm = reactive({