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