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

pref:修改新增业务

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