From 9406593d6e279aca4c3c74196759acfcef450b3b Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 4 Oct 2025 19:37:28 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90antd=E3=80=91=E3=80=90erp?= =?UTF-8?q?=20=E7=B3=BB=E7=BB=9F=E3=80=91purchase/order=20=E9=87=8D?= =?UTF-8?q?=E6=9E=84=203/4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/views/erp/purchase/order/data.ts | 6 ++++++ apps/web-antd/src/views/erp/sale/order/data.ts | 6 ++++++ 2 files changed, 12 insertions(+) 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', }, {