Commit bd864e77 authored by lxd's avatar lxd

feat: 样式修复

parent f5bdc007
...@@ -30,6 +30,7 @@ export function columns(res, pages) { ...@@ -30,6 +30,7 @@ export function columns(res, pages) {
dataIndex: 'index', dataIndex: 'index',
hideInSearch: true, hideInSearch: true,
width: '50px', width: '50px',
align: 'center',
render: (text, record, index) => (current - 1) * pageSize + index + 1, render: (text, record, index) => (current - 1) * pageSize + index + 1,
}, },
{ {
...@@ -42,6 +43,7 @@ export function columns(res, pages) { ...@@ -42,6 +43,7 @@ export function columns(res, pages) {
title: '付款单批次号', title: '付款单批次号',
dataIndex: 'payBatchNo', dataIndex: 'payBatchNo',
width: '160px', width: '160px',
align: 'center',
}, },
{ {
title: '付款单生成日期', title: '付款单生成日期',
...@@ -85,47 +87,56 @@ export function columns(res, pages) { ...@@ -85,47 +87,56 @@ export function columns(res, pages) {
dataIndex: 'saleAmount', dataIndex: 'saleAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '退款总额', title: '退款总额',
dataIndex: 'refundAmount', dataIndex: 'refundAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '红字金额', title: '红字金额',
dataIndex: 'pastRefundAmount', dataIndex: 'pastRefundAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '蓝字金额', title: '蓝字金额',
dataIndex: 'currentRefundAmount', dataIndex: 'currentRefundAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '应付金额', title: '应付金额',
dataIndex: 'payableAmount', dataIndex: 'payableAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '是否缺少红字发票', title: '是否缺少红字发票',
dataIndex: 'redInvoiceState', dataIndex: 'redInvoiceState',
valueEnum: redInvoiceState, valueEnum: redInvoiceState,
align: 'center',
width: 100,
}, },
{ {
title: '付款状态', title: '付款状态',
dataIndex: 'payState', dataIndex: 'payState',
valueEnum: payStateEnum, valueEnum: payStateEnum,
width: '110px', width: '110px',
align: 'center',
}, },
{ {
title: '发票状态', title: '发票状态',
dataIndex: 'blueInvoiceState', dataIndex: 'blueInvoiceState',
valueEnum: orderStateNum, valueEnum: orderStateNum,
width: '110px', width: '110px',
align: 'center',
}, },
{ {
title: '操作', title: '操作',
...@@ -134,7 +145,7 @@ export function columns(res, pages) { ...@@ -134,7 +145,7 @@ export function columns(res, pages) {
key: 'option', key: 'option',
align: 'center', align: 'center',
fixed: 'right', fixed: 'right',
width: 200, width: 80,
render: (_, row) => ( render: (_, row) => (
<div> <div>
<Button <Button
......
.button { .button {
display: block;
margin-bottom: 10px; margin-bottom: 10px;
} }
......
...@@ -20,18 +20,21 @@ export function columns(pages) { ...@@ -20,18 +20,21 @@ export function columns(pages) {
dataIndex: 'index', dataIndex: 'index',
hideInSearch: true, hideInSearch: true,
width: '50px', width: '50px',
align: 'center',
render: (text, record, index) => (current - 1) * pageSize + index + 1, render: (text, record, index) => (current - 1) * pageSize + index + 1,
}, },
{ {
title: '供应商名称', title: '供应商名称',
dataIndex: 'supplierName', dataIndex: 'supplierName',
width: '150px', width: '150px',
align: 'center',
hideInSearch: true, hideInSearch: true,
}, },
{ {
title: '结算单批次号', title: '结算单批次号',
dataIndex: 'settleBatchNo', dataIndex: 'settleBatchNo',
width: '160px', width: '160px',
align: 'center',
}, },
{ {
title: '账单日期', title: '账单日期',
...@@ -57,18 +60,21 @@ export function columns(pages) { ...@@ -57,18 +60,21 @@ export function columns(pages) {
valueEnum: activeStateEnum, valueEnum: activeStateEnum,
width: '120px', width: '120px',
filters: false, filters: false,
align: 'center',
}, },
{ {
title: '金额', title: '金额',
dataIndex: 'amount', dataIndex: 'amount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '笔数', title: '笔数',
dataIndex: 'quantity', dataIndex: 'quantity',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '状态', title: '状态',
...@@ -76,6 +82,7 @@ export function columns(pages) { ...@@ -76,6 +82,7 @@ export function columns(pages) {
valueEnum: orderStateNum, valueEnum: orderStateNum,
width: '100px', width: '100px',
filters: false, filters: false,
align: 'center',
}, },
]; ];
} }
......
...@@ -26,6 +26,7 @@ export function columns(pages) { ...@@ -26,6 +26,7 @@ export function columns(pages) {
dataIndex: 'index', dataIndex: 'index',
hideInSearch: true, hideInSearch: true,
width: '50px', width: '50px',
align: 'center',
render: (text, record, index) => (current - 1) * pageSize + index + 1, render: (text, record, index) => (current - 1) * pageSize + index + 1,
}, },
{ {
...@@ -33,16 +34,19 @@ export function columns(pages) { ...@@ -33,16 +34,19 @@ export function columns(pages) {
dataIndex: 'supplierName', dataIndex: 'supplierName',
width: '150px', width: '150px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '付款单批次号', title: '付款单批次号',
dataIndex: 'payBatchNo', dataIndex: 'payBatchNo',
width: '160px', width: '160px',
align: 'center',
}, },
{ {
title: '结算单批次号', title: '结算单批次号',
dataIndex: 'settleBatchNo', dataIndex: 'settleBatchNo',
width: '150px', width: '150px',
align: 'center',
}, },
{ {
title: '结算单生成日期', title: '结算单生成日期',
...@@ -70,6 +74,7 @@ export function columns(pages) { ...@@ -70,6 +74,7 @@ export function columns(pages) {
width: '120px', width: '120px',
hideInSearch: true, hideInSearch: true,
filters: false, filters: false,
align: 'center',
}, },
{ {
title: '结算单生成日期', title: '结算单生成日期',
...@@ -84,18 +89,21 @@ export function columns(pages) { ...@@ -84,18 +89,21 @@ export function columns(pages) {
dataIndex: 'saleAmount', dataIndex: 'saleAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '退款金额', title: '退款金额',
dataIndex: 'refundAmount', dataIndex: 'refundAmount',
width: '100px', width: '100px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '结算金额', title: '结算金额',
dataIndex: 'payableAmount', dataIndex: 'payableAmount',
width: '130px', width: '130px',
hideInSearch: true, hideInSearch: true,
align: 'center',
}, },
{ {
title: '结算状态', title: '结算状态',
...@@ -104,12 +112,14 @@ export function columns(pages) { ...@@ -104,12 +112,14 @@ export function columns(pages) {
width: '100px', width: '100px',
initialValue: 0, initialValue: 0,
filters: false, filters: false,
align: 'center',
}, },
{ {
title: '是否生成付款单', title: '是否生成付款单',
dataIndex: 'isCreatePaymentBill', dataIndex: 'isCreatePaymentBill',
valueEnum: paymentStateEnum, valueEnum: paymentStateEnum,
hideInTable: true, hideInTable: true,
align: 'center',
}, },
]; ];
} }
......
...@@ -42,7 +42,7 @@ const SettlementSheet = () => { ...@@ -42,7 +42,7 @@ const SettlementSheet = () => {
return true; return true;
} }
notification.error({ notification.error({
message: `${billPeriodData.text}帐期最多生成${billPeriodData.maxlength}付款单`, message: `${billPeriodData.text}帐期最多可选${billPeriodData.maxlength}`,
}); });
return false; return false;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment