Commit 90813f4b by 杨北旺

店面服务设置

1 parent ed098b27
...@@ -212,7 +212,7 @@ export default { ...@@ -212,7 +212,7 @@ export default {
if (this.tableData.length) { if (this.tableData.length) {
this.tableData.forEach(item => { this.tableData.forEach(item => {
if (item.id == this.settingData.liveCodeId) { if (item.id == this.settingData.liveCodeId) {
this.activeId = item.liveCodeUrl this.activeId = item.qrCode
this.activeInfo = { this.activeInfo = {
codeName: item.codeName, codeName: item.codeName,
id: item.id id: item.id
...@@ -247,7 +247,7 @@ export default { ...@@ -247,7 +247,7 @@ export default {
getHotline() { getHotline() {
this.$apis.beforeSale.getHotlineApi({}).then(res => { this.$apis.beforeSale.getHotlineApi({}).then(res => {
this.editForm.hotline = res.serviceHotline this.editForm.hotline = res.serviceHotline
this.wayRadio = res.codeType this.wayRadio = res.codeType?res.codeType:1
this.settingData = res this.settingData = res
}) })
}, },
...@@ -285,7 +285,7 @@ export default { ...@@ -285,7 +285,7 @@ export default {
}) })
}, },
handleConfirm() { handleConfirm() {
if(this.wayRadio==1){ if(this.wayRadio==1 || (this.activeId&&this.wayRadio==2)){
this.comfimSelect() this.comfimSelect()
} }
this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => { this.$refs.editFormRef.$refs[this.editChildRef].validate(valid => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!