diff --git a/cds-fontend-2025.V1/src/views/mps/market/index.vue b/cds-fontend-2025.V1/src/views/mps/market/index.vue index 35e3c9f..4c228d5 100644 --- a/cds-fontend-2025.V1/src/views/mps/market/index.vue +++ b/cds-fontend-2025.V1/src/views/mps/market/index.vue @@ -401,9 +401,9 @@ const { }; // 只有当checkType为'9'时才显示编辑按钮 - // if (row.checkFlag !== '9') { - // return null; - // } + if (row.checkFlag !== '9') { + return null; + } return (
{editBtn()} diff --git a/cds-fontend-2025.V1/src/views/mps/market/modules/market-operate-drawer.vue b/cds-fontend-2025.V1/src/views/mps/market/modules/market-operate-drawer.vue index 1b3aa1f..2d0abff 100644 --- a/cds-fontend-2025.V1/src/views/mps/market/modules/market-operate-drawer.vue +++ b/cds-fontend-2025.V1/src/views/mps/market/modules/market-operate-drawer.vue @@ -530,18 +530,18 @@ function getDateRange() { if (props.operateType === 'add') { // 新增时限制为当月 const startOfMonth = new Date(now.getFullYear(), now.getMonth(), 1); - const endOfMonth = new Date(now.getFullYear(), now.getMonth() + 1, 0); + // const endOfMonth = new Date(now.getFullYear(), now.getMonth() + 1, 0); return { startDate: startOfMonth.getTime(), - endDate: endOfMonth.getTime() + endDate: now }; } else { // 修改时限制为上月+本月 const startOfLastMonth = new Date(now.getFullYear(), now.getMonth() - 1, 1); - const endOfLastMonth = new Date(now.getFullYear(), now.getMonth()+1, 0); + // const endOfLastMonth = new Date(now.getFullYear(), now.getMonth()+1, 0); return { startDate: startOfLastMonth.getTime(), - endDate: endOfLastMonth.getTime() + endDate: now }; } }