mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-28 13:31:04 +00:00
fix(移动端发票): 开票详情商品按有效态正常展示
合成 cartInfo 未带 is_valid,orderGoods 组件按无效商品渲染: 整行半透明(op)、图片与价格置灰(gray),并可能附加不支持配送提示。 开票仅针对已支付订单,固定输出 is_valid=true
This commit is contained in:
parent
a8e9119a0c
commit
bba9574ef2
@ -174,6 +174,8 @@ class OrderInvoiceServices extends BaseService
|
||||
$cartInfo[] = [
|
||||
'cart_num' => $product['cart_num'] ?? 1,
|
||||
'truePrice' => $product['true_price'] ?? 0,
|
||||
// 开票仅针对已支付订单,商品按有效态展示(is_valid 缺省会被组件置灰半透明)
|
||||
'is_valid' => true,
|
||||
'productInfo' => [
|
||||
'image' => $product['image'] ?? '',
|
||||
'store_name' => $product['store_name'] ?? '',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user