| | |
| | | <el-icon class="section-icon"><Goods /></el-icon> |
| | | <span>产品基本信息</span> |
| | | </div> |
| | | <div class="id-info">产品ID:{{ currentProductId || '未提供' }}</div> |
| | | <!-- <div class="id-info">产品ID:{{ currentProductId || '未提供' }}</div>--> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | function handleToggleEnableStatus(row: any) { |
| | | const newStatus = row.enableStatus === 'ENABLED' ? 'DISABLED' : 'ENABLED' |
| | | ElMessageBox.confirm( |
| | | `确认要${newStatus === 'ENABLED' ? '启用' : '停用'}该价格(ID: ${row.id})吗?`, |
| | | `确认要${newStatus === 'ENABLED' ? '启用' : '停用'}该定价标准吗?`, |
| | | '状态变更', |
| | | { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' } |
| | | ) |