Commit dc359ebb authored by 靳野's avatar 靳野

feat:库存排序字段调整productStock

parent 82200618
...@@ -144,7 +144,7 @@ export function column() { ...@@ -144,7 +144,7 @@ export function column() {
width: 120, width: 120,
dataIndex: 'stock', dataIndex: 'stock',
align: 'center', align: 'center',
sorter: (a, b) => a.stock - b.stock, sorter: (a, b) => a.productStock - b.productStock,
defaultSortOrder: 'ascend', defaultSortOrder: 'ascend',
render: (_, row) => { render: (_, row) => {
// const stockView = row.productStock; // const stockView = row.productStock;
......
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