Explorar el Código

新增默认进入统计填报申报类型默认值

wulanhaote
liuminjian hace 2 años
padre
commit
763977bfe8
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. +8
    -2
      src/views/sunVillage_info/statistical_report_edit.vue

+ 8
- 2
src/views/sunVillage_info/statistical_report_edit.vue Ver fichero

@@ -283,8 +283,14 @@ export default {
},
created() {
this.getDicts("declaration_type_id").then(response => {
this.declarationTypeIdOptions = response.data;
let content = response.data
this.declarationTypeIdOptions = content;

if(content.length>0){
this.from.declarationTypeId = content[0].dictValue;
this.declarationTypeValue = content[0].dictLabel;
}

});
},


Cargando…
Cancelar
Guardar