Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
5d2bd1af
Commit
5d2bd1af
authored
Jul 16, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
详情
parent
c0a6e71b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
234 additions
and
9 deletions
+234
-9
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+18
-9
InAndOutDdetails.vue
src/components/FinancialModule/InAndOutDdetails.vue
+207
-0
config.js
src/router/config.js
+9
-0
No files found.
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
5d2bd1af
...
...
@@ -1570,15 +1570,24 @@ export default {
},
err
=>
{})
},
goassets
(
ID
,
OtherType
){
// var assetsDomain = 'http://www.test.com:8082/#/';//本地地址
var
assetsDomain
=
'http://zcyx.oytour.com/#/'
;
//线上地址
if
(
OtherType
==
15
){
window
.
open
(
assetsDomain
+
'procurementDetails'
+
"?ID="
+
ID
,
"_blank"
);
//采购详情
}
else
if
(
OtherType
==
16
){
window
.
open
(
assetsDomain
+
'chukudan'
+
"?ID="
+
ID
+
'&type=2'
,
"_blank"
);
//出库详情
}
this
.
$router
.
replace
({
name
:
"InAndOutDdetails"
,
query
:
{
ID
:
ID
,
OtherType
:
OtherType
,
blank
:
'y'
},
})
// var assetsDomain = 'http://www.test.com:8081/#/';//本地地址
// // var assetsDomain = 'http://zcyx.oytour.com/#/';//线上地址
// if(OtherType==15){
// window.open(assetsDomain+ 'procurementDetails' +"?ID="+ID+'&token='+token, "_blank"); //采购详情
// }else if(OtherType==16){
// window.open(assetsDomain+ 'outboundD' +"?ID="+ID+'&type=2', "_blank"); //出库详情
// // window.open(assetsDomain+ 'chukudan' +"?ID="+ID+'&type=2', "_blank"); //出库详情
// }
}
},
mounted
(){
...
...
src/components/FinancialModule/InAndOutDdetails.vue
0 → 100644
View file @
5d2bd1af
<
style
scoped
>
.outboundD
.xiangq
{
padding
:
15px
0
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
justify-content
:
space-between
;
}
.outboundD
.topkuang
{
padding
:
5px
10px
;
border
:
1px
solid
#e2e2e2
;
background
:
#e2e2e2
;
border-radius
:
15px
;
margin-right
:
25px
;
}
</
style
>
<
template
>
<div
class=
"outboundD"
>
<div
v-if=
"OtherType==15"
class=
"xiangq"
>
<div>
<span
class=
"topkuang"
>
仓库名称:
{{
dataList2
.
WareHouseName
}}
</span>
<span
class=
"topkuang"
>
备注:
{{
dataList2
.
Remark
}}
</span>
</div>
</div>
<div
v-if=
"OtherType==16"
class=
"xiangq"
>
<div>
<span
class=
"topkuang"
>
出库状态:
{{
dataList
.
StockOutStateStr
}}
</span>
<span
class=
"topkuang"
>
出库单编码:
{{
dataList
.
StockOutNum
}}
</span>
<span
class=
"topkuang"
>
出库时间:
{{
dataList
.
UpdateDate
}}
</span>
<span
class=
"topkuang"
>
仓库名称 :
{{
dataList
.
WareHouseName
}}
</span>
<span
class=
"topkuang"
>
领取人:
{{
dataList
.
EmName
}}
</span>
<span
class=
"topkuang"
>
操作人/时间:
{{
dataList
.
UpdateBy
}}
/
{{
dataList
.
StockOutDate
}}
</span>
</div>
</div>
<el-table
v-if=
"OtherType==15"
:data=
"dataList2.DetailList"
stripe
style=
"width: 100%"
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"ImageList"
label=
"封面图"
width=
"90"
>
<template
slot-scope=
"scope"
>
<img
:src=
" scope.row.MaterialModel.ImageList[0]"
alt=
""
style=
"width: 60px; height: 60px;"
>
</
template
>
</el-table-column>
<el-table-column
prop=
"Name"
label=
"商品名称"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
MaterialModel
.
Name
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"Name"
label=
"规格"
width=
"300"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(x,y) in scope.row.MaterialModel.GoodsSpecificationList"
:key=
"y"
>
{{
x
}}
<span
v-if=
"scope.row.MaterialModel.GoodsSpecificationList.length !== y+1"
>
,
</span></span>
</
template
>
</el-table-column>
<el-table-column
prop=
"Number"
label=
"采购数量"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"Id"
label=
"已入数量"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
StockInNum
!=
null
?
scope
.
row
.
StockInNum
:
0
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-table
v-if=
"OtherType==16"
:data=
"dataList.DetailList"
stripe
style=
"width: 100%"
>
<el-table-column
prop=
"SuppliesName"
label=
"耗材名称 "
>
</el-table-column>
<el-table-column
prop=
"SuppliesNum"
label=
"耗材编码 "
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"CategoryName"
label=
"分类名称 "
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"WareHouseName"
label=
"品牌名称 "
width=
"210"
>
<
template
slot-scope=
"scope"
>
<span
v-for=
"(x,y) in scope.row.GoodsCategoryList"
:key=
"y"
>
{{
x
}}
<span
v-if=
"scope.row.GoodsCategoryList.length !== y+1"
>
,
</span></span>
</
template
>
</el-table-column>
<el-table-column
prop=
"InventoryNum"
label=
"库存 "
width=
"110"
>
</el-table-column>
<el-table-column
prop=
"Number"
label=
"数量 "
width=
"110"
>
</el-table-column>
</el-table>
</div>
</template>
<
script
>
export
default
{
data
(){
return
{
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
StockOutNum
:
''
,
SuppliesNum
:
''
,
SuppliesName
:
''
,
SupplierName
:
''
,
StartTime
:
''
,
EndTime
:
''
,
WarehouseId
:
''
,
EmployeeId
:
''
,
Id
:
0
,
RB_Group_id
:
''
},
msg2
:{
ProcurementId
:
0
,
RB_Group_id
:
''
},
dataList
:{},
//出库
dataList2
:{},
//采购
OtherType
:
0
,
}
},
created
(){
this
.
OtherType
=
this
.
$route
.
query
.
OtherType
let
RB_Group_id
=
this
.
getLocalStorage
().
RB_Group_id
;
if
(
this
.
OtherType
==
15
){
//采购单
this
.
msg2
.
ProcurementId
=
this
.
$route
.
query
.
ID
;
this
.
msg2
.
RB_Group_id
=
RB_Group_id
;
this
.
getList2
()
}
else
if
(
this
.
OtherType
==
16
){
//出库单
this
.
msg
.
Id
=
this
.
$route
.
query
.
ID
;
this
.
msg
.
RB_Group_id
=
RB_Group_id
;
this
.
getList
()
}
},
methods
:{
getList
(){
this
.
apiJavaPostZc
(
"/api/Warehouse/GetStockOutPageList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
[
0
]
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
getList2
(){
this
.
apiJavaPostZc
(
"/api/Warehouse/GetProcurementInfo"
,
this
.
msg2
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList2
=
res
.
data
.
data
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}
},
mounted
(){
}
}
</
script
>
src/router/config.js
View file @
5d2bd1af
...
...
@@ -3443,6 +3443,15 @@ export default {
},
]
},
// 出入库详情
{
path
:
'/InAndOutDdetails'
,
name
:
'InAndOutDdetails'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/InAndOutDdetails'
],
resolve
),
meta
:
{
title
:
'详情'
},
},
// 申请书
{
path
:
'/Application'
,
...
...
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