|
@@ -49,10 +49,11 @@
|
|
|
:list="item.equipmentList"
|
|
:list="item.equipmentList"
|
|
|
></deviceBom>
|
|
></deviceBom>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
<productsBom
|
|
<productsBom
|
|
|
v-if="item.product != null && item.product != '{}'"
|
|
v-if="item.product != null && item.product != '{}'"
|
|
|
:itemObj="item"
|
|
:itemObj="item"
|
|
|
- :productsObj="item.product"
|
|
|
|
|
|
|
+ :product="item.product"
|
|
|
>
|
|
>
|
|
|
</productsBom>
|
|
</productsBom>
|
|
|
|
|
|
|
@@ -128,6 +129,7 @@
|
|
|
import aridRegion from './components/aridRegion.vue';
|
|
import aridRegion from './components/aridRegion.vue';
|
|
|
import palletBom from './components/palletBom.vue';
|
|
import palletBom from './components/palletBom.vue';
|
|
|
import revolvingDiskBom from './components/revolvingDiskBom.vue';
|
|
import revolvingDiskBom from './components/revolvingDiskBom.vue';
|
|
|
|
|
+ import { deepClone } from '@/utils';
|
|
|
export default {
|
|
export default {
|
|
|
name: 'feeding',
|
|
name: 'feeding',
|
|
|
components: {
|
|
components: {
|
|
@@ -185,7 +187,8 @@
|
|
|
};
|
|
};
|
|
|
workorderList(param)
|
|
workorderList(param)
|
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
- this.List = res.map((m) => {
|
|
|
|
|
|
|
+ let arr = [];
|
|
|
|
|
+ arr = res.map((m) => {
|
|
|
m.workOrderId = m.id;
|
|
m.workOrderId = m.id;
|
|
|
m.paramDetailList = [];
|
|
m.paramDetailList = [];
|
|
|
|
|
|
|
@@ -223,7 +226,9 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 处理字段
|
|
// 处理字段
|
|
|
- m.quality == '' ? (m.quality = {}) : '';
|
|
|
|
|
|
|
+ if (m.quality == '') {
|
|
|
|
|
+ m.product = '{}';
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
if (!Object.prototype.hasOwnProperty.call(m, 'product')) {
|
|
if (!Object.prototype.hasOwnProperty.call(m, 'product')) {
|
|
|
m.product = '{}';
|
|
m.product = '{}';
|
|
@@ -238,6 +243,7 @@
|
|
|
...m
|
|
...m
|
|
|
};
|
|
};
|
|
|
});
|
|
});
|
|
|
|
|
+ this.List = deepClone(arr);
|
|
|
})
|
|
})
|
|
|
.finally(() => {
|
|
.finally(() => {
|
|
|
this.getCacheFn();
|
|
this.getCacheFn();
|
|
@@ -461,11 +467,10 @@
|
|
|
width: 80px !important;
|
|
width: 80px !important;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
}
|
|
}
|
|
|
- .lable100{
|
|
|
|
|
|
|
+ .lable100 {
|
|
|
width: 100px !important;
|
|
width: 100px !important;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
.ww60 {
|
|
.ww60 {
|
|
|
width: 60px;
|
|
width: 60px;
|
|
|
}
|
|
}
|
|
@@ -520,7 +525,6 @@
|
|
|
width: 40%;
|
|
width: 40%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
.ww30 {
|
|
.ww30 {
|
|
|
width: 30%;
|
|
width: 30%;
|
|
|
}
|
|
}
|