Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
6bda104d
Commit
6bda104d
authored
Nov 14, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
台账排序自定义参数
parent
c240da80
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
index.vue
...src/privateComponents/components/InventoryLists/index.vue
+9
-0
No files found.
applications/dee-mes/src/privateComponents/components/InventoryLists/index.vue
View file @
6bda104d
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
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>
...
@@ -50,6 +51,14 @@ export default {
...
@@ -50,6 +51,14 @@ 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
)
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment