Commit 07dd2611 authored by “yiyousong”'s avatar “yiyousong”

pref:修改新增业务

parent 4fd4e7b6
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
:wrapper-col="{ span: 19 }" :wrapper-col="{ span: 19 }"
> >
<a-form-model-item label="业务级别:" prop="isBusiness"> <a-form-model-item label="业务级别:" prop="isBusiness">
<a-radio-group v-model="form.isBusiness"> <a-radio-group v-model="form.isBusiness" @change="changeIsBusiness">
<a-radio :value="0">一级业务</a-radio> <a-radio :value="0">一级业务</a-radio>
<a-radio :value="1">二级业务</a-radio> <a-radio :value="1">二级业务</a-radio>
</a-radio-group> </a-radio-group>
...@@ -164,13 +164,14 @@ export default { ...@@ -164,13 +164,14 @@ export default {
} }
}, },
// 切换业务级别 // 切换业务级别
// changeIsBusiness(e) { changeIsBusiness() {
// if (e.target.value == 0) { this.form.parentId = undefined;
// this.form.parentId = 0; // if (e.target.value == 0) {
// } else { // this.form.parentId = undefined;
// this.form.parentId = undefined; // } else {
// } // this.form.parentId = undefined;
// }, // }
},
// 重置 // 重置
handleReset() { handleReset() {
this.$refs.formData.resetFields(); this.$refs.formData.resetFields();
......
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