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
d094fad6
Commit
d094fad6
authored
Aug 26, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库审核
parent
f8be751f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
23 deletions
+36
-23
rukuDetails.vue
src/components/Materialman/rukuDetails.vue
+31
-22
rukuExamine.vue
src/components/Materialman/rukuExamine.vue
+5
-1
No files found.
src/components/Materialman/rukuDetails.vue
View file @
d094fad6
...
...
@@ -14,9 +14,9 @@
<p
class=
"c11 f14"
style=
"padding-top:12px"
>
{{
GetDetail
.
TemplateName
}}
</p>
</el-col>
<el-col
class=
"StateCol"
:span=
"12"
style=
"text-align:right;padding-top:15px"
>
<span
v-if=
"GetDetail.
AuditStatus
==1"
class=
"spz"
>
{{
GetDetail
.
StockInStateStr
}}
</span>
<span
v-if=
"GetDetail.
AuditStatus==2 || GetDetail.AuditStatus
==4"
class=
"ytg"
>
{{
GetDetail
.
StockInStateStr
}}
</span>
<span
v-if=
"GetDetail.
AuditStatus==3 || GetDetail.AuditStatus
==5"
class=
"wtg"
>
{{
GetDetail
.
StockInStateStr
}}
</span>
<span
v-if=
"GetDetail.
StockInState
==1"
class=
"spz"
>
{{
GetDetail
.
StockInStateStr
}}
</span>
<span
v-if=
"GetDetail.
StockInState==2 || GetDetail.StockInState
==4"
class=
"ytg"
>
{{
GetDetail
.
StockInStateStr
}}
</span>
<span
v-if=
"GetDetail.
StockInState==3 || GetDetail.StockInState
==5"
class=
"wtg"
>
{{
GetDetail
.
StockInStateStr
}}
</span>
</el-col>
</el-row>
<el-row>
...
...
@@ -36,7 +36,7 @@
</el-col>
<el-col
:span=
"12"
>
<span>
金额:
</span>
<span>
{{
GetDetail
.
Money
}}
</span>
<span>
¥
{{
GetDetail
.
Money
}}
</span>
</el-col>
<el-col
:span=
"12"
v-if=
"GetDetail.FinanceId!=null&& GetDetail.FinanceId!=''"
>
<span>
采购单据:
</span>
...
...
@@ -65,19 +65,28 @@
<p
class=
"f12 c11"
style=
"margin-top:25px"
>
物料清单
</p>
<table
style=
"margin-top:10px"
class=
"myTable noHoverTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
物料编号
</th>
<th>
物料
名称
</th>
<th>
品牌名称
</th>
<th>
耗材编码
</th>
<th>
耗材
名称
</th>
<th>
规格
</th>
<th>
分类名称
</th>
<th>
型号
</th>
<th>
品牌名称
</th>
<th>
单价
</th>
<th>
金额
</th>
<th>
数量
</th>
</thead>
<tbody>
<tr
v-for=
"(item,index) in GetDetail.DetailList"
:key=
"index"
>
<td><span
@
click=
"getCheckDes(item)"
style=
"text-decoration: underline;cursor: pointer;"
>
{{
item
.
PropertyNum
}}
</span></td>
<td>
{{
item
.
PropertyName
}}
</td>
<td>
{{
item
.
BrandName
}}
</td>
<td><span
@
click=
"getCheckDes(item)"
style=
"text-decoration: underline;cursor: pointer;"
>
{{
item
.
SuppliesNum
}}
</span></td>
<td>
{{
item
.
SuppliesName
}}
</td>
<td>
<p
v-for=
"(x,y) in item.GoodsSpecificationList"
:key=
"y"
>
{{
x
}}{{
y
+
1
==
item
.
GoodsSpecificationList
.
length
?
''
:
','
}}
</p>
</td>
<td>
{{
item
.
CategoryName
}}
</td>
<td>
{{
item
.
PropertyModel
}}
</td>
<td>
{{
item
.
BrandName
}}
</td>
<td>
{{
item
.
UnitPrice
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<td>
{{
item
.
Number
}}
</td>
</tr>
<tr
v-show=
"GetDetail.DetailList.length==0"
>
...
...
@@ -378,7 +387,7 @@
</div>
</div>
<el-dialog
title=
"物料详情"
top=
"0"
:visible
.
sync=
"CheckDetailState"
width=
"1150px"
>
<
CheckDetails
ref=
"mychild"
></Check
Details>
<
wlDetails
ref=
"mychild"
></wl
Details>
</el-dialog>
<viewer
:images=
"images"
:options=
'imageOptions'
@
inited=
"inited"
class=
"viewer"
ref=
"viewer"
>
<img
v-for=
"src in images"
:src=
"src"
:key=
"src"
>
...
...
@@ -387,11 +396,11 @@
</template>
<
script
>
import
CheckDetails
from
"@/components/global/Check
Details.vue"
;
import
wlDetails
from
"@/components/global/wl
Details.vue"
;
export
default
{
name
:
'rukuDetails'
,
components
:
{
Check
Details
wl
Details
},
data
(){
return
{
...
...
@@ -412,7 +421,7 @@
addMsg
:{
AuditDescription
:
''
,
ImageList
:[],
UseReceive
Id
:
''
,
Id
:
''
,
AuditType
:
''
,
SignImage
:
''
,
},
...
...
@@ -423,7 +432,7 @@
pageIndex
:
1
,
pageSize
:
20
,
ResourceId
:
''
,
Type
:
1
,
Type
:
2
,
},
imgSrc
:
''
,
...
...
@@ -458,7 +467,7 @@
this
.
showTable
=
this
.
$route
.
query
.
showTable
?
this
.
$route
.
query
.
showTable
:
''
;
if
(
this
.
$route
.
query
.
Id
){
this
.
addMsg
.
UseReceive
Id
=
this
.
$route
.
query
.
Id
;
this
.
addMsg
.
Id
=
this
.
$route
.
query
.
Id
;
this
.
danjuMsg
.
ResourceId
=
this
.
$route
.
query
.
Id
;
}
this
.
getDetail
();
...
...
@@ -486,7 +495,7 @@
this
.
$viewer
.
show
()
},
getCheckDes
(
item
){
this
.
PropertyId
=
item
.
Property
Id
;
this
.
PropertyId
=
item
.
Supplies
Id
;
this
.
CheckDetailState
=
true
;
setTimeout
(()
=>
{
this
.
$refs
.
mychild
.
InitData
(
this
.
PropertyId
);
...
...
@@ -703,7 +712,7 @@
}
this
.
addMsg
.
AuditType
=
num
;
this
.
addMsg
.
ImageList
=
this
.
uploadImgList
;
this
.
apiJavaPost
(
"/api/
property
/AuditOrRefund"
,
this
.
addMsg
,
this
.
apiJavaPost
(
"/api/
Supplies
/AuditOrRefund"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getDetail
();
...
...
@@ -711,7 +720,7 @@
this
.
addMsg
=
{
AuditDescription
:
''
,
ImageList
:[],
UseReceive
Id
:
''
,
Id
:
''
,
AuditType
:
''
,
SignImage
:
''
,
}
...
...
@@ -759,7 +768,7 @@
},
getDetail
(){
this
.
pageLoad
=
true
;
this
.
apiJavaPost
(
"/api/Supplies/GetStockInAuditDetail"
,{
StockInId
:
this
.
addMsg
.
UseReceive
Id
},
this
.
apiJavaPost
(
"/api/Supplies/GetStockInAuditDetail"
,{
StockInId
:
this
.
addMsg
.
Id
},
res
=>
{
this
.
pageLoad
=
false
;
...
...
src/components/Materialman/rukuExamine.vue
View file @
d094fad6
<
template
>
<div
class=
"rukuExamine"
>
<div
class=
"routerTitle"
>
<span
class=
"pageTitle"
>
审批管理
</span>
<span
class=
"pageTitle"
>
入库审核
</span>
<span
class=
"ChangeTable"
>
<span
@
click=
"showTable=1,getList()"
:class=
"showTable==1?'spanActive':''"
>
待审核
</span>
<span
@
click=
"showTable=2,getList()"
:class=
"showTable==2?'spanActive':''"
>
已审核
</span>
...
...
@@ -234,6 +234,10 @@
}
});
},
currentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
}
}
</
script
>
...
...
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