Commit c272fd63 authored by jingnan's avatar jingnan 👀

台账排序修改

parent 21136b3d
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
table-height="calc(100vh - 246px)" table-height="calc(100vh - 246px)"
:lay-config="{ typeName: 'Inventory', layKey: 'inventoryLedger'}" :lay-config="{ typeName: 'Inventory', layKey: 'inventoryLedger'}"
@requestSuccess="onRequestSuccess" @requestSuccess="onRequestSuccess"
@sort-change="handleSortChange"
/> />
<div v-if="amountObjs.amount" class="sumCon"> <div v-if="amountObjs.amount" class="sumCon">
<strong>合计:</strong> <strong>合计:</strong>
...@@ -51,14 +50,6 @@ export default { ...@@ -51,14 +50,6 @@ export default {
takeAmount: res.items.takeAmount, takeAmount: res.items.takeAmount,
usableAmount: res.items.usableAmount usableAmount: res.items.usableAmount
} }
},
handleSortChange({ column, prop, order }) {
const sortOrder = order.replace('ending', '')
const expandParam = [{
'fieldName': prop,
'sortOrder': sortOrder
}]
this.$refs.table.$refs.asCom.getData(expandParam)
} }
} }
} }
......
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