Commit 72fe4dd9 by 张立顺

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

2 parents 803ad51c 1f84cd45
......@@ -16,7 +16,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 2测试
* 3生产环境
* 4预发布
* 5cdptest
* 5cdptest
*/
let index = 1
const accountInfo = wx.getAccountInfoSync()
......
......@@ -326,10 +326,51 @@ module.exports = {
},
// 退款审批列表查询
getRefundReviewListAPI(data) {
return api.post('dj.api.smartcarlife.refundApplyRecord.waitForAudit.list', data)
return api.post(
'dj.api.smartcarlife.refundApplyRecord.waitForAudit.list',
data
)
},
// 日报填报前参数校验
dailyReportCheck(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
})
}
}
......@@ -767,9 +767,10 @@ page {
margin-bottom: 120rpx;
}
.box .operate {
.operate {
position: relative;
font-size: var(--fontSize28);
color: #347BFF;
font-weight: normal;
}
......
......@@ -3,10 +3,17 @@
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<!-- wx:if="{{flag}}" -->
<block>
<!-- {{ sublistVisible||constructionVisible?'hildden':''}} -->
<view class="main {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="status-box" wx:if="{{ orderInfo.status!=10&&orderInfo.status!=9 }}">
<view class="content">客户已付款</view>
<view class="tips">技师施工完毕后,点击完成施工按钮可通知车主前来取车</view>
<block wx:if="{{ allNoConstruction }}">
<view class="content">客户已付款</view>
<view class="tips">订单无需施工,如需要请在本页面工单-更多修改为需要施工</view>
</block>
<block wx:else>
<view class="content">客户已付款</view>
<view class="tips">{{ confirmFlagObj.btnName == 'sublistVisible' ? '请确认订单是否施工,并选择施工服务项目,将产生施工单':'订单未施工,技师施工完成后该订单自动变更为完成施工'}}</view>
</block>
</view>
<view class="status-box" wx:if="{{ orderInfo.status == 10 }}">
<view class="content">订单关闭</view>
......@@ -14,7 +21,6 @@
</view>
<view class="status-box" wx:if="{{ orderInfo.status == 9 }}">
<view class="content">订单已撤销</view>
<!-- <view class="tips">客户支付超过24小时,系统自动关闭订单</view> -->
</view>
<view class="box">
<!-- <view class="title">礼券信息</view> -->
......@@ -30,7 +36,7 @@
</block> -->
<!-- <block wx:if="{{orderInfo.selectPayType != 0 && orderInfo.totalPrice!= 0}}"> -->
<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>{{item.packageName}}</view>
<view class="price">¥{{item.totalPrice}}</view>
......@@ -45,11 +51,39 @@
<view class="meal-bd-bottom">
{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}}
<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>
<image src="/components/images/arrow-x.png" mode="" />
</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月版本全部放开 -->
<!-- wx:if="{{ item.upgradeGoodbpsPosition}}" -->
<!-- <view class="artificer" bindtap="selectArtificer" data-item="{{ item }}">
......@@ -59,7 +93,7 @@
<view class="artificer {{ filter.subStatus(item.constructionStatus) }}">{{filter.subStatusName(item.constructionStatus)}}</view>
</view>
</view>
</view>
</block>
</view>
<view class="cell">
<view class="label icon">
......@@ -307,8 +341,9 @@
</view>
<view wx:else class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<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>
<modal id="modal2" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
<view class="modatcontent">
......@@ -337,7 +372,7 @@
</modal>
<modal id="modal5" class="modal" custom="true" btns="{{ ['取消','确定'] }}">
<view class="modatcontentOrder">
<view class="orderCode">该订单下有施工单,标记错误后将清除施工单,是否确认?</view>
<view class="orderCode">该订单下有待施工单,标记错误后将清除待施工单,是否确认?</view>
</view>
</modal>
<order-popup orderType="4" show="{{ showPopup }}" />
......@@ -357,4 +392,13 @@
filmSelectedItem="{{ filmSelectedItem }}"
bindconfirm="changefilmRollNo"
/>
<select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{ orderInfo }}"></select-invoice-modal>
\ No newline at end of file
<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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!