备件类型新增其他类型

master
FCD 2 days ago
parent 01fce620fa
commit 9fd1fa3825

@ -743,7 +743,7 @@ import dict from "@/utils/dict";
export default {
name: "SparePartsLedger",
dicts: ['safety_stock', 'spare_part_type', 'fastening_sealing_parts','general_pipeline_parts','process_consumables','electric_control','pneumatic_components','hydraulic_components','power_transmission_parts'],
dicts: ['safety_stock', 'spare_part_type', 'fastening_sealing_parts','general_pipeline_parts','process_consumables','electric_control','pneumatic_components','hydraulic_components','power_transmission_parts', 'spare_part_type_other'],
data() {
return {
//
@ -1169,11 +1169,12 @@ export default {
this.dict.type.electric_control,
this.dict.type.process_consumables,
this.dict.type.general_pipeline_parts,
this.dict.type.fastening_sealing_parts
this.dict.type.fastening_sealing_parts,
this.dict.type.spare_part_type_other
],
([val1, val2, val3, val4, val5, val6, val7,]) => {
([val1, val2, val3, val4, val5, val6, val7, val8]) => {
// undefined
if (val1 && val2 && val3 && val4 && val5 && val6 && val7) {
if (val1 && val2 && val3 && val4 && val5 && val6 && val7 && val8) {
this.categoryList = [
...val1,
...val2,
@ -1181,7 +1182,8 @@ export default {
...val4,
...val5,
...val6,
...val7
...val7,
...val8
]
}
},

Loading…
Cancel
Save