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