添加默认值

zhc4dev
wangjiadong 2 years ago
parent b4622aa32c
commit 3b01277139
  1. 3
      ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue

@ -93,7 +93,7 @@
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<a-form-model-item label="量体方式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="measurementMethod"> <a-form-model-item label="量体方式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="measurementMethod">
<j-dict-select-tag type="radio" v-model="model.measurementMethod" dictCode="ctfs" placeholder="请选择量体方式" /> <j-dict-select-tag type="radio" v-model="model.measurementMethod" dictCode="ctfs" placeholder="请选择量体方式" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
@ -137,6 +137,7 @@
data () { data () {
return { return {
model:{ model:{
measurementMethod:1
}, },
labelCol: { labelCol: {
xs: { span: 24 }, xs: { span: 24 },

Loading…
Cancel
Save