fix: 修复销售订单新增页面3个Bug

- 销售部门选择改为 el-tree-select 树形组件,展示组织架构层级
- 物料选择弹窗过滤停用产品(enableFlag: 'Y')
- 物料弹窗单行选择模式改用 el-radio 单选框,选中状态更明显
- 物料编码列宽度由 120px 改为 min-width 160px,显示完整编码

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
panchengyong
2026-03-11 12:57:40 +08:00
parent 442bc4f028
commit 80ce9ad8e2
2 changed files with 46 additions and 32 deletions

View File

@@ -16,6 +16,7 @@ export interface MaterialQuery {
name?: string
category?: string
itemOrProduct?: string
enableFlag?: string
page?: number
pageSize?: number
}
@@ -51,6 +52,9 @@ export async function getMaterialList(params: MaterialQuery): Promise<MaterialLi
if (params.itemOrProduct) {
query.itemOrProduct = params.itemOrProduct
}
if (params.enableFlag) {
query.enableFlag = params.enableFlag
}
const res = await listMdItem(query)
// 返回所有物料,让用户自行选择