| | |
| | | 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: "创建时间", |