优化订单显示出菜时间
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user