diff --git a/apps/web-antd/src/views/erp/purchase/order/data.ts b/apps/web-antd/src/views/erp/purchase/order/data.ts index c1ea9adbf..1ca7e5a57 100644 --- a/apps/web-antd/src/views/erp/purchase/order/data.ts +++ b/apps/web-antd/src/views/erp/purchase/order/data.ts @@ -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', }, { diff --git a/apps/web-antd/src/views/erp/sale/order/data.ts b/apps/web-antd/src/views/erp/sale/order/data.ts index 39c8bee8f..0d5a3b9d0 100644 --- a/apps/web-antd/src/views/erp/sale/order/data.ts +++ b/apps/web-antd/src/views/erp/sale/order/data.ts @@ -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', }, {