瀏覽代碼

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

wulanhaote
liuminjian 2 年之前
父節點
當前提交
763977bfe8
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. +8
    -2
      src/views/sunVillage_info/statistical_report_edit.vue

+ 8
- 2
src/views/sunVillage_info/statistical_report_edit.vue 查看文件

@@ -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;
}

});
},


Loading…
取消
儲存