接单成功提示;师傅退单理由补充;
This commit is contained in:
parent
65845e88df
commit
87baf27035
|
|
@ -27,7 +27,7 @@
|
|||
<view class="margin-top-sm padding bg-white">
|
||||
<view class="margin-bottom-sm">具体原因</view>
|
||||
<textarea style="width: 100%;" class="solid radius text-left padding-sm" v-model="formData.detailDesc" maxlength="-1"
|
||||
placeholder="接单半小时内退单你无责,无故退单、无理由退单引起客诉将由您承担责任;请如实填写退单原因!平台方将实时监管本次订单。"></textarea>
|
||||
placeholder="本次原因请如实填写。无故退单,无理由退单引起客诉的你有责,订单大多数由推荐/分销人员带单产生,注意不要产生私自成交,撬单等行为,造成订单销售人员的佣金损失,不利于长远合作。被带单销售人员发现恶意违规破坏合作的,将追责3000元/单。"></textarea>
|
||||
</view>
|
||||
<view class="margin-top-sm padding bg-white">
|
||||
<view class="margin-bottom-sm">上传凭证(选填)</view>
|
||||
|
|
@ -61,10 +61,34 @@
|
|||
},
|
||||
cancelReasonList: [{
|
||||
reasonId: 1,
|
||||
reasonName: '申请退单原因分类1'
|
||||
reasonName: '客户的时间我无法配合'
|
||||
}, {
|
||||
reasonId: 2,
|
||||
reasonName: '申请退单原因分类2'
|
||||
reasonName: '客户多次爽约'
|
||||
}, {
|
||||
reasonId: 3,
|
||||
reasonName: '客户不能确定时间'
|
||||
}, {
|
||||
reasonId: 4,
|
||||
reasonName: '客户多天未能联系上'
|
||||
}, {
|
||||
reasonId: 5,
|
||||
reasonName: '客户说无此服务'
|
||||
}, {
|
||||
reasonId: 6,
|
||||
reasonName: '客户要求已超出服务范围'
|
||||
}, {
|
||||
reasonId: 7,
|
||||
reasonName: '环境问题无法施工'
|
||||
}, {
|
||||
reasonId: 8,
|
||||
reasonName: '技能原因无法完成'
|
||||
}, {
|
||||
reasonId: 9,
|
||||
reasonName: '分岐未能谈妥'
|
||||
}, {
|
||||
reasonId: 10,
|
||||
reasonName: '不愿支付费用'
|
||||
}]
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -0,0 +1,54 @@
|
|||
<template>
|
||||
<view>
|
||||
<!-- 模态框 -->
|
||||
<view class="cu-modal" :class="show?'show':''">
|
||||
<view class="cu-dialog">
|
||||
<view class="padding-xl">
|
||||
<view class="cuIcon-roundcheck big-icon padding-tb text-main-color"></view>
|
||||
<view class="text-bold text-lg margin-bottom-sm">接单成功</view>
|
||||
<view v-if="data.payType == 0">请在30分钟内联系客户,预约好上门时间,并在订单中操作排单时间,超时6倍将受平台处罚管理;该订单款项在任务流程结束后由银联自动结算至您帐户! </view>
|
||||
<view v-else-if="data.payType == 1">该单需上门收款。请在30分钟内联系客户,并告知客户属上门收款单(金额以客户端弹出的金额为准或上门后师傅端弹出的二维码内金额支付)预约好上门时间,并在订单中操作排单时间,超时6倍将受平台处罚管理;该订单款项在任务流程结束后由银联自动结算至您帐户! </view>
|
||||
</view>
|
||||
<view class="cu-bar bg-white solid-top">
|
||||
<view class="action margin-0 flex-sub text-main-color" data-modal="showAcceptOrderNoticeModal"
|
||||
@click="contactCustomer">联系客户</view>
|
||||
<view class="action margin-0 flex-sub text-black solid-left" data-modal="showAcceptOrderNoticeModal"
|
||||
@tap="hideModal">稍后联系</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'acceptOrderNotice',
|
||||
emits: ['confirmFeedback'],
|
||||
props: {
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
data: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
hideModal(e) {
|
||||
uni.$emit(this.$globalFun.HIDE_MODAL, e);
|
||||
},
|
||||
contactCustomer(e) {
|
||||
this.hideModal(e);
|
||||
this.$emit('confirmFeedback')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
|
|
@ -204,8 +204,8 @@
|
|||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm">改价</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm">转发</button> -->
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" @click="showServOrderDetail(order)">查看</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" @tap="acceptOrder(order.orderMasterId, order.orderMasterCode, 1, 'updateMasterOrder')" v-if="order.orderDetailId == null">确认接单</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" @tap="acceptOrder(order.orderDetailId, order.orderDetailCode, 1, 'updateDetailOrder')" v-else>确认接单</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" data-modal="showAcceptOrderNoticeModal" @click="acceptOrder($event, order, order.orderMasterId, order.orderMasterCode, 1, 'updateMasterOrder')" v-if="order.orderDetailId == null">确认接单</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" data-modal="showAcceptOrderNoticeModal" @click="acceptOrder($event, order, order.orderDetailId, order.orderDetailCode, 1, 'updateDetailOrder')" v-else>确认接单</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" v-if="order.orderDetailId == null" @click="rejectMasterOrder(order)">拒绝接单</button>
|
||||
<button class="cu-btn bg-main-color margin-right-xs shadow-blur margin-top-sm" v-else @click="rejectDetailOrder(order)">拒绝接单</button>
|
||||
</view>
|
||||
|
|
@ -424,6 +424,7 @@
|
|||
<urgent-msg v-if="sendUrgentMsgModal" :show="sendUrgentMsgModal" @hideModal="hideModal"></urgent-msg>
|
||||
<pic-modal ref="showPicModal" :imgList="picModalImgList"></pic-modal>
|
||||
<on-door-immediately v-if="showOnDoorNoticeModal" :show="showOnDoorNoticeModal" :data="curOrder" @confirmFeedback="reloadMasterOrderPage"></on-door-immediately>
|
||||
<accept-order-notice v-if="showAcceptOrderNoticeModal" :show="showAcceptOrderNoticeModal" :data="curOrder" @confirmFeedback="setCurTab(0)"></accept-order-notice>
|
||||
<confirm-modal ref="ledgerAccountRemark" :showCancel="false" :showConfirm="true">
|
||||
<block slot="contentView">
|
||||
<view class="text-left">
|
||||
|
|
@ -466,6 +467,7 @@
|
|||
import agreeAfterSale from '@/pages/order-manage/modal/agree-after-sale.vue';
|
||||
import rejectAfterSale from '@/pages/order-manage/modal/reject-after-sale.vue';
|
||||
import onDoorImmediately from '@/pages/order-manage/modal/on-door-immediately.vue';
|
||||
import acceptOrderNotice from '@/pages/order-manage/modal/accept-order-notice.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
|
@ -482,7 +484,8 @@
|
|||
loadStatusBar,
|
||||
agreeAfterSale,
|
||||
rejectAfterSale,
|
||||
onDoorImmediately
|
||||
onDoorImmediately,
|
||||
acceptOrderNotice
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
@ -564,6 +567,7 @@
|
|||
showPayQrcodeModal: false,
|
||||
showEditTimeArrangeModal: false,
|
||||
showOnDoorNoticeModal: false,
|
||||
showAcceptOrderNoticeModal: false,
|
||||
sendUrgentMsgModal: false,
|
||||
agreeAfterSale: false,
|
||||
rejectAfterSale: false,
|
||||
|
|
@ -1113,9 +1117,15 @@
|
|||
}
|
||||
return true;
|
||||
},
|
||||
acceptOrder(id, code, status, funName) {
|
||||
let _this = this;
|
||||
_this.updateOrderStatus(id, status, funName);
|
||||
async acceptOrder(e, order, id, code, status, funName) {
|
||||
let res = await this.$request[funName]({
|
||||
id: id,
|
||||
orderStatus: status,
|
||||
});
|
||||
if (res && res.code === 0) {
|
||||
this.reloadMasterOrderPage();
|
||||
this.showModal(e, order);
|
||||
}
|
||||
},
|
||||
async noticeMsg(params = {}) {
|
||||
this.$request.noticeMsg({
|
||||
|
|
@ -1369,6 +1379,11 @@
|
|||
duration: 1000,
|
||||
title: '提交失败',
|
||||
})
|
||||
},
|
||||
setCurTab(curTab) {
|
||||
this.tabCur = curTab;
|
||||
this.stateCur = null;
|
||||
this.reloadMasterOrderPage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue