fix: 修复侧边栏激活样式和表单字段类型问题

- 移除侧边栏菜单项多余的`.submenu-title-noDropdown`类名
- 将表单字段`porIdx`和`trIdx`转换为字符串类型
- 调整侧边栏菜单的文本对齐格式
This commit is contained in:
砂糖
2025-11-05 16:57:57 +08:00
parent 7f7bb489b5
commit 5fa6eae333
3 changed files with 5 additions and 4 deletions

View File

@@ -148,7 +148,7 @@
} }
} }
.el-menu-item.is-active.submenu-title-noDropdown { .el-menu-item.is-active {
background: #657b96; // 激活背景 background: #657b96; // 激活背景
color: #000; // 激活文字白色 color: #000; // 激活文字白色
font-weight: 600; font-weight: 600;

View File

@@ -379,9 +379,10 @@ export default {
// 打开操作对话框 // 打开操作对话框
handleOperate(row, operation) { handleOperate(row, operation) {
this.$refs.operateForm?.resetFields() this.$refs.operateForm?.resetFields()
console.log(this.selectCard, row.posIdx)
this.operateMatForm = { this.operateMatForm = {
porIdx: row.posIdx || null, porIdx: row.posIdx.toString() || '',
trIdx: row.posIdx || null, trIdx: row.posIdx.toString() || '',
planId: row.planId || '', planId: row.planId || '',
entryMatId: row.matId || '', entryMatId: row.matId || '',
planNo: row.planNo || '', planNo: row.planNo || '',