账单总金额

This commit is contained in:
liu
2026-09-07 23:07:12 +08:00
parent 7de51391e4
commit 58c733baa2
6 changed files with 54 additions and 2 deletions
+2
View File
@@ -74,6 +74,8 @@ export default interface IPurchaseOrder {
total_weight?: string;
estimate_amount?: string;
actual_amount?: string;
/** 应付商品金额 = Σ 已生成门店账单的商品金额(列表接口附;未生成账单为 null) */
bill_product_amount?: string | null;
operator_id?: number;
operator?: { id: number; nickname: string };
remark?: string;
+13
View File
@@ -1100,6 +1100,19 @@ const PurchaseOrderPage: React.FC = () => {
<Text type="secondary"></Text>
),
},
{
title: '应付商品金额',
dataIndex: 'bill_product_amount',
hideInForm: true,
hideInSearch: true,
align: 'center',
render: (_, record) =>
record.bill_product_amount != null ? (
<Text strong type="danger">¥{Number(record.bill_product_amount).toFixed(2)}</Text>
) : (
<Text type="secondary"></Text>
),
},
{
title: '总件数',
dataIndex: 'total_quantity',