订单管理去掉删除按钮
This commit is contained in:
@ -171,12 +171,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="order.order_status === AdminOrderStatus.Finished || order.order_status === AdminOrderStatus.Cancelled">
|
<!-- <template v-if="order.order_status === AdminOrderStatus.Finished || order.order_status === AdminOrderStatus.Cancelled">
|
||||||
<view class="text-center flex items-center text-28rpx mt-28rpx justify-end">
|
<view class="text-center flex items-center text-28rpx mt-28rpx justify-end">
|
||||||
<view class="w-178rpx h-70rpx rounded-8rpx border-[2rpx] border-[#9CA3AF] text-[#303133] flex items-center justify-center"
|
<view class="w-178rpx h-70rpx rounded-8rpx border-[2rpx] border-[#9CA3AF] text-[#303133] flex items-center justify-center"
|
||||||
@click="ComboCard.handleDeleteOrder(order.id)">删除</view>
|
@click="ComboCard.handleDeleteOrder(order.id)">删除</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -312,29 +312,29 @@
|
|||||||
/**
|
/**
|
||||||
* 删除套餐
|
* 删除套餐
|
||||||
*/
|
*/
|
||||||
handleDelteSetmealOrder: () => {
|
// handleDelteSetmealOrder: () => {
|
||||||
message.confirm({
|
// message.confirm({
|
||||||
title: '确定删除该套餐?',
|
// title: '确定删除该套餐?',
|
||||||
msg: '删除后该套餐将无法恢复,是否确认删除?',
|
// msg: '删除后该套餐将无法恢复,是否确认删除?',
|
||||||
confirmButtonText: '确定',
|
// confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
// cancelButtonText: '取消',
|
||||||
cancelButtonProps: {
|
// cancelButtonProps: {
|
||||||
customClass: '!bg-[#F6F7F8] !text-[#303133] !text-32rpx !leading-44rpx !rounded-8rpx',
|
// customClass: '!bg-[#F6F7F8] !text-[#303133] !text-32rpx !leading-44rpx !rounded-8rpx',
|
||||||
},
|
// },
|
||||||
confirmButtonProps: {
|
// confirmButtonProps: {
|
||||||
customClass: '!bg-[#4C9F44] !text-[#fff] !text-32rpx !leading-44rpx !rounded-8rpx',
|
// customClass: '!bg-[#4C9F44] !text-[#fff] !text-32rpx !leading-44rpx !rounded-8rpx',
|
||||||
}
|
// }
|
||||||
}).then(async (res) => {
|
// }).then(async (res) => {
|
||||||
if (res.action == 'confirm') {
|
// if (res.action == 'confirm') {
|
||||||
await deleteTeaSpecialistOrderPackage(props.order.id)
|
// await deleteTeaSpecialistOrderPackage(props.order.id)
|
||||||
emit('refresh')
|
// emit('refresh')
|
||||||
toast.info('删除成功')
|
// toast.info('删除成功')
|
||||||
}
|
// }
|
||||||
// 点击确认按钮回调事件
|
// // 点击确认按钮回调事件
|
||||||
}).catch(() => {
|
// }).catch(() => {
|
||||||
// 点击取消按钮回调事件
|
// // 点击取消按钮回调事件
|
||||||
})
|
// })
|
||||||
},
|
// },
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 编辑商品
|
* 编辑商品
|
||||||
|
|||||||
Reference in New Issue
Block a user