36 lines
747 B
Vue
36 lines
747 B
Vue
<template>
|
|
<view class="default-box-padding bg-fff border-r-12 u-m-t-20">
|
|
<view class="u-flex u-row-between">
|
|
<view class="font-bold">附加费</view>
|
|
<my-button plain shape="circle" :width="160" :height="56">退菜</my-button>
|
|
</view>
|
|
<view class="u-flex u-row-between u-m-t-20">
|
|
<view>{{data.name||'餐位费'}}</view>
|
|
<view>x{{data.number}}</view>
|
|
<view>¥{{data.number}}</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup>
|
|
const props = defineProps({
|
|
data: {
|
|
type: Object,
|
|
default: () => {}
|
|
},
|
|
table:{
|
|
type: Object,
|
|
default: () => {}
|
|
}
|
|
})
|
|
|
|
const statusMap={
|
|
unpaid:'未支付'
|
|
}
|
|
function returnStatus(status){
|
|
return statusMap[status]||''
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
</style> |