@@ -157,7 +157,11 @@ export default function useColumns() {
},
{
item: { key: "serviceFee", title: "服务费", width: 120, },
- attr: {}
+ attr: {
+ formatter: (prop) => {
+ return prop.serviceFee ? (prop.serviceFee * 1).toFixed(2) : prop.serviceFee;
+ },
+ }
item: { key: "materialCode", title: "物料编码" },