订单管理更新
This commit is contained in:
parent
9833e137f9
commit
1621a1feed
|
|
@ -193,10 +193,10 @@
|
|||
})
|
||||
|
||||
const seatFeePrice = computed(() => {
|
||||
if (!props.seatFee.totalAmount) {
|
||||
if (!props.seatFee.priceAmount) {
|
||||
return 0
|
||||
}
|
||||
const n = props.seatFee.totalAmount * (props.seatFee.status == 'return' ? 0 : 1)
|
||||
const n = props.seatFee.priceAmount * (props.seatFee.status == 'return' ? 0 : 1)
|
||||
return n.toFixed(2)
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -210,6 +210,7 @@
|
|||
go.to('PAGES_CREATE_ORDER', {
|
||||
tableId: options.tableId || orderDetail.info.tableId,
|
||||
name: options.name || orderDetail.info.tableName,
|
||||
masterId:orderDetail.info.masterId,
|
||||
type: 'add'
|
||||
})
|
||||
}
|
||||
|
|
@ -286,7 +287,7 @@
|
|||
name: '客座费',
|
||||
number: res.seatCount,
|
||||
totalNumber: res.seatCount,
|
||||
totalAmount: res.seatAmount,
|
||||
priceAmount: res.seatAmount,
|
||||
status:''
|
||||
}
|
||||
orderDetail.goodsList = Object.entries(goodsMap).map(([key, value]) => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue