备件类型新增其他类型

master
FCD 3 days ago
parent 01fce620fa
commit 9fd1fa3825

@ -743,7 +743,7 @@ import dict from "@/utils/dict";
export default { export default {
name: "SparePartsLedger", 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() { data() {
return { return {
// //
@ -1169,11 +1169,12 @@ export default {
this.dict.type.electric_control, this.dict.type.electric_control,
this.dict.type.process_consumables, this.dict.type.process_consumables,
this.dict.type.general_pipeline_parts, 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 // undefined
if (val1 && val2 && val3 && val4 && val5 && val6 && val7) { if (val1 && val2 && val3 && val4 && val5 && val6 && val7 && val8) {
this.categoryList = [ this.categoryList = [
...val1, ...val1,
...val2, ...val2,
@ -1181,7 +1182,8 @@ export default {
...val4, ...val4,
...val5, ...val5,
...val6, ...val6,
...val7 ...val7,
...val8
] ]
} }
}, },

Loading…
Cancel
Save