Commit f4bdc045 by 张立顺

回显bug修复

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