change(crmQuoteInfo): 注释掉报价明细跳转按钮

dev
zangch@mesnac.com 3 days ago
parent fe9a7d4596
commit bbf40dc056

@ -290,7 +290,7 @@
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="220" class-name="small-padding fixed-width">
<el-table-column label="操作" align="center" fixed="right" width="180" class-name="small-padding fixed-width">
<template #default="scope">
<!-- 修改仅草稿或退回状态可编辑 projectInfo 保持一致使用 flowStatus 判断 -->
<el-tooltip content="修改" placement="top" v-if="scope.row.flowStatus === 'draft' || scope.row.flowStatus === 'back'">
@ -308,15 +308,15 @@
<el-tooltip content="删除" placement="top" v-if="!scope.row.flowStatus || scope.row.flowStatus === 'draft'">
<el-button link type="danger" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['oa/crm:crmQuoteInfo:remove']"></el-button>
</el-tooltip>
<el-tooltip content="报价明细" placement="top">
<el-button
link
type="warning"
icon="Tickets"
@click="handleDetail(scope.row)"
v-hasPermi="['oa/crm:crmQuoteMaterial:list']"
></el-button>
</el-tooltip>
<!-- <el-tooltip content="报价明细" placement="top">-->
<!-- <el-button-->
<!-- link-->
<!-- type="warning"-->
<!-- icon="Tickets"-->
<!-- @click="handleDetail(scope.row)"-->
<!-- v-hasPermi="['oa/crm:crmQuoteMaterial:list']"-->
<!-- ></el-button>-->
<!-- </el-tooltip>-->
<!-- 参考合同信息 contractView仅当已绑定模板时显示预览/导出入口避免无模板时反复告警 -->
<el-tooltip content="PDF导出" placement="top" v-if="scope.row.templateId != null">
<el-button
@ -749,18 +749,6 @@ const handleView = (row?: CrmQuoteInfoVO) => {
});
};
/** 报价明细按钮操作 */
const handleDetail = (row: CrmQuoteInfoVO) => {
router.push({
path: '/quote/crmQuoteMaterial',
query: {
quoteId: row.quoteId,
quoteCode: row.quoteCode,
quoteName: row.quoteName
}
});
};
/** 提交按钮 */
const submitForm = () => {
crmQuoteInfoFormRef.value?.validate(async (valid: boolean) => {

@ -538,7 +538,7 @@ const isCurrentTaskBusinessMatched = computed(() => {
const taskBusinessId = String(currentTask.value?.businessId || '').trim();
const shippingBillId = String(form.value.shippingBillId || '').trim();
if (!taskBusinessId) {
// businessId
// businessId
return true;
}
return taskBusinessId === shippingBillId;

@ -564,7 +564,7 @@ const handleView = (row: WmsShippingBillVO) => {
/** 审批记录 */
const handleApprovalRecord = (row: WmsShippingBillVO) => {
// ID
// ID
approvalRecordRef.value?.init(row.shippingBillId);
};

Loading…
Cancel
Save