Commit 139a882d by liang ce

设置审批模版消费通知字段更改

parent be28a4a1
......@@ -41,7 +41,7 @@
</div>
<div>
<label>消费通知:</label>
<a-switch checkedChildren="开" unCheckedChildren="关" defaultChecked :checked="OrgSettingData.consumeSwitch !== '' && OrgSettingData.consumeSwitch !== 'CLOSE'" @change='consumeSwitchOnChange'/>
<a-switch checkedChildren="开" unCheckedChildren="关" defaultChecked :checked="OrgSettingData.consumeNotice !== '' && OrgSettingData.consumeNotice !== 'CLOSE'" @change='consumeSwitchOnChange'/>
</div>
</div>
<div style="margin-top: 60px;margin-left: 200px">
......@@ -114,7 +114,7 @@ export default {
console.log(`a-switch to ${checked}`)
},
consumeSwitchOnChange (checked) {
this.OrgSettingData.consumeSwitch = checked ? 'OPEN' : 'CLOSE'
this.OrgSettingData.consumeNotice = checked ? 'OPEN' : 'CLOSE'
console.log(`a-switch to ${checked}`)
}
}
......
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