diff --git a/src/views/modules/pms/materialStorageQty/components/storageBox.vue b/src/views/modules/pms/materialStorageQty/components/storageBox.vue
index 4e39dd0..0dafdc9 100644
--- a/src/views/modules/pms/materialStorageQty/components/storageBox.vue
+++ b/src/views/modules/pms/materialStorageQty/components/storageBox.vue
@@ -11,7 +11,13 @@
-
+
+ {{ computedRatio + '%' }}
+
@@ -56,8 +62,12 @@ export default {
},
unitValue: {
type: String,
- default: null
- }
+ default: null,
+ },
+ ratio: {
+ type: Number,
+ default: 0.0,
+ },
},
data() {
return {
@@ -66,9 +76,12 @@ export default {
},
computed: {
computedUnit() {
- if (!this.unitValue) return '存量'
- return this.unitList(this.unitValue)+' 存量'
+ if (!this.unitValue) return "存量";
+ return this.unitList(this.unitValue) + " 存量";
},
+ computedRatio() {
+ return this.ratio ? this.ratio.toFixed(2) * 100 : 0
+ }
},
created() {},
mounted() {},
diff --git a/src/views/modules/pms/materialStorageQty/index.vue b/src/views/modules/pms/materialStorageQty/index.vue
index 6e01f86..b8e0af8 100644
--- a/src/views/modules/pms/materialStorageQty/index.vue
+++ b/src/views/modules/pms/materialStorageQty/index.vue
@@ -7,8 +7,8 @@
-
+ :ratio="st.ratio"
+ />
-
-
+
+
- 中间仓
+ 中间仓
-
+ :ratio="st.ratio"
+ />
-
-
+
+
- 未知仓
-
-
diff --git a/src/views/modules/pms/testingStep/config.js b/src/views/modules/pms/testingStep/config.js
index aa6bfae..8dca8e0 100644
--- a/src/views/modules/pms/testingStep/config.js
+++ b/src/views/modules/pms/testingStep/config.js
@@ -69,7 +69,7 @@ export default function () {
const dialogConfigs = {
extraIds: { wsId: 4 }, // 工艺管理里面的相关模块的 dialogWithMenu 需要额外的工序 id
- menu: [{ name: "压制工艺", key: 'info' }, { name: "工艺参数", key: 'attr', onlyEditMode: true }],
+ menu: [{ name: "检测工艺", key: 'info' }, { name: "工艺参数", key: 'attr', onlyEditMode: true }],
form: {
rows: [
[