feat:【antd】【erp 系统】purchase/order 重构 3/4
This commit is contained in:
@@ -198,36 +198,42 @@ export function useFormItemColumns(): VxeTableGridOptions['columns'] {
|
|||||||
field: 'count',
|
field: 'count',
|
||||||
title: '数量',
|
title: '数量',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
slots: { default: 'count' },
|
slots: { default: 'count' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'productPrice',
|
field: 'productPrice',
|
||||||
title: '产品单价',
|
title: '产品单价',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
slots: { default: 'productPrice' },
|
slots: { default: 'productPrice' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'totalProductPrice',
|
field: 'totalProductPrice',
|
||||||
title: '金额',
|
title: '金额',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
formatter: 'formatAmount2',
|
formatter: 'formatAmount2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'taxPercent',
|
field: 'taxPercent',
|
||||||
title: '税率(%)',
|
title: '税率(%)',
|
||||||
minWidth: 105,
|
minWidth: 105,
|
||||||
|
fixed: 'right',
|
||||||
slots: { default: 'taxPercent' },
|
slots: { default: 'taxPercent' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'taxPrice',
|
field: 'taxPrice',
|
||||||
title: '税额',
|
title: '税额',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
formatter: 'formatAmount2',
|
formatter: 'formatAmount2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'totalPrice',
|
field: 'totalPrice',
|
||||||
title: '税额合计',
|
title: '税额合计',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
formatter: 'formatAmount2',
|
formatter: 'formatAmount2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -213,36 +213,42 @@ export function useFormItemColumns(): VxeTableGridOptions['columns'] {
|
|||||||
field: 'count',
|
field: 'count',
|
||||||
title: '数量',
|
title: '数量',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
slots: { default: 'count' },
|
slots: { default: 'count' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'productPrice',
|
field: 'productPrice',
|
||||||
title: '产品单价',
|
title: '产品单价',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
slots: { default: 'productPrice' },
|
slots: { default: 'productPrice' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'totalProductPrice',
|
field: 'totalProductPrice',
|
||||||
title: '金额',
|
title: '金额',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
formatter: 'formatAmount2',
|
formatter: 'formatAmount2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'taxPercent',
|
field: 'taxPercent',
|
||||||
title: '税率(%)',
|
title: '税率(%)',
|
||||||
minWidth: 105,
|
minWidth: 105,
|
||||||
|
fixed: 'right',
|
||||||
slots: { default: 'taxPercent' },
|
slots: { default: 'taxPercent' },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'taxPrice',
|
field: 'taxPrice',
|
||||||
title: '税额',
|
title: '税额',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
formatter: 'formatAmount2',
|
formatter: 'formatAmount2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'totalPrice',
|
field: 'totalPrice',
|
||||||
title: '税额合计',
|
title: '税额合计',
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
fixed: 'right',
|
||||||
formatter: 'formatAmount2',
|
formatter: 'formatAmount2',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user