|
|
|
@ -11,7 +11,7 @@
|
|
|
|
|
<a-form :form="form" class="CsForm">
|
|
|
|
|
<a-row type="flex" justify="end">
|
|
|
|
|
<a-col :span="1">
|
|
|
|
|
<a-button type="primary" @click="handleSubmit">
|
|
|
|
|
<a-button type="primary" @click="handleSubmit" :loading="SaveLoading">
|
|
|
|
|
保存
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-col>
|
|
|
|
@ -312,7 +312,8 @@ export default {
|
|
|
|
|
TypeData: [],
|
|
|
|
|
propStringData: [],
|
|
|
|
|
saleUserList: [],
|
|
|
|
|
bookingServiceItem: []
|
|
|
|
|
bookingServiceItem: [],
|
|
|
|
|
SaveLoading: false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
@ -462,6 +463,7 @@ export default {
|
|
|
|
|
this.confirmLoading = true
|
|
|
|
|
validateFields((errors, values) => {
|
|
|
|
|
if (!errors) {
|
|
|
|
|
this.SaveLoading = true
|
|
|
|
|
for (const key in values) {
|
|
|
|
|
if (typeof values[key] === 'object' && !(values[key] === null)) {
|
|
|
|
|
values[key] = JSON.stringify(values[key])
|
|
|
|
@ -489,6 +491,7 @@ export default {
|
|
|
|
|
let Arr = ['sale', 'op', 'doc', 'custservice']
|
|
|
|
|
GetSysUserPage()
|
|
|
|
|
.then(res => {
|
|
|
|
|
this.SaveLoading = false
|
|
|
|
|
if (res.success) {
|
|
|
|
|
let saleUserList = res.data
|
|
|
|
|
Arr.forEach(item => {
|
|
|
|
@ -522,6 +525,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.catch(err => {
|
|
|
|
|
this.SaveLoading = false
|
|
|
|
|
console.log(err)
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|