Commit 90813f4b by 杨北旺

店面服务设置

1 parent ed098b27
......@@ -212,7 +212,7 @@ export default {
if (this.tableData.length) {
this.tableData.forEach(item => {
if (item.id == this.settingData.liveCodeId) {
this.activeId = item.liveCodeUrl
this.activeId = item.qrCode
this.activeInfo = {
codeName: item.codeName,
id: item.id
......@@ -247,7 +247,7 @@ export default {
getHotline() {
this.$apis.beforeSale.getHotlineApi({}).then(res => {
this.editForm.hotline = res.serviceHotline
this.wayRadio = res.codeType
this.wayRadio = res.codeType?res.codeType:1
this.settingData = res
})
},
......@@ -285,7 +285,7 @@ export default {
})
},
handleConfirm() {
if(this.wayRadio==1){
if(this.wayRadio==1 || (this.activeId&&this.wayRadio==2)){
this.comfimSelect()
}
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!