BUG 27673
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
|     <template slot="content"> | ||||
|       <ai-card title="基本信息"> | ||||
|         <template #content> | ||||
|           <el-form ref="form" class="ai-form" :model="form" label-width="110px" label-position="right"> | ||||
|           <el-form ref="CBookForm" class="ai-form" :model="form" label-width="110px" label-position="right"> | ||||
|             <el-form-item label="地区" style="width: 100%;" prop="codeName"> | ||||
|               <span style="color: #666;">{{ form.areaName }}</span> | ||||
|             </el-form-item> | ||||
| @@ -93,7 +93,7 @@ | ||||
|     methods: { | ||||
|       getInfo (id) { | ||||
|         this.instance.post(`/app/appconvenientaddressbook/queryDetailById?id=${id}`).then(res => { | ||||
|           if (res.code === 0) { | ||||
|           if (res?.data) { | ||||
|             this.form = res.data | ||||
|           } | ||||
|         }) | ||||
| @@ -117,7 +117,7 @@ | ||||
|       }, | ||||
|  | ||||
|       confirm () { | ||||
|         this.$refs.form.validate((valid) => { | ||||
|         this.$refs.CBookForm.validate((valid) => { | ||||
|           if (valid) { | ||||
|             this.instance.post(`/app/appconvenientaddressbook/addOrUpdate`, { | ||||
|               ...this.form, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user