Commit f4bdc045 by 张立顺

回显bug修复

1 parent 7b48a3cc
......@@ -241,33 +241,33 @@ const defaultPeriodItem = {
}
const periodList = [
{
checkMonth: "1",
checkPeriod: "1",
checkMonth: 1,
checkPeriod: 1,
taskList: [defaultPeriodItem]
},
{
checkMonth: "1",
checkPeriod: "2",
checkMonth: 1,
checkPeriod: 2,
taskList: [defaultPeriodItem]
},
{
checkMonth: "2",
checkPeriod: "1",
checkMonth: 2,
checkPeriod: 1,
taskList: [defaultPeriodItem]
},
{
checkMonth: "2",
checkPeriod: "2",
checkMonth: 2,
checkPeriod: 2,
taskList: [defaultPeriodItem]
},
{
checkMonth: "3",
checkPeriod: "1",
checkMonth: 3,
checkPeriod: 1,
taskList: [defaultPeriodItem]
},
{
checkMonth: "3",
checkPeriod: "2",
checkMonth: 3,
checkPeriod: 2,
taskList: [defaultPeriodItem]
}
]
......
......@@ -12,8 +12,8 @@
</el-form-item>
<el-form-item label="周期" prop="checkPeriod" required>
<el-radio-group :disabled="mode == 'edit'" v-model="periodItemForm.checkPeriod" @change="restData">
<el-radio :label="'1'">上半月</el-radio>
<el-radio :label="'2'">下半月</el-radio>
<el-radio :label="1">上半月</el-radio>
<el-radio :label="2">下半月</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="车主类型" prop="selectCarType" required>
......@@ -262,15 +262,15 @@ export default {
goodsDialogVisible: false,
baseData: {
MonthList: [{
value: '1',
value: 1,
label: '首月'
},
{
value: '2',
value: 2,
label: '次月'
},
{
value: '3',
value: 3,
label: '第三月'
}]
},
......@@ -278,8 +278,8 @@ export default {
// form: this.$form.createForm(this),
periodItemForm: {
defaultFlag: 'Y',
checkMonth: '1',
checkPeriod: '1',
checkMonth: 1,
checkPeriod: 1,
defaultFormValue
// selectCarType: [],
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!