Commit 72fe4dd9 by 张立顺

Merge branch 'SAAS+V5.2.0-1030' into SAAS+V5.3.0-1117

2 parents 803ad51c 1f84cd45
...@@ -326,10 +326,51 @@ module.exports = { ...@@ -326,10 +326,51 @@ module.exports = {
}, },
// 退款审批列表查询 // 退款审批列表查询
getRefundReviewListAPI(data) { getRefundReviewListAPI(data) {
return api.post('dj.api.smartcarlife.refundApplyRecord.waitForAudit.list', data) return api.post(
'dj.api.smartcarlife.refundApplyRecord.waitForAudit.list',
data
)
}, },
// 日报填报前参数校验 // 日报填报前参数校验
dailyReportCheck(data) { dailyReportCheck(data) {
return api.post('dj.api.smartcarlife.staff.daily.report.data.check', data) return api.post('dj.api.smartcarlife.staff.daily.report.data.check', data)
},
// 获取施工单按钮展示标识
showFlag(data) {
return api.post('dj.api.smartcarlife.construction.get.showFlag', data)
},
// 获取主订单商品列表
listSubOrder(data) {
return api.post('dj.api.smartcarlife.construction.list.subOrder', data)
},
/**获取服务项目列表数据 */
getServiceItemList(data) {
return api.post('dj.api.carboutique.construction.item.group.list', data)
},
// 批量添加施工单
batchAdd(data) {
return api.post('dj.api.smartcarlife.construction.batch.add', data)
},
// 查询施工单详情
getConstructionDetail(data) {
return api.post(
'dj.api.smartcarlife.construction.get.construction.detail',
data
)
},
// 根据主订单查询施工单列表
listConstruction(data) {
return api.post('dj.api.smartcarlife.construction.list.construction', data)
},
// 获取园区店下角色名包含技师员工有效列表
getQYTechnicianList(data) {
return api.post('dj.api.smartcarlife.roleTechnician.list.effective', data)
},
/**施工单状态统计 */
statByStatus(data) {
let params = data || {}
return api.post('dj.api.smartcarlife.construction.summary.status', {
...params
})
} }
} }
...@@ -3,7 +3,10 @@ ...@@ -3,7 +3,10 @@
<wxs src="../../index.wxs" module="filter" /> <wxs src="../../index.wxs" module="filter" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy> <glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block wx:if="{{ flag }}"> <block wx:if="{{ flag }}">
<view class="main {{ isFullSucreen?'isFullSucreen':'' }}" style="{{ showRatingPopup ? 'overflow: hidden;height:100vh;' : '' }}"> <view
class="main {{ isFullSucreen?'isFullSucreen':'' }}"
style="{{ showRatingPopup ? 'overflow: hidden;height:100vh;' : '' }}"
>
<view class="status-box"> <view class="status-box">
<view class="userInfo" hover-class="none" hover-stop-propagation="false"> <view class="userInfo" hover-class="none" hover-stop-propagation="false">
<image class="" src="../../images/activeIcon.png" /> <image class="" src="../../images/activeIcon.png" />
...@@ -72,7 +75,9 @@ ...@@ -72,7 +75,9 @@
<view class="price">¥{{item.price}}</view> <view class="price">¥{{item.price}}</view>
</view> </view>
<view class="subItem_box"> <view class="subItem_box">
<view style="{{ !orderInfo.isOpenArtificer || !item.upgradeGoodsPosition ? 'display: flex; justify-content: space-between; width: 100%;' : 'display: flex;' }}"> <view
style="{{ !orderInfo.isOpenArtificer || !item.upgradeGoodsPosition ? 'display: flex; justify-content: space-between; width: 100%;' : 'display: flex;' }}"
>
<view class="position"> <view class="position">
{{item.positionStr || item.upgradeGoodsTypeName}} {{item.positionStr || item.upgradeGoodsTypeName}}
<text class="type">x{{item.number}}</text> <text class="type">x{{item.number}}</text>
...@@ -109,14 +114,23 @@ ...@@ -109,14 +114,23 @@
</view> </view>
<view class="box"> <view class="box">
<view class="title infoTitle"> <view class="title infoTitle">
<view class="flex">工单信息 <view class="flex">
工单信息
<view style="display: flex;gap: var(--fontSize32);margin-left: var(--fontSize32);"> <view style="display: flex;gap: var(--fontSize32);margin-left: var(--fontSize32);">
<view wx:if="{{orderInfo.showInvoiceEntrance || orderInfo.invoiceStatus == 2}}" class="invoice-btn" bindtap="handleBtnInvoice"> <view
wx:if="{{ orderInfo.showInvoiceEntrance || orderInfo.invoiceStatus == 2 }}"
class="invoice-btn"
bindtap="handleBtnInvoice"
>
<gl-image class="icon" src="/icon-invoice.png"></gl-image> <gl-image class="icon" src="/icon-invoice.png"></gl-image>
{{invoiceName}} {{invoiceName}}
</view> </view>
<view wx:if="{{isStaff && showMoreBtn}}"> <view>
<apply-refund-btn orderInfo="{{orderInfo}}"></apply-refund-btn> <apply-refund-btn
updateFlag="{{ updateFlag&&filter.btnPermissions(userPermissions, 'CHUANGJIANSHIGONGDAN')&&(orderInfo.status == 4 || orderInfo.status == 6) }}"
orderInfo="{{ orderInfo }}"
showRefundBtn="{{ isStaff && showMoreBtn }}"
></apply-refund-btn>
</view> </view>
</view> </view>
</view> </view>
...@@ -149,11 +163,20 @@ ...@@ -149,11 +163,20 @@
</block> </block>
</view> </view>
</block> </block>
<block wx:if="{{ (orderInfo.selectPayType == 2 || orderInfo.selectPayType == 5 || orderInfo.selectPayType == 6 || orderInfo.selectPayType == 7) && orderInfo.payVoucherList.length }}"> <block
wx:if="{{ (orderInfo.selectPayType == 2 || orderInfo.selectPayType == 5 || orderInfo.selectPayType == 6 || orderInfo.selectPayType == 7) && orderInfo.payVoucherList.length }}"
>
<view class="cell"> <view class="cell">
<view class="label">付款凭证</view> <view class="label">付款凭证</view>
<view class="image-box"> <view class="image-box">
<view class="value" bindtap="previewImage" wx:for="{{ orderInfo.payVoucherList }}" wx:key="index" data-index="{{ index }}" data-url="{{ orderInfo.payVoucherList }}"> <view
class="value"
bindtap="previewImage"
wx:for="{{ orderInfo.payVoucherList }}"
wx:key="index"
data-index="{{ index }}"
data-url="{{ orderInfo.payVoucherList }}"
>
<view class="image"> <view class="image">
<image src="{{ item.payVoucher }}" /> <image src="{{ item.payVoucher }}" />
</view> </view>
...@@ -169,11 +192,18 @@ ...@@ -169,11 +192,18 @@
<view class="title userTitle"> <view class="title userTitle">
<view>客户信息</view> <view>客户信息</view>
<!-- 已退款或已开票不可修改客户任何信息 --> <!-- 已退款或已开票不可修改客户任何信息 -->
<view bindtap="jumpUserPortrait" class="updateInfo icon {{ orderInfo.status == 12 || orderInfo.invoiceStatus == 2 ||!isMake? 'isHide' : '' }}"> <view
bindtap="jumpUserPortrait"
class="updateInfo icon {{ orderInfo.status == 12 || orderInfo.invoiceStatus == 2 ||!isMake? 'isHide' : '' }}"
>
<image src="{{ IMG_URL }}miniProgram/custom_portrait_icon.png" class="iconImage"></image> <image src="{{ IMG_URL }}miniProgram/custom_portrait_icon.png" class="iconImage"></image>
画像 画像
</view> </view>
<view wx:if="{{ isYqdSuper||isStaff }}" bindtap="jumpUpdate" class="updateInfo {{ orderInfo.status == 12 || orderInfo.invoiceStatus == 2 ||!isMake? 'isHide' : '' }}"> <view
wx:if="{{ isYqdSuper||isStaff }}"
bindtap="jumpUpdate"
class="updateInfo {{ orderInfo.status == 12 || orderInfo.invoiceStatus == 2 ||!isMake? 'isHide' : '' }}"
>
<image src="{{ IMG_URL }}miniProgram/edit_icon.png" class="iconImage"></image> <image src="{{ IMG_URL }}miniProgram/edit_icon.png" class="iconImage"></image>
客户信息 客户信息
</view> </view>
...@@ -239,11 +269,9 @@ ...@@ -239,11 +269,9 @@
<view class="warranty-card"> <view class="warranty-card">
<view class="warranty-name"> <view class="warranty-name">
<view class="name text-hide value">{{filter.replaceItemText(item.goodsName)}}</view> <view class="name text-hide value">{{filter.replaceItemText(item.goodsName)}}</view>
<view wx:if="{{item.warrantyPeriod}}" class="right" bind:tap="showWarranty" data-item="{{item}}"> <view wx:if="{{ item.warrantyPeriod }}" class="right" bind:tap="showWarranty" data-item="{{ item }}">
<gl-image class="editIcon" src="/miniProgram/edit_icon.png"></gl-image> <gl-image class="editIcon" src="/miniProgram/edit_icon.png"></gl-image>
<view class="warranty-price"> <view class="warranty-price">质保价格</view>
质保价格
</view>
</view> </view>
</view> </view>
<view class="value"> <view class="value">
...@@ -296,6 +324,19 @@ ...@@ -296,6 +324,19 @@
<view class="checkBtn" bindtap="redirectOrder">去查看</view> <view class="checkBtn" bindtap="redirectOrder">去查看</view>
</view> </view>
</view> </view>
<!-- <view class="btn text-center" data-btnName="{{ confirmFlagObj.btnName }}" bindtap="showModal">{{confirmFlagObj.showBtn}}</view> -->
<view
wx:if="{{ confirmFlagObj.btnName == 'constructionVisible' }}"
class="btn text-center"
data-btnName="{{ confirmFlagObj.btnName }}"
bindtap="showModal"
>{{confirmFlagObj.showBtn}}</view>
<view
wx:if="{{ confirmFlagObj.btnName == 'sublistVisible' &&filter.btnPermissions(userPermissions, 'CHUANGJIANSHIGONGDAN') &&(orderInfo.status == 4 || orderInfo.status == 6) }}"
class="btn text-center"
data-btnName="{{ confirmFlagObj.btnName }}"
bindtap="showModal"
>{{confirmFlagObj.showBtn}}</view>
</block> </block>
</block> </block>
<modal id="modal3" class="modal" custom="true" btns="{{ ['取消','确定'] }}"> <modal id="modal3" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
...@@ -336,24 +377,40 @@ ...@@ -336,24 +377,40 @@
</view> </view>
</view> </view>
</modal> </modal>
<modal id="modal4" class="modal" custom="true" btns="{{ ['取消','确定'] }}"> <modal id="modal4" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
<view class="modatcontent"> <view class="modatcontent">
<view class="title"> <view class="title">质保价格</view>
质保价格 <view class="productName">产品: {{filter.replaceItemText(warrantyEditObj.goodsName)}}</view>
</view>
<view class="productName">
产品: {{filter.replaceItemText(warrantyEditObj.goodsName)}}
</view>
<view class="label">质保价格</view> <view class="label">质保价格</view>
<view class="textarea"> <view class="textarea">
<gl-textarea focus="{{focus}}" showWordLimit="{{true}}" value="{{warrantyEditObj.warrantyPrice}}" bindinput="blur" bindblur="blur" maxlength="50" placeholder="请输入内容,最多50字" /> <gl-textarea
</view> focus="{{ focus }}"
<view class="tips"> showWordLimit="{{ true }}"
质保价格输入的内容会在车主查询质保卡时显示 value="{{ warrantyEditObj.warrantyPrice }}"
</view> bindinput="blur"
bindblur="blur"
maxlength="50"
placeholder="请输入内容,最多50字"
/>
</view>
<view class="tips">质保价格输入的内容会在车主查询质保卡时显示</view>
</view> </view>
</modal> </modal>
<orderRatingPopup bind:close="RatingPopupSetting" title="查看签名/施工图" flag="{{ showRatingPopup }}" wx:if="{{ showRatingPopup }}" orderInfoSetting="{{ orderInfo }}" />
<select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{orderInfo}}"></select-invoice-modal>
<order-prompt-popup wx:if="{{ showPromptDialog }}" show="{{ showPromptDialog }}" bindcancel="promptCancel" bindconfirm="promptHandleConfirm" popupSlotStyle="height: calc(100% - var(--fontSize160));" height="var(--fontSize540);" includesChildHeight="var(--fontSize1020);" sceneObj="{{orderInfo}}"></order-prompt-popup>
\ No newline at end of file \ No newline at end of file
<orderRatingPopup
bind:close="RatingPopupSetting"
title="查看签名/施工图"
flag="{{ showRatingPopup }}"
wx:if="{{ showRatingPopup }}"
orderInfoSetting="{{ orderInfo }}"
/>
<select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{ orderInfo }}"></select-invoice-modal>
<order-prompt-popup
wx:if="{{ showPromptDialog }}"
show="{{ showPromptDialog }}"
bindcancel="promptCancel"
bindconfirm="promptHandleConfirm"
popupSlotStyle="height: calc(100% - var(--fontSize160));"
height="var(--fontSize540);"
includesChildHeight="var(--fontSize1020);"
sceneObj="{{ orderInfo }}"
></order-prompt-popup>
\ No newline at end of file \ No newline at end of file
...@@ -767,9 +767,10 @@ page { ...@@ -767,9 +767,10 @@ page {
margin-bottom: 120rpx; margin-bottom: 120rpx;
} }
.box .operate { .operate {
position: relative; position: relative;
font-size: var(--fontSize28); font-size: var(--fontSize28);
color: #347BFF;
font-weight: normal; font-weight: normal;
} }
......
...@@ -3,10 +3,17 @@ ...@@ -3,10 +3,17 @@
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy> <glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<!-- wx:if="{{flag}}" --> <!-- wx:if="{{flag}}" -->
<block> <block>
<!-- {{ sublistVisible||constructionVisible?'hildden':''}} -->
<view class="main {{ isFullSucreen?'isFullSucreen':'' }}"> <view class="main {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="status-box" wx:if="{{ orderInfo.status!=10&&orderInfo.status!=9 }}"> <view class="status-box" wx:if="{{ orderInfo.status!=10&&orderInfo.status!=9 }}">
<block wx:if="{{ allNoConstruction }}">
<view class="content">客户已付款</view> <view class="content">客户已付款</view>
<view class="tips">技师施工完毕后,点击完成施工按钮可通知车主前来取车</view> <view class="tips">订单无需施工,如需要请在本页面工单-更多修改为需要施工</view>
</block>
<block wx:else>
<view class="content">客户已付款</view>
<view class="tips">{{ confirmFlagObj.btnName == 'sublistVisible' ? '请确认订单是否施工,并选择施工服务项目,将产生施工单':'订单未施工,技师施工完成后该订单自动变更为完成施工'}}</view>
</block>
</view> </view>
<view class="status-box" wx:if="{{ orderInfo.status == 10 }}"> <view class="status-box" wx:if="{{ orderInfo.status == 10 }}">
<view class="content">订单关闭</view> <view class="content">订单关闭</view>
...@@ -14,7 +21,6 @@ ...@@ -14,7 +21,6 @@
</view> </view>
<view class="status-box" wx:if="{{ orderInfo.status == 9 }}"> <view class="status-box" wx:if="{{ orderInfo.status == 9 }}">
<view class="content">订单已撤销</view> <view class="content">订单已撤销</view>
<!-- <view class="tips">客户支付超过24小时,系统自动关闭订单</view> -->
</view> </view>
<view class="box"> <view class="box">
<!-- <view class="title">礼券信息</view> --> <!-- <view class="title">礼券信息</view> -->
...@@ -30,7 +36,7 @@ ...@@ -30,7 +36,7 @@
</block> --> </block> -->
<!-- <block wx:if="{{orderInfo.selectPayType != 0 && orderInfo.totalPrice!= 0}}"> --> <!-- <block wx:if="{{orderInfo.selectPayType != 0 && orderInfo.totalPrice!= 0}}"> -->
<view class="title">商品</view> <view class="title">商品</view>
<view class="meal-box" wx:for="{{ orderInfo.packageGoodsList }}"> <view class="meal-box" wx:for="{{ orderInfo.packageGoodsList }}" wx:key="index">
<view class="meal-hd"> <view class="meal-hd">
<view>{{item.packageName}}</view> <view>{{item.packageName}}</view>
<view class="price">¥{{item.totalPrice}}</view> <view class="price">¥{{item.totalPrice}}</view>
...@@ -45,11 +51,39 @@ ...@@ -45,11 +51,39 @@
<view class="meal-bd-bottom"> <view class="meal-bd-bottom">
{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}} {{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}}
<view class="count">x{{g.number}}</view> <view class="count">x{{g.number}}</view>
<view class="artificer" bindtap="selectArtificer" data-item="{{ g }}"> <view class="artificer {{ filter.subStatus(g.constructionStatus) }}">{{filter.subStatusName(g.constructionStatus)}}</view>
<!-- <view class="artificer" bindtap="selectArtificer" data-item="{{ g }}">
<text class="{{ !g.technicianName ? 'grey_text' : '' }} 'text-hide'">{{g.technicianName || '选择技师'}}</text> <text class="{{ !g.technicianName ? 'grey_text' : '' }} 'text-hide'">{{g.technicianName || '选择技师'}}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> -->
</view>
</view> </view>
--> </view>
</view>
<view class="goods">
<block wx:for="{{ orderInfo.subOrderList }}" wx:key="index">
<view class="item">
<view class="subItem_box goods_name">
<view class="name text-hide">
{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || ''}}
</view>
<view class="price">¥{{item.price}}</view>
</view>
<view class="subItem_box">
<view
style="{{ !orderInfo.isOpenArtificer || !item.upgradeGoodsPosition ? 'display: flex; justify-content: space-between; width: 100%;' : 'display: flex;' }}"
>
<!-- 太阳膜类展示部位 精品类展示类目名 -->
<view class="position">
{{item.positionStr || item.upgradeGoodsTypeName}}
<text class="type">x{{item.number}}</text>
</view>
</view>
<!-- 设置膜卷号(不需走签名 战败订单) -->
<!-- <view wx:if="{{ (!signatureSwitch || orderInfo.selectPayType == 0) && isUseFilmRoll && item.filmNumberData.length }}" class="film-roll disabled" bindtap="selectfilmRollNo" data-item="{{ item }}" data-index="{{ index }}">
<text class="{{ !item.filmRollNo ? 'grey_text' : '' }} 'text-hide'">{{item.filmRollNo || '选择膜卷号'}}</text>
<image src="/components/images/arrow-x.png" mode="" />
</view> -->
<!-- 太阳膜类且配置技师 25-8月版本全部放开 --> <!-- 太阳膜类且配置技师 25-8月版本全部放开 -->
<!-- wx:if="{{ item.upgradeGoodbpsPosition}}" --> <!-- wx:if="{{ item.upgradeGoodbpsPosition}}" -->
<!-- <view class="artificer" bindtap="selectArtificer" data-item="{{ item }}"> <!-- <view class="artificer" bindtap="selectArtificer" data-item="{{ item }}">
...@@ -59,7 +93,7 @@ ...@@ -59,7 +93,7 @@
<view class="artificer {{ filter.subStatus(item.constructionStatus) }}">{{filter.subStatusName(item.constructionStatus)}}</view> <view class="artificer {{ filter.subStatus(item.constructionStatus) }}">{{filter.subStatusName(item.constructionStatus)}}</view>
</view> </view>
</view> </view>
</view> </block>
</view> </view>
<view class="cell"> <view class="cell">
<view class="label icon"> <view class="label icon">
...@@ -307,8 +341,9 @@ ...@@ -307,8 +341,9 @@
</view> </view>
<view wx:else class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}"> <view wx:else class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" /> <tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
<!-- <view class="btn text-center" bindtap="showAgain">继续下单</view> -->
<view class="btn text-center" bindtap="confirmConstruction">确认完成施工</view> <view class="btn text-center" bindtap="confirmConstruction">确认完成施工</view>
</view> -->
<!-- </block> -->
</block> </block>
<modal id="modal2" class="modal" custom="true" btns="{{ ['取消','确定'] }}"> <modal id="modal2" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
<view class="modatcontent"> <view class="modatcontent">
...@@ -337,7 +372,7 @@ ...@@ -337,7 +372,7 @@
</modal> </modal>
<modal id="modal5" class="modal" custom="true" btns="{{ ['取消','确定'] }}"> <modal id="modal5" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
<view class="modatcontentOrder"> <view class="modatcontentOrder">
<view class="orderCode">该订单下有施工单,标记错误后将清除施工单,是否确认?</view> <view class="orderCode">该订单下有待施工单,标记错误后将清除待施工单,是否确认?</view>
</view> </view>
</modal> </modal>
<order-popup orderType="4" show="{{ showPopup }}" /> <order-popup orderType="4" show="{{ showPopup }}" />
...@@ -358,3 +393,12 @@ ...@@ -358,3 +393,12 @@
bindconfirm="changefilmRollNo" bindconfirm="changefilmRollNo"
/> />
<select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{ orderInfo }}"></select-invoice-modal> <select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{ orderInfo }}"></select-invoice-modal>
<sublist-modal visible="{{ sublistVisible }}" orderInfo="{{ orderInfo }}" orderCode="{{ orderCode }}" bindcancel="sublistCancel"></sublist-modal>
<ConstructionDetailModal
visible="{{ constructionVisible }}"
orderInfo="{{ orderInfo }}"
orderCode="{{ orderCode }}"
bindcancel="constructionCancel"
></ConstructionDetailModal>
<!-- <dialog show="{{showModal}}" confirmText="确定" cancelText="取消" showCancelButton success="{{success}}" bindconfirm="dialogConfirm" bindcancel="dialogClose" text="{{dialogText}}">
</dialog> -->
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!