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
2f4211ed
Commit
2f4211ed
authored
Oct 15, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
9a97c946
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
725 additions
and
884 deletions
+725
-884
InventoryDetail.vue
src/components/Materialman/InventoryDetail.vue
+1
-1
SignMan.vue
src/components/approval/SignMan.vue
+347
-386
BulkImport.vue
src/components/assetsman/BulkImport.vue
+2
-2
index.js
src/plugins/index.js
+20
-137
config.js
src/router/config.js
+355
-358
No files found.
src/components/Materialman/InventoryDetail.vue
View file @
2f4211ed
...
...
@@ -203,7 +203,7 @@
this
.
getCheckStatus
();
this
.
getWarehouseId
();
//上传接口路径
this
.
importFileUrl2
=
this
.
domainManager
().
Domain
Url
+
this
.
importFileUrl2
=
this
.
domainManager
().
ZCApi
Url
+
"/api/file/LocalFileUploadImportForSuppliesCheck"
;
//添加滚动事件
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
)
...
...
src/components/approval/SignMan.vue
View file @
2f4211ed
<
template
>
<div
class=
"spotquery"
>
<div
class=
"routerTitle"
>
<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>
</span>
<span
@
click=
"morequery=!morequery"
style=
"display:inline-flex;align-items:center;cursor: pointer;"
class=
"f12 cd6"
>
<span
style=
"margin-right:5px"
>
高级查询
</span>
<img
v-show=
"!morequery"
style=
"width:12px;height:12px"
src=
"../../assets/img/more.png"
alt=
""
>
<img
v-show=
"morequery"
class=
"roatImg"
style=
"width:12px;height:12px"
src=
"../../assets/img/more.png"
alt=
""
>
</span>
<span
@
click=
"getList"
style=
"margin-left:20px"
class=
"chaxunSpan"
>
查询
</span>
<!--
<span
@
click=
"chongzhi"
style=
"margin-left:20px"
class=
"addSpan"
>
重置
</span>
-->
<!--
<span
@
click=
"addSupplier"
style=
"margin-left:20px"
class=
"addSpan"
>
<img
style=
"width:10px;height:10px;margin-right:6px"
src=
"../../assets/img/add.png"
alt=
""
>
新增
</span>
-->
</div>
<div
class=
"padContent"
>
<ul
v-show=
"morequery"
class=
"queryul"
>
<li
style=
"float:left"
>
<!-- :alwaysOpen="true" -->
<treeselect
style=
"height:50px;width:215px;"
:options=
"treedata"
v-model=
"msg.CategoryId"
placeholder=
"分类"
:normalizer=
"normalizer"
/>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.OrderCode"
placeholder=
"编号"
></el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.PropertyNum"
placeholder=
"资产编码"
></el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.PropertyName"
placeholder=
"资产名称"
></el-input>
</li>
<li>
<el-select
size=
"small"
filterable
clearable
v-model=
"msg.AuditStatus"
placeholder=
"状态"
>
<el-option
v-for=
"item in StateEnumList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
<li>
<el-select
filterable
clearable
size=
"small"
v-model=
"msg.EmployeeId"
placeholder=
"领取人"
:filter-method=
"getEmployee1"
>
<el-option
v-for=
"item in EmployeeList1"
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</li>
<li>
<el-select
filterable
clearable
size=
"small"
v-model=
"msg.Source"
placeholder=
"来源"
>
<el-option
v-for=
"item in SourceList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
<li>
<el-date-picker
v-model=
"dateList"
type=
"daterange"
range-separator=
"至"
value-format=
"yyyy-MM-dd"
start-placeholder=
"开始时间"
end-placeholder=
"结束日期"
>
</el-date-picker>
</li>
</ul>
<table
v-loading=
"loading"
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>
<t>
操作
</t>
</thead>
<tbody>
<template
v-for=
"(item,index1) in tableData"
>
<tr
:class=
"index==0?'trNobottom':''"
v-for=
"(delist,index) in item.DetailList"
:key=
"delist.Id"
>
<td
:class=
"index1==tableData.length-1?'lastTdLeft':''"
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<div
style=
"display:flex;align-items:center"
>
<div
style=
"display:inline-block"
>
<span
class=
"ColorSpan huangSpan"
v-if=
"item.AuditStatus==2"
>
审
</span>
<span
class=
"ColorSpan greenSpan"
v-if=
"item.AuditStatus==1"
>
已
</span>
<span
class=
"ColorSpan purpleSpan"
v-if=
"item.AuditStatus==3"
>
驳
</span>
<span
class=
"ColorSpan buleSpan"
v-if=
"item.AuditStatus==4"
>
签
</span>
<span
class=
"ColorSpan redSpan"
v-if=
"item.AuditStatus==5"
>
撤
</span>
</div>
<div
style=
"display:inline-block;margin-left:5px"
>
<P>
{{
item
.
AuditDescription
}}
</P>
<p>
{{
item
.
AuditStatusName
}}
</p>
</div>
</div>
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SourceName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<span
class=
"underline"
v-if=
"item.TempleteId>0"
@
click=
"See(item,'approvalDetails','SignMan','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>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td><span
@
click=
"getCheckDes(delist)"
class=
"underline"
>
{{
delist
.
PropertyNum
}}
</span></td>
<td>
{{
delist
.
BrandName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<p>
{{
item
.
UpdateBy
}}
</p>
<p>
{{
item
.
UpdateDate
}}
</p>
</td>
<td
:class=
"index1==tableData.length-1?'lastTdRight':''"
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"流程查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId>0"
@
click=
"See(item,'approvalDetails','SignMan','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','SignMan','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=
""
>
</el-tooltip>
-->
<!--
<span
class=
"commonStyle hoverSpan2"
></span>
-->
</td>
<div
class=
"spotquery"
>
<div
class=
"routerTitle"
>
<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>
</span>
<span
@
click=
"morequery=!morequery"
style=
"display:inline-flex;align-items:center;cursor: pointer;"
class=
"f12 cd6"
>
<span
style=
"margin-right:5px"
>
高级查询
</span>
<img
v-show=
"!morequery"
style=
"width:12px;height:12px"
src=
"../../assets/img/more.png"
alt=
""
>
<img
v-show=
"morequery"
class=
"roatImg"
style=
"width:12px;height:12px"
src=
"../../assets/img/more.png"
alt=
""
>
</span>
<span
@
click=
"getList"
style=
"margin-left:20px"
class=
"chaxunSpan"
>
查询
</span>
</tr>
</
template
>
<tr
v-show=
"tableData.length==0"
>
<td
colspan=
"12"
align=
"center"
>
暂无数据
</td>
</tr>
</tbody>
</table>
<el-pagination
@
current-change=
"currentChange"
background
:page-size=
"msg.pageSize"
layout=
"prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
<el-dialog
title=
"转交"
:visible
.
sync=
"dialogState"
width=
"530px"
>
<el-form
class=
"MyEditForm"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"0px"
>
<div
class=
"basefix"
>
<el-form-item
label=
""
prop=
"AuditEmId"
>
<span
class=
"label"
>
转交人
</span>
<el-select
filterable
size=
"small"
v-model=
"addMsg.AuditEmId"
placeholder=
"转交人"
:filter-method=
"getEmployee2"
>
<el-option
v-for=
"item in EmployeeList2"
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
""
>
<span
class=
"label"
>
备注
</span>
<el-input
v-model=
"addMsg.Description"
></el-input>
</el-form-item>
</div>
<div
class=
"padContent"
>
<ul
v-show=
"morequery"
class=
"queryul"
>
<li
style=
"float:left"
>
<treeselect
style=
"height:50px;width:215px;"
:options=
"treedata"
v-model=
"msg.CategoryId"
placeholder=
"分类"
:normalizer=
"normalizer"
/>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.OrderCode"
placeholder=
"编号"
></el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.PropertyNum"
placeholder=
"资产编码"
></el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.PropertyName"
placeholder=
"资产名称"
></el-input>
</li>
<li>
<el-select
size=
"small"
filterable
clearable
v-model=
"msg.AuditStatus"
placeholder=
"状态"
>
<el-option
v-for=
"item in StateEnumList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
<li>
<el-select
filterable
clearable
size=
"small"
v-model=
"msg.EmployeeId"
placeholder=
"领取人"
:filter-method=
"getEmployee1"
>
<el-option
v-for=
"item in EmployeeList1"
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</li>
<li>
<el-select
filterable
clearable
size=
"small"
v-model=
"msg.Source"
placeholder=
"来源"
>
<el-option
v-for=
"item in SourceList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
<li>
<el-date-picker
v-model=
"dateList"
type=
"daterange"
range-separator=
"至"
value-format=
"yyyy-MM-dd"
start-placeholder=
"开始时间"
end-placeholder=
"结束日期"
>
</el-date-picker>
</li>
</ul>
<table
v-loading=
"loading"
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>
<t>
操作
</t>
</thead>
<tbody>
<template
v-for=
"(item,index1) in tableData"
>
<tr
:class=
"index==0?'trNobottom':''"
v-for=
"(delist,index) in item.DetailList"
:key=
"delist.Id"
>
<td
:class=
"index1==tableData.length-1?'lastTdLeft':''"
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<div
style=
"display:flex;align-items:center"
>
<div
style=
"display:inline-block"
>
<span
class=
"ColorSpan huangSpan"
v-if=
"item.AuditStatus==2"
>
审
</span>
<span
class=
"ColorSpan greenSpan"
v-if=
"item.AuditStatus==1"
>
已
</span>
<span
class=
"ColorSpan purpleSpan"
v-if=
"item.AuditStatus==3"
>
驳
</span>
<span
class=
"ColorSpan buleSpan"
v-if=
"item.AuditStatus==4"
>
签
</span>
<span
class=
"ColorSpan redSpan"
v-if=
"item.AuditStatus==5"
>
撤
</span>
</div>
<div
style=
"display:inline-block;margin-left:5px"
>
<P>
{{
item
.
AuditDescription
}}
</P>
<p>
{{
item
.
AuditStatusName
}}
</p>
</div>
</div>
<div
class=
"btnformItem"
>
<span
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
确定
</span>
<span
class=
"exitBtn"
@
click=
"dialogState=false"
>
取消
</span>
</div>
</el-form>
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
{{
item
.
SourceName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<span
class=
"underline"
v-if=
"item.TempleteId>0"
@
click=
"See(item,'approvalDetails','SignMan','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>
{{
delist
.
CategoryName
}}
</td>
<td>
{{
delist
.
PropertyName
}}
</td>
<td><span
@
click=
"getCheckDes(delist)"
class=
"underline"
>
{{
delist
.
PropertyNum
}}
</span></td>
<td>
{{
delist
.
BrandName
}}
</td>
<td
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<p>
{{
item
.
UpdateBy
}}
</p>
<p>
{{
item
.
UpdateDate
}}
</p>
</td>
<td
:class=
"index1==tableData.length-1?'lastTdRight':''"
:rowspan=
"item.DetailList.length"
v-if=
"index==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"流程查看"
placement=
"top"
>
<img
v-if=
"item.TempleteId>0"
@
click=
"See(item,'approvalDetails','SignMan','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','SignMan','shenpi')"
style=
"width:24px;height:24px"
src=
"../../assets/img/shenpi.png"
alt=
""
>
</el-tooltip>
</td>
</tr>
</
template
>
<tr
v-show=
"tableData.length==0"
>
<td
colspan=
"12"
align=
"center"
>
暂无数据
</td>
</tr>
</tbody>
</table>
<el-pagination
@
current-change=
"currentChange"
background
:page-size=
"msg.pageSize"
layout=
"prev, pager, next"
:total=
"total"
>
</el-pagination>
</div>
<el-dialog
title=
"转交"
:visible
.
sync=
"dialogState"
width=
"530px"
>
<el-form
class=
"MyEditForm"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"0px"
>
<div
class=
"basefix"
>
<el-form-item
label=
""
prop=
"AuditEmId"
>
<span
class=
"label"
>
转交人
</span>
<el-select
filterable
size=
"small"
v-model=
"addMsg.AuditEmId"
placeholder=
"转交人"
:filter-method=
"getEmployee2"
>
<el-option
v-for=
"item in EmployeeList2"
:key=
"item.EmployeeId"
:label=
"item.EmName"
:value=
"item.EmployeeId"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
""
>
<span
class=
"label"
>
备注
</span>
<el-input
v-model=
"addMsg.Description"
></el-input>
</el-form-item>
</div>
<div
class=
"btnformItem"
>
<span
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
确定
</span>
<span
class=
"exitBtn"
@
click=
"dialogState=false"
>
取消
</span>
</div>
</el-form>
</el-dialog>
<el-dialog
top=
"0"
title=
"资产详情"
:visible
.
sync=
"CheckDetailState"
width=
"1150px"
>
<CheckDetails
ref=
"mychild"
></CheckDetails>
<CheckDetails
ref=
"mychild"
></CheckDetails>
</el-dialog>
</div>
</div>
</template>
<
script
>
import
CheckDetails
from
"@/components/global/CheckDetails.vue"
;
import
Treeselect
from
"@riophae/vue-treeselect"
;
import
"@riophae/vue-treeselect/dist/vue-treeselect.css"
;
export
default
{
name
:
'Supplierm
an'
,
components
:
{
import
CheckDetails
from
"@/components/global/CheckDetails.vue"
;
import
Treeselect
from
"@riophae/vue-treeselect"
;
import
"@riophae/vue-treeselect/dist/vue-treeselect.css"
;
export
default
{
name
:
'SignM
an'
,
components
:
{
Treeselect
,
CheckDetails
},
data
(){
return
{
CheckDetailState
:
false
,
EmployeeList1
:[],
EmployeeList2
:[],
StateEnumList
:[],
showTable
:
1
,
morequery
:
false
,
currentPage
:
1
,
data
()
{
return
{
CheckDetailState
:
false
,
EmployeeList1
:
[],
EmployeeList2
:
[],
StateEnumList
:
[],
showTable
:
1
,
morequery
:
false
,
currentPage
:
1
,
tableData
:
[],
loading
:
false
,
total
:
0
,
treedata
:[],
SourceList
:[],
loading
:
false
,
total
:
0
,
treedata
:
[],
SourceList
:
[],
normalizer
(
node
)
{
var
obj
=
{
id
:
node
.
Id
,
...
...
@@ -228,235 +195,229 @@ export default {
}
return
obj
;
},
msg
:{
pageIndex
:
1
,
pageSize
:
10
,
OrderCode
:
''
,
PropertyNum
:
''
,
PropertyName
:
''
,
CategoryId
:
null
,
AuditStatus
:
''
,
EmployeeId
:
''
,
StartTime
:
''
,
EndTime
:
''
,
Source
:
''
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
OrderCode
:
''
,
PropertyNum
:
''
,
PropertyName
:
''
,
CategoryId
:
null
,
AuditStatus
:
''
,
EmployeeId
:
''
,
StartTime
:
''
,
EndTime
:
''
,
Source
:
''
,
},
addMsg
:{
AuditEmId
:
''
,
WorkFlowId
:
''
,
TransferEmpId
:
''
,
Description
:
''
,
addMsg
:
{
AuditEmId
:
''
,
WorkFlowId
:
''
,
TransferEmpId
:
''
,
Description
:
''
,
},
dialogtitle
:
'新增'
,
dialogState
:
false
,
AuditList
:[],
SignList
:[],
rules
:{
AuditEmId
:
[
{
required
:
true
,
message
:
'请选择转交人'
,
trigger
:
'change'
}
]
dialogtitle
:
'新增'
,
dialogState
:
false
,
AuditList
:
[],
SignList
:
[],
rules
:
{
AuditEmId
:
[{
required
:
true
,
message
:
'请选择转交人'
,
trigger
:
'change'
}]
},
nodemsg
:{
ParentId
:
-
1
,
Tier
:
''
,
Name
:
''
,
Type
:
1
,
nodemsg
:
{
ParentId
:
-
1
,
Tier
:
''
,
Name
:
''
,
Type
:
1
,
},
dateList
:[],
EmName
:
''
,
}
},
created
(){
this
.
showTable
=
this
.
$route
.
query
.
showTable
?
this
.
$route
.
query
.
showTable
:
1
;
dateList
:
[],
EmName
:
''
,
},
mounted
(){
this
.
getList
();
this
.
getNode
();
this
.
getSource
();
this
.
getStateEnum
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
addMsg
.
TransferEmpId
=
userInfo
.
EmployeeId
;
},
methods
:{
getCheckDes
(
item
){
this
.
PropertyId
=
item
.
PropertyId
;
this
.
CheckDetailState
=
true
;
setTimeout
(()
=>
{
this
.
$refs
.
mychild
.
InitData
(
this
.
PropertyId
);
},
10
)
}
},
created
()
{
this
.
showTable
=
this
.
$route
.
query
.
showTable
?
this
.
$route
.
query
.
showTable
:
1
;
},
submitForm
(
formName
)
{
let
arr
=
[];
mounted
()
{
this
.
getList
();
this
.
getNode
();
this
.
getSource
();
this
.
getStateEnum
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
addMsg
.
TransferEmpId
=
userInfo
.
EmployeeId
;
},
methods
:
{
getCheckDes
(
item
)
{
this
.
PropertyId
=
item
.
PropertyId
;
this
.
CheckDetailState
=
true
;
setTimeout
(()
=>
{
this
.
$refs
.
mychild
.
InitData
(
this
.
PropertyId
);
},
10
)
},
submitForm
(
formName
)
{
let
arr
=
[];
arr
.
push
(
this
.
addMsg
);
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apiJavaPost
(
"/api/property/AuditCareOf"
,
arr
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
dialogState
=
false
;
if
(
valid
)
{
this
.
apiJavaPost
(
"/api/property/AuditCareOf"
,
arr
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
dialogState
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}
else
{
return
false
;
}
}
});
},
ZhuanJiao
(
item
)
{
this
.
dialogState
=
true
;
this
.
addMsg
.
WorkFlowId
=
item
.
Id
;
},
ZhuanJiao
(
item
)
{
this
.
dialogState
=
true
;
this
.
addMsg
.
WorkFlowId
=
item
.
Id
;
},
See
(
item
,
path
,
backto
,
type
)
{
let
shenpistr
=
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
,
}
path
:
"/"
+
path
,
query
:
{
Id
:
item
.
Id
,
backto
:
backto
,
showTable
:
this
.
showTable
,
compType
:
shenpistr
,
}
});
},
currentChange
(
val
)
{
},
currentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
getEmployee1
(
val
)
{
if
(
val
!=
''
)
{
this
.
EmName
=
val
;
this
.
getEmployee
(
1
);
},
getEmployee1
(
val
)
{
if
(
val
!=
''
)
{
this
.
EmName
=
val
;
this
.
getEmployee
(
1
);
}
},
getEmployee2
(
val
)
{
if
(
val
!=
''
)
{
this
.
EmName
=
val
;
this
.
getEmployee
(
2
);
},
getEmployee2
(
val
)
{
if
(
val
!=
''
)
{
this
.
EmName
=
val
;
this
.
getEmployee
(
2
);
}
},
getEmployee
(
num
){
this
.
apiJavaPost
(
"/api/User/GetEmployeeList"
,{
EmName
:
this
.
EmName
},
res
=>
{
},
getEmployee
(
num
)
{
this
.
apiJavaPost
(
"/api/User/GetEmployeeList"
,
{
EmName
:
this
.
EmName
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
num
==
1
)
{
this
.
EmployeeList1
=
res
.
data
.
data
;
}
else
{
this
.
EmployeeList2
=
res
.
data
.
data
;
if
(
num
==
1
)
{
this
.
EmployeeList1
=
res
.
data
.
data
;
}
else
{
this
.
EmployeeList2
=
res
.
data
.
data
;
}
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
null
},
null
);
},
getStateEnum
()
{
this
.
apiJavaPost
(
"/api/property/GetPropertyOrderStateEnumList"
,{},
res
=>
{
},
getStateEnum
()
{
this
.
apiJavaPost
(
"/api/property/GetPropertyOrderStateEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
StateEnumList
=
res
.
data
.
data
;
this
.
StateEnumList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
null
},
null
);
},
getList
(){
if
(
this
.
dateList
&&
this
.
dateList
.
length
>
0
){
this
.
msg
.
StartTime
=
this
.
dateList
[
0
];
this
.
msg
.
EndTime
=
this
.
dateList
[
1
];
}
else
{
this
.
msg
.
StartTime
=
''
;
this
.
msg
.
EndTime
=
''
;
}
if
(
this
.
showTable
==
1
){
this
.
getDaiSign
();
},
getList
()
{
if
(
this
.
dateList
&&
this
.
dateList
.
length
>
0
)
{
this
.
msg
.
StartTime
=
this
.
dateList
[
0
];
this
.
msg
.
EndTime
=
this
.
dateList
[
1
];
}
else
{
this
.
msg
.
StartTime
=
''
;
this
.
msg
.
EndTime
=
''
;
}
else
if
(
this
.
showTable
==
2
){
this
.
getYiSign
();
if
(
this
.
showTable
==
1
)
{
this
.
getDaiSign
();
}
else
if
(
this
.
showTable
==
2
)
{
this
.
getYiSign
();
}
},
getDaiSign
(){
this
.
loading
=
true
;
this
.
apiJavaPost
(
"/api/property/GetPropertyWaitMySignPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
},
getDaiSign
()
{
this
.
loading
=
true
;
this
.
apiJavaPost
(
"/api/property/GetPropertyWaitMySignPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
null
},
null
);
},
getYiSign
()
{
this
.
loading
=
true
;
this
.
apiJavaPost
(
"/api/property/GetPropertyMySignedPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
},
getYiSign
()
{
this
.
loading
=
true
;
this
.
apiJavaPost
(
"/api/property/GetPropertyMySignedPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
null
},
null
);
},
getNode
()
{
this
.
apiJavaPost
(
"/api/property/CateporyGetTreeList"
,
this
.
nodemsg
,
res
=>
{
},
getNode
()
{
this
.
apiJavaPost
(
"/api/property/CateporyGetTreeList"
,
this
.
nodemsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
treedata
=
res
.
data
.
data
;
this
.
treedata
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
null
},
null
);
},
getSource
()
{
this
.
apiJavaPost
(
"/api/property/GetPropertySourceEnumList"
,{},
res
=>
{
},
getSource
()
{
this
.
apiJavaPost
(
"/api/property/GetPropertySourceEnumList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
SourceList
=
res
.
data
.
data
;
this
.
SourceList
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
},
null
},
null
);
},
},
},
}
}
</
script
>
<
style
scoped
>
.spotquery
{
.spotquery
{
box-sizing
:
border-box
;
}
</
style
>
}
</
style
>
\ No newline at end of file
src/components/assetsman/BulkImport.vue
View file @
2f4211ed
...
...
@@ -111,9 +111,9 @@
};
},
created
()
{
this
.
importFileUrl2
=
this
.
domainManager
().
Domain
Url
+
this
.
importFileUrl2
=
this
.
domainManager
().
ZCApi
Url
+
"/api/file/LocalFileUploadImport"
;
this
.
downList
=
this
.
domainManager
().
LocalTemplateFileDownLoad
Url
+
"/ExportFile/资产导入模板.xls"
;
this
.
downList
=
this
.
domainManager
().
ZCApi
Url
+
"/ExportFile/资产导入模板.xls"
;
},
mounted
()
{
...
...
src/plugins/index.js
View file @
2f4211ed
...
...
@@ -11,70 +11,24 @@ export default {
},
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
var
domainUrl
=
"http://reborn.oytour.com"
;
//主域名
let
locationName
=
window
.
location
.
hostname
;
let
javaUrldo
=
""
;
javaUrldo
=
locationName
.
indexOf
(
'zcyx'
)
!==
-
1
||
locationName
.
indexOf
(
'viitto'
)
!==
-
1
?
(
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://property.oytour.com"
:
"http://47.96.12.235:9001"
)
:
"http://192.168.2.65:8018"
;
var
zcApiUrl
=
"http://192.168.5.46:5001"
;
//资产接口地址
let
viittoFileUrl
=
"http://192.168.5.214:8130"
;
//文件预览地址
let
uploadUrl
=
"http://192.168.5.214:8120"
;
//文件上传地址
if
(
this
.
isOnline
())
{
domainUrl
=
"http://property.oytour.com"
zcApiUrl
=
"http://property.oytour.com"
;
viittoFileUrl
=
"http://staticfile.oytour.com"
;
uploadUrl
=
"http://uploadfile.oytour.com"
}
var
obj
=
{
//主地址
DomainUrl
:
domainUrl
,
//上传文件URL
UploadFileUrl
:
domainUrl
+
'/api/File/post'
,
LocalTemplateFileDownLoadUrl
:
domainUrl
,
//常用提交数据URL
PostUrl
:
domainUrl
+
"/api/common/post"
,
javaUrl
:
locationName
.
indexOf
(
'zcyx'
)
!==
-
1
?
"http://property.oytour.com"
:
locationName
.
indexOf
(
'zcyx.oytour.com'
)
!==
-
1
?
"http://property.oytour.com"
:
"http://192.168.5.46:5001"
,
ViittoFileUrl
:
locationName
.
indexOf
(
'zcyx'
)
!==
-
1
||
locationName
.
indexOf
(
'zcyx.oytour.com'
)
!==
-
1
?
"http://staticfile.oytour.com"
:
'http://192.168.2.214:8130'
,
UploadUrl
:
locationName
.
indexOf
(
'zcyx'
)
!==
-
1
||
locationName
.
indexOf
(
'zcyx.oytour.com'
)
!==
-
1
?
"http://uploadfile.oytour.com"
:
"http://192.168.2.214:8120"
,
LocalFileStreamDownLoadUrl
:
domainUrl
+
"/api/file/GetFileFromWebApi"
,
JavaLocalFileStreamDownLoadUrl
:
javaUrldo
,
ZCApiUrl
:
zcApiUrl
,
ViittoFileUrl
:
viittoFileUrl
,
UploadUrl
:
uploadUrl
,
};
console
.
log
(
locationName
.
indexOf
(
'zcyx'
))
return
obj
;
},
Vue
.
prototype
.
GetLocalFile
=
function
(
cmd
,
msg
,
fileName
,
successCall
)
{
var
apiurl
=
this
.
domainManager
().
LocalFileStreamDownLoadUrl
;
var
timestamp
=
(
new
Date
()).
valueOf
();
if
(
!
localStorage
.
zcuserInfo
&&
localStorage
.
zcuserInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
)
{
this
.
$router
.
push
({
path
:
'/login'
})
}
var
token
=
""
;
var
key
=
""
;
if
(
this
.
getLocalStorage
()
!=
null
)
{
token
=
this
.
getLocalStorage
().
token
;
key
=
this
.
getLocalStorage
().
secretKey
;
}
var
encodeMsg
=
encodeURIComponent
(
JSON
.
stringify
(
msg
)).
toLowerCase
();
var
md5Str
=
md5
(
`cmd=
${
cmd
}
&msg=
${
encodeMsg
}
×tamp=
${
timestamp
}
&token=
${
token
}
&key=
${
key
}
`
);
var
postData
=
{
"msg"
:
msg
,
"cmd"
:
cmd
,
"timestamp"
:
timestamp
,
"token"
:
token
,
"sign"
:
md5Str
}
this
.
$http
.
post
(
apiurl
,
postData
,
{
responseType
:
'arraybuffer'
}).
then
((
res
)
=>
{
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
"application/vnd.ms-excel"
})
let
url
=
URL
.
createObjectURL
(
blob
);
let
link
=
document
.
createElement
(
'a'
);
link
.
href
=
url
;
link
.
setAttribute
(
"download"
,
fileName
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
successCall
(
res
);
}).
catch
(
function
(
res
)
{});
},
Vue
.
prototype
.
JavaGetLocalFile
=
function
(
cmd
,
msg
,
fileName
,
successCall
)
{
var
apiurl
=
this
.
domainManager
().
JavaLocalFileStreamDownLoad
Url
+
cmd
;
var
apiurl
=
this
.
domainManager
().
ZCApi
Url
+
cmd
;
var
timestamp
=
(
new
Date
()).
valueOf
();
if
(
!
localStorage
.
zcuserInfo
&&
localStorage
.
zcuserInfo
!=
""
&&
this
.
$route
.
path
.
toLowerCase
()
!=
"/login"
)
{
this
.
$router
.
push
({
...
...
@@ -91,7 +45,7 @@ export default {
let
groupId
=
zcuserInfo
.
RB_Group_id
?
zcuserInfo
.
RB_Group_id
:
0
;
let
uid
=
zcuserInfo
.
EmployeeId
?
zcuserInfo
.
EmployeeId
:
0
;
var
encodeMsg
=
encodeURIComponent
(
JSON
.
stringify
(
msg
)).
toLowerCase
();
// var md5Str = md5(`cmd=${cmd}&msg=${encodeMsg}×tamp=${timestamp}&token=${token}&key=${key}`);
var
md5Str
=
md5
(
`msg=
${
encodeMsg
}
×tamp=
${
timestamp
}
&token=
${
token
}
&key=
${
key
}
`
);
var
postData
=
{
"msg"
:
msg
,
...
...
@@ -101,13 +55,7 @@ export default {
"uid"
:
uid
,
"groupId"
:
groupId
}
// var postData = {
// "msg": msg,
// "cmd": cmd,
// "timestamp": timestamp,
// "token": token,
// "sign": md5Str
// }
this
.
$http
.
post
(
apiurl
,
postData
,
{
responseType
:
'arraybuffer'
}).
then
((
res
)
=>
{
...
...
@@ -185,80 +133,19 @@ export default {
this
.
Info
(
"已取消操作"
);
});
},
//压缩图片
//path : 图片路径
//type : m_filt 填充 m_w 宽度固定 高度不固定 m_h 高度固定 宽度不固定
// w : 宽
// h : 高
Vue
.
prototype
.
compressImg
=
function
(
path
,
type
,
w
,
h
)
{
let
url
=
this
.
domainManager
().
UploadUrl
;
let
poise
=
'width='
;
w
=
w
?
w
:
''
h
=
h
?
h
:
''
if
(
type
===
'w'
)
{
poise
=
'width'
}
else
if
(
type
===
'h'
)
{
poise
=
'height'
//打开新窗口连接
Vue
.
prototype
.
OpenNewUrl
=
function
(
URL
)
{
if
(
URL
!=
''
)
{
window
.
open
(
'http://'
+
URL
,
'_blank'
);
}
return
path
.
split
(
'?'
)[
0
]
+
'?width='
+
w
;
}
//打开新窗口连接
Vue
.
prototype
.
OpenNewUrl
=
function
(
URL
)
{
if
(
URL
!=
''
)
{
window
.
open
(
'http://'
+
URL
,
'_blank'
);
}
}
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
)
{
if
(
msg
==
null
||
msg
==
""
)
{
msg
=
{}
}
var
apiurl
=
this
.
domainManager
().
PostUrl
;
var
timestamp
=
(
new
Date
()).
valueOf
();
this
.
apiurl
=
apiurl
;
var
token
=
""
;
var
key
=
""
;
if
(
this
.
getLocalStorage
()
!=
null
)
{
token
=
this
.
getLocalStorage
().
token
;
key
=
this
.
getLocalStorage
().
secretKey
;
}
var
encodeMsg
=
encodeURIComponent
(
JSON
.
stringify
(
msg
)).
toLowerCase
();
var
md5Str
=
md5
(
`cmd=
${
cmd
}
&msg=
${
encodeMsg
}
×tamp=
${
timestamp
}
&token=
${
token
}
&key=
${
key
}
`
);
var
postData
=
{
"msg"
:
msg
,
"cmd"
:
cmd
,
"timestamp"
:
timestamp
,
"token"
:
token
,
"sign"
:
md5Str
}
if
(
localStorage
.
g
&&
localStorage
.
g
!=
'undefined'
)
{
// postData.groupId = parseInt(JSON.parse(localStorage.g).i)
postData
.
groupId
=
2
;
}
this
.
$http
.
post
(
apiurl
,
postData
,
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Referer-Viitto'
:
this
.
$route
.
path
}
})
.
then
(
res
=>
{
if
(
res
.
data
.
resultCode
==
10000
||
res
.
data
.
resultCode
==
10001
)
{
this
.
$router
.
push
({
path
:
'/login'
})
}
else
if
(
res
.
data
.
resultCode
==
10005
)
{
this
.
$router
.
go
(
-
1
)
}
else
{
successCall
(
res
)
}
},
faildCall
)
},
Vue
.
prototype
.
apiJavaPost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
)
{
Vue
.
prototype
.
apiJavaPost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
)
{
if
(
msg
==
null
||
msg
==
""
)
{
msg
=
{}
}
var
apiurl
=
this
.
domainManager
().
java
Url
+
cmd
;
var
apiurl
=
this
.
domainManager
().
ZCApi
Url
+
cmd
;
var
timestamp
=
(
new
Date
()).
valueOf
();
this
.
apiurl
=
apiurl
;
var
token
=
""
;
...
...
@@ -270,8 +157,6 @@ export default {
}
var
encodeMsg
=
encodeURIComponent
(
JSON
.
stringify
(
msg
)).
toLowerCase
();
var
md5Str
=
md5
(
`msg=YXZCGL2020×tamp=
${
timestamp
}
&token=
${
token
}
&key=
${
key
}
`
);
// var md5Str = md5(`msg=${encodeMsg}×tamp=${timestamp}&token=${token}&key=${key}`);
var
postData
=
{
"msg"
:
msg
,
"timestamp"
:
timestamp
,
...
...
@@ -279,7 +164,6 @@ export default {
"sign"
:
md5Str
}
if
(
localStorage
.
g
&&
localStorage
.
g
!=
'undefined'
)
{
// postData.groupId = parseInt(JSON.parse(localStorage.g).i)
postData
.
groupId
=
2
;
}
this
.
$http
.
post
(
apiurl
,
postData
,
{
...
...
@@ -375,6 +259,5 @@ export default {
value
=
value
.
replace
(
this
.
$commonUtils
.
Regex
.
isInteger
,
""
);
item
[
filed
]
=
value
;
}
}
}
src/router/config.js
View file @
2f4211ed
import
Home
from
'../components/Home'
import
Login
from
'../components/global/Login'
import
Autologin
from
'../components/global/Autologin'
import
index
from
'../components/global/index'
export
default
{
routes
:
[
{
path
:
'/login'
,
name
:
'Login'
,
component
:
Login
},
{
path
:
'/'
,
name
:
'Login'
,
component
:
Login
routes
:
[{
path
:
'/login'
,
name
:
'Login'
,
component
:
Login
},
{
path
:
'/'
,
name
:
'Login'
,
component
:
Login
},
{
path
:
'/Autologin'
,
name
:
'Autologin'
,
component
:
Autologin
},
{
path
:
'/index'
,
name
:
'index'
,
component
:
index
,
meta
:
{
title
:
'首页'
},
children
:
[{
path
:
'/Home'
,
name
:
'Home'
,
component
:
Home
},
// 资产分类
{
path
:
'/Autologi
n'
,
name
:
'Autologi
n'
,
component
:
Autologin
path
:
'/AssetsClassificatio
n'
,
name
:
'AssetsClassificatio
n'
,
component
:
resolve
=>
require
([
'@/components/Systemman/AssetsClassification'
],
resolve
),
},
{
path
:
'/index'
,
name
:
'index'
,
component
:
index
,
meta
:
{
title
:
'首页'
},
children
:
[
{
path
:
'/Home'
,
name
:
'Home'
,
component
:
Home
},
// 资产分类
{
path
:
'/AssetsClassification'
,
name
:
'AssetsClassification'
,
component
:
resolve
=>
require
([
'@/components/Systemman/AssetsClassification'
],
resolve
),
},
// 耗材分类
{
path
:
'/MaterialClassification'
,
name
:
'MaterialClassification'
,
component
:
resolve
=>
require
([
'@/components/Systemman/MaterialClassification'
],
resolve
),
},
{
path
:
'/Supplierman'
,
name
:
'Supplierman'
,
component
:
resolve
=>
require
([
'@/components/Systemman/Supplierman'
],
resolve
),
},
// 耗材时间管理
{
path
:
'/consumablesMan'
,
name
:
'consumablesMan'
,
component
:
resolve
=>
require
([
'@/components/Systemman/consumablesMan'
],
resolve
),
},
// 耗材时间规则
{
path
:
'/consumablesManRule'
,
name
:
'consumablesManRule'
,
component
:
resolve
=>
require
([
'@/components/Systemman/consumablesManRule'
],
resolve
),
},
{
path
:
'/assetsList'
,
name
:
'assetsList'
,
component
:
resolve
=>
require
([
'@/components/assetsman/assetsList'
],
resolve
),
},
//出库申请
{
path
:
'/outboundApplication'
,
name
:
'outboundApplication'
,
component
:
resolve
=>
require
([
'@/components/assetsman/outboundApplication'
],
resolve
),
},
//出库详情
{
path
:
'/outboundOperate'
,
name
:
'outboundOperate'
,
component
:
resolve
=>
require
([
'@/components/assetsman/outboundOperate'
],
resolve
),
},
{
path
:
'/outboundDetails'
,
name
:
'outboundDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/outboundDetails'
],
resolve
),
},
// 采购列表
{
path
:
'/procurementList'
,
name
:
'procurementList'
,
component
:
resolve
=>
require
([
'@/components/assetsman/procurementList'
],
resolve
),
},
//采购详情
{
path
:
'/procurementDetails'
,
name
:
'procurementDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/procurementDetails'
],
resolve
),
},
// 派发&退库
{
path
:
'/PaiTui'
,
name
:
'PaiTui'
,
component
:
resolve
=>
require
([
'@/components/assetsman/PaiTui'
],
resolve
),
},
// 借出&归还
{
path
:
'/LendReturn'
,
name
:
'LendReturn'
,
component
:
resolve
=>
require
([
'@/components/assetsman/LendReturn'
],
resolve
),
},
// 耗材分类
{
path
:
'/MaterialClassification'
,
name
:
'MaterialClassification'
,
component
:
resolve
=>
require
([
'@/components/Systemman/MaterialClassification'
],
resolve
),
},
// 调拨管理
{
path
:
'/allocatingMan'
,
name
:
'allocatingMan'
,
component
:
resolve
=>
require
([
'@/components/assetsman/allocatingMan'
],
resolve
),
},
// 批量导入
{
path
:
'/BulkImport'
,
name
:
'BulkImport'
,
component
:
resolve
=>
require
([
'@/components/assetsman/BulkImport'
],
resolve
),
},
// 处置管理
{
path
:
'/disposalMan'
,
name
:
'disposalMan'
,
component
:
resolve
=>
require
([
'@/components/assetsman/disposalMan'
],
resolve
),
},
// 维修管理
{
path
:
'/maintenance'
,
name
:
'maintenance'
,
component
:
resolve
=>
require
([
'@/components/assetsman/maintenance'
],
resolve
),
},
// 资产折旧
{
path
:
'/AssetDepreciation'
,
name
:
'AssetDepreciation'
,
component
:
resolve
=>
require
([
'@/components/assetsman/AssetDepreciation'
],
resolve
),
},
// 盘点管理
{
path
:
'/InventoryMan'
,
name
:
'InventoryMan'
,
component
:
resolve
=>
require
([
'@/components/assetsman/InventoryMan'
],
resolve
),
},
// 盘点管理详情
{
path
:
'/InventoryDetails'
,
name
:
'InventoryDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/InventoryDetails'
],
resolve
),
},
// 盘点管理详情
{
path
:
'/disposalDetails'
,
name
:
'disposalDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/disposalDetails'
],
resolve
),
},
// 物料到期查询
{
path
:
'/materielexpire'
,
name
:
'materielexpire'
,
component
:
resolve
=>
require
([
'@/components/assetsman/materielexpire'
],
resolve
),
},
// 商品重新入库
{
path
:
'/reWarehousing'
,
name
:
'reWarehousing'
,
component
:
resolve
=>
require
([
'@/components/assetsman/reWarehousing'
],
resolve
),
},
{
path
:
'/Supplierman'
,
name
:
'Supplierman'
,
component
:
resolve
=>
require
([
'@/components/Systemman/Supplierman'
],
resolve
),
},
// 耗材时间管理
{
path
:
'/consumablesMan'
,
name
:
'consumablesMan'
,
component
:
resolve
=>
require
([
'@/components/Systemman/consumablesMan'
],
resolve
),
},
// 耗材时间规则
{
path
:
'/consumablesManRule'
,
name
:
'consumablesManRule'
,
component
:
resolve
=>
require
([
'@/components/Systemman/consumablesManRule'
],
resolve
),
},
// 资产折旧报表
{
path
:
'/Assetstatistics'
,
name
:
'Assetstatistics'
,
component
:
resolve
=>
require
([
'@/components/report/Assetstatistics'
],
resolve
),
},
// 资产汇总查询
{
path
:
'/assetSummary'
,
name
:
'assetSummary'
,
component
:
resolve
=>
require
([
'@/components/report/assetSummary'
],
resolve
),
},
// 资产履历
{
path
:
'/AssetsRecord'
,
name
:
'AssetsRecord'
,
component
:
resolve
=>
require
([
'@/components/report/AssetsRecord'
],
resolve
),
},
// 待归还
{
path
:
'/StayBack'
,
name
:
'StayBack'
,
component
:
resolve
=>
require
([
'@/components/report/StayBack'
],
resolve
),
},
// 到期资产
{
path
:
'/MaturingAssets'
,
name
:
'MaturingAssets'
,
component
:
resolve
=>
require
([
'@/components/report/MaturingAssets'
],
resolve
),
},
{
path
:
'/assetsList'
,
name
:
'assetsList'
,
component
:
resolve
=>
require
([
'@/components/assetsman/assetsList'
],
resolve
),
},
//出库申请
{
path
:
'/outboundApplication'
,
name
:
'outboundApplication'
,
component
:
resolve
=>
require
([
'@/components/assetsman/outboundApplication'
],
resolve
),
},
//出库详情
{
path
:
'/outboundOperate'
,
name
:
'outboundOperate'
,
component
:
resolve
=>
require
([
'@/components/assetsman/outboundOperate'
],
resolve
),
},
{
path
:
'/outboundDetails'
,
name
:
'outboundDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/outboundDetails'
],
resolve
),
},
// 采购列表
{
path
:
'/procurementList'
,
name
:
'procurementList'
,
component
:
resolve
=>
require
([
'@/components/assetsman/procurementList'
],
resolve
),
},
//采购详情
{
path
:
'/procurementDetails'
,
name
:
'procurementDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/procurementDetails'
],
resolve
),
},
// 派发&退库
{
path
:
'/PaiTui'
,
name
:
'PaiTui'
,
component
:
resolve
=>
require
([
'@/components/assetsman/PaiTui'
],
resolve
),
},
// 借出&归还
{
path
:
'/LendReturn'
,
name
:
'LendReturn'
,
component
:
resolve
=>
require
([
'@/components/assetsman/LendReturn'
],
resolve
),
},
// 物料仓库
{
path
:
'/Materialwarehouse'
,
name
:
'Materialwarehouse'
,
component
:
resolve
=>
require
([
'@/components/Materialman/Materialwarehouse'
],
resolve
),
},
// 物料档案
{
path
:
'/Archivesmaterials'
,
name
:
'Archivesmaterials'
,
component
:
resolve
=>
require
([
'@/components/Materialman/Archivesmaterials'
],
resolve
),
},
// 入库单
{
path
:
'/rukudan'
,
name
:
'rukudan'
,
component
:
resolve
=>
require
([
'@/components/Materialman/rukudan'
],
resolve
),
},
// 入库审核列表
{
path
:
'/rukuExamine'
,
name
:
'rukuExamine'
,
component
:
resolve
=>
require
([
'@/components/Materialman/rukuExamine'
],
resolve
),
},
// 入库单详情
{
path
:
'/rukuDetails'
,
name
:
'rukuDetails'
,
component
:
resolve
=>
require
([
'@/components/Materialman/rukuDetails'
],
resolve
),
},
// 出库单
{
path
:
'/chukudan'
,
name
:
'chukudan'
,
component
:
resolve
=>
require
([
'@/components/Materialman/chukudan'
],
resolve
),
},
// 库存变更记录
{
path
:
'/InventoryChange'
,
name
:
'InventoryChange'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryChange'
],
resolve
),
},
// 耗材盘点
{
path
:
'/consumablesInventory'
,
name
:
'consumablesInventory'
,
component
:
resolve
=>
require
([
'@/components/Materialman/consumablesInventory'
],
resolve
),
},
// 耗材盘点明細
{
path
:
'/InventoryDetail'
,
name
:
'InventoryDetail'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryDetail'
],
resolve
),
},
// 耗材报损
{
path
:
'/InventoryBosun'
,
name
:
'InventoryBosun'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryBosun'
],
resolve
),
},
//耗材报溢
{
path
:
'/InventoryBoyi'
,
name
:
'InventoryBoyi'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryBoyi'
],
resolve
),
},
//耗材预览
{
path
:
'/InventoryView'
,
name
:
'InventoryView'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryView'
],
resolve
),
},
// 现存量查询
{
path
:
'/SpotQuery'
,
name
:
'SpotQuery'
,
component
:
resolve
=>
require
([
'@/components/Materialman/SpotQuery'
],
resolve
),
},
// 耗材领用查询
{
path
:
'/ConsumRecipients'
,
name
:
'ConsumRecipients'
,
component
:
resolve
=>
require
([
'@/components/Materialman/ConsumRecipients'
],
resolve
),
},
// 审批
{
path
:
'/approvalset'
,
name
:
'approvalset'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalset'
],
resolve
),
},
// 审批管理
{
path
:
'/approvalMan'
,
name
:
'approvalMan'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalMan'
],
resolve
),
},
// 集团授权管理
{
path
:
'/groupEmpowerMan'
,
name
:
'groupEmpowerMan'
,
component
:
resolve
=>
require
([
'@/components/approval/groupEmpowerMan'
],
resolve
),
},
// 审批管理
{
path
:
'/approvalDetails'
,
name
:
'approvalDetails'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalDetails'
],
resolve
),
},
// 签名管理
{
path
:
'/SignMan'
,
name
:
'SignMan'
,
component
:
resolve
=>
require
([
'@/components/approval/SignMan'
],
resolve
),
},
// 资产申请
{
path
:
'/assetsApply'
,
name
:
'assetsApply'
,
component
:
resolve
=>
require
([
'@/components/approval/assetsApply'
],
resolve
),
},
// 我的资产
{
path
:
'/myAssets'
,
name
:
'myAssets'
,
component
:
resolve
=>
require
([
'@/components/approval/myAssets'
],
resolve
),
},
// 资产清单
{
path
:
'/ListAssets'
,
name
:
'ListAssets'
,
component
:
resolve
=>
require
([
'@/components/approval/ListAssets'
],
resolve
),
},
// 我的申请
{
path
:
'/Myapplication'
,
name
:
'Myapplication'
,
component
:
resolve
=>
require
([
'@/components/approval/Myapplication'
],
resolve
),
},
// 耗材申请
{
path
:
'/ConsumApplication'
,
name
:
'ConsumApplication'
,
component
:
resolve
=>
require
([
'@/components/approval/ConsumApplication'
],
resolve
),
},
// 请购单
{
path
:
'/PurchaseRequisition'
,
name
:
'PurchaseRequisition'
,
component
:
resolve
=>
require
([
'@/components/approval/PurchaseRequisition'
],
resolve
),
},
// 我的请购单
{
path
:
'/MyPurchaseRequisition'
,
name
:
'MyPurchaseRequisition'
,
component
:
resolve
=>
require
([
'@/components/approval/MyPurchaseRequisition'
],
resolve
),
},
// 调拨管理
{
path
:
'/allocatingMan'
,
name
:
'allocatingMan'
,
component
:
resolve
=>
require
([
'@/components/assetsman/allocatingMan'
],
resolve
),
},
// 批量导入
{
path
:
'/BulkImport'
,
name
:
'BulkImport'
,
component
:
resolve
=>
require
([
'@/components/assetsman/BulkImport'
],
resolve
),
},
// 处置管理
{
path
:
'/disposalMan'
,
name
:
'disposalMan'
,
component
:
resolve
=>
require
([
'@/components/assetsman/disposalMan'
],
resolve
),
},
// 维修管理
{
path
:
'/maintenance'
,
name
:
'maintenance'
,
component
:
resolve
=>
require
([
'@/components/assetsman/maintenance'
],
resolve
),
},
// 资产折旧
{
path
:
'/AssetDepreciation'
,
name
:
'AssetDepreciation'
,
component
:
resolve
=>
require
([
'@/components/assetsman/AssetDepreciation'
],
resolve
),
},
// 盘点管理
{
path
:
'/InventoryMan'
,
name
:
'InventoryMan'
,
component
:
resolve
=>
require
([
'@/components/assetsman/InventoryMan'
],
resolve
),
},
// 盘点管理详情
{
path
:
'/InventoryDetails'
,
name
:
'InventoryDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/InventoryDetails'
],
resolve
),
},
// 盘点管理详情
{
path
:
'/disposalDetails'
,
name
:
'disposalDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/disposalDetails'
],
resolve
),
},
// 物料到期查询
{
path
:
'/materielexpire'
,
name
:
'materielexpire'
,
component
:
resolve
=>
require
([
'@/components/assetsman/materielexpire'
],
resolve
),
},
// 商品重新入库
{
path
:
'/reWarehousing'
,
name
:
'reWarehousing'
,
component
:
resolve
=>
require
([
'@/components/assetsman/reWarehousing'
],
resolve
),
},
// 资产折旧报表
{
path
:
'/Assetstatistics'
,
name
:
'Assetstatistics'
,
component
:
resolve
=>
require
([
'@/components/report/Assetstatistics'
],
resolve
),
},
// 资产汇总查询
{
path
:
'/assetSummary'
,
name
:
'assetSummary'
,
component
:
resolve
=>
require
([
'@/components/report/assetSummary'
],
resolve
),
},
// 资产履历
{
path
:
'/AssetsRecord'
,
name
:
'AssetsRecord'
,
component
:
resolve
=>
require
([
'@/components/report/AssetsRecord'
],
resolve
),
},
// 待归还
{
path
:
'/StayBack'
,
name
:
'StayBack'
,
component
:
resolve
=>
require
([
'@/components/report/StayBack'
],
resolve
),
},
// 到期资产
{
path
:
'/MaturingAssets'
,
name
:
'MaturingAssets'
,
component
:
resolve
=>
require
([
'@/components/report/MaturingAssets'
],
resolve
),
},
]
// 物料仓库
{
path
:
'/Materialwarehouse'
,
name
:
'Materialwarehouse'
,
component
:
resolve
=>
require
([
'@/components/Materialman/Materialwarehouse'
],
resolve
),
},
// 物料档案
{
path
:
'/Archivesmaterials'
,
name
:
'Archivesmaterials'
,
component
:
resolve
=>
require
([
'@/components/Materialman/Archivesmaterials'
],
resolve
),
},
// 入库单
{
path
:
'/rukudan'
,
name
:
'rukudan'
,
component
:
resolve
=>
require
([
'@/components/Materialman/rukudan'
],
resolve
),
},
// 入库审核列表
{
path
:
'/rukuExamine'
,
name
:
'rukuExamine'
,
component
:
resolve
=>
require
([
'@/components/Materialman/rukuExamine'
],
resolve
),
},
// 入库单详情
{
path
:
'/rukuDetails'
,
name
:
'rukuDetails'
,
component
:
resolve
=>
require
([
'@/components/Materialman/rukuDetails'
],
resolve
),
},
// 出库单
{
path
:
'/chukudan'
,
name
:
'chukudan'
,
component
:
resolve
=>
require
([
'@/components/Materialman/chukudan'
],
resolve
),
},
// 库存变更记录
{
path
:
'/InventoryChange'
,
name
:
'InventoryChange'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryChange'
],
resolve
),
},
// 耗材盘点
{
path
:
'/consumablesInventory'
,
name
:
'consumablesInventory'
,
component
:
resolve
=>
require
([
'@/components/Materialman/consumablesInventory'
],
resolve
),
},
// 耗材盘点明細
{
path
:
'/InventoryDetail'
,
name
:
'InventoryDetail'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryDetail'
],
resolve
),
},
// 耗材报损
{
path
:
'/InventoryBosun'
,
name
:
'InventoryBosun'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryBosun'
],
resolve
),
},
//耗材报溢
{
path
:
'/InventoryBoyi'
,
name
:
'InventoryBoyi'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryBoyi'
],
resolve
),
},
//耗材预览
{
path
:
'/InventoryView'
,
name
:
'InventoryView'
,
component
:
resolve
=>
require
([
'@/components/Materialman/InventoryView'
],
resolve
),
},
//
二维码打印
//
现存量查询
{
path
:
'/codePrint
'
,
name
:
'codePrint
'
,
component
:
resolve
=>
require
([
'@/components/report/codePrint
'
],
resolve
),
path
:
'/SpotQuery
'
,
name
:
'SpotQuery
'
,
component
:
resolve
=>
require
([
'@/components/Materialman/SpotQuery
'
],
resolve
),
},
]
// 耗材领用查询
{
path
:
'/ConsumRecipients'
,
name
:
'ConsumRecipients'
,
component
:
resolve
=>
require
([
'@/components/Materialman/ConsumRecipients'
],
resolve
),
},
// 审批
{
path
:
'/approvalset'
,
name
:
'approvalset'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalset'
],
resolve
),
},
// 审批管理
{
path
:
'/approvalMan'
,
name
:
'approvalMan'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalMan'
],
resolve
),
},
// 集团授权管理
{
path
:
'/groupEmpowerMan'
,
name
:
'groupEmpowerMan'
,
component
:
resolve
=>
require
([
'@/components/approval/groupEmpowerMan'
],
resolve
),
},
// 审批管理
{
path
:
'/approvalDetails'
,
name
:
'approvalDetails'
,
component
:
resolve
=>
require
([
'@/components/approval/approvalDetails'
],
resolve
),
},
// 签名管理
{
path
:
'/SignMan'
,
name
:
'SignMan'
,
component
:
resolve
=>
require
([
'@/components/approval/SignMan'
],
resolve
),
},
// 资产申请
{
path
:
'/assetsApply'
,
name
:
'assetsApply'
,
component
:
resolve
=>
require
([
'@/components/approval/assetsApply'
],
resolve
),
},
// 我的资产
{
path
:
'/myAssets'
,
name
:
'myAssets'
,
component
:
resolve
=>
require
([
'@/components/approval/myAssets'
],
resolve
),
},
// 资产清单
{
path
:
'/ListAssets'
,
name
:
'ListAssets'
,
component
:
resolve
=>
require
([
'@/components/approval/ListAssets'
],
resolve
),
},
// 我的申请
{
path
:
'/Myapplication'
,
name
:
'Myapplication'
,
component
:
resolve
=>
require
([
'@/components/approval/Myapplication'
],
resolve
),
},
// 耗材申请
{
path
:
'/ConsumApplication'
,
name
:
'ConsumApplication'
,
component
:
resolve
=>
require
([
'@/components/approval/ConsumApplication'
],
resolve
),
},
// 请购单
{
path
:
'/PurchaseRequisition'
,
name
:
'PurchaseRequisition'
,
component
:
resolve
=>
require
([
'@/components/approval/PurchaseRequisition'
],
resolve
),
},
// 我的请购单
{
path
:
'/MyPurchaseRequisition'
,
name
:
'MyPurchaseRequisition'
,
component
:
resolve
=>
require
([
'@/components/approval/MyPurchaseRequisition'
],
resolve
),
},
]
},
// 二维码打印
{
path
:
'/codePrint'
,
name
:
'codePrint'
,
component
:
resolve
=>
require
([
'@/components/report/codePrint'
],
resolve
),
},
]
}
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