Commit 695f4339 authored by 小费同学阿's avatar 小费同学阿 💬

Merge remote-tracking branch 'origin/master'

parents 6daaabcb 7dac0dd3
...@@ -669,7 +669,7 @@ import { getAreNameById, getAreTreeStructure, getDevice, updateDevice } from '@/ ...@@ -669,7 +669,7 @@ import { getAreNameById, getAreTreeStructure, getDevice, updateDevice } from '@/
import { regionData } from 'element-china-area-data' import { regionData } from 'element-china-area-data'
import { getInfo } from '@/api/login' import { getInfo } from '@/api/login'
import { listCheckManage } from '@/api/business/manage' import { listCheckManage } from '@/api/business/manage'
import { isEmpty, parseTime } from '@/utils/ruoyi' import { isEmpty, parseStrEmpty, parseTime } from '@/utils/ruoyi'
import { deepClone } from '@/utils' import { deepClone } from '@/utils'
import { listItem } from '@/api/business/item' import { listItem } from '@/api/business/item'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
...@@ -1110,15 +1110,17 @@ export default { ...@@ -1110,15 +1110,17 @@ export default {
this.addtions.names = addressText this.addtions.names = addressText
this.city = city this.city = city
}) })
console.log('服务地点名字', this.addtions.names)
}, },
// 提交 // 提交
submitForm() { submitForm() {
console.log('服务地点名字', this.addtions.names)
const form = deepClone(this.form) const form = deepClone(this.form)
if (form.selectedOptions != null) { if (form.selectedOptions != null) {
form.addressCode = form.selectedOptions.join(',') form.addressCode = form.selectedOptions.join(',')
} }
if (this.addtions.names != null) { if (parseStrEmpty(this.addtions.names) !== '') {
form.addressText = this.addtions.names form.addressText = this.addtions.names
} }
if (!isEmpty(form.checkType)) { if (!isEmpty(form.checkType)) {
......
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