云
4 天以前 fe6ba6220f32276f147a16c41e7a69c2a18e5012
src/views/reportAnalysis/PSIDataAnalysis/components/center-bottom.vue
@@ -30,7 +30,9 @@
import ProductTypeSwitch from './ProductTypeSwitch.vue'
import { productInOutAnalysis } from '@/api/viewIndex.js'
const productType = ref(2) // 1=原材料 2=成品
// 1=原材料 2=成品 3=半成品。
// 默认成品:本租户「原材料」大类和「半成品」大类下都没有挂产品型号,选它们必然是一条全 0 的平线
const productType = ref(2)
const chartStyle = { width: '100%', height: '130%' }