Commit 6ffa38a4 by wangzhihui

Merge branch 'SAAS+V4.56.0-0908' of http://192.168.3.233:8090/saas_plus/dj-car-b…

…outique-work-wechat into SAAS+V4.56.0-0908
2 parents 726bd7ac 1d16bbf3
...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 1; let index = 2;
const accountInfo = wx.getAccountInfoSync(); const accountInfo = wx.getAccountInfoSync();
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
const envName = accountInfo.miniProgram.envVersion; const envName = accountInfo.miniProgram.envVersion;
......
...@@ -426,11 +426,11 @@ Page({ ...@@ -426,11 +426,11 @@ Page({
e.customerCoupon.createdDate e.customerCoupon.createdDate
).format("yyyy-MM-dd hh:mm:ss"); ).format("yyyy-MM-dd hh:mm:ss");
} }
if (e.customer) { if (e.merchantCoupon) {
if (e.customerCoupon?.employeeName) if (e.customerCoupon?.employeeName)
e.employeeName = e.customerCoupon.employeeName; e.employeeName = e.customerCoupon.employeeName;
e.merchantName = e.customer.merchantName; e.merchantName = e.merchantCoupon.merchantName;
e.yqMerchantName = e.customer.yqMerchantName; e.yqMerchantName = e.merchantCoupon.yqMerchantName;
} }
}); });
const userType = const userType =
......
...@@ -176,14 +176,6 @@ Component({ ...@@ -176,14 +176,6 @@ Component({
that.setData({ that.setData({
orderInfo orderInfo
}) })
// const customerPhotos = orderInfo.subOrderList[
// index
// ].constructionImgList.map(item => {
// return {
// customerPhoto: item,
// subOrderCode: orderInfo.subOrderList[index].subOrderCode
// }
// })
const customerPhotos = orderInfo.subOrderList.reduce((pre, item) => { const customerPhotos = orderInfo.subOrderList.reduce((pre, item) => {
if (item.constructionImgList) { if (item.constructionImgList) {
item.constructionImgList.map(el => { item.constructionImgList.map(el => {
...@@ -247,6 +239,11 @@ Component({ ...@@ -247,6 +239,11 @@ Component({
}, },
setOrderInfo(orderInfo) { setOrderInfo(orderInfo) {
console.log(orderInfo, 'orderInfo') console.log(orderInfo, 'orderInfo')
orderInfo?.packageGoodsList.forEach(e => {
e.packageGoodsOrderList.forEach(child => {
orderInfo.subOrderList.push(child)
})
})
// constructionImgList // constructionImgList
orderInfo.customerPhotos.forEach(item => { orderInfo.customerPhotos.forEach(item => {
orderInfo.subOrderList.forEach(el => { orderInfo.subOrderList.forEach(el => {
...@@ -258,6 +255,7 @@ Component({ ...@@ -258,6 +255,7 @@ Component({
} }
} }
}) })
}) })
orderInfo.evaluation = orderInfo.evaluation.split(',') orderInfo.evaluation = orderInfo.evaluation.split(',')
console.log(orderInfo.subOrderList, 'orderInfo.evaluation') console.log(orderInfo.subOrderList, 'orderInfo.evaluation')
......
...@@ -233,11 +233,13 @@ Page({ ...@@ -233,11 +233,13 @@ Page({
isErrorOrder: true, isErrorOrder: true,
}); });
} }
// options.orderCode = '250908213534979'
this.getDetail(options.orderCode); this.getDetail(options.orderCode);
} }
}, },
async getDetail(orderCode) { async getDetail(orderCode) {
// console.log(orderCode) // console.log(orderCode)
let _this = this; let _this = this;
let { isErrorOrder } = this.data; let { isErrorOrder } = this.data;
const positionTypeList = (await getPositionList()) || []; const positionTypeList = (await getPositionList()) || [];
...@@ -340,7 +342,7 @@ Page({ ...@@ -340,7 +342,7 @@ Page({
}); });
} }
// 是2:门店收款 5:嘀加收款 6:对公转账 7:其它收款并且不是错误订单 自动打开门店收款弹窗 // 是2:门店收款 5:嘀加收款 6:对公转账 7:其它收款并且不是错误订单 自动打开门店收款弹窗
if ( !isErrorOrder && [2, 5, 6, 7].includes(Number(data.selectPayType)) ) { if (!isErrorOrder && [2, 5, 6, 7].includes(Number(data.selectPayType))) {
this.toshowDateModal(); this.toshowDateModal();
} }
// 获取园区店技师配置信息 // 获取园区店技师配置信息
...@@ -432,6 +434,7 @@ Page({ ...@@ -432,6 +434,7 @@ Page({
// 选择技师确认 // 选择技师确认
changeArtificer(e) { changeArtificer(e) {
console.log(e);
let value = e?.detail || {}; let value = e?.detail || {};
let { orderInfo } = this.data; let { orderInfo } = this.data;
orderInfo?.subOrderList?.forEach((val) => { orderInfo?.subOrderList?.forEach((val) => {
...@@ -441,6 +444,16 @@ Page({ ...@@ -441,6 +444,16 @@ Page({
val.technicianId = value.technicianId; val.technicianId = value.technicianId;
} }
}); });
orderInfo?.packageGoodsList?.forEach((child) => {
console.log(child, 'child');
child?.goodsList.forEach((val) => {
if (val.subOrderCode == value?.subOrderCode) {
val.technicianName = value.technicianName;
val.technicianUuid = value.technicianUuid;
val.technicianId = value.technicianId;
}
})
});
let params = { let params = {
orderCode: orderInfo?.orderCode, orderCode: orderInfo?.orderCode,
subOrderCode: value?.subOrderCode, subOrderCode: value?.subOrderCode,
...@@ -456,6 +469,7 @@ Page({ ...@@ -456,6 +469,7 @@ Page({
artificerSelectObj: value, artificerSelectObj: value,
orderInfo, orderInfo,
}); });
} else { } else {
wx.$util.showToast(message); wx.$util.showToast(message);
} }
......
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
</view> </view>
<view class="meal-bd-bottom">{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}} <view class="meal-bd-bottom">{{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}}">
<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> </view>
...@@ -68,8 +72,8 @@ ...@@ -68,8 +72,8 @@
<view class="position">{{item.positionStr || item.upgradeGoodsTypeName}}</view> <view class="position">{{item.positionStr || item.upgradeGoodsTypeName}}</view>
<view class="type">x{{item.number}}</view> <view class="type">x{{item.number}}</view>
</view> </view>
<!-- 太阳膜类且配置技师 --> <!-- 太阳膜类且配置技师 不需要限制是太阳膜 && item.upgradeGoodsPosition-->
<view wx:if="{{orderInfo.isOpenArtificer && item.upgradeGoodsPosition}}" class="artificer" bindtap="selectArtificer" data-item="{{item}}"> <view wx:if="{{orderInfo.isOpenArtificer }}" class="artificer" bindtap="selectArtificer" data-item="{{item}}">
<text class="{{!item.technicianName ? 'grey_text' : ''}} 'text-hide'">{{item.technicianName || '选择技师'}}</text> <text class="{{!item.technicianName ? 'grey_text' : ''}} 'text-hide'">{{item.technicianName || '选择技师'}}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
......
...@@ -171,7 +171,7 @@ Page({ ...@@ -171,7 +171,7 @@ Page({
let { payFlag, payType } = e.detail let { payFlag, payType } = e.detail
let paymentMethod = payFlag != 2 ? 1 : payType let paymentMethod = payFlag != 2 ? 1 : payType
if (payFlag == 1 || payType == 3 || payType == 4 || payType == 6) { if (payFlag == 1 || payType == 3 || payType == 4 || payType == 6) {
wx.$router.go('tabWorkOrder.createOrder', {paymentMethod, ...orderInfo}) wx.$router.go('tabWorkOrder.createOrder', { paymentMethod, ...orderInfo })
} else { } else {
this.tipsEvent() this.tipsEvent()
} }
...@@ -372,6 +372,7 @@ Page({ ...@@ -372,6 +372,7 @@ Page({
onRoute(options) { onRoute(options) {
// wx.$router.go("pages.index"); // wx.$router.go("pages.index");
console.log(options); console.log(options);
// options.orderCode = '250908213534979'
if (options.orderCode) { if (options.orderCode) {
this.setData({ this.setData({
orderCode: options.orderCode, orderCode: options.orderCode,
...@@ -386,6 +387,7 @@ Page({ ...@@ -386,6 +387,7 @@ Page({
onLoad: function (options) { onLoad: function (options) {
console.log(options); console.log(options);
// debugger // debugger
// options.orderCode = '250908213534979'
if (options.orderCode) { if (options.orderCode) {
this.getOrderDetail(options.orderCode); this.getOrderDetail(options.orderCode);
} }
......
...@@ -218,7 +218,7 @@ page { ...@@ -218,7 +218,7 @@ page {
width: 100%; width: 100%;
} }
.box .goods .item .subItem_box .artificer,
.film-roll { .film-roll {
height: var(--fontSize48); height: var(--fontSize48);
background: #FFFFFF; background: #FFFFFF;
...@@ -232,6 +232,20 @@ page { ...@@ -232,6 +232,20 @@ page {
font-size: var(--fontSize24); font-size: var(--fontSize24);
} }
.artificer {
height: var(--fontSize48);
background: #FFFFFF;
border: var(--fontSize1) solid #DEE0E3;
border-radius: var(--fontSize26);
display: flex;
align-items: center;
justify-content: center;
padding: 0 var(--fontSize24);
color: #292D33;
font-size: var(--fontSize24);
margin-left: auto;
}
.box .goods .item .subItem_box .artificer.disabled, .box .goods .item .subItem_box .artificer.disabled,
.film-roll.disabled { .film-roll.disabled {
color: #BEC1C7; color: #BEC1C7;
......
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
<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" />
客户{{orderInfo.customerName}} 客户{{orderInfo.customerName}}
<block wx:if="{{ orderInfo.electronicSignature }}"> <!-- wx:if="{{ orderInfo.constructionFlag !='Y' }}" -->
<block>
<view class="signBtn text-center" bindtap="RatingPopupSetting">查看签名/施工图</view> <view class="signBtn text-center" bindtap="RatingPopupSetting">查看签名/施工图</view>
</block> </block>
</view> </view>
...@@ -53,6 +54,10 @@ ...@@ -53,6 +54,10 @@
<view class="meal-bd-bottom"> <view class="meal-bd-bottom">
{{g.positionStr || g.upgradeGoodsTypeName}} {{g.positionStr || g.upgradeGoodsTypeName}}
<view class="count">x{{g.number}}</view> <view class="count">x{{g.number}}</view>
<view wx:if="{{ g.technicianName }}" class="artificer disabled" >
<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> </view>
...@@ -79,8 +84,8 @@ ...@@ -79,8 +84,8 @@
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
<!-- 技师 --> <!-- 技师 -->
<view wx:if="{{ item.technicianName && item.upgradeGoodsPosition }}" class="artificer disabled" data-item="{{ item }}"> <view wx:if="{{ item.technicianName }}" class="artificer disabled" data-item="{{ item }}">
<text class="{{ !item.technicianName ? 'grey_text' : '' }} 'text-hide'">{{item.technicianName || '选择技师'}}</text> <text class="{{ !item.technicianName ? 'grey_text' : '' }} 'text-hide'">{{item.technicianName }}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
</view> </view>
......
...@@ -436,6 +436,16 @@ Page({ ...@@ -436,6 +436,16 @@ Page({
val.technicianId = value.technicianId val.technicianId = value.technicianId
} }
}) })
orderInfo?.packageGoodsList?.forEach((child) => {
console.log(child, 'child');
child?.goodsList.forEach((val) => {
if (val.subOrderCode == value?.subOrderCode) {
val.technicianName = value.technicianName;
val.technicianUuid = value.technicianUuid;
val.technicianId = value.technicianId;
}
})
});
let params = { let params = {
orderCode: orderInfo?.orderCode, orderCode: orderInfo?.orderCode,
subOrderCode: value?.subOrderCode, subOrderCode: value?.subOrderCode,
......
...@@ -44,6 +44,10 @@ ...@@ -44,6 +44,10 @@
</view> </view>
<view class="meal-bd-bottom">{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}} <view class="meal-bd-bottom">{{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}}">
<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> </view>
...@@ -67,8 +71,9 @@ ...@@ -67,8 +71,9 @@
<text class="{{!item.filmRollNo ? 'grey_text' : ''}} 'text-hide'">{{item.filmRollNo || '选择膜卷号'}}</text> <text class="{{!item.filmRollNo ? 'grey_text' : ''}} 'text-hide'">{{item.filmRollNo || '选择膜卷号'}}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
<!-- 太阳膜类且配置技师 --> <!-- 太阳膜类且配置技师 25-8月版本全部放开 -->
<view wx:if="{{ item.upgradeGoodsPosition}}" class="artificer" bindtap="selectArtificer" data-item="{{item}}"> <!-- wx:if="{{ item.upgradeGoodsPosition}}" -->
<view class="artificer" bindtap="selectArtificer" data-item="{{item}}">
<text class="{{!item.technicianName ? 'grey_text' : ''}} 'text-hide'">{{item.technicianName || '选择技师'}}</text> <text class="{{!item.technicianName ? 'grey_text' : ''}} 'text-hide'">{{item.technicianName || '选择技师'}}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
...@@ -146,7 +151,7 @@ ...@@ -146,7 +151,7 @@
<block wx:if="{{orderInfo.status == 5||orderInfo.status == 12}}"> <block wx:if="{{orderInfo.status == 5||orderInfo.status == 12}}">
<view class="cell"> <view class="cell">
<view class="label">退款明细</view> <view class="label">退款明细</view>
<view class="value" > <view class="value">
{{ orderInfo.refundType == 1 ? "退全款":"退部分款"}}¥{{orderInfo.refundAmount}} {{ orderInfo.refundType == 1 ? "退全款":"退部分款"}}¥{{orderInfo.refundAmount}}
</view> </view>
</view> </view>
......
...@@ -122,7 +122,6 @@ page { ...@@ -122,7 +122,6 @@ page {
width: 100%; width: 100%;
} }
.box .goods .item .subItem_box .artificer,
.film-roll { .film-roll {
height: var(--fontSize48); height: var(--fontSize48);
background: #FFFFFF; background: #FFFFFF;
...@@ -136,6 +135,20 @@ page { ...@@ -136,6 +135,20 @@ page {
font-size: var(--fontSize24); font-size: var(--fontSize24);
} }
.artificer {
height: var(--fontSize48);
background: #FFFFFF;
border: var(--fontSize1) solid #DEE0E3;
border-radius: var(--fontSize26);
display: flex;
align-items: center;
justify-content: center;
padding: 0 var(--fontSize24);
color: #292D33;
font-size: var(--fontSize24);
margin-left: auto;
}
.artificer text { .artificer text {
max-width: var(--fontSize96); max-width: var(--fontSize96);
} }
......
...@@ -389,6 +389,16 @@ Page({ ...@@ -389,6 +389,16 @@ Page({
val.technicianId = value.technicianId val.technicianId = value.technicianId
} }
}) })
orderInfo?.packageGoodsList?.forEach((child) => {
console.log(child, 'child');
child?.goodsList.forEach((val) => {
if (val.subOrderCode == value?.subOrderCode) {
val.technicianName = value.technicianName;
val.technicianUuid = value.technicianUuid;
val.technicianId = value.technicianId;
}
})
});
let params = { let params = {
orderCode: orderInfo?.orderCode, orderCode: orderInfo?.orderCode,
subOrderCode: value?.subOrderCode, subOrderCode: value?.subOrderCode,
......
...@@ -109,7 +109,20 @@ page { ...@@ -109,7 +109,20 @@ page {
margin-left: var(--fontSize12); margin-left: var(--fontSize12);
} }
.box .goods .item .subItem_box .artificer, .artificer {
height: var(--fontSize48);
background: #FFFFFF;
border: var(--fontSize1) solid #DEE0E3;
border-radius: var(--fontSize26);
display: flex;
align-items: center;
justify-content: center;
padding: 0 var(--fontSize24);
color: #292D33;
font-size: var(--fontSize24);
margin-left: auto;
}
.film-roll { .film-roll {
height: var(--fontSize48); height: var(--fontSize48);
background: #FFFFFF; background: #FFFFFF;
......
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
<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}}">
<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> </view>
...@@ -52,32 +56,19 @@ ...@@ -52,32 +56,19 @@
<view class="price">¥{{item.price}}</view> <view class="price">¥{{item.price}}</view>
</view> </view>
<view class="subItem_box"> <view class="subItem_box">
<view <view style="{{ !orderInfo.isOpenArtificer || !item.upgradeGoodsPosition ? 'display: flex; justify-content: space-between; width: 100%;' : 'display: flex;' }}">
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>
</view> </view>
</view> </view>
<!-- 设置膜卷号 --> <!-- 设置膜卷号 -->
<view <view wx:if="{{ isUseFilmRoll && item.filmNumberData.length }}" class="film-roll disabled" bindtap="selectfilmRollNo" data-item="{{ item }}" data-index="{{ index }}">
wx:if="{{ 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> <text class="{{ !item.filmRollNo ? 'grey_text' : '' }} 'text-hide'">{{item.filmRollNo || '选择膜卷号'}}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
<!-- 太阳膜类且配置技师 --> <!-- 太阳膜类且配置技师 && item.upgradeGoodsPosition -->
<view <view wx:if="{{ orderInfo.isOpenArtificer }}" class="artificer" bindtap="selectArtificer" data-item="{{ item }}">
wx:if="{{ orderInfo.isOpenArtificer && item.upgradeGoodsPosition }}"
class="artificer"
bindtap="selectArtificer"
data-item="{{ item }}"
>
<text class="{{ !item.technicianName ? 'grey_text' : '' }} 'text-hide'">{{item.technicianName || '选择技师'}}</text> <text class="{{ !item.technicianName ? 'grey_text' : '' }} 'text-hide'">{{item.technicianName || '选择技师'}}</text>
<image src="/components/images/arrow-x.png" mode="" /> <image src="/components/images/arrow-x.png" mode="" />
</view> </view>
...@@ -89,10 +80,7 @@ ...@@ -89,10 +80,7 @@
<view class="label icon"> <view class="label icon">
<image src="../../images/voucher_icon.png" mode="" /> <image src="../../images/voucher_icon.png" mode="" />
</view> </view>
<view <view class="value" wx:if="{{ orderInfo.couponName || orderInfo.customerCoupon.customerCouponCode || orderInfo.customerCoupon.employeeName }}">
class="value"
wx:if="{{ orderInfo.couponName || orderInfo.customerCoupon.customerCouponCode || orderInfo.customerCoupon.employeeName }}"
>
{{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}}) {{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}})
</view> </view>
<view class="value" wx:else>无</view> <view class="value" wx:else>无</view>
...@@ -106,15 +94,7 @@ ...@@ -106,15 +94,7 @@
<view class="box canvasBox"> <view class="box canvasBox">
<view class="title">电子签名处</view> <view class="title">电子签名处</view>
<view wx:if="{{ !signImage }}" hidden="{{ filmRollNoPopup || artificerSelectPopup }}" class="canvas_wrap"> <view wx:if="{{ !signImage }}" hidden="{{ filmRollNoPopup || artificerSelectPopup }}" class="canvas_wrap">
<canvas <canvas canvas-id="signature" class="modal-canvas" disable-scroll="{{ true }}" id="handWriting" bindtouchstart="scaleStart" bindtouchmove="scaleMove" bindtouchend="scaleEnd" />
canvas-id="signature"
class="modal-canvas"
disable-scroll="{{ true }}"
id="handWriting"
bindtouchstart="scaleStart"
bindtouchmove="scaleMove"
bindtouchend="scaleEnd"
/>
<view wx:if="{{ showPlaceHoder }}" class="placeholder">签字区</view> <view wx:if="{{ showPlaceHoder }}" class="placeholder">签字区</view>
<cover-view bind:tap="toFullPage" class="full_icon flex_scb"> <cover-view bind:tap="toFullPage" class="full_icon flex_scb">
<cover-image webp mode="widthFix" class="icon" src="{{ IMG_URL }}full_screen_icon.png" /> <cover-image webp mode="widthFix" class="icon" src="{{ IMG_URL }}full_screen_icon.png" />
...@@ -139,22 +119,11 @@ ...@@ -139,22 +119,11 @@
<view class="flex"> <view class="flex">
<view class="tire-block" wx:for="{{ imgItem.constructionImgList || [] }}" wx:key="index"> <view class="tire-block" wx:for="{{ imgItem.constructionImgList || [] }}" wx:key="index">
<view class="tire-img-box" catchtap="handlePreviewImg" data-item="{{ item }}" data-imgindex="{{ imgIndex }}"> <view class="tire-img-box" catchtap="handlePreviewImg" data-item="{{ item }}" data-imgindex="{{ imgIndex }}">
<image <image class="icon-delete" catchtap="handleDelete" data-index="{{ index }}" data-imgindex="{{ imgIndex }}" src="/tabWorkOrder/images/icon-delete.png" />
class="icon-delete"
catchtap="handleDelete"
data-index="{{ index }}"
data-imgindex="{{ imgIndex }}"
src="/tabWorkOrder/images/icon-delete.png"
/>
<image class="tire-img" src="{{ item }}" /> <image class="tire-img" src="{{ item }}" />
</view> </view>
</view> </view>
<view <view class="tire-block" bindtap="handleUpload" data-index="{{ imgIndex }}" wx:if="{{ !imgItem.constructionImgList || imgItem.constructionImgList.length<9 }}">
class="tire-block"
bindtap="handleUpload"
data-index="{{ imgIndex }}"
wx:if="{{ !imgItem.constructionImgList || imgItem.constructionImgList.length<9 }}"
>
<view> <view>
<image class="icon-plus" src="{{ IMG_URL }}camera_icon.png" /> <image class="icon-plus" src="{{ IMG_URL }}camera_icon.png" />
</view> </view>
...@@ -179,27 +148,12 @@ ...@@ -179,27 +148,12 @@
</view> </view>
</view> </view>
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 --> <!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<block <block wx:if="{{ (!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6)) && (orderInfo.subOrderList && orderInfo.subOrderList.length) }}">
wx:if="{{ (!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6)) && (orderInfo.subOrderList && orderInfo.subOrderList.length) }}"
>
<view class="btn-box {{ isFullSucreen?'isFullSucreen-btn':'' }}"> <view class="btn-box {{ isFullSucreen?'isFullSucreen-btn':'' }}">
<view class="btn text-center comfirmBtn" bindtap="confirmConstruction">确认完成施工</view> <view class="btn text-center comfirmBtn" bindtap="confirmConstruction">确认完成施工</view>
</view> </view>
</block> </block>
<order-popup orderType="4" show="{{ showPopup }}" /> <order-popup orderType="4" show="{{ showPopup }}" />
<artificer-select-popup <artificer-select-popup show="{{ artificerSelectPopup }}" title="选择技师" copyArtificerList="{{ artificerList }}" orderInfo="{{ orderInfo }}" artificerSelectObj="{{ artificerSelectObj }}" bindconfirm="changeArtificer" />
show="{{ artificerSelectPopup }}" <film-roll-no-popup show="{{ filmRollNoPopup }}" title="选择膜卷号" copyfilmRollNoList="{{ filmRollNoList }}" filmSelectedItem="{{ filmSelectedItem }}" bindconfirm="changefilmRollNo" />
title="选择技师"
copyArtificerList="{{ artificerList }}"
orderInfo="{{ orderInfo }}"
artificerSelectObj="{{ artificerSelectObj }}"
bindconfirm="changeArtificer"
/>
<film-roll-no-popup
show="{{ filmRollNoPopup }}"
title="选择膜卷号"
copyfilmRollNoList="{{ filmRollNoList }}"
filmSelectedItem="{{ filmSelectedItem }}"
bindconfirm="changefilmRollNo"
/>
<select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{ orderInfo }}"></select-invoice-modal> <select-invoice-modal invoiveVisible="{{ invoiveVisible }}" orderInfo="{{ orderInfo }}"></select-invoice-modal>
\ No newline at end of file \ No newline at end of file
...@@ -181,32 +181,3 @@ ...@@ -181,32 +181,3 @@
</block> </block>
<car-brands show="{{carBrandBox}}" bindconfirm="chooseCar" carSeriesId="{{orderObj.customer.carSeriesId}}" merchantId="{{orderObj.merchantId || undefined}}" /> <car-brands show="{{carBrandBox}}" bindconfirm="chooseCar" carSeriesId="{{orderObj.customer.carSeriesId}}" merchantId="{{orderObj.merchantId || undefined}}" />
<remark-popup wx:if="{{showRemark}}" show="{{showRemark}}" bindconfirm="remarkConfirm" placeholder="请填写内容,最多30个字" maxlength="30" value="{{orderObj.remark}}" /> <remark-popup wx:if="{{showRemark}}" show="{{showRemark}}" bindconfirm="remarkConfirm" placeholder="请填写内容,最多30个字" maxlength="30" value="{{orderObj.remark}}" />
\ No newline at end of file \ No newline at end of file
<!-- <merchant-seles
show="{{salesmanBox}}"
isDefault="{{isDefault}}"
title="选择园区店"
sub-title="选择转化人员"
userInfo="{{_userInfo}}"
type="2" /> -->
<!-- <coupon
show="{{couponBox}}"
bindconfirm="chooseCoupon"
merchantId="{{orderObj.merchantId}}"
customerPhone="{{orderObj.customer.customerPhone}}"
returnFun="{{returnFun}}" /> -->
<!-- <goods
show="{{goodsBox}}"
bindconfirm="chooseGoods"
goodsData="{{goodsData}}"
chooseGoodsList="{{goodsList}}" /> -->
<!-- <order-popup
orderType="{{remarkBox}}"
show="{{remarkBox}}"
qrCode="{{orderInfo.payOrder.outTradeNo}}"
price="{{orderInfo.total_price}}" /> -->
<!-- <artificer-select-popup
show="{{artificerSelectPopup}}"
title="选择技师"
copyArtificerList="{{artificerList}}"
orderInfo="{{orderObj}}"
bindconfirm="changeArtificer" /> -->
\ 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!