Commit 2e195ba1 authored by GuanHua's avatar GuanHua
parents 08eb0ed1 98626747
...@@ -108,6 +108,7 @@ export const baseOrderListColumns: any[] = [ ...@@ -108,6 +108,7 @@ export const baseOrderListColumns: any[] = [
align: 'center', align: 'center',
dataIndex: 'sumPrice', dataIndex: 'sumPrice',
key: 'sumPrice', key: 'sumPrice',
render: (t, r) => (r.type === 7 || r.type === 8) ? t : '¥' + t
}, },
{ {
title: '订单类型', title: '订单类型',
...@@ -162,7 +163,7 @@ const fetchTableData = async (params) => { ...@@ -162,7 +163,7 @@ const fetchTableData = async (params) => {
// 最后一步开始调试 TODO // 最后一步开始调试 TODO
const SaleOrder: React.FC<SaleOrderProps> = (props) => { const SaleOrder: React.FC<SaleOrderProps> = (props) => {
const secondColumns: any[] = baseOrderListColumns.concat([ const secondColumns: any[] = baseOrderListColumns.concat([
]) ])
...@@ -207,4 +208,4 @@ const SaleOrder: React.FC<SaleOrderProps> = (props) => { ...@@ -207,4 +208,4 @@ const SaleOrder: React.FC<SaleOrderProps> = (props) => {
SaleOrder.defaultProps = {} SaleOrder.defaultProps = {}
export default SaleOrder export default SaleOrder
\ No newline at end of file
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