Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assets
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
黄媛媛
assets
Commits
ab512cda
Commit
ab512cda
authored
Jul 31, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8d1703fb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
197 additions
and
496 deletions
+197
-496
InventoryBosun.vue
src/components/Materialman/InventoryBosun.vue
+10
-2
InventoryBoyi.vue
src/components/Materialman/InventoryBoyi.vue
+10
-2
InventoryDetail.vue
src/components/Materialman/InventoryDetail.vue
+0
-7
consumablesInventory.vue
src/components/Materialman/consumablesInventory.vue
+0
-1
InventoryDetails.vue
src/components/assetsman/InventoryDetails.vue
+177
-484
No files found.
src/components/Materialman/InventoryBosun.vue
View file @
ab512cda
...
@@ -124,13 +124,15 @@
...
@@ -124,13 +124,15 @@
DetailList
:
[]
DetailList
:
[]
},
},
isCheckAll
:
false
,
isCheckAll
:
false
,
checkList
:[]
checkList
:[],
isFrom
:
0
};
};
},
},
mounted
()
{
mounted
()
{
this
.
msg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
msg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
WarehouseId
=
this
.
$route
.
query
.
WarehouseId
;
this
.
saveMsg
.
WarehouseId
=
this
.
$route
.
query
.
WarehouseId
;
this
.
isFrom
=
this
.
$route
.
query
.
isFrom
;
this
.
getList
();
this
.
getList
();
this
.
getCheckStatus
();
this
.
getCheckStatus
();
},
},
...
@@ -152,8 +154,14 @@
...
@@ -152,8 +154,14 @@
);
);
},
},
Backto
()
{
Backto
()
{
let
path
=
''
;
if
(
this
.
isFrom
==
1
){
path
=
'/InventoryDetails'
}
else
{
path
=
'/InventoryDetail'
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/InventoryDetail"
,
path
:
path
,
query
:
{
query
:
{
CheckId
:
this
.
msg
.
CheckId
CheckId
:
this
.
msg
.
CheckId
}
}
...
...
src/components/Materialman/InventoryBoyi.vue
View file @
ab512cda
...
@@ -93,13 +93,15 @@
...
@@ -93,13 +93,15 @@
DetailList
:
[]
DetailList
:
[]
},
},
isCheckAll
:
false
,
isCheckAll
:
false
,
checkList
:[]
checkList
:[],
isFrom
:
0
};
};
},
},
mounted
()
{
mounted
()
{
this
.
msg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
msg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
WarehouseId
=
this
.
$route
.
query
.
WarehouseId
;
this
.
saveMsg
.
WarehouseId
=
this
.
$route
.
query
.
WarehouseId
;
this
.
isFrom
=
this
.
$route
.
query
.
isFrom
;
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
@@ -108,8 +110,14 @@
...
@@ -108,8 +110,14 @@
this
.
getList
();
this
.
getList
();
},
},
Backto
()
{
Backto
()
{
let
path
=
''
;
if
(
this
.
isFrom
==
1
){
path
=
'/InventoryDetails'
}
else
{
path
=
'/InventoryDetail'
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/InventoryDetail"
,
path
:
path
,
query
:
{
query
:
{
CheckId
:
this
.
msg
.
CheckId
CheckId
:
this
.
msg
.
CheckId
}
}
...
...
src/components/Materialman/InventoryDetail.vue
View file @
ab512cda
...
@@ -204,10 +204,6 @@
...
@@ -204,10 +204,6 @@
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
tableData
.
forEach
(
x
=>
{
x
.
isShow
=
false
;
})
console
.
log
(
this
.
tableData
,
'tabledata'
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
@@ -422,7 +418,6 @@
...
@@ -422,7 +418,6 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
var
myData
=
res
.
data
.
data
.
GoodsModel
;
var
myData
=
res
.
data
.
data
.
GoodsModel
;
console
.
log
(
res
,
'ress'
);
var
isInStore
=
true
;
var
isInStore
=
true
;
if
(
myData
){
if
(
myData
){
var
scanMsg
=
{};
var
scanMsg
=
{};
...
@@ -434,10 +429,8 @@
...
@@ -434,10 +429,8 @@
if
(
x
.
SuppliesId
==
myData
.
SuppliesId
){
if
(
x
.
SuppliesId
==
myData
.
SuppliesId
){
x
.
RealityNum
++
;
x
.
RealityNum
++
;
isInStore
=
false
;
isInStore
=
false
;
x
.
isShow
=
true
;
document
.
getElementById
(
myData
.
SuppliesId
).
scrollIntoView
({
behavior
:
'smooth'
})
document
.
getElementById
(
myData
.
SuppliesId
).
scrollIntoView
({
behavior
:
'smooth'
})
this
.
$refs
[
"barCodeInput"
+
myData
.
SuppliesId
].
focus
();
this
.
$refs
[
"barCodeInput"
+
myData
.
SuppliesId
].
focus
();
document
.
getElementById
(
"barTishi"
+
myData
.
SuppliesId
).
style
.
opacity
=
1
;
document
.
getElementById
(
"barTishi"
+
myData
.
SuppliesId
).
style
.
opacity
=
1
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
test
(
"barTishi"
+
myData
.
SuppliesId
);
this
.
test
(
"barTishi"
+
myData
.
SuppliesId
);
...
...
src/components/Materialman/consumablesInventory.vue
View file @
ab512cda
...
@@ -399,7 +399,6 @@ export default {
...
@@ -399,7 +399,6 @@ export default {
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
console
.
log
(
this
.
tableData
,
'tableData'
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/assetsman/InventoryDetails.vue
View file @
ab512cda
This diff is collapsed.
Click to expand it.
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