feat(mdm): 物料列表隐藏辅单位与销售价列
- 列表不再展示 辅单位1 / 辅单位1换算比率 / 辅单位2 / 辅单位2换算比率 / 销售价 五列
- 新增、编辑表单里这几个字段仍然保留可维护,需要恢复列表展示时把注释取消即可
Co-Authored-By: Claude Code <noreply@anthropic.com>
| | |
| | | title: "单位", |
| | | minWidth: 80, |
| | | }, |
| | | { |
| | | field: "unitMeasureName2", |
| | | title: "辅单位1", |
| | | minWidth: 80, |
| | | }, |
| | | { |
| | | field: "unitMeasureRate1", |
| | | title: "辅单位1换算比率", |
| | | minWidth: 130, |
| | | }, |
| | | { |
| | | field: "unitMeasureName3", |
| | | title: "辅单位2", |
| | | minWidth: 80, |
| | | }, |
| | | { |
| | | field: "unitMeasureRate2", |
| | | title: "辅单位2换算比率", |
| | | minWidth: 130, |
| | | }, |
| | | // 辅单位1/辅单位1换算比率/辅单位2/辅单位2换算比率:物料列表不再展示(表单里仍可维护),需要恢复就取消注释 |
| | | // { |
| | | // field: "unitMeasureName2", |
| | | // title: "辅单位1", |
| | | // minWidth: 80, |
| | | // }, |
| | | // { |
| | | // field: "unitMeasureRate1", |
| | | // title: "辅单位1换算比率", |
| | | // minWidth: 130, |
| | | // }, |
| | | // { |
| | | // field: "unitMeasureName3", |
| | | // title: "辅单位2", |
| | | // minWidth: 80, |
| | | // }, |
| | | // { |
| | | // field: "unitMeasureRate2", |
| | | // title: "辅单位2换算比率", |
| | | // minWidth: 130, |
| | | // }, |
| | | { |
| | | field: "warehouseName", |
| | | title: "默认仓库", |
| | | minWidth: 100, |
| | | }, |
| | | { |
| | | field: "salesPrice", |
| | | title: "销售价", |
| | | minWidth: 100, |
| | | formatter: ({ cellValue }) => { |
| | | return cellValue != null ? `¥${Number(cellValue).toFixed(2)}` : ""; |
| | | }, |
| | | }, |
| | | // 销售价:物料列表不再展示,需要恢复就取消注释 |
| | | // { |
| | | // field: "salesPrice", |
| | | // title: "销售价", |
| | | // minWidth: 100, |
| | | // formatter: ({ cellValue }) => { |
| | | // return cellValue != null ? `¥${Number(cellValue).toFixed(2)}` : ""; |
| | | // }, |
| | | // }, |
| | | { |
| | | field: "createTime", |
| | | title: "创建时间", |