feat:【antd】【erp 系统】purchase/order 重构 3/4

This commit is contained in:
YunaiV
2025-10-04 19:37:28 +08:00
parent 2039cbc0d0
commit 9406593d6e
2 changed files with 12 additions and 0 deletions

View File

@@ -198,36 +198,42 @@ export function useFormItemColumns(): VxeTableGridOptions['columns'] {
field: 'count',
title: '数量',
minWidth: 120,
fixed: 'right',
slots: { default: 'count' },
},
{
field: 'productPrice',
title: '产品单价',
minWidth: 120,
fixed: 'right',
slots: { default: 'productPrice' },
},
{
field: 'totalProductPrice',
title: '金额',
minWidth: 120,
fixed: 'right',
formatter: 'formatAmount2',
},
{
field: 'taxPercent',
title: '税率(%)',
minWidth: 105,
fixed: 'right',
slots: { default: 'taxPercent' },
},
{
field: 'taxPrice',
title: '税额',
minWidth: 120,
fixed: 'right',
formatter: 'formatAmount2',
},
{
field: 'totalPrice',
title: '税额合计',
minWidth: 120,
fixed: 'right',
formatter: 'formatAmount2',
},
{

View File

@@ -213,36 +213,42 @@ export function useFormItemColumns(): VxeTableGridOptions['columns'] {
field: 'count',
title: '数量',
minWidth: 120,
fixed: 'right',
slots: { default: 'count' },
},
{
field: 'productPrice',
title: '产品单价',
minWidth: 120,
fixed: 'right',
slots: { default: 'productPrice' },
},
{
field: 'totalProductPrice',
title: '金额',
minWidth: 120,
fixed: 'right',
formatter: 'formatAmount2',
},
{
field: 'taxPercent',
title: '税率(%)',
minWidth: 105,
fixed: 'right',
slots: { default: 'taxPercent' },
},
{
field: 'taxPrice',
title: '税额',
minWidth: 120,
fixed: 'right',
formatter: 'formatAmount2',
},
{
field: 'totalPrice',
title: '税额合计',
minWidth: 120,
fixed: 'right',
formatter: 'formatAmount2',
},
{