|
|
@ -47,6 +47,8 @@ Page({ |
|
|
API.request(`/api/orders/detail/${orderId}`, 'GET', {}) |
|
|
API.request(`/api/orders/detail/${orderId}`, 'GET', {}) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
console.log('获取订单详情成功:', res); |
|
|
console.log('获取订单详情成功:', res); |
|
|
|
|
|
console.log('订单详情数据结构:', JSON.stringify(res.data, null, 2)); |
|
|
|
|
|
console.log('是否包含QR_code字段:', 'QR_code' in (res.data || {})); |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
orderDetail: res.data, |
|
|
orderDetail: res.data, |
|
|
|