修改代客下单确认订单时获取就餐模式代码
This commit is contained in:
@@ -556,6 +556,8 @@
|
|||||||
// uni.setStorageSync('useType',seatFee.useType);
|
// uni.setStorageSync('useType',seatFee.useType);
|
||||||
eatTypes.active = seatFee.useType == 'takeout' ? seatFee.useType : seatFee.useType.replace(
|
eatTypes.active = seatFee.useType == 'takeout' ? seatFee.useType : seatFee.useType.replace(
|
||||||
/-after|-before/g, '');
|
/-after|-before/g, '');
|
||||||
|
}else{
|
||||||
|
$storageManage.useType(records[0].info[0].useType)
|
||||||
}
|
}
|
||||||
goods.list = getNowCart(records)
|
goods.list = getNowCart(records)
|
||||||
if (seatFee && seatFee.totalNumber) {
|
if (seatFee && seatFee.totalNumber) {
|
||||||
|
|||||||
Reference in New Issue
Block a user