优化订单显示出菜时间

This commit is contained in:
gyq
2025-12-04 16:14:59 +08:00
parent 97b18651ef
commit 9018708e87
2 changed files with 11 additions and 1 deletions

View File

@@ -310,7 +310,11 @@ const tabSelectChange = _.debounce(function (val) {
}
})
if (num) {
refundAmount.value = formatDecimal(num)
if (num >= item.value.payAmount) {
refundAmount.value = formatDecimal(item.value.payAmount - item.value.refundAmount)
} else {
refundAmount.value = formatDecimal(num)
}
}
}, 100)

View File

@@ -77,6 +77,12 @@
<div class="row">
用餐模式{{ filterLable("dineMode", scope.row.dineMode) }}
</div>
<div class="row">
出菜时间{{ scope.row.dishOutTime }}
</div>
<div class="row">
上菜时间{{ scope.row.foodServeTime }}
</div>
<div class="row">订单备注{{ scope.row.remark }}</div>
</div>
</template>