Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
59b0c802
Commit
59b0c802
authored
Aug 26, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
95125198
e226e14c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
index.vue
pages/resource/resource/index.vue
+1
-1
record.vue
pages/resource/resource/record.vue
+3
-3
return.vue
pages/resource/resource/return.vue
+10
-0
No files found.
pages/resource/resource/index.vue
View file @
59b0c802
...
...
@@ -401,7 +401,7 @@ export default {
if
(
index
>
-
1
)
{
this
.
cartListCount
-=
value
;
this
.
cartList
.
splice
(
index
,
1
);
if
(
value
==
0
)
{
if
(
value
==
0
||
this
.
cartList
.
length
==
0
)
{
this
.
cartListCount
=
0
;
}
this
.
$store
.
commit
(
"setCart"
,
this
.
cartList
);
...
...
pages/resource/resource/record.vue
View file @
59b0c802
...
...
@@ -37,7 +37,7 @@ export default {
dataList
:
[],
curId
:
0
,
modal
:
false
,
title
:
"
详情
"
,
title
:
"
归还
"
,
columns
:
[
{
type
:
"index"
,
...
...
@@ -79,7 +79,7 @@ export default {
class
:
"details"
,
on
:
{
click
:
()
=>
this
.
details
(
params
.
row
.
id
)
},
},
"查看
"
params
.
row
.
status
==
0
?
"归还"
:
"
"
),
]);
},
...
...
@@ -91,7 +91,7 @@ export default {
libraryTube
:
this
.
$store
.
state
.
userInfo
.
userName
,
//库管员
};
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
await
store
.
dispatch
(
"loadDictionary"
);
// 加载数据字典
},
props
:
{},
...
...
pages/resource/resource/return.vue
View file @
59b0c802
...
...
@@ -97,6 +97,14 @@ export default {
key
:
"storeTitle"
,
width
:
100
,
},
{
title
:
"借出数量"
,
key
:
"lentCount"
,
},
{
title
:
"已归还数量"
,
key
:
"lentCount2"
,
},
{
title
:
this
.
l
(
"count"
),
key
:
"count"
,
...
...
@@ -114,6 +122,7 @@ export default {
libraryTube
:
this
.
$store
.
state
.
userInfo
.
userName
,
//库管员
};
},
props
:
{
eid
:
Number
,
},
...
...
@@ -135,6 +144,7 @@ export default {
let
objList
=
data
;
objList
.
count1
=
parseFloat
(
data
.
count
);
objList
.
count
=
parseFloat
(
data
.
count
);
objList
.
lentCount2
=
parseFloat
(
data
.
lentCount
-
data
.
count
);
objList
.
state
=
"3"
;
items
.
push
(
objList
);
});
...
...
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