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
38272837
Commit
38272837
authored
Dec 23, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
ad0e4a65
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
1065 additions
and
66 deletions
+1065
-66
package-lock.json
package-lock.json
+5
-0
package.json
package.json
+1
-0
commonUtils.js
src/assets/utils/commonUtils.js
+432
-0
Archivesmaterials.vue
src/components/Materialman/Archivesmaterials.vue
+5
-6
ConsumRecipients.vue
src/components/Materialman/ConsumRecipients.vue
+0
-2
Materialwarehouse.vue
src/components/Materialman/Materialwarehouse.vue
+0
-1
SpotQuery.vue
src/components/Materialman/SpotQuery.vue
+1
-2
chukudan.vue
src/components/Materialman/chukudan.vue
+4
-3
rukudan.vue
src/components/Materialman/rukudan.vue
+4
-4
AssetsClassification.vue
src/components/Systemman/AssetsClassification.vue
+1
-5
MaterialClassification.vue
src/components/Systemman/MaterialClassification.vue
+1
-6
Supplierman.vue
src/components/Systemman/Supplierman.vue
+0
-1
Sign.vue
src/components/approval/Sign.vue
+220
-0
approvalDetails.vue
src/components/approval/approvalDetails.vue
+322
-6
approvalMan.vue
src/components/approval/approvalMan.vue
+17
-16
PaiTui.vue
src/components/assetsman/PaiTui.vue
+37
-6
assetsList.vue
src/components/assetsman/assetsList.vue
+13
-6
index.vue
src/components/global/index.vue
+2
-2
No files found.
package-lock.json
View file @
38272837
...
...
@@ -14834,6 +14834,11 @@
"resolved"
:
"https://registry.npmjs.org/vue/-/vue-2.6.10.tgz"
,
"integrity"
:
"sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ=="
},
"vue-bus"
:
{
"version"
:
"1.2.1"
,
"resolved"
:
"https://registry.npmjs.org/vue-bus/-/vue-bus-1.2.1.tgz"
,
"integrity"
:
"sha512-uCSJEWFWoDZz+GV/Pj/wXAC7WVBLD18V62l+2ezd4UCsZWZB27Hz3K0M9WUcbNum/yKBoN+OkOCIrU6A9xqWhw=="
},
"vue-hot-reload-api"
:
{
"version"
:
"2.3.4"
,
"resolved"
:
"https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz"
,
...
...
package.json
View file @
38272837
...
...
@@ -20,6 +20,7 @@
"
js-md5
"
:
"^0.7.3"
,
"
moment
"
:
"^2.24.0"
,
"
vue
"
:
"^2.5.2"
,
"
vue-bus
"
:
"^1.2.1"
,
"
vue-router
"
:
"^3.0.1"
,
"
vxe-table
"
:
"^2.6.22"
,
"
xe-utils
"
:
"^2.2.15"
...
...
src/assets/utils/commonUtils.js
0 → 100644
View file @
38272837
This diff is collapsed.
Click to expand it.
src/components/Materialman/Archivesmaterials.vue
View file @
38272837
...
...
@@ -23,6 +23,7 @@
</ul>
<table
style=
"margin-top:10px"
class=
"myTable"
v-loading=
"loading"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
档案编码
</th>
<th>
物料档案名称
</th>
<th>
分类名称
</th>
<th>
品牌名
</th>
...
...
@@ -31,7 +32,6 @@
<th>
条形码号
</th>
<th>
库存
</th>
<th>
型号
</th>
<th>
档案编码
</th>
<th>
操作人
</th>
<th>
操作时间
</th>
<th>
备注
</th>
...
...
@@ -41,8 +41,9 @@
<tr
v-for=
"(item,index) in tableData"
:key=
"index"
>
<td>
<span
class=
"commonStyle hoverSpan1"
></span>
{{
item
.
Name
}}
</td>
{{
item
.
SuppliesNum
}}
</td>
<td>
{{
item
.
Name
}}
</td>
<td>
{{
item
.
CategoryName
}}
</td>
<td>
{{
item
.
BrandName
}}
</td>
<td>
{{
item
.
Money
}}
</td>
...
...
@@ -53,7 +54,7 @@
<div>
安全库存:
{{
item
.
SafetyStock
}}
</div>
</td>
<td>
{{
item
.
SuppliesModel
}}
</td>
<td>
{{
item
.
SuppliesNum
}}
</td>
<!--
<td>
<img
v-for=
"(subItem,index) in item.ImageList"
:key=
"index"
:src=
"subItem"
alt=
""
>
</td>
-->
...
...
@@ -369,7 +370,6 @@ export default {
this
.
dialogtitle
=
"编辑物料档案"
;
this
.
dialogState
=
true
;
this
.
addMsg
=
Object
.
assign
({},
item
)
console
.
log
(
item
,
'itemmm'
);
if
(
!
this
.
addMsg
.
ImageList
){
this
.
addMsg
.
ImageList
=
[];
}
...
...
@@ -402,7 +402,6 @@ export default {
});
},
treeClick
(
data
){
console
.
log
(
"data"
,
data
)
},
getNode
(){
this
.
apiJavaPost
(
"/api/property/CateporyGetTreeList"
,
this
.
nodemsg
,
...
...
src/components/Materialman/ConsumRecipients.vue
View file @
38272837
...
...
@@ -194,7 +194,6 @@ export default {
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
departmentata
=
res
.
data
.
data
;
console
.
log
(
"this.departmentata"
,
this
.
departmentata
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -257,7 +256,6 @@ export default {
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
console
.
log
(
"res"
,
res
);
let
data
=
res
.
data
.
data
;
this
.
tableData
=
data
.
pagelist
.
pageData
;
this
.
total
=
data
.
pagelist
.
count
;
...
...
src/components/Materialman/Materialwarehouse.vue
View file @
38272837
...
...
@@ -146,7 +146,6 @@ export default {
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
console
.
log
(
"res"
,
res
);
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
...
...
src/components/Materialman/SpotQuery.vue
View file @
38272837
...
...
@@ -39,10 +39,10 @@
<vxe-table
style=
"margin-top:15px"
:loading=
"loading"
:data=
"tableData"
>
<vxe-table-column
field=
"SuppliesNum"
title=
"耗材编码"
></vxe-table-column>
<vxe-table-column
field=
"WareHouseName"
title=
"仓库名称"
></vxe-table-column>
<vxe-table-column
field=
"SuppliesName"
title=
"耗材名称"
></vxe-table-column>
<vxe-table-column
field=
"CategoryName"
title=
"分类名称"
></vxe-table-column>
<vxe-table-column
field=
"SuppliesModel"
title=
"耗材型号"
></vxe-table-column>
<vxe-table-column
field=
"WareHouseName"
title=
"仓库名称"
></vxe-table-column>
<vxe-table-column
field=
"BrandName"
title=
"品牌"
></vxe-table-column>
<vxe-table-column
field=
"Units"
title=
"单位"
></vxe-table-column>
<vxe-table-column
field=
"SafetyStock"
title=
"安全库存"
></vxe-table-column>
...
...
@@ -153,7 +153,6 @@ export default {
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
console
.
log
(
"res"
,
res
);
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
...
...
src/components/Materialman/chukudan.vue
View file @
38272837
...
...
@@ -66,12 +66,12 @@
<th>
出库单编码
</th>
<th>
仓库名称
</th>
<!--
<th>
供应商名称
</th>
-->
<th>
出库时间
</th>
<th>
分类名称
</th>
<th>
耗材名称
</th>
<th>
品牌名称
</th>
<th>
库存
</th>
<th>
数量
</th>
<th>
出库时间
</th>
<th
width=
"150px"
>
操作
</th>
</thead>
<tbody>
...
...
@@ -86,12 +86,13 @@
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
StockOutNum
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
WareHouseName
}}
</td>
<!--
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SupplierName
}}
</td>
-->
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
StockOutDate
}}
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
SuppliesName
}}
</td>
<td>
{{
delist
.
BrandName
}}
</td>
<td>
{{
delist
.
InventoryNum
}}
</td>
<td>
{{
delist
.
Number
}}
</td>
<td>
{{
delist
.
Number
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
StockOutDate
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
...
...
src/components/Materialman/rukudan.vue
View file @
38272837
...
...
@@ -55,13 +55,13 @@
<th>
入库单编码
</th>
<th>
仓库名称
</th>
<th>
供应商名称
</th>
<th>
入库时间
</th>
<th>
分类名称
</th>
<th>
耗材名称
</th>
<th>
品牌名称
</th>
<th>
单价
</th>
<th>
金额
</th>
<th>
数量
</th>
<th>
入库时间
</th>
<th
width=
"150px"
>
操作
</th>
</thead>
<tbody>
...
...
@@ -75,14 +75,14 @@
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
StockInNum
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
WareHouseName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SupplierName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
StockInDate
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SupplierName
}}
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
SuppliesName
}}
</td>
<td>
{{
delist
.
BrandName
}}
</td>
<td>
{{
delist
.
UnitPrice
}}
</td>
<td>
{{
delist
.
Money
}}
</td>
<td>
{{
delist
.
Number
}}
</td>
<td>
{{
delist
.
Number
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
StockInDate
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
...
...
src/components/Systemman/AssetsClassification.vue
View file @
38272837
...
...
@@ -344,11 +344,7 @@ export default {
);
},
Nodeclick
(
obj
,
node
){
// console.log("obj",obj)
// this.msg.Name=obj.Name;
// this.msg.Tier=obj.Tier;
// this.msg.ParentId=obj.ParentId;
// this.getList();
},
handleCurrentChange
(
val
)
{
...
...
src/components/Systemman/MaterialClassification.vue
View file @
38272837
...
...
@@ -224,7 +224,6 @@ export default {
this
.
addMsg
.
Tier
=
data
.
Tier
;
this
.
addMsg
.
Sort
=
data
.
Sort
;
this
.
getflList
(
data
.
Tier
)
console
.
log
(
"this.addMsg"
,
this
.
addMsg
)
},
DeleteNode
(
node
,
data
){
this
.
Delete
(
node
);
...
...
@@ -347,11 +346,7 @@ export default {
);
},
Nodeclick
(
obj
,
node
){
// console.log("obj",obj)
// this.msg.Name=obj.Name;
// this.msg.Tier=obj.Tier;
// this.msg.ParentId=obj.ParentId;
// this.getList();
},
handleCurrentChange
(
val
)
{
...
...
src/components/Systemman/Supplierman.vue
View file @
38272837
...
...
@@ -201,7 +201,6 @@ export default {
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
console
.
log
(
"res"
,
res
);
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
...
...
src/components/approval/Sign.vue
0 → 100644
View file @
38272837
<
template
>
<div
class=
"Sign"
>
<section
class=
"signature"
>
<div
class=
"signatureBox"
>
<div
class=
"canvasBox"
ref=
"canvasHW"
>
<canvas
ref=
"canvasF"
@
touchstart=
'touchStart'
@
touchmove=
'touchMove'
@
touchend=
'touchEnd'
@
mousedown=
"mouseDown"
@
mousemove=
"mouseMove"
@
mouseup=
"mouseUp"
></canvas>
<div
class=
"btnBox"
>
<div
@
click=
"overwrite"
>
重写
</div>
<div
@
click=
"commit"
>
提交签名
</div>
</div>
</div>
</div>
<img
class=
"imgCanvas"
:src=
"imgUrl"
>
</section>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Sign'
,
data
(){
return
{
dialogVisible
:
true
,
imgSrc
:
''
,
stageInfo
:
''
,
imgUrl
:
''
,
client
:
{},
points
:
[],
canvasTxt
:
null
,
startX
:
0
,
startY
:
0
,
moveY
:
0
,
moveX
:
0
,
endY
:
0
,
endX
:
0
,
w
:
null
,
h
:
null
,
isDown
:
false
,
isViewAutograph
:
this
.
$route
.
query
.
isViews
>
0
,
contractSuccess
:
this
.
$route
.
query
.
contractSuccess
}
},
mounted
(){
let
canvas
=
this
.
$refs
.
canvasF
canvas
.
height
=
this
.
$refs
.
canvasHW
.
offsetHeight
-
500
canvas
.
width
=
this
.
$refs
.
canvasHW
.
offsetWidth
-
50
this
.
canvasTxt
=
canvas
.
getContext
(
'2d'
)
this
.
stageInfo
=
canvas
.
getBoundingClientRect
()
},
methods
:{
mouseDown
(
ev
)
{
ev
=
ev
||
event
ev
.
preventDefault
()
if
(
1
)
{
let
obj
=
{
x
:
ev
.
offsetX
,
y
:
ev
.
offsetY
}
this
.
startX
=
obj
.
x
this
.
startY
=
obj
.
y
this
.
canvasTxt
.
beginPath
()
this
.
canvasTxt
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
canvasTxt
.
lineTo
(
obj
.
x
,
obj
.
y
)
this
.
canvasTxt
.
stroke
()
this
.
canvasTxt
.
closePath
()
this
.
points
.
push
(
obj
)
this
.
isDown
=
true
}
},
mouseMove
(
ev
)
{
ev
=
ev
||
event
ev
.
preventDefault
()
if
(
this
.
isDown
)
{
let
obj
=
{
x
:
ev
.
offsetX
,
y
:
ev
.
offsetY
}
this
.
moveY
=
obj
.
y
this
.
moveX
=
obj
.
x
this
.
canvasTxt
.
beginPath
()
this
.
canvasTxt
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
canvasTxt
.
lineTo
(
obj
.
x
,
obj
.
y
)
this
.
canvasTxt
.
stroke
()
this
.
canvasTxt
.
closePath
()
this
.
startY
=
obj
.
y
this
.
startX
=
obj
.
x
this
.
points
.
push
(
obj
)
}
},
mouseUp
(
ev
)
{
ev
=
ev
||
event
ev
.
preventDefault
()
if
(
1
)
{
let
obj
=
{
x
:
ev
.
offsetX
,
y
:
ev
.
offsetY
}
this
.
canvasTxt
.
beginPath
()
this
.
canvasTxt
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
canvasTxt
.
lineTo
(
obj
.
x
,
obj
.
y
)
this
.
canvasTxt
.
stroke
()
this
.
canvasTxt
.
closePath
()
this
.
points
.
push
(
obj
)
this
.
points
.
push
({
x
:
-
1
,
y
:
-
1
})
this
.
isDown
=
false
}
},
//重写
overwrite
()
{
this
.
canvasTxt
.
clearRect
(
0
,
0
,
this
.
$refs
.
canvasF
.
width
,
this
.
$refs
.
canvasF
.
height
)
this
.
points
=
[]
},
//提交签名
commit
()
{
this
.
imgUrl
=
this
.
$refs
.
canvasF
.
toDataURL
();
console
.
log
(
this
.
$refs
.
canvasF
.
toDataURL
())
//签名img回传后台
},
//mobile
touchStart
(
ev
)
{
ev
=
ev
||
event
ev
.
preventDefault
()
if
(
ev
.
touches
.
length
==
1
)
{
let
obj
=
{
x
:
ev
.
targetTouches
[
0
].
clienX
,
y
:
ev
.
targetTouches
[
0
].
clientY
,
}
this
.
startX
=
obj
.
x
this
.
startY
=
obj
.
y
this
.
canvasTxt
.
beginPath
()
this
.
canvasTxt
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
canvasTxt
.
lineTo
(
obj
.
x
,
obj
.
y
)
this
.
canvasTxt
.
stroke
()
this
.
canvasTxt
.
closePath
()
this
.
points
.
push
(
obj
)
}
},
touchMove
(
ev
)
{
ev
=
ev
||
event
ev
.
preventDefault
()
if
(
ev
.
touches
.
length
==
1
)
{
let
obj
=
{
x
:
ev
.
targetTouches
[
0
].
clientX
-
this
.
stageInfo
.
left
,
y
:
ev
.
targetTouches
[
0
].
clientY
-
this
.
stageInfo
.
top
}
this
.
moveY
=
obj
.
y
this
.
moveX
=
obj
.
x
this
.
canvasTxt
.
beginPath
()
this
.
canvasTxt
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
canvasTxt
.
lineTo
(
obj
.
x
,
obj
.
y
)
this
.
canvasTxt
.
stroke
()
this
.
canvasTxt
.
closePath
()
this
.
startY
=
obj
.
y
this
.
startX
=
obj
.
x
this
.
points
.
push
(
obj
)
}
},
touchEnd
(
ev
)
{
ev
=
ev
||
event
ev
.
preventDefault
()
if
(
ev
.
touches
.
length
==
1
)
{
let
obj
=
{
x
:
ev
.
targetTouches
[
0
].
clientX
-
this
.
stageInfo
.
left
,
y
:
ev
.
targetTouches
[
0
].
clientY
-
this
.
stageInfo
.
top
}
this
.
canvasTxt
.
beginPath
()
this
.
canvasTxt
.
moveTo
(
this
.
startX
,
this
.
startY
)
this
.
canvasTxt
.
lineTo
(
obj
.
x
,
obj
.
y
)
this
.
canvasTxt
.
stroke
()
this
.
canvasTxt
.
closePath
()
this
.
points
.
push
(
obj
)
}
},
},
}
</
script
>
<
style
>
.Sign
.signatureBox
{
width
:
100%
;
height
:
calc
(
100%
-
50px
);
box-sizing
:
border-box
;
overflow
:
hidden
;
background
:
#fff
;
z-index
:
100
;
display
:
flex
;
flex-direction
:
column
;
}
.Sign
.canvasBox
{
box-sizing
:
border-box
;
flex
:
1
;
}
.Sign
canvas
{
border
:
1px
solid
#7d7d7d
;
}
.Sign
.btnBox
{
padding
:
10px
;
text-align
:
center
;
}
.Sign
.btnBox
button
:first-of-type
{
background
:
transparent
;
border-radius
:
4px
;
height
:
40px
;
width
:
80px
;
font-size
:
14px
;
}
.Sign
.btnBox
button
:last-of-type
{
background
:
#71b900
;
color
:
#fff
;
border-radius
:
4px
;
height
:
40px
;
width
:
80px
;
font-size
:
14px
;
}
</
style
>
src/components/approval/approvalDetails.vue
View file @
38272837
This diff is collapsed.
Click to expand it.
src/components/approval/approvalMan.vue
View file @
38272837
...
...
@@ -100,26 +100,26 @@
{{
item
.
AuditStatusName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SourceName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
OrderCode
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<span
v-if=
"item.TempleteId>0"
style=
"text-decoration: underline;"
@
click=
"See(item,'approvalDetails','approvalMan','chakan')"
>
{{
item
.
OrderCode
}}
</span>
<span
v-else
>
{{
item
.
OrderCode
}}
</span>
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<p>
{{
item
.
EmName
}}
</p>
<p>
{{
item
.
Time
}}
</p>
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
></td>
</td>
<td>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td>
{{
delist
.
PropertyNum
}}
</td>
<td>
{{
delist
.
BrandName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
UpdateBy
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
UpdateBy
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<img
@
click=
"See(item,'approvalDetails','chakan')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"流程查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId>0"
@
click=
"See(item,'approvalDetails','approvalMan','chakan')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审批"
placement=
"top"
>
<img
v-show=
"showTable==1"
@
click=
"See(item,'approvalDetails','shenpi')"
style=
"width:24px;height:24px"
src=
"../../assets/img/shenpi.png"
alt=
""
>
<img
v-show=
"showTable==1"
@
click=
"See(item,'approvalDetails','
approvalMan','
shenpi')"
style=
"width:24px;height:24px"
src=
"../../assets/img/shenpi.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"转交"
placement=
"top"
>
<img
v-show=
"showTable==1"
@
click=
"ZhuanJiao(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/huifu.png"
alt=
""
>
...
...
@@ -249,6 +249,10 @@ export default {
}
},
created
(){
this
.
showTable
=
this
.
$route
.
query
.
showTable
?
this
.
$route
.
query
.
showTable
:
1
;
},
mounted
(){
this
.
getList
();
this
.
getNode
();
...
...
@@ -283,16 +287,17 @@ export default {
},
ZhuanJiao
(
item
){
this
.
dialogState
=
true
;
console
.
log
(
"item"
,
item
);
this
.
addMsg
.
WorkFlowId
=
item
.
Id
;
},
See
(
item
,
path
,
type
){
See
(
item
,
path
,
backto
,
type
){
let
shenpistr
=
type
;
this
.
$router
.
push
({
path
:
"/"
+
path
,
query
:
{
Id
:
item
.
Id
,
backto
:
backto
,
showTable
:
this
.
showTable
,
compType
:
shenpistr
,
}
});
...
...
@@ -335,7 +340,6 @@ export default {
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
StateEnumList
=
res
.
data
.
data
;
console
.
log
(
"this.StateEnumList"
,
this
.
StateEnumList
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -369,7 +373,6 @@ export default {
this
.
apiJavaPost
(
"/api/property/GetPropertyWaitMyAuditPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
// console.log("res",res);
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
...
...
@@ -386,7 +389,6 @@ export default {
this
.
apiJavaPost
(
"/api/property/GetPropertyMyAuditedPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
// console.log("res",res);
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
...
...
@@ -403,7 +405,6 @@ export default {
this
.
apiJavaPost
(
"/api/property/GetPropertyMyStartedPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
// console.log("res",res);
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
...
...
@@ -432,7 +433,6 @@ export default {
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
SourceList
=
res
.
data
.
data
;
console
.
log
(
"this.SourceList"
,
this
.
SourceList
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -452,6 +452,7 @@ export default {
padding
:
20px
30px
;
box-sizing
:
border-box
;
background
:
#F8FAFB
;
}
</
style
>
src/components/assetsman/PaiTui.vue
View file @
38272837
...
...
@@ -114,8 +114,8 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"终止"
placement=
"top"
>
<img
v-if=
"item.AuditStatus==2 && item.CreateBy==EmployeeId"
@
click=
"End(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/jinyong.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId
==0"
@
click=
"See(item,'approvalDetails
','chakan')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"
流程
查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId
>0"
@
click=
"See(item,'approvalDetails','PaiTui
','chakan')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
>
</el-tooltip>
</td>
...
...
@@ -219,12 +219,18 @@
<td>
{{
delist
.
CancelStockEmployeeName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
Time
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
v-if=
"item.AuditStatus==3 && item.CreateBy==EmployeeId"
@
click=
"Edit1(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/edit.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<img
v-if=
"item.AuditStatus==3 || item.AuditStatus==5"
@
click=
"DeleteTuiku(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/delete.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"终止"
placement=
"top"
>
<img
v-if=
"item.AuditStatus==2"
@
click=
"EndTuiku(item)"
style=
"width:24px;height:24px"
src=
"../../assets/img/jinyong.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"流程查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId>0"
@
click=
"See(item,'approvalDetails','PaiTui','chakan')"
style=
"width:24px;height:24px"
src=
"../../assets/img/chakan.png"
alt=
""
>
</el-tooltip>
</td>
</tr>
...
...
@@ -334,6 +340,7 @@
</div>
</el-form>
</el-dialog>
<el-dialog
title=
"退库单"
:visible
.
sync=
"dialogState1"
...
...
@@ -633,6 +640,7 @@ export default {
// this.tableHeight=document.body.clientHeight-40-66-87;
let
userInfo
=
this
.
getLocalStorage
();
this
.
EmployeeId
=
userInfo
.
EmployeeId
;
this
.
showTable
=
this
.
$route
.
query
.
showTable
?
this
.
$route
.
query
.
showTable
:
1
;
},
mounted
(){
this
.
getList
();
...
...
@@ -641,10 +649,28 @@ export default {
},
methods
:{
// 退库单编辑
Edit1
(
item
){
this
.
addMsg1
.
Id
=
item
.
Id
;
this
.
addMsg1
.
BackTime
=
item
.
Time
;
this
.
addMsg1
.
Remark
=
item
.
Remark
;
this
.
addMsg1
.
DetailList
=
[];
this
.
wlItemList
=
[];
item
.
DetailList
.
forEach
(
item
=>
{
item
.
Name
=
item
.
PropertyName
;
item
.
PropertyStatusName
=
"修改"
;
this
.
wlItemList
.
push
(
item
);
})
this
.
dialogState1
=
true
;
this
.
ItemCheckList
=
[];
},
// 编辑
Edit
(
item
){
console
.
log
(
"item"
,
item
)
this
.
addMsg
.
EmployeeId
=
item
.
EmployeeId
;
this
.
addMsg
.
Id
=
item
.
Id
;
this
.
addMsg
.
Time
=
item
.
Time
;
this
.
addMsg
.
Remark
=
item
.
Remark
;
...
...
@@ -652,19 +678,22 @@ export default {
this
.
wlItemList
=
[];
item
.
DetailList
.
forEach
(
item
=>
{
item
.
Name
=
item
.
PropertyName
;
item
.
PropertyStatusName
=
"修改"
;
this
.
wlItemList
.
push
(
item
);
})
this
.
EmName
=
item
.
EmName
;
this
.
getEmployee
(
2
);
this
.
dialogState
=
true
;
this
.
ItemCheckList
=
[];
},
See
(
item
,
path
,
type
){
See
(
item
,
path
,
backto
,
type
){
let
shenpistr
=
type
;
this
.
$router
.
push
({
path
:
"/"
+
path
,
query
:
{
Id
:
item
.
Id
,
backto
:
backto
,
showTable
:
this
.
showTable
,
compType
:
shenpistr
,
}
});
...
...
@@ -775,12 +804,13 @@ export default {
if
(
this
.
ItemCheckList
.
length
==
0
){
return
;
}
this
.
$confirm
(
"确认移出资产?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
'warning'
}).
then
(()
=>
{
var
set
=
this
.
ItemCheckList
.
map
(
item
=>
item
.
Id
)
var
set
=
this
.
ItemCheckList
.
map
(
item
=>
item
.
Property
Id
)
var
resArr
=
this
.
wlItemList
.
filter
(
item
=>!
set
.
includes
(
item
.
PropertyId
))
this
.
wlItemList
=
resArr
;
this
.
addMsg
.
Money
=
0
;
...
...
@@ -797,6 +827,7 @@ export default {
this
.
wlcheckList
=
[];
this
.
wlisCkedAll
=
false
;
},
// 选择资产
chooseWu
(){
this
.
wlcheckList
.
forEach
(
item
=>
{
this
.
wlItemList
.
push
(
item
);
...
...
src/components/assetsman/assetsList.vue
View file @
38272837
...
...
@@ -99,9 +99,8 @@
<td>
{{
item
.
PropertyModel
}}
</td>
<td>
<p
v-if=
"item.EmName!=''"
>
使用人名称:
{{
item
.
EmName
}}
</p>
<p
v-if=
"item.GetTime!=''"
style=
"padding:2px 0"
>
使用时间:
{{
item
.
GetTime
}}
</p>
<!--
<p>
归还时间:
{{
item
.
BackTime
}}
</p>
-->
<p>
{{
item
.
EmName
}}
</p>
<p
style=
"padding:2px 0"
>
{{
item
.
GetTime
}}
</p>
</td>
<td>
...
...
@@ -295,18 +294,25 @@
:visible
.
sync=
"caozuoState"
top=
"3%"
width=
"850px"
>
<div
class=
"f12"
>
<span>
资产名称:
{{
OperationInfo
.
Name
}}
</span>
<span
style=
"margin:0 20px"
>
资产编码:
{{
OperationInfo
.
PropertyNum
}}
</span>
</div>
<table
class=
"myTable"
v-loading=
"loading"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<th>
类型
</th>
<th>
内容
</th>
<th>
操作人
</th>
<th>
操作人
/时间
</th>
<th>
操作时间
</th>
</thead>
<tbody>
<tr
v-for=
"(item,index) in OperationList"
:key=
"index"
>
<td>
{{
item
.
TypeName
}}
</td>
<td>
{{
item
.
Content
}}
</td>
<td>
{{
item
.
CreateBy
}}
</td>
<td>
<p>
{{
item
.
CreateBy
}}
</p>
<p>
{{
item
.
CreateDate
}}
</p>
</td>
<td>
{{
item
.
CreateDate
}}
</td>
</tr>
<tr
v-show=
"OperationList.length==0"
>
...
...
@@ -432,6 +438,7 @@ export default {
PropertyId
:
''
,
},
OperationList
:[],
OperationInfo
:{},
OperationLoad
:
false
,
EmployeeList1
:[],
EmployeeList2
:[],
...
...
@@ -449,6 +456,7 @@ export default {
},
methods
:{
Operation
(
item
){
this
.
OperationInfo
=
item
;
this
.
caozuoState
=
true
;
this
.
msg1
.
PropertyId
=
item
.
Id
;
this
.
getOperation
();
...
...
@@ -649,7 +657,6 @@ export default {
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
PropertyStatusList
=
res
.
data
.
data
;
console
.
log
(
"状态"
,
this
.
PropertyStatusList
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/global/index.vue
View file @
38272837
...
...
@@ -102,13 +102,13 @@ export default {
top
:
0
;
left
:
0
;
height
:
100%
;
z-index
:
1
00
;
z-index
:
1
;
}
.appContent
.HeadDiv
{
position
:
fixed
;
width
:
calc
(
100%
-
214px
);
top
:
0
;
z-index
:
200
;
z-index
:
1
;
background
:
#fff
;
padding
:
20px
0
;
}
...
...
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