| | |
| | | icon: DataLine, |
| | | visible: visibleModules.value.sales, |
| | | }, |
| | | { |
| | | key: "purchase", |
| | | title: "采购数据", |
| | | desc: "本月采购额(元)", |
| | | value: formatNumber(businessInfo.value.monthPurchaseMoney), |
| | | subLabel: "待付款金额", |
| | | subValue: formatNumber(businessInfo.value.monthPurchaseHaveMoney), |
| | | trend: `占比 ${ratioText( |
| | | businessInfo.value.monthPurchaseHaveMoney, |
| | | businessInfo.value.monthPurchaseMoney |
| | | )}`, |
| | | icon: ShoppingCartFull, |
| | | visible: visibleModules.value.procurement, |
| | | }, |
| | | // { |
| | | // key: "purchase", |
| | | // title: "采购数据", |
| | | // desc: "本月采购额(元)", |
| | | // value: formatNumber(businessInfo.value.monthPurchaseMoney), |
| | | // subLabel: "待付款金额", |
| | | // subValue: formatNumber(businessInfo.value.monthPurchaseHaveMoney), |
| | | // trend: `占比 ${ratioText( |
| | | // businessInfo.value.monthPurchaseHaveMoney, |
| | | // businessInfo.value.monthPurchaseMoney |
| | | // )}`, |
| | | // icon: ShoppingCartFull, |
| | | // visible: visibleModules.value.procurement, |
| | | // }, |
| | | { |
| | | key: "inventory", |
| | | title: "库存数据", |