|
|
@ -46,7 +46,7 @@ |
|
|
|
<view class="rc-item" v-for="(e,i) in orderInfo.sessions" :key="i"> |
|
|
|
<view class="ri-tit">验证码{{i+1}}:</view> |
|
|
|
<view class="ri-section"> |
|
|
|
<view class="rs-view">{{e.verify_code || '-'}} ({{zh_verify_status(e.status)}})</view> |
|
|
|
<view :class="['rs-view',e.status==1?'rs-active':'']">{{e.verify_code || '-'}} ({{zh_verify_status(e.status)}})</view> |
|
|
|
<block v-if="e.status==2"> |
|
|
|
<view class="rs-view">核销方式:{{zh_verify_type(e.verify_type)}}</view> |
|
|
|
<view class="rs-view">核销时间:{{e.verify_time || '-'}}</view> |
|
|
@ -64,7 +64,7 @@ |
|
|
|
<view>数量:<text>{{orderInfo.number || 0}}</text></view> |
|
|
|
</view> |
|
|
|
<view class="rb-line"> |
|
|
|
<view>类型:{{ zh_spec_names }}</view> |
|
|
|
<view>类型:{{ zh_spec_names || '-'}}</view> |
|
|
|
</view> |
|
|
|
<view class="rb-section"> |
|
|
|
<view class="rs-line"> |
|
|
@ -77,7 +77,7 @@ |
|
|
|
</view> |
|
|
|
<view class="rs-line"> |
|
|
|
<view>折扣金额</view> |
|
|
|
<view>-¥{{orderInfo.deduction_amount || 0}}</view> |
|
|
|
<view>-¥{{orderInfo.discount_amount || 0}}</view> |
|
|
|
</view> |
|
|
|
<view class="rs-line"> |
|
|
|
<view>优惠券优惠</view> |
|
|
@ -136,13 +136,13 @@ |
|
|
|
<view class="osm-tit">筛选卡号</view> |
|
|
|
<picker class="osm-picker" :range="depotList" @change="pickerChange"> |
|
|
|
<view class="osm-ipt"> |
|
|
|
<input type="text" placeholder="请选择仓库" v-model="depotInfo.ic_name" /> |
|
|
|
<input type="text" placeholder="请选择仓库" v-model="depotInfo.ic_name" disabled="true" /> |
|
|
|
<image src="/subpackage/device/static/images/arrow_b2.png"></image> |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
|
|
|
|
<view class="osm-ipt"> |
|
|
|
<input type="text" placeholder="请输入卡号" v-model="depotInfo.ic_no" @change="inputChange"/> |
|
|
|
<input type="number" placeholder="请输入卡号" v-model="depotInfo.ic_no" @change="inputChange"/> |
|
|
|
</view> |
|
|
|
<view class="osm-btn-box"> |
|
|
|
<picker class="osm-check" :range="iccardList" @change="checkPickerChange"> |
|
|
@ -240,7 +240,7 @@ export default { |
|
|
|
let { orderInfo } = this |
|
|
|
if(!orderInfo.person_number_spec_names)return ''; |
|
|
|
let spec = orderInfo.person_number_spec_names.join('+') |
|
|
|
return spec; |
|
|
|
return spec || ''; |
|
|
|
}, |
|
|
|
zh_order_type(){ |
|
|
|
//订单类型 0预约订单 1课程订单 |
|
|
@ -345,6 +345,7 @@ export default { |
|
|
|
// ic卡列表 |
|
|
|
getICCardList({key=''}){ |
|
|
|
let { brandInfo, curIdx, storehouseList } = this |
|
|
|
this.iccardList.splice(0) |
|
|
|
util.showLoad(); |
|
|
|
deviceServer.get({ |
|
|
|
url: deviceApi.iccardList, |
|
|
@ -358,7 +359,10 @@ export default { |
|
|
|
}) |
|
|
|
.then(res=>{ |
|
|
|
util.hideLoad() |
|
|
|
this.iccardList = res.list || [] |
|
|
|
let _list = res.list || [] |
|
|
|
for(var i in _list){ |
|
|
|
this.iccardList.push(_list[i].erp_iccard_no) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 校验ic卡 |
|
|
@ -424,6 +428,7 @@ export default { |
|
|
|
.then(res=>{ |
|
|
|
util.hideLoad() |
|
|
|
util.showNone('操作成功!'); |
|
|
|
this.$emit('okChange'); |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
@ -570,6 +575,9 @@ export default { |
|
|
|
font-size: 28rpx; |
|
|
|
line-height: 46rpx; |
|
|
|
} |
|
|
|
.rs-active{ |
|
|
|
color: #009874; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|