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
54c4de74
Commit
54c4de74
authored
Jul 31, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/assets
parents
aeca4d66
ab512cda
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
317 additions
and
533 deletions
+317
-533
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
+109
-33
consumablesInventory.vue
src/components/Materialman/consumablesInventory.vue
+11
-12
InventoryDetails.vue
src/components/assetsman/InventoryDetails.vue
+177
-484
No files found.
src/components/Materialman/InventoryBosun.vue
View file @
54c4de74
...
...
@@ -124,13 +124,15 @@
DetailList
:
[]
},
isCheckAll
:
false
,
checkList
:[]
checkList
:[],
isFrom
:
0
};
},
mounted
()
{
this
.
msg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
WarehouseId
=
this
.
$route
.
query
.
WarehouseId
;
this
.
isFrom
=
this
.
$route
.
query
.
isFrom
;
this
.
getList
();
this
.
getCheckStatus
();
},
...
...
@@ -152,8 +154,14 @@
);
},
Backto
()
{
let
path
=
''
;
if
(
this
.
isFrom
==
1
){
path
=
'/InventoryDetails'
}
else
{
path
=
'/InventoryDetail'
}
this
.
$router
.
push
({
path
:
"/InventoryDetail"
,
path
:
path
,
query
:
{
CheckId
:
this
.
msg
.
CheckId
}
...
...
src/components/Materialman/InventoryBoyi.vue
View file @
54c4de74
...
...
@@ -93,13 +93,15 @@
DetailList
:
[]
},
isCheckAll
:
false
,
checkList
:[]
checkList
:[],
isFrom
:
0
};
},
mounted
()
{
this
.
msg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
CheckId
=
this
.
$route
.
query
.
CheckId
;
this
.
saveMsg
.
WarehouseId
=
this
.
$route
.
query
.
WarehouseId
;
this
.
isFrom
=
this
.
$route
.
query
.
isFrom
;
this
.
getList
();
},
methods
:
{
...
...
@@ -108,8 +110,14 @@
this
.
getList
();
},
Backto
()
{
let
path
=
''
;
if
(
this
.
isFrom
==
1
){
path
=
'/InventoryDetails'
}
else
{
path
=
'/InventoryDetail'
}
this
.
$router
.
push
({
path
:
"/InventoryDetail"
,
path
:
path
,
query
:
{
CheckId
:
this
.
msg
.
CheckId
}
...
...
src/components/Materialman/InventoryDetail.vue
View file @
54c4de74
This diff is collapsed.
Click to expand it.
src/components/Materialman/consumablesInventory.vue
View file @
54c4de74
...
...
@@ -94,7 +94,7 @@
<img
v-if=
"row.CheckState==2"
@
click=
"SeeDetails(row,'/InventoryDetails')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"盘点明细"
placement=
"top"
v-if=
"row.CheckState==1"
>
<img
v-if=
"row.CheckState==1"
@
click=
"SeeDetails(row,'/InventoryDetail')"
style=
"width:24px;height:24px"
src=
"../../assets/img/s
z
.png"
alt=
""
/>
<img
v-if=
"row.CheckState==1"
@
click=
"SeeDetails(row,'/InventoryDetail')"
style=
"width:24px;height:24px"
src=
"../../assets/img/s
htg
.png"
alt=
""
/>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"下载明细"
placement=
"top"
v-if=
"row.CheckState==1"
>
<img
v-if=
"row.CheckState == 1"
@
click=
""
style=
"width:24px;height:24px"
src=
"../../assets/img/xz.png"
alt=
""
/>
...
...
@@ -121,7 +121,7 @@
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogState"
top=
"0"
width=
"6
2
0px"
width=
"6
8
0px"
>
<el-form
class=
"MyEditForm"
...
...
@@ -150,16 +150,17 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
class=
"dateList"
label=
""
style=
"width:3
0
0px"
>
<el-form-item
class=
"dateList"
label=
""
style=
"width:3
6
0px"
>
<span
class=
"label"
>
计划时间
</span>
<div>
<el-date-picker
style=
"width:3
0
0px"
<el-date-picker
style=
"width:3
6
0px"
v-model=
"dateList"
type=
"daterange"
type=
"date
time
range"
range-separator=
"至"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd
HH:mm:ss
"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:default-time=
"['09:30:00', '18:00:00']"
>
</el-date-picker>
</div>
...
...
@@ -269,7 +270,8 @@ export default {
path
:
path
,
query
:
{
CheckId
:
item
.
Id
,
WarehouseId
:
item
.
WarehouseId
WarehouseId
:
item
.
WarehouseId
,
CheckState
:
item
.
CheckState
}
});
...
...
@@ -289,7 +291,7 @@ export default {
this
.
dialogdisabled
=
false
},
Edit
(
item
)
{
this
.
dialogdisabled
=
true
this
.
dialogdisabled
=
true
this
.
dialogtitle
=
"编辑"
;
this
.
dialogState
=
true
;
let
itemdata
=
Object
.
assign
({},
item
)
...
...
@@ -297,9 +299,7 @@ export default {
this
.
addMsg
.
WarehouseId
=
itemdata
.
WarehouseId
;
this
.
addMsg
.
StartDate
=
itemdata
.
StartDate
;
this
.
addMsg
.
EndDate
=
itemdata
.
EndDate
;
this
.
dateList
=
[];
this
.
dateList
[
0
]
=
this
.
addMsg
.
StartDate
;
this
.
dateList
[
1
]
=
this
.
addMsg
.
EndDate
;
this
.
dateList
=
[
this
.
addMsg
.
StartDate
,
this
.
addMsg
.
EndDate
];
},
Delete
(
item
)
{
let
Id
=
item
.
Id
;
...
...
@@ -399,7 +399,6 @@ export default {
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
console
.
log
(
this
.
tableData
,
'tableData'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/assetsman/InventoryDetails.vue
View file @
54c4de74
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