feat: 新增带默认BOM的产品和原材料接口并优化界面

refactor(HomeModules): 重构统计面板组件并添加骨架屏
feat(coil): 添加物料类型和更新时间查询条件
style(ProductInfo/RawMaterialInfo): 阻止事件冒泡
chore: 添加钢卷图标资源
This commit is contained in:
砂糖
2025-10-31 11:52:45 +08:00
parent 93cd0e5238
commit cd040e57ea
16 changed files with 449 additions and 58 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<span class="product-name" @click="clickHandle">
<span class="product-name" @click.stop="clickHandle">
<slot name="default" :product="product">
{{ product && product.productName ? product.productName : '--' }}
</slot>

View File

@@ -1,7 +1,7 @@
<template>
<div>
<!-- 作用域插槽 -->
<span class="material-name" @click="showDetail = true">
<span class="material-name" @click.stop="showDetail = true">
<slot name="default" :material="material">
{{ material.rawMaterialName ? material.rawMaterialName : '-' }}
</slot>