Commit e4421fe0 by zhangxw

联调修改

1 parent d56cc6ef
...@@ -85,6 +85,10 @@ App({ ...@@ -85,6 +85,10 @@ App({
} }
}) })
} else { } else {
this.globalData.yqdInfo = {}
this.globalData.YQorderSetting = ''
util.removeStorage()
wx.$relogin = relogin
router.reLaunch('pages.wxLogin') router.reLaunch('pages.wxLogin')
} }
}, },
......
...@@ -13,7 +13,7 @@ Component({ ...@@ -13,7 +13,7 @@ Component({
let { artificerList, orderInfo } = this.data let { artificerList, orderInfo } = this.data
artificerList.map(i => { artificerList.map(i => {
i.active = false i.active = false
if (i.technicianId == orderInfo?.technicianId) { if (i.id == orderInfo?.technicianId) {
i.active = true i.active = true
} }
return i return i
...@@ -46,7 +46,7 @@ Component({ ...@@ -46,7 +46,7 @@ Component({
let { artificerList } = this.data let { artificerList } = this.data
artificerList.map(i => { artificerList.map(i => {
i.active = false i.active = false
if (i.technicianId == target?.technicianId) { if (i.id == target?.id) {
i.active = true i.active = true
} }
return i return i
...@@ -67,13 +67,9 @@ Component({ ...@@ -67,13 +67,9 @@ Component({
if (!arr.length) { if (!arr.length) {
return wx.$util.showToast('请选择技师') return wx.$util.showToast('请选择技师')
} }
let thisPage = wx.$router.getPageInstance() orderInfo.technicianId = arr[0]?.id || ''
orderInfo.technicianId = arr[0]?.technicianId || ''
orderInfo.technicianName = arr[0]?.technicianName || '' orderInfo.technicianName = arr[0]?.technicianName || ''
thisPage.setData({ this.triggerEvent('confirm', orderInfo)
orderInfo,
artificerSelectPopup: false
})
} }
} }
}) })
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
<scroll-view class="artificer-select-popup-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}"> <scroll-view class="artificer-select-popup-box" scroll-y enhanced="{{true}}" show-scrollbar="{{false}}">
<view class="box"> <view class="box">
<view class="sub-title text-center">{{title}}</view> <view class="sub-title text-center">{{title}}</view>
<view class="merchant-box"> <view class="artificer-box">
<block wx:for="{{artificerList}}" wx:key="index"> <block wx:for="{{artificerList}}" wx:key="index">
<view class="merchantList {{item.active?'active':''}}" bindtap="changeItem" data-item="{{item}}" <view class="artificerList {{item.active?'active':''}}" bindtap="changeItem" data-target="{{item}}"
data-index="{{index}}"> data-index="{{index}}">
<view class="text-hide">{{item.subMerchantName}}</view> <view class="text-hide">{{item.technicianName}}</view>
</view> </view>
</block> </block>
</view> </view>
......
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
.box{ .box{
padding: 0 32rpx; padding: 0 32rpx;
} }
.merchant-box{ .artificer-box{
max-height: 300rpx; max-height: 300rpx;
overflow: hidden; overflow: hidden;
transition: all .25s; transition: all .25s;
} }
.merchantList { .artificerList {
width: calc(100% - 50rpx); width: calc(100% - 50rpx);
height: 98rpx; height: 98rpx;
display: flex; display: flex;
...@@ -43,13 +43,13 @@ ...@@ -43,13 +43,13 @@
padding: 0 25rpx; padding: 0 25rpx;
transition: all .5s; transition: all .5s;
} }
.merchantList.active { .artificerList.active {
color: #3582EE; color: #3582EE;
font-weight: 700; font-weight: 700;
position: relative; position: relative;
} }
.merchantList.active::after { .artificerList.active::after {
content: ''; content: '';
position: absolute; position: absolute;
bottom: 0; bottom: 0;
...@@ -59,13 +59,13 @@ ...@@ -59,13 +59,13 @@
height: 6rpx; height: 6rpx;
left: 25rpx; left: 25rpx;
} }
.merchantList.active { .artificerList.active {
color: #3582EE; color: #3582EE;
font-weight: 700; font-weight: 700;
position: relative; position: relative;
} }
.merchantList.active::after { .artificerList.active::after {
content: ''; content: '';
position: absolute; position: absolute;
bottom: 0; bottom: 0;
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
} }
.text-hide { .text-hide {
font-size: 32rpx;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
......
...@@ -102,7 +102,14 @@ Page({ ...@@ -102,7 +102,14 @@ Page({
activityId: activityId, activityId: activityId,
activityName: activityName activityName: activityName
} }
api.createFullPayOrderAPI(params) wx.showLoading()
api.createFullPayOrderAPI(params).then(res => {
wx.hideLoading()
let { code } = res
if (code == '0') {
wx.$router.back()
}
})
} }
} }
}) })
......
...@@ -127,7 +127,6 @@ Page({ ...@@ -127,7 +127,6 @@ Page({
// data.paySuccessDate = data.paySuccessDate ? wx.$util.tsFormatTime(data.paySuccessDate, 'Y-M-D h:m:s') : '' // data.paySuccessDate = data.paySuccessDate ? wx.$util.tsFormatTime(data.paySuccessDate, 'Y-M-D h:m:s') : ''
let paySuccessDate = data?.paySuccessDate || new Date() let paySuccessDate = data?.paySuccessDate || new Date()
data.paySuccessDate = wx.$util.tsFormatTime(paySuccessDate, 'Y年M月D日 h:m:s') data.paySuccessDate = wx.$util.tsFormatTime(paySuccessDate, 'Y年M月D日 h:m:s')
_this.changeOrderStatus()
if (code == 0) { if (code == 0) {
this.setData({ this.setData({
orderDetail: { orderDetail: {
......
...@@ -6,6 +6,7 @@ const orderStatusObj = { ...@@ -6,6 +6,7 @@ const orderStatusObj = {
'3': '已支付', '3': '已支付',
'4': '已支付', '4': '已支付',
'-1': '战败', '-1': '战败',
'5': '已支付'
} }
const orderStatusList = [{ const orderStatusList = [{
confName: '待报价', confName: '待报价',
......
...@@ -23,8 +23,10 @@ Page({ ...@@ -23,8 +23,10 @@ Page({
}, },
onRoute(options) { onRoute(options) {
let id = options.id || 10 let id = options.id || 10
let orderId = options.orderId || ''
this.setData({ this.setData({
id id,
orderId
}) })
}, },
onLoad(options) { onLoad(options) {
...@@ -201,7 +203,7 @@ Page({ ...@@ -201,7 +203,7 @@ Page({
}, },
changeOrderStatus(signUrl) { changeOrderStatus(signUrl) {
let { id } = this.data let { id } = this.data
updateOrderStatus({ id, orderStatus: 3, customerNameUrl: signUrl }) updateOrderStatus({ id, orderStatus: 5, customerNameUrl: signUrl })
.then(result => { .then(result => {
this.navigator() this.navigator()
}) })
......
...@@ -45,7 +45,8 @@ Component({ ...@@ -45,7 +45,8 @@ Component({
1: '确认方案', 1: '确认方案',
2: '去支付', 2: '去支付',
3: '去处理', 3: '去处理',
'-1': '去报价' '-1': '去报价',
5: '去处理'
}, },
searchObj: {}, searchObj: {},
customerName: '', customerName: '',
...@@ -211,7 +212,7 @@ Component({ ...@@ -211,7 +212,7 @@ Component({
// wx.$router.go('createOrderCarQuotation', { // wx.$router.go('createOrderCarQuotation', {
// id: target.id // id: target.id
// }) // })
// 0待报价、1待确认、2待支付、3已支付、-1战败 // 0待报价、1待确认、2待支付、3已支付、-1战败 5已完成(已签名)
switch (target.orderStatus + '') { switch (target.orderStatus + '') {
// schemeConfirmation // schemeConfirmation
case '0': case '0':
...@@ -240,16 +241,30 @@ Component({ ...@@ -240,16 +241,30 @@ Component({
} }
break break
case '3': case '3':
// wx.$router.go('serviceInfo', {
// orderId: target.orderId,
// apiName: 'handler'
// })
if (type == 'handle') { // 去处理
wx.$router.go('serviceInfo', { wx.$router.go('serviceInfo', {
orderId: target.orderId, orderId: target.orderId,
apiName: 'handler' apiName: 'handler'
}) })
} else {
wx.$router.go('signature', { id: target.id, orderId: target.orderId })
}
break break
case '-1': case '-1':
wx.$router.go('createOrderCarQuotation', { wx.$router.go('createOrderCarQuotation', {
id: target.id id: target.id
}) })
break break
case '5':
wx.$router.go('serviceInfo', {
orderId: target.orderId,
apiName: 'handler'
})
break
} }
this.setData({ this.setData({
id: target.id id: target.id
......
...@@ -59,9 +59,9 @@ ...@@ -59,9 +59,9 @@
<image wx:if="{{item.ownerGender}}" class="icon-sex" src="{{item.ownerGender == '男' ? '../../../images/icon-man.png' : '../../../images/icon-woman.png'}}" /> <image wx:if="{{item.ownerGender}}" class="icon-sex" src="{{item.ownerGender == '男' ? '../../../images/icon-man.png' : '../../../images/icon-woman.png'}}" />
</view> </view>
<view class="header-status"> <view class="header-status">
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 --> <!-- 0待报价、1待确认、2待支付、3已支付、-1战败 5已完成(已签名)-->
<!-- == '3' --> <!-- == '3' -->
<view wx:if="{{ item.orderStatus == '3'||item.orderStatus =='4'}}"> <view wx:if="{{ item.orderStatus == '3'||item.orderStatus =='5'}}">
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span> <span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span> <span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span>
</view> </view>
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<!-- footer --> <!-- footer -->
<view class="item-footer"> <view class="item-footer">
<view> <view>
<view wx:if="{{item.orderStatus == '3' }}" class="orange-txt"> <view wx:if="{{item.orderStatus == '3' || item.orderStatus == '5'}}" class="orange-txt">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image> <image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,未录入权益合同 订单已支付,未录入权益合同
</view> </view>
...@@ -136,6 +136,10 @@ ...@@ -136,6 +136,10 @@
<view wx:if="{{item.orderStatus == '2'}}" class="order-btn padding_20" bindtap="handleClickBtn" data-target="{{item}}" data-type="pay"> <view wx:if="{{item.orderStatus == '2'}}" class="order-btn padding_20" bindtap="handleClickBtn" data-target="{{item}}" data-type="pay">
{{btnTxt[item.orderStatus]}} {{btnTxt[item.orderStatus]}}
</view> </view>
<view wx:if="{{item.orderStatus == '3'}}" class="order-btn default-btn padding_20" bindtap="handleClickBtn" data-target="{{item}}">去签名</view>
<view wx:if="{{item.orderStatus == '3' || item.orderStatus == '5'}}" class="order-btn padding_20" bindtap="handleClickBtn" data-target="{{item}}" data-type="handle">
{{btnTxt[item.orderStatus]}}
</view>
<view wx:else class="order-btn default-btn" bindtap="handleClickBtn" data-target="{{item}}"> <view wx:else class="order-btn default-btn" bindtap="handleClickBtn" data-target="{{item}}">
{{btnTxt[item.orderStatus]}} {{btnTxt[item.orderStatus]}}
</view> </view>
......
...@@ -183,8 +183,8 @@ Page({ ...@@ -183,8 +183,8 @@ Page({
wx.$router.reLaunch('packageEquity.equityPage') wx.$router.reLaunch('packageEquity.equityPage')
}, },
toFullPage() { toFullPage() {
let { id } = this.data let { id, orderId } = this.data
wx.$router.go('fullSignture', { id }) wx.$router.go('fullSignture', { id, orderId })
}, },
// 上传图片 // 上传图片
toUploadImage(tempFilePaths) { toUploadImage(tempFilePaths) {
...@@ -213,7 +213,7 @@ Page({ ...@@ -213,7 +213,7 @@ Page({
}, },
changeOrderStatus(signUrl) { changeOrderStatus(signUrl) {
let { id } = this.data let { id } = this.data
updateOrderStatus({ id, orderStatus: 3, customerNameUrl: signUrl }) updateOrderStatus({ id, orderStatus: 5, customerNameUrl: signUrl })
.then(result => { .then(result => {
wx.$util.hideLoading() wx.$util.hideLoading()
this.navigator() this.navigator()
......
...@@ -48,12 +48,12 @@ Page({ ...@@ -48,12 +48,12 @@ Page({
}) })
wx.$util.getViewInfo('.user-box', res => { wx.$util.getViewInfo('.user-box', res => {
this.setData({ this.setData({
userBoxHeight: res.height userBoxHeight: res?.height
}) })
},) },)
// 没有登录信息 或无开通场景 退出登录 // 没有登录信息 或无开通场景 退出登录
if (!Object.keys(userInfo).length || !userInfo.openSceneArr?.length) { if (!Object.keys(userInfo).length || !userInfo.openSceneArr?.length) {
app.login(true) app.login(false)
} }
}, },
...@@ -78,7 +78,7 @@ Page({ ...@@ -78,7 +78,7 @@ Page({
logOutAPI.logout().then(_res_ => { logOutAPI.logout().then(_res_ => {
let { code, message } = _res_ let { code, message } = _res_
if (code == 0) { if (code == 0) {
app.login(true) app.login(false)
} else { } else {
_this.setData({ _this.setData({
flag: false flag: false
......
...@@ -141,7 +141,6 @@ page { ...@@ -141,7 +141,6 @@ page {
align-items: center; align-items: center;
z-index: 20; z-index: 20;
background-color: #fff; background-color: #fff;
border-radius: 40rpx;
font-size: 32rpx; font-size: 32rpx;
color: #fff; color: #fff;
letter-spacing: 13rpx; letter-spacing: 13rpx;
......
...@@ -165,7 +165,7 @@ Page({ ...@@ -165,7 +165,7 @@ Page({
api.logout().then(_res_ => { api.logout().then(_res_ => {
let { code, message } = _res_ let { code, message } = _res_
if (code == 0) { if (code == 0) {
app.login(true) app.login(false)
} else { } else {
_this.setData({ _this.setData({
flag: false flag: false
......
...@@ -52,7 +52,11 @@ Page({ ...@@ -52,7 +52,11 @@ Page({
}, },
updateCustomerInfo() { updateCustomerInfo() {
let { orderInfo } = this.data let { orderInfo } = this.data
let paramsList = ['orderCode', 'customerId', 'customerName', 'customerPhone', 'customerSex', 'carBrandId', 'carBrand', 'carChildsBrandId', 'carChildsBrandName', 'carSeriesId', 'carSeriesName', 'standNo', 'plateNumber', 'experienceFlag', 'remark'] console.log(orderInfo)
if (!orderInfo?.customer?.orderCode) {
delete orderInfo?.customer?.orderCode
}
let paramsList = ['orderCode', 'customerId', 'customerName', 'customerPhone', 'customerSex', 'carBrandId', 'carBrand', 'carChildsBrandId', 'carChildsBrandName', 'carSeriesId', 'carSeriesName', 'standNo', 'plateNumber', 'experienceFlag', 'remark', 'technicianId', 'technicianName']
let userInfo = {} let userInfo = {}
orderInfo = Object.assign(orderInfo, orderInfo.customer) orderInfo = Object.assign(orderInfo, orderInfo.customer)
paramsList.map(item => { paramsList.map(item => {
...@@ -62,10 +66,8 @@ Page({ ...@@ -62,10 +66,8 @@ Page({
.updateOrderInfo(userInfo) .updateOrderInfo(userInfo)
.then(result => { .then(result => {
wx.$util.hideLoading() wx.$util.hideLoading()
console.log(result)
if (result.code == 0 && result.data) { if (result.code == 0 && result.data) {
wx.$refresh = true this.checkPayType()
this.back(orderObj.orderCode)
} else { } else {
wx.showToast({ wx.showToast({
title: result.message, title: result.message,
...@@ -79,16 +81,21 @@ Page({ ...@@ -79,16 +81,21 @@ Page({
}) })
}, },
next() { next() {
let { let { orderInfo} = this.data
orderInfo: { selectPayType, status, orderCode }
, orderInfo} = this.data
let _this = this let _this = this
// console.log(orderCode) // console.log(orderCode)
// 有技师选项 并选择了技师 更新客户信息 // 有技师选项 并选择了技师 更新客户信息
if (orderInfo.isOpenArtificer && orderInfo.technicianId) { if (orderInfo.isOpenArtificer && orderInfo.technicianId) {
this.updateCustomerInfo() _this.updateCustomerInfo()
} else {
_this.checkPayType()
} }
return },
checkPayType() {
let {
orderInfo: { selectPayType, status, orderCode }
} = this.data
let _this = this
// 微信支付 // 微信支付
if (selectPayType == 1) { if (selectPayType == 1) {
_this.setData({ _this.setData({
...@@ -320,7 +327,17 @@ Page({ ...@@ -320,7 +327,17 @@ Page({
} }
this.setData({ this.setData({
customerObj, customerObj,
artificerList: orderInfo?.technicianConfigDTOList artificerList: orderInfo?.technicianConfigDTOList,
orderInfo
})
},
// 选择技师确认
changeArtificer(e) {
let value = e?.detail || {}
this.setData({
artificerSelectPopup: false,
orderInfo: value
}) })
}, },
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<view class="cell"> <view class="cell">
<view class="label">抵用券:</view> <view class="label">抵用券:</view>
<view class="value"> <view class="value">
{{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}{{'派券人'}} {{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}})
</view> </view>
</view> </view>
<view class="line" /> <view class="line" />
...@@ -201,5 +201,6 @@ ...@@ -201,5 +201,6 @@
show="{{artificerSelectPopup}}" show="{{artificerSelectPopup}}"
title="选择技师" title="选择技师"
artificerList="{{artificerList}}" artificerList="{{artificerList}}"
orderInfo="{{orderInfo}}" /> orderInfo="{{orderInfo}}"
bindconfirm="changeArtificer" />
...@@ -247,22 +247,6 @@ Page({ ...@@ -247,22 +247,6 @@ Page({
customerObj, customerObj,
orderInfo orderInfo
}) })
api.getMerchantIsSettingArtificer({merchantId: data?.merchantId}).then(res => {
let { code, data, message } = res
if (code == 0) {
let { customerObj, orderInfo } = this.data
customerObj[customerObj.length] = {
label: '选择技师:',
key: 'technicianName'
}
this.setData({
customerObj,
orderInfo
})
} else {
wx.$util.showToast(message)
}
})
}, },
getBarCode() { getBarCode() {
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<view class="cell"> <view class="cell">
<view class="label">抵用礼券:</view> <view class="label">抵用礼券:</view>
<view class="value"> <view class="value">
{{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}}) {{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}})
</view> </view>
</view> </view>
</block> </block>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<view class="cell"> <view class="cell">
<view class="label">抵用券:</view> <view class="label">抵用券:</view>
<view class="value"> <view class="value">
{{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}}) {{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}})
</view> </view>
</view> </view>
<view class="line" /> <view class="line" />
......
...@@ -239,22 +239,6 @@ Page({ ...@@ -239,22 +239,6 @@ Page({
customerObj, customerObj,
orderInfo orderInfo
}) })
api.getMerchantIsSettingArtificer({merchantId: data?.merchantId}).then(res => {
let { code, data, message } = res
if (code == 0) {
let { customerObj, orderInfo } = this.data
customerObj[customerObj.length] = {
label: '选择技师:',
key: 'subShopMerchantName'
}
this.setData({
customerObj,
orderInfo
})
} else {
wx.$util.showToast(message)
}
})
}, },
getBarCode() { getBarCode() {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<view class="cell"> <view class="cell">
<view class="label">抵用礼券:</view> <view class="label">抵用礼券:</view>
<view class="value"> <view class="value">
{{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}}) {{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}}({{orderInfo.customerCoupon.employeeName || ''}})
</view> </view>
</view> </view>
</block> </block>
......
...@@ -112,6 +112,14 @@ Page({ ...@@ -112,6 +112,14 @@ Page({
wx.$router.back() wx.$router.back()
} }
}, },
// 选择技师
changeArtificer(e) {
let value = e?.detail || {}
this.setData({
artificerSelectPopup: false,
orderObj: value
})
},
submit(i) { submit(i) {
let { giveup } = i.currentTarget.dataset let { giveup } = i.currentTarget.dataset
// console.log(giveUp) // console.log(giveUp)
...@@ -157,10 +165,9 @@ Page({ ...@@ -157,10 +165,9 @@ Page({
if (orderObj.customer.buyTime) delete orderObj.customer.buyTime if (orderObj.customer.buyTime) delete orderObj.customer.buyTime
// delete orderObj.customerCouponCode // delete orderObj.customerCouponCode
delete orderObj.customer.createdDate delete orderObj.customer.createdDate
this.showLoading('提交中...') this.showLoading('提交中...')
let paramsList = ['orderCode', 'customerId', 'customerName', 'customerPhone', 'customerSex', 'carBrandId', 'carBrand', 'carChildsBrandId', 'carChildsBrandName', 'carSeriesId', 'carSeriesName', 'standNo', 'plateNumber', 'experienceFlag', 'remark'] let paramsList = ['orderCode', 'customerId', 'customerName', 'customerPhone', 'customerSex', 'carBrandId', 'carBrand', 'carChildsBrandId', 'carChildsBrandName', 'carSeriesId', 'carSeriesName', 'standNo', 'plateNumber', 'experienceFlag', 'remark', 'technicianId', 'technicianName']
let userInfo = {} let userInfo = {}
orderObj = Object.assign(orderObj, orderObj.customer) orderObj = Object.assign(orderObj, orderObj.customer)
paramsList.map(item => { paramsList.map(item => {
...@@ -225,7 +232,6 @@ Page({ ...@@ -225,7 +232,6 @@ Page({
orderObj[e] = options[e] orderObj[e] = options[e]
} }
}) })
if (!orderObj.customer) orderObj.customer = orderObj.customerInfo if (!orderObj.customer) orderObj.customer = orderObj.customerInfo
if (!orderObj.customer.customerSex) orderObj.customer.customerSex = 1 if (!orderObj.customer.customerSex) orderObj.customer.customerSex = 1
if (!orderObj.customer.experienceFlag) orderObj.customer.experienceFlag = 'N' if (!orderObj.customer.experienceFlag) orderObj.customer.experienceFlag = 'N'
......
...@@ -73,9 +73,9 @@ ...@@ -73,9 +73,9 @@
</gl-cell> </gl-cell>
<gl-cell border valueAlign="right" label="备注" labelWidth="140rpx" bindclick="showPopup" data-show-name="showRemark" placeholder="30字以内" value="{{orderObj.remark}}" /> <gl-cell border valueAlign="right" label="备注" labelWidth="140rpx" bindclick="showPopup" data-show-name="showRemark" placeholder="30字以内" value="{{orderObj.remark}}" />
<gl-cell border wx:if="{{orderObj.isOpenArtificer}}" valueAlign="right" label="选择技师" labelWidth="140rpx" haveArrow placeholder="点击选择" bindclick="showPopup" data-show-name="artificerSelectPopup"> <gl-cell border wx:if="{{orderObj.isOpenArtificer}}" valueAlign="right" label="选择技师" labelWidth="140rpx" haveArrow placeholder="点击选择" bindclick="showPopup" data-show-name="artificerSelectPopup">
<block wx:if="{{orderObj.customer.technicianName}}"> <block wx:if="{{orderObj.technicianName}}">
<view class="between"> <view class="between">
技师 {{orderObj.technicianName}}
</view> </view>
</block> </block>
</gl-cell> </gl-cell>
...@@ -237,4 +237,5 @@ ...@@ -237,4 +237,5 @@
show="{{artificerSelectPopup}}" show="{{artificerSelectPopup}}"
title="选择技师" title="选择技师"
artificerList="{{artificerList}}" artificerList="{{artificerList}}"
orderInfo="{{orderObj.customer}}" /> orderInfo="{{orderObj}}"
bindconfirm="changeArtificer" />
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!