| | |
| | | un-checked-children="否" |
| | | :checked="model.result_21 == '1'" |
| | | @change="handle21Switch(model.result_21)" |
| | | :disabled=this.disabled21Switch |
| | | /> |
| | | <span |
| | | class="ant-descriptions-title" |
| | |
| | | v-model="model.sort" |
| | | :min=0 |
| | | :max=20 |
| | | :disabled=this.disabled22Switch |
| | | /> |
| | | <span |
| | | class="ant-descriptions-title" |
| | |
| | | un-checked-children="否" |
| | | :checked="model.result_22 == '1'" |
| | | @change="handle22Switch(model.result_22)" |
| | | :disabled=this.disabled22Switch |
| | | /> |
| | | <span |
| | | class="ant-descriptions-title" |
| | |
| | | dataSource: [], |
| | | model: {}, |
| | | departs: [], |
| | | disabled21Switch: false, |
| | | disabled22Switch: false, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 6 }, |
| | |
| | | |
| | | edit(record) { |
| | | let that = this; |
| | | |
| | | this.disabled21Switch = false |
| | | this.disabled22Switch = false |
| | | this.form.resetFields(); |
| | | this.model = Object.assign({}, record); |
| | | this.getStoveCategory() |
| | |
| | | } else { |
| | | this.model.result_1 = '0' |
| | | } |
| | | |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | |
| | | handle21Switch(result_21) { |
| | | if ('0' == result_21) { |
| | | this.model.result_21 = '1' |
| | | this.disabled22Switch = true |
| | | } else { |
| | | this.model.result_21 = '0' |
| | | this.disabled22Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | |
| | | handle22Switch(result_22) { |
| | | if ('0' == result_22) { |
| | | this.model.result_22 = '1' |
| | | this.disabled21Switch = true |
| | | } else { |
| | | this.model.result_22 = '0' |
| | | this.disabled21Switch = false |
| | | } |
| | | this.model = Object.assign({}, this.model); |
| | | }, |