Commit d21a7fb8 authored by Marcus's avatar Marcus

国家,数据字典

parent abcb19ae
...@@ -82,6 +82,7 @@ export const DICT_TYPE = { ...@@ -82,6 +82,7 @@ export const DICT_TYPE = {
BRAND_REG_TYPE: 'brand_registry_type', BRAND_REG_TYPE: 'brand_registry_type',
BRAND_AUTH_STATUS: 'brand_authorization_status', BRAND_AUTH_STATUS: 'brand_authorization_status',
BRAND_CUSTOMER_CHARGING_MODEL: 'customer_charging_model', BRAND_CUSTOMER_CHARGING_MODEL: 'customer_charging_model',
COUNTRY: 'country',
} }
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="国家" prop="country"> <el-form-item label="国家" prop="country">
<el-select v-model="form.country" placeholder="请选择国家"> <el-select v-model="form.country" placeholder="请选择国家">
<el-option v-for="dict in getDictDatas(DICT_TYPE.COMMON_STATUS)" <el-option v-for="dict in getDictDatas(DICT_TYPE.COUNTRY)"
:key="dict.value" :label="dict.label" :value="parseInt(dict.value)" /> :key="dict.value" :label="dict.label" :value="parseInt(dict.value)" />
</el-select> </el-select>
</el-form-item> </el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment