Commit 9abcf5ea authored by Facius's avatar Facius

详情页面提示框

parent 190dce11
...@@ -62,6 +62,9 @@ ...@@ -62,6 +62,9 @@
</view> </view>
<!-- 不是从我的页面进来才显示 --> <!-- 不是从我的页面进来才显示 -->
<template v-if="!isFromMine"> <template v-if="!isFromMine">
<view>
<u-toast ref="uToast" />
</view>
<BottomButtons v-if="showBottomBtn" :buttons="buttons" @submit="handleSubmit"></BottomButtons> <BottomButtons v-if="showBottomBtn" :buttons="buttons" @submit="handleSubmit"></BottomButtons>
<take-photo type="test" v-if="takeStatus" @close="closeTake" :upload="false" :num="1"></take-photo> <take-photo type="test" v-if="takeStatus" @close="closeTake" :upload="false" :num="1"></take-photo>
<!-- <PopView title="查看交互规范" message="为完善交付质量,请查看对应的交付规范" :visible.sync="visible" @click="handleClick"/> --> <!-- <PopView title="查看交互规范" message="为完善交付质量,请查看对应的交付规范" :visible.sync="visible" @click="handleClick"/> -->
...@@ -557,7 +560,7 @@ ...@@ -557,7 +560,7 @@
} }
}, },
handleClickSure() { handleClickSure() {
if (this.submitType == 'orderAccept' || this.submitType == 'orderGan') { if ((this.submitType == 'orderAccept' || this.submitType == 'orderGan') && process.uniEnv.node_env == 'prod') {
this.$u.api.checkAddCustomer().then((res) => { this.$u.api.checkAddCustomer().then((res) => {
if (res.code == 200) { if (res.code == 200) {
if(res.data === true){ if(res.data === true){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment