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
e2a67d7f
Commit
e2a67d7f
authored
Nov 02, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
台账合计修改
parent
418dedd8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
index.vue
...src/privateComponents/components/InventoryLists/index.vue
+12
-6
No files found.
applications/dee-mes/src/privateComponents/components/InventoryLists/index.vue
View file @
e2a67d7f
...
...
@@ -12,11 +12,11 @@
:lay-config=
"
{ typeName: 'Inventory', layKey: 'inventoryLedger'}"
@requestSuccess="onRequestSuccess"
/>
<div
class=
"sumCon"
>
<div
v-if=
"amountObjs.amount"
class=
"sumCon"
>
<strong>
合计:
</strong>
<span
class=
"clumnLabel"
>
库存数量:
<span
class=
"count"
>
0
</span>
;
</span>
<span
class=
"clumnLabel"
>
占用数量:
<span
class=
"count"
>
0
</span>
;
</span>
<span
class=
"clumnLabel"
>
可用数量:
<span
class=
"count"
>
0
</span></span>
<span
class=
"clumnLabel"
>
库存数量:
<span
class=
"count"
>
{{
amountObjs
.
amount
}}
</span>
;
</span>
<span
class=
"clumnLabel"
>
占用数量:
<span
class=
"count"
>
{{
amountObjs
.
takeAmount
}}
</span>
;
</span>
<span
class=
"clumnLabel"
>
可用数量:
<span
class=
"count"
>
{{
amountObjs
.
usableAmount
}}
</span></span>
</div>
</div>
...
...
@@ -34,7 +34,9 @@ export default {
}
},
data
()
{
return
{}
return
{
amountObjs
:
{}
}
},
computed
:
{},
watch
:
{},
...
...
@@ -43,7 +45,11 @@ export default {
// 组件方法
methods
:
{
onRequestSuccess
(
res
)
{
console
.
log
(
'res: '
,
res
)
this
.
amountObjs
=
{
amount
:
res
.
items
.
amount
,
takeAmount
:
res
.
items
.
takeAmount
,
usableAmount
:
res
.
items
.
usableAmount
}
}
}
}
...
...
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