Commit 0a6082de by 前端

Merge branch 'v1.0.5' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.5

2 parents f9128634 db5263de
...@@ -322,10 +322,10 @@ export default { ...@@ -322,10 +322,10 @@ export default {
if (sceneType == 1) { if (sceneType == 1) {
step = 1 step = 1
this.formObject = formObject_boutique this.formObject = formObject_boutique
if (customerType == 0 && !this.check()) return uni.showToast({ if (customerType == 0 && !this.check()) {
title: '请选择回店客户', this.$emit('back')
icon: 'none' return
}) }
} }
if (step == 2 && !this.check()) { if (step == 2 && !this.check()) {
this.errorTip = true this.errorTip = true
......
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<MessageBox <MessageBox
:popupW="704" :popupW="704"
ref="finish" ref="finish"
content="当前操作视为强制退出接待,若需正常流程完成接待请点击“完成接待”" :content="finishContene"
:isFooter="false" :isFooter="false"
> >
<view class="footer"> <view class="footer">
...@@ -159,7 +159,12 @@ ...@@ -159,7 +159,12 @@
class="footer-btn confirm flex" class="footer-btn confirm flex"
@click="$emit('openStep')" @click="$emit('openStep')"
> >
<template v-if="finishDoneText">
{{finishDoneText}}
</template>
<template v-else>
完成接待<text>(推荐)</text> 完成接待<text>(推荐)</text>
</template>
</view> </view>
<view <view
class="footer-btn cancel flex" class="footer-btn cancel flex"
...@@ -187,6 +192,11 @@ export default { ...@@ -187,6 +192,11 @@ export default {
components: { KfBox, SettingBox }, components: { KfBox, SettingBox },
props: { props: {
id: [String, Number], id: [String, Number],
finishDoneText: String,
finishContene: {
type: String,
default: '当前操作视为强制退出接待,若需正常流程完成接待请点击“完成接待”'
}
}, },
data () { data () {
return { return {
......
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
@submit="done" @submit="done"
:sceneType="1" :sceneType="1"
:customerType="customerType" :customerType="customerType"
@back="backInvitation"
/> />
</view> </view>
</template> </template>
...@@ -169,6 +170,15 @@ export default { ...@@ -169,6 +170,15 @@ export default {
}) })
this.$emit('reception') this.$emit('reception')
}, },
backInvitation () {
this.jumpPage({ id: 13 })
setTimeout(() => {
uni.showToast({
title: '请选择回店客户',
icon: 'none'
})
}, 1e3)
}
}, },
}; };
</script> </script>
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
@openStep="openStep" @openStep="openStep"
@backHome="backHome" @backHome="backHome"
@changeTab="changeTab" @changeTab="changeTab"
finishDoneText="下一步"
finishContene="当前操作是为强制退出接待,若完成客户接待请点击下一步。"
> >
<view class="module-box" slot="module" :key="moduleKey"> <view class="module-box" slot="module" :key="moduleKey">
<template v-for="(i, index) in moduleList"> <template v-for="(i, index) in moduleList">
......
<template> <template>
<view> <view style="font-size: 0;">
<!-- :src="require('@/assets/images/boutique/detail.webp')" --> <!-- :src="require('@/assets/images/boutique/detail.webp')" -->
<image <image
class="detail-img" class="detail-img"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!