Commit 49845179 by 李伟康

commit 提交

1 parent 8942ff0b
......@@ -46,7 +46,7 @@
/>
</view>
</template>
<template v-if="type != 'preview'">
<template v-if="showTool()">
<tool-box
ref="toolRef"
:data="toolList"
......@@ -130,7 +130,10 @@ export default {
},
receptionTrack () {
return this.$store.state.user.receptionTrack
}
},
watchCustomerInfo () {
return this.$store.state.user.customerInfo
},
},
mounted () {
},
......@@ -256,6 +259,15 @@ export default {
flag = true
}
return flag
},
showTool () {
let { type, watchCustomerInfo, customerType } = this
let flag = false
if (type != 'preview') {
flag = true
if (customerType == 0 && !watchCustomerInfo.phoneNumber) flag = false
}
return flag
}
},
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!