账单总金额
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user