Commit 2122584f authored by 黄媛媛's avatar 黄媛媛

update

parent 306e199d
......@@ -13,7 +13,7 @@ export default {
</script>
<style>
@import "//at.alicdn.com/t/font_1544586_n4jd8ww9mz.css";
@import "//at.alicdn.com/t/font_1544586_kc9j119l3w.css";
@import "./assets/css/common.css";
@import './assets/global/font.css';
@import "./assets/css/reset.css";
......
.routerTitle{
background: #fff;
padding:15px 30px;
}
.padContent{
padding:15px 30px;
box-sizing: border-box;
}
.chartTitle .el-input__icon{
line-height:0;
color:#fff!important;
......@@ -62,7 +70,8 @@
content: "\2713";background-color: #fff;
position: absolute;top: 0;left: 0;
width:100%;border: 1px solid #00D2D6;color:#00D2D6;
font-size: 18px;font-weight: bold;
font-size: 18px;
font-family: "PingFangR";
}
/* myTable */
.myTable{
......@@ -83,12 +92,12 @@
background:transparent!important;
}
.myTable .hoverSpan1{
/* .myTable .hoverSpan1{
left: -20px;
}
.myTable .hoverSpan2{
right: -20px;
}
} */
.myTable .commonStyle{
height:100%;
background:#fff;
......@@ -100,16 +109,30 @@
.miniTable tr td{
padding:6px 0 6px 20px!important;
}
.myTable tr{
.myTable tbody tr{
background:#fff;
border-bottom: 4px solid #F8FAFB;
border-bottom: 1px solid #F8FAFB;
cursor: pointer;
}
.myTable tbody tr:last-child{
border-bottom: none;
}
.noHoverTable tr{
border-bottom:none!important;
}
.noHoverTable tr:nth-child(even){
background: #fff!important;
}
.myTable tr:nth-child(even){
background: #F6F9FB;
}
.myTable tbody .trNobottom:first-child{
border-top: none!important;
}
.myTable .trNobottom{
border-top: 4px solid #F8FAFB!important;
border-top: 1px solid #E2E4EB!important;
border-bottom:none!important;
}
.myTable tbody tr:hover{
......@@ -121,7 +144,7 @@
box-shadow:0 0 0 transparent!important;
}
.myTable tbody tr:hover .commonStyle{
display: block;
/* display: block; */
transition: transform .5s ease;
box-shadow:0px 0px 0px 0px rgba(176,176,176,0.2);
......@@ -141,6 +164,20 @@
.myTable tbody tr:last-child td:last-child{
border-radius:0 0 20px 0;
}
/* 合并无圆角 */
.noHoverTable tbody tr:first-child td:first-child{
border-radius:0!important;
}
.noHoverTable tbody tr:first-child td:last-child{
border-radius:0!important;
}
.noHoverTable tbody tr:last-child td:first-child{
border-radius:0!important;
}
.noHoverTable tbody tr:last-child td:last-child{
border-radius:0!important;
}
.myTable tr td{
position: relative;
padding:11px 0 11px 20px;
......@@ -203,7 +240,7 @@
text-align: center;
height:34px;
line-height:34px;
background:rgba(237,237,237,1);
background:#e2e4e8;
border-radius:8px;
font-size: 12px;
font-family: "宋体";
......@@ -356,12 +393,12 @@
font-family: "宋体"!important;
}
.borderTable thead th{
color:#A6C6C6;
color:#000000;
padding-left: 20px;
height: 50px;
line-height: 50px;
font-weight:bold;
text-align: left;
font-family: "PingFangR";
}
.borderTable thead tr{
background:transparent!important;
......@@ -421,5 +458,22 @@
.borderTable tr td{
position: relative;
padding:11px 0 11px 20px;
border:1px solid #eee;
border:1px solid #E2E4EB;
}
.tableMoreUl{
background: #F6F9FB;
width: 100%;
font-size:12px;
}
.tableMoreUl li{
border-bottom:1px solid #E2E4EB;
padding:12px;
}
.tableMoreUl li span{
display: inline-block;
width:22%;
}
.tableMoreUl li:last-child{
border-bottom: none;
}
\ No newline at end of file
......@@ -383,4 +383,16 @@
}
.el-date-table td.available:hover{
color: #28CACC!important;
}
.upload-demo .el-upload-dragger {
background-color: #fff;
border: 1px dashed #d9d9d9;
border-radius: 6px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 360px!important;
height: 180px!important;
text-align: center;
position: relative;
overflow: hidden;
}
\ No newline at end of file
......@@ -15,7 +15,7 @@
}
.vxe-table .vxe-body--row .vxe-body--column{
border-bottom: 4px solid #F8FAFB!important;
border-bottom: 1px solid #E2E4EB!important;
}
.vxe-table .vxe-table--footer-wrapper, .vxe-table .vxe-table--header-wrapper{
border:none!important;
......@@ -24,7 +24,8 @@
background: transparent!important;
}
.vxe-table .vxe-header--column .vxe-cell{
color:#A6C6C6;
color:#000000;
font-family: "PingFangR";
}
.vxe-table--header-wrapper .vxe-table--repair{
height: 0!important;
......@@ -39,7 +40,7 @@
.vxe-table .vxe-cell{
padding: 0 0 0 20px;
}
.vxe-table .vxe-body--row:hover td{
/* .vxe-table .vxe-body--row:hover td{
border-radius:0!important;
}
.vxe-table .vxe-body--row:first-child td:first-child{
......@@ -53,7 +54,7 @@
}
.vxe-table .vxe-body--row:last-child td:last-child{
border-radius:0 0 20px 0;
}
} */
.vxe-icon--menu{
color:rgba(0,210,214,1)!important;
}
......@@ -92,4 +93,16 @@
.vxe-table .vxe-table--empty-block, .vxe-table .vxe-table--empty-placeholder{
background: #fff!important;
min-height: 50px!important;
}
.vxe-table .vxe-body--expanded-cell{
padding:0 20px;
}
.ExpandTable .vxe-table--header-wrapper{
background: #EFF2F8!important;
}
.vxe-table .vxe-body--row.row--stripe{
background-color: #F6F9FB;
}
.vxe-table .vxe-body--column, .vxe-table .vxe-footer--column, .vxe-table .vxe-header--column{
line-height: inherit!important;
}
\ No newline at end of file
src/assets/img/login.png

142 KB | W: | H:

src/assets/img/login.png

170 KB | W: | H:

src/assets/img/login.png
src/assets/img/login.png
src/assets/img/login.png
src/assets/img/login.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -715,7 +715,7 @@ export default {
}
.navDiv{
position: absolute;
bottom: 0;
bottom: 5px;
width:100%;
text-align: center;
}
......@@ -792,13 +792,13 @@ export default {
width: 100%;
padding: 30px;
box-sizing: border-box;
margin-top: 10px;
position: relative;
}
.banner{
margin-top: 20px;
position: relative;
overflow: hidden;
background: #fff;
}
.banner .liItem:first-child{
margin-left: 0;
......
<template>
<div class="Archivesmaterials">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">物料档案</span>
<span @click="morequery=!morequery" style="display:inline-flex;align-items:center;cursor: pointer;" class="f12 cd6">
<span style="margin-right:5px">高级查询</span>
......@@ -13,90 +13,92 @@
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="">
新增</span>
</div>
<ul v-show="morequery" class="queryul">
<li style="float:left">
<!-- :alwaysOpen="true" -->
<treeselect style="height:50px;width:200px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
:normalizer="normalizer" />
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="档案名称"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="物料编码"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.BrandName" placeholder="品牌"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商名称"></el-input>
</li>
</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>
<th>成本价</th>
<th>供应商名称</th>
<th>条形码号</th>
<th>库存</th>
<th>型号</th>
<th>操作人/时间</th>
<th>备注</th>
<th>操作</th>
</thead>
<tbody>
<tr v-for="(item,index) in tableData" :key="index">
<td>
<span class="commonStyle hoverSpan1"></span>
{{item.SuppliesNum}}
</td>
<td>{{item.Name}}</td>
<td>{{item.CategoryName}}</td>
<td>{{item.BrandName}}</td>
<td>{{item.Money}}</td>
<td>{{item.SupplierName}}</td>
<td>{{item.Barcode}}</td>
<td>
<div>预警库存:{{item.ReservedStock}}</div>
<div>安全库存:{{item.SafetyStock}}</div>
</td>
<td>{{item.SuppliesModel}}</td>
<!-- <td>
<img v-for="(subItem,index) in item.ImageList" :key="index" :src="subItem" alt="">
</td> -->
<td>
<p>{{item.UpdateBy}}</p>
<p>{{item.UpdateDate}}</p>
</td>
<td>{{item.Remark}}</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
<span class="commonStyle hoverSpan2"></span>
</td>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li style="float:left">
<!-- :alwaysOpen="true" -->
<treeselect style="height:50px;width:200px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
:normalizer="normalizer" />
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="档案名称"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="物料编码"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.BrandName" placeholder="品牌"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商名称"></el-input>
</li>
</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>
<th>成本价</th>
<th>供应商名称</th>
<th>条形码号</th>
<th>库存</th>
<th>型号</th>
<th>操作人/时间</th>
<th>备注</th>
<th>操作</th>
</thead>
<tbody>
<tr v-for="(item,index) in tableData" :key="index">
<td>
<span class="commonStyle hoverSpan1"></span>
{{item.SuppliesNum}}
</td>
<td>{{item.Name}}</td>
<td>{{item.CategoryName}}</td>
<td>{{item.BrandName}}</td>
<td>{{item.Money}}</td>
<td>{{item.SupplierName}}</td>
<td>{{item.Barcode}}</td>
<td>
<div>预警库存:{{item.ReservedStock}}</div>
<div>安全库存:{{item.SafetyStock}}</div>
</td>
<td>{{item.SuppliesModel}}</td>
<!-- <td>
<img v-for="(subItem,index) in item.ImageList" :key="index" :src="subItem" alt="">
</td> -->
<td>
<p>{{item.UpdateBy}}</p>
<p>{{item.UpdateDate}}</p>
</td>
<td>{{item.Remark}}</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
<span class="commonStyle hoverSpan2"></span>
</td>
</tr>
<tr v-show="tableData.length==0">
<td colspan="12" align="center">暂无数据</td>
</tr>
</tbody>
</table>
<el-pagination
@current-change="currentChange"
background
layout="prev, pager, next"
:total="total">
</el-pagination>
</tr>
<tr v-if="tableData.length==0">
<td colspan="12" align="center">暂无数据</td>
</tr>
</tbody>
</table>
<el-pagination
@current-change="currentChange"
background
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
<el-dialog
:title="dialogtitle"
......@@ -240,7 +242,7 @@ export default {
dialogState:false,
rules:{
Name: [
{ required: true, message: '请输入供应商名称', trigger: 'blur' }
{ required: true, message: '请输入档案名称', trigger: 'blur' }
],
BrandName:[
{ required: true, message: '请输入品牌名称', trigger: 'blur' }
......@@ -455,7 +457,6 @@ export default {
display: none;
}
.Archivesmaterials{
background: #F8FAFB;
width: 100%;
height: 100%;
}
......
<template>
<div class="ConsumRecipients">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">耗材领用查询</span>
<span @click="morequery=!morequery" style="display:inline-flex;align-items:center;cursor: pointer;" class="f12 cd6">
<span style="margin-right:5px">高级查询</span>
......@@ -14,80 +14,79 @@
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="">
新增</span> -->
</div>
<ul v-show="morequery" class="queryul">
<li>
<el-select size="small" filterable clearable v-model="msg.SuppliesId" placeholder="物料">
<el-option
v-for="item in wulaioList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.EmployeeId" placeholder="使用人" :filter-method="getEmployee">
<el-option
v-for="item in EmployeeList"
:key="item.EmployeeId"
:label="item.EmName"
:value="item.EmployeeId">
</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>
<li>
<el-select size="small" filterable v-model="addMsg.BranchId" placeholder="公司">
<el-option
v-for="item in BranchList"
:key="item.Id"
:label="item.BName"
:value="item.Id">
</el-option>
</el-select>
</li>
<li style="float:left">
<!-- :alwaysOpen="true" -->
<treeselect style="height:50px;width:200px;" :options="departmentata" v-model="addMsg.DepartmentId" placeholder="不限"
:normalizer="normalizer"/>
</li>
</ul>
<!-- <vxe-grid :loading="loading"
:columns="tableColumn"
:toolbar="tableToolbar"
:data="tableData"
show-footer
:footer-method="footerMethod"
:edit-config="{trigger: 'click', mode: 'row', showStatus: true}"></vxe-grid> -->
<!-- -->
<vxe-table style="margin-top:15px"
:data="tableData">
<vxe-table-column field="BranchName" title="公司名称"></vxe-table-column>
<vxe-table-column field="DepartmentName" title="部门名称"></vxe-table-column>
<vxe-table-column field="EmName" title="领取人"></vxe-table-column>
<vxe-table-column field="Number" title="领取数量"></vxe-table-column>
<vxe-table-column field="Money" 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="StockOutNum" title="领取单号"></vxe-table-column>
<vxe-table-column field="StockOutDate" title="领取日期"></vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
:page-size="msg.pageSize"
layout="prev, pager, next"
:total="total">
</el-pagination>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-select size="small" filterable clearable v-model="msg.SuppliesId" placeholder="物料">
<el-option
v-for="item in wulaioList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.EmployeeId" placeholder="使用人" :filter-method="getEmployee">
<el-option
v-for="item in EmployeeList"
:key="item.EmployeeId"
:label="item.EmName"
:value="item.EmployeeId">
</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>
<li>
<el-select size="small" filterable v-model="addMsg.BranchId" placeholder="公司">
<el-option
v-for="item in BranchList"
:key="item.Id"
:label="item.BName"
:value="item.Id">
</el-option>
</el-select>
</li>
<li style="float:left">
<!-- :alwaysOpen="true" -->
<treeselect style="height:50px;width:200px;" :options="departmentata" v-model="addMsg.DepartmentId" placeholder="不限"
:normalizer="normalizer"/>
</li>
</ul>
<vxe-table :loading="loading" stripe style="margin-top:15px"
:data="tableData">
<vxe-table-column field="BranchName" title="公司名称"></vxe-table-column>
<vxe-table-column field="DepartmentName" title="部门名称"></vxe-table-column>
<vxe-table-column field="Number" title="领取数量"></vxe-table-column>
<vxe-table-column field="Money" 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="StockOutNum" title="领取单号"></vxe-table-column>
<vxe-table-column field="StockOutDate" title="领取人/领取日期">
<template v-slot="{row}">
<p>{{row.EmName}}</p>
<p>{{row.StockOutDate}}</p>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
:page-size="msg.pageSize"
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
</div>
</template>
......@@ -283,7 +282,6 @@ export default {
<style >
.ConsumRecipients{
box-sizing: border-box;
background: #F8FAFB;
}
</style>
<template>
<div class="Materialwarehouse">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">物料仓库</span>
<span @click="morequery=!morequery" style="display:inline-flex;align-items:center;cursor: pointer;" class="f12 cd6">
<span style="margin-right:5px">高级查询</span>
......@@ -13,48 +13,50 @@
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="">
新增</span>
</div>
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="仓库名称"></el-input>
</li>
</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 width="200">操作</th>
</thead>
<tbody>
<tr v-for="(item,index) in tableData" :key="index">
<td>
<span class="commonStyle hoverSpan1"></span>
{{item.Name}}
</td>
<td>{{item.UpdateBy}}</td>
<td>{{item.UpdateDate}}</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
<span class="commonStyle hoverSpan2"></span>
</td>
</tr>
<tr v-show="tableData.length==0">
<td colspan="12" align="center">暂无数据</td>
</tr>
</tbody>
</table>
<el-pagination
@current-change="currentChange"
background
layout="prev, pager, next"
:total="total">
</el-pagination>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="仓库名称"></el-input>
</li>
</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 width="200">操作</th>
</thead>
<tbody>
<tr v-for="(item,index) in tableData" :key="index">
<td>
<span class="commonStyle hoverSpan1"></span>
{{item.Name}}
</td>
<td>{{item.UpdateBy}}</td>
<td>{{item.UpdateDate}}</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
<span class="commonStyle hoverSpan2"></span>
</td>
</tr>
<tr v-if="tableData.length==0">
<td colspan="12" align="center">暂无数据</td>
</tr>
</tbody>
</table>
<el-pagination
@current-change="currentChange"
background
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
<el-dialog
:title="dialogtitle"
top="0"
......@@ -99,7 +101,7 @@ export default {
dialogState:false,
rules:{
Name: [
{ required: true, message: '请输入供应商名称', trigger: 'blur' }
{ required: true, message: '请输入仓库名称', trigger: 'blur' }
]
},
}
......@@ -209,7 +211,6 @@ export default {
display: none;
}
.Materialwarehouse{
background: #F8FAFB;
width: 100%;
height: 100%;
}
......
<template>
<div class="spotquery">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">现存量查询</span>
<span @click="morequery=!morequery" style="display:inline-flex;align-items:center;cursor: pointer;" class="f12 cd6">
<span style="margin-right:5px">高级查询</span>
......@@ -15,62 +15,67 @@
<span @click="Export('GetInventoryPageListToExcel','库存')" style="margin-left:20px" class="addSpan">导出</span>
</div>
<ul v-show="morequery" class="queryul">
<li>
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库">
<el-option
v-for="item in getWareHouseList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.SuppliesId" placeholder="物料">
<el-option
v-for="item in wulaioList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</li>
</ul>
<vxe-table style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="SuppliesNum" 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>
<vxe-table-column field="ReservedStock" title="预留库存"></vxe-table-column>
<vxe-table-column field="UnitPrice" title="单价"></vxe-table-column>
<vxe-table-column field="Number" title="库存数量">
<template v-slot="{ row }">
<span class="bold" v-if="row.Number < row.SafetyStock" style="color:red">{{row.Number}}</span>
<span v-else>{{row.Number}}</span>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="日志" placement="top">
<img @click="Operation(row)" style="width:24px;height:24px" src="../../assets/img/czrz.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
:page-size="msg.pageSize"
layout="prev, pager, next"
:total="total">
</el-pagination>
<div class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-select size="small" filterable clearable v-model="msg.WarehouseId" placeholder="仓库">
<el-option
v-for="item in getWareHouseList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</li>
<li>
<el-select size="small" filterable clearable v-model="msg.SuppliesId" placeholder="物料">
<el-option
v-for="item in wulaioList"
:key="item.Id"
:label="item.Name"
:value="item.Id">
</el-option>
</el-select>
</li>
</ul>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="SuppliesNum" 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>
<vxe-table-column field="ReservedStock" title="预留库存"></vxe-table-column>
<vxe-table-column field="UnitPrice" title="单价"></vxe-table-column>
<vxe-table-column field="Number" title="库存数量">
<template v-slot="{ row }">
<span class="bold" v-if="row.Number < row.SafetyStock" style="color:red">{{row.Number}}</span>
<span v-else>{{row.Number}}</span>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="日志" placement="top">
<img @click="Operation(row)" style="width:24px;height:24px" src="../../assets/img/czrz.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
:page-size="msg.pageSize"
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
<!-- 操作日志 -->
<el-dialog
title="操作日志"
......@@ -275,6 +280,5 @@ export default {
<style scoped>
.spotquery{
box-sizing: border-box;
background: #F8FAFB;
}
</style>
This diff is collapsed.
This diff is collapsed.
<template>
<div class="Assetscation">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px;box-sizing:border-box;margin:0 30px;">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px;box-sizing:border-box;">
<span class="pageTitle">资产分类</span>
<span @click="Add" style="margin-left:20px" class="addSpan">
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="">
新增</span>
</div>
<div style="margin-top:10px;position:relative">
<div class="padContent" style="margin-top:10px;position:relative">
<div class="TreeDiv overflowY">
<el-tree
@node-click="Nodeclick"
......@@ -27,44 +27,29 @@
</div>
<div class="rightTable">
<!-- :style='{"height":tableHeight+"px"}' -->
<div class="overflowY">
<table class="myTable" v-loading="loading" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>ID</th>
<th>名称</th>
<th>父级名称</th>
<th>层级</th>
<th>操作人/时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in dataList" :key="index">
<td> {{item.Id}}</td>
<td>{{item.Name}}</td>
<td>{{item.ParentName}}</td>
<td>{{item.Tier}}</td>
<td>
<p>{{item.UpdateBy}}</p>
<p>{{item.UpdateDate}}</p>
</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
</td>
</tr>
<tr v-if="dataList.length==0">
<td colspan="7" align="center">暂无数据</td>
</tr>
</tbody>
</table>
</div>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="dataList">
<vxe-table-column field="Id" title="ID"></vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column field="ParentName" title="父级名称"></vxe-table-column>
<vxe-table-column field="Tier" title="层级"></vxe-table-column>
<vxe-table-column field="StockOutDate" title="操作人/时间">
<template v-slot="{row}">
<p>{{row.UpdateBy}}</p>
<p>{{row.UpdateDate}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="StockOutDate" title="操作">
<template v-slot="{row}">
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(row)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(row)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size='msg.pageSize' :total='total'>
</el-pagination>
......@@ -395,7 +380,7 @@ export default {
.Assetscation .TreeDiv{
width: 220px;
position: absolute;
left: 0px;
left: 30px;
z-index: 1;
height:100%;
padding: 20px 10px;
......
<template>
<div class="Assetscation">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px;box-sizing:border-box;margin:0 30px;">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px;box-sizing:border-box;">
<span class="pageTitle">耗材分类</span>
<span @click="Add" style="margin-left:20px" class="addSpan">
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="">
新增</span>
</div>
<div style="margin-top:10px;position:relative">
<div class="padContent" style="margin-top:10px;position:relative">
<div class="TreeDiv overflowY">
<el-tree
@node-click="Nodeclick"
......@@ -27,45 +27,29 @@
</div>
<div class="rightTable">
<!-- :style='{"height":tableHeight+"px"}' -->
<div class="overflowY" >
<table class="myTable" v-loading="loading" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th>ID</th>
<th>名称</th>
<th>父级名称</th>
<th>层级</th>
<th>操作人/时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr v-for="(item,index) in dataList" :key="index">
<td> {{item.Id}}</td>
<td>{{item.Name}}</td>
<td>{{item.ParentName}}</td>
<td>{{item.Tier}}</td>
<td>
<p>{{item.UpdateBy}}</p>
<p>{{item.UpdateDate}}</p>
</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
</td>
</tr>
<tr v-if="dataList.length==0">
<td colspan="7" align="center">暂无数据</td>
</tr>
</tbody>
</table>
</div>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="dataList">
<vxe-table-column field="Id" title="ID"></vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column field="ParentName" title="父级名称"></vxe-table-column>
<vxe-table-column field="Tier" title="层级"></vxe-table-column>
<vxe-table-column field="StockOutDate" title="操作人/时间">
<template v-slot="{row}">
<p>{{row.UpdateBy}}</p>
<p>{{row.UpdateDate}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="StockOutDate" title="操作">
<template v-slot="{row}">
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(row)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(row)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size='msg.pageSize' :total='total'>
</el-pagination>
......@@ -394,7 +378,7 @@ export default {
.Assetscation .TreeDiv{
width: 220px;
position: absolute;
left: 0px;
left:30px;
z-index: 1;
height:100%;
padding: 20px 10px;
......
<template>
<div class="Supplierman">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">供应商管理</span>
<span @click="morequery=!morequery" style="display:inline-flex;align-items:center;cursor: pointer;" class="f12 cd6">
<span style="margin-right:5px">高级查询</span>
......@@ -13,83 +13,50 @@
<img style="width:10px;height:10px;margin-right:6px" src="../../assets/img/add.png" alt="">
新增</span>
</div>
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="供应商名称"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Contact" placeholder="联系人"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Mobile" placeholder="联系电话"></el-input>
</li>
</ul>
<vxe-table style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="供应商名称"></vxe-table-column>
<vxe-table-column field="Contact" title="联系人"></vxe-table-column>
<vxe-table-column field="Mobile" title="联系电话"></vxe-table-column>
<vxe-table-column field="UpdateBy" title="操作人/时间">
<template v-slot="{ row }">
<p>{{row.UpdateBy}}</p>
<p>{{row.UpdateDate}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(row)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(row)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<!-- <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>
<th>操作时间</th>
<th>操作</th>
</thead>
<tbody>
<tr v-for="(item,index) in tableData" :key="index">
<td>
<span class="commonStyle hoverSpan1"></span>
{{item.Name}}
</td>
<td>{{item.Contact}}</td>
<td>{{item.Mobile}}</td>
<td>{{item.UpdateBy}}</td>
<td>{{item.UpdateDate}}</td>
<td>
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(item)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
<span class="commonStyle hoverSpan2"></span>
</td>
</tr>
<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 class="padContent">
<ul v-show="morequery" class="queryul">
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="供应商名称"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Contact" placeholder="联系人"></el-input>
</li>
<li>
<el-input class="w200" size="small" v-model="msg.Mobile" placeholder="联系电话"></el-input>
</li>
</ul>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="供应商名称"></vxe-table-column>
<vxe-table-column field="Contact" title="联系人"></vxe-table-column>
<vxe-table-column field="Mobile" title="联系电话"></vxe-table-column>
<vxe-table-column field="UpdateBy" title="操作人/时间">
<template v-slot="{ row }">
<p>{{row.UpdateBy}}</p>
<p>{{row.UpdateDate}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
<img @click="Edit(row)" style="width:24px;height:24px" src="../../assets/img/edit.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top">
<img @click="Delete(row)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
:page-size="msg.pageSize"
layout="prev, pager, next"
:total="total">
</el-pagination>
</div>
<el-dialog
:title="dialogtitle"
......@@ -258,6 +225,5 @@ export default {
<style scoped>
.Supplierman{
box-sizing: border-box;
background: #F8FAFB;
}
</style>
This diff is collapsed.
<template>
<div class="approvalDetails" v-loading="pageLoad">
<div class="approvalDetails padContent" v-loading="pageLoad">
<div style="border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle" style="float:inherit">详情</span>
<span @click="backTo" class="backTo" style="">返回</span>
......
This diff is collapsed.
<template>
<div class="spotquery">
<div style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<div class="routerTitle" style="text-align:right;border-bottom:1px solid #E2E4EB;padding-bottom:10px">
<span class="pageTitle">流程设置</span>
<span class="ChangeTable">
<span @click="showTable=1" :class="showTable==1?'spanActive':''">审批</span>
<span @click="showTable=2" :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>
<vxe-table :loading="loading" v-if="showTable==1" style="margin-top:15px"
:data="AuditList">
<vxe-table-column field="Type" title="ID"></vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column title="是否启用">
<template v-slot="{ row }">
<span v-if="row.Enabled==1"></span>
<span v-if="row.Enabled==2"></span>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="启用" placement="top">
<img v-show="row.Enabled==2" @click="ChangeAble(row,1)" style="width:24px;height:24px" src="../../assets/img/qiyong.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="禁用" placement="top">
<img v-show="row.Enabled==1" @click="ChangeAble(row,2)" style="width:24px;height:24px" src="../../assets/img/jinyong.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<vxe-table :loading="loading" v-if="showTable==2" style="margin-top:15px"
:data="SignList">
<vxe-table-column field="Type" title="ID"></vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column title="是否启用">
<template v-slot="{ row }">
<span v-if="row.Enabled==1"></span>
<span v-if="row.Enabled==2"></span>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="启用" placement="top">
<img v-show="row.Enabled==2" @click="ChangeAble(row,1)" style="width:24px;height:24px" src="../../assets/img/qiyong.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="禁用" placement="top">
<img v-show="row.Enabled==1" @click="ChangeAble(row,2)" style="width:24px;height:24px" src="../../assets/img/jinyong.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<div class="padContent">
<vxe-table stripe :loading="loading" v-if="showTable==1" style="margin-top:15px"
:data="AuditList">
<vxe-table-column field="Type" title="ID"></vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column title="是否启用">
<template v-slot="{ row }">
<span v-if="row.Enabled==1"></span>
<span v-if="row.Enabled==2"></span>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="启用" placement="top">
<img v-show="row.Enabled==2" @click="ChangeAble(row,1)" style="width:24px;height:24px" src="../../assets/img/qiyong.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="禁用" placement="top">
<img v-show="row.Enabled==1" @click="ChangeAble(row,2)" style="width:24px;height:24px" src="../../assets/img/jinyong.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<vxe-table stripe :loading="loading" v-if="showTable==2" style="margin-top:15px"
:data="SignList">
<vxe-table-column field="Type" title="ID"></vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column title="是否启用">
<template v-slot="{ row }">
<span v-if="row.Enabled==1"></span>
<span v-if="row.Enabled==2"></span>
</template>
</vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="启用" placement="top">
<img v-show="row.Enabled==2" @click="ChangeAble(row,1)" style="width:24px;height:24px" src="../../assets/img/qiyong.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="禁用" placement="top">
<img v-show="row.Enabled==1" @click="ChangeAble(row,2)" style="width:24px;height:24px" src="../../assets/img/jinyong.png" alt="">
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
</div>
<!-- <el-pagination
@current-change="currentChange"
background
......@@ -200,7 +193,6 @@ export default {
<style scoped>
.spotquery{
box-sizing: border-box;
background: #F8FAFB;
}
</style>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -3,95 +3,60 @@
<div style="text-align:center;padding-top:30px">
<img style="width:42px;height:42px;" src="../../assets/img/logo.png" alt="">
</div>
<div style="margin-top:60px">
<div class="BigmenuDiv" :style='{"height":menuheight+"px"}'>
<el-menu
:unique-opened="true"
:default-active="defaulActive"
class="el-menu-vertical-demo">
<el-menu-item index="0" route="/home">
<div @click="goHome" class="menuDiv">
<i class="iconfont icon-shouye"></i>
<span slot="title">首页</span>
</div>
</el-menu-item>
<!-- <el-submenu index="1">
<template slot="title">
<div class="menuDiv">
<img v-if="defaulActive!=1" class="icon" src="../../assets/img/zc1.png" alt="">
<img v-if="defaulActive==1" class="icon" src="../../assets/img/zc.png" alt="">
<span>资产管理</span>
:unique-opened="true"
:default-active="defaulActive"
class="el-menu-vertical-demo">
<el-menu-item index="0" route="/home">
<div @click="goHome" class="menuDiv">
<i class="iconfont icon-shouye"></i>
<span slot="title">首页</span>
</div>
</template>
<el-menu-item-group class="itemgroup">
<el-menu-item index="1-1"><span>资产列表</span></el-menu-item>
<el-menu-item index="1-2"><span>派发&退库</span></el-menu-item>
</el-menu-item-group>
</el-menu-item>
<el-submenu :index="String(index+1)" v-for="(item,index) in menuList" :key="index">
<template slot="title">
<div class="menuDiv">
<i :class="[fontPub,idonfontList[index]]" ></i>
<span slot="title">{{item.MenuName}}</span>
</div>
</template>
<el-menu-item-group class="itemgroup">
<!-- :index="String(index+1)+'-'+String(childIndex+1)" -->
<el-menu-item @click="goUrl(child)" v-for="(child,childIndex) in item.ChildMenu" :key="childIndex" :index="child.MenuUrl"><span>{{child.MenuName}}</span></el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
</div>
<!-- 登录人 -->
<div class="HeadDiv" style="padding-top:20px">
<div class="personDiv">
<el-popover
placement="bottom"
trigger="click">
<ul>
<li style="cursor: pointer;">
<span class="f14"><span style="color:#BEBEBE">Hello</span>,{{zcuserInfo.emName}}</span>
</li>
<li @click="LoginOut" style="cursor: pointer;margin-top:12px">
<i style="color:#FFA475" class="iconfont icon-tuichudenglu"></i>
<span style="margin-left:6px">退出登录</span>
</li>
</ul>
<span slot="reference" style="display: inline-flex;align-items: center;cursor: pointer;">
<img v-if="zcuserInfo.Icon && zcuserInfo.Icon!='' " :src="zcuserInfo.Icon" :onerror="defaultHeadImg" style="width:44px;height:44px;margin-left:45px;border-radius:50%" alt="">
<img v-else src="../../assets/img/defaultperson.png" style="width:44px;height:44px;margin-left:45px;border-radius:50%" alt="">
</span>
</el-popover>
<img style="width:18px;height:22px;margin-left:30px;" src="../../assets/img/news.png" alt="">
</el-submenu>
<el-submenu index="2">
<template slot="title">
<div class="menuDiv">
<img v-if="defaulActive!=2" class="icon" src="../../assets/img/hc.png" alt="">
<img v-if="defaulActive==2" class="icon" src="../../assets/img/hc1.png" alt="">
<span slot="title">耗材管理</span>
</div>
</template>
<el-menu-item-group class="itemgroup">
<el-menu-item index="2-1"><span>物料仓库</span></el-menu-item>
<el-menu-item index="2-2"><span>物料档案</span></el-menu-item>
<el-menu-item index="2-3"><span>入库单</span></el-menu-item>
<el-menu-item index="2-4"><span>出库单</span></el-menu-item>
<el-menu-item index="2-5"><span>现存量查询</span></el-menu-item>
<el-menu-item index="2-6"><span>耗材领用查询</span></el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="3">
<template slot="title">
<div class="menuDiv">
<img v-if="defaulActive=='3-1' || defaulActive=='3-2' || defaulActive=='3-3'" class="icon icon1" src="../../assets/img/xt1.png" alt="">
<img v-else class="icon" src="../../assets/img/xt.png" alt="">
<span slot="title">系统管理</span>
</div>
</template>
<el-menu-item-group class="itemgroup">
<el-menu-item index="3-1"><span>资产分类</span></el-menu-item>
<el-menu-item index="3-2"><span>耗材分类</span></el-menu-item>
<el-menu-item index="3-3"><span>供应商管理</span></el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="4">
<template slot="title">
<div class="menuDiv">
<img v-if="defaulActive!='4'" class="icon" src="../../assets/img/sp.png" alt="">
<img v-if="defaulActive=='4'" class="icon" src="../../assets/img/sp1.png" alt="">
<span slot="title">审批中心</span>
</div>
</template>
<el-menu-item-group class="itemgroup">
<el-menu-item index="4-1"><span>流程设置</span></el-menu-item>
<el-menu-item index="4-2"><span>审批管理</span></el-menu-item>
</el-menu-item-group>
</el-submenu> -->
<el-submenu :index="String(index+1)" v-for="(item,index) in menuList" :key="index">
<template slot="title">
<div class="menuDiv">
<i :class="[fontPub,idonfontList[index]]" ></i>
<span slot="title">{{item.MenuName}}</span>
</div>
</template>
<el-menu-item-group class="itemgroup">
<!-- :index="String(index+1)+'-'+String(childIndex+1)" -->
<el-menu-item @click="goUrl(child)" v-for="(child,childIndex) in item.ChildMenu" :key="childIndex" :index="child.MenuUrl"><span>{{child.MenuName}}</span></el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
</div>
</div>
</div>
</template>
......@@ -124,15 +89,22 @@ export default {
},
menuList:[],
zcuserInfo:{},
defaultHeadImg:
'this.src="' + require("../../assets/img/defaultperson.png") + '"',
menuheight:0,
}
},
created(){
if(!this.getLocalStorage()){
this.$router.push({path: 'login'})
return;
}
this.getMenu();
this.menuheight=document.body.clientHeight-220;
console.log("this.menuheight",this.menuheight)
if(!this.getLocalStorage()){
this.$router.push({path: 'login'})
return;
}
let zcuserInfo = this.getLocalStorage();
this.zcuserInfo=zcuserInfo;
this.getMenu();
},
watch:{
......@@ -141,6 +113,10 @@ export default {
},
},
methods:{
LoginOut(){
localStorage.removeItem("zcuserInfo");
location.href='/'
},
goHome(){
this.$router.push({path: '/Home'})
},
......@@ -156,6 +132,30 @@ export default {
</script>
<style>
.BigmenuDiv{
margin-top:60px;
margin-bottom:80px;
overflow: scroll;
}
.HeadNav {
position: relative;
height: 100%;
}
.HeadNav .HeadDiv .personDiv{
display: inline-flex;
align-items: center;
padding-right: 30px;
}
.HeadNav .HeadDiv{
position: absolute;
width: 100%;
bottom: 0;
z-index: 2;
background: #fff;
padding:10px 0;
border-top:1px solid #E2E4E8;
}
.HeadNav .is-active .el-submenu__title i{
color:#fff!important;
}
......@@ -223,7 +223,7 @@ export default {
}
.HeadNav .itemgroup .el-menu-item{
margin-bottom: 5px!important;
color: rgba(164, 188, 188, 1);
color: #83A4A5;
}
.HeadNav .itemgroup .el-menu-item span{
padding-left: 40px;
......
......@@ -5,34 +5,7 @@
</div>
<div class="appContent">
<!-- 头部 -->
<div class="HeadDiv" style="padding-top:20px">
<!-- <div class="searchDiv">
<img style="width:20px;height:20px" src="../../assets/img/search.png" alt="">
<input type="text" placeholder="请输入关键词搜索">
</div> -->
<div class="personDiv">
<img style="width:18px;height:22px" src="../../assets/img/news.png" alt="">
<el-popover
placement="bottom"
trigger="click">
<ul>
<li @click="LoginOut" style="cursor: pointer;">
<i style="color:#FFA475" class="iconfont icon-tuichudenglu"></i>
<span style="margin-left:6px">退出登录</span>
</li>
</ul>
<span slot="reference" style="display: inline-flex;align-items: center;cursor: pointer;">
<span style="margin-left:30px" class="f14"><span style="color:#BEBEBE">Hello</span>,{{zcuserInfo.emName}}</span>
<img v-if="zcuserInfo.Icon && zcuserInfo.Icon!='' " :src="zcuserInfo.Icon" :onerror="defaultHeadImg" style="width:44px;height:44px;margin-left:29px;border-radius:50%" alt="">
<img v-else src="../../assets/img/defaultperson.png" style="width:44px;height:44px;margin-left:29px;border-radius:50%" alt="">
</span>
</el-popover>
</div>
</div>
<div class="routerContent">
<div :style='{"min-height":minHeight+"px"}'>
<router-view/>
......@@ -56,13 +29,11 @@ export default {
data(){
return{
minHeight:0,
zcuserInfo:{},
defaultHeadImg:
'this.src="' + require("../../assets/img/defaultperson.png") + '"',
}
},
created(){
this.minHeight=document.body.clientHeight-90;
this.minHeight=document.body.clientHeight;
if(!this.getLocalStorage()){
this.$router.push({path: 'login'})
return;
......@@ -74,10 +45,7 @@ export default {
}
},
methods:{
LoginOut(){
localStorage.removeItem("zcuserInfo");
location.href='/'
},
},
}
</script>
......@@ -85,15 +53,14 @@ export default {
<style>
.appContent .routerContent{
padding-top: 90px;
position: relative;
box-sizing: border-box;
background: #F8FAFB;
background: #EFF2F8;
}
.appContent .routerContent>div{
position: relative;
padding:20px 30px 10px 30px;
/* padding:20px 30px 10px 30px; */
box-sizing: border-box;
}
.nav{
......@@ -104,17 +71,10 @@ export default {
height: 100%;
z-index: 1;
}
.appContent .HeadDiv{
position: fixed;
width: calc(100% - 214px);
top: 0;
z-index: 2;
background: #fff;
padding:20px 0;
}
.appContent{
width: 100%;
padding-left: 214px;
padding-left: 204px;
box-sizing: border-box;
position: relative;
}
......@@ -157,11 +117,6 @@ export default {
.searchDiv input::placeholder { /* 大部分现代浏览器 */
color:rgba(190, 193, 198, 1)
}
.personDiv{
float: right;
display: inline-flex;
align-items: center;
padding-right: 30px;
}
</style>
......@@ -26,11 +26,14 @@ export default {
var obj = {
//主地址
DomainUrl: domainUrl,
//上传文件URL
UploadFileUrl: domainUrl + '/api/File/post',
LocalTemplateFileDownLoadUrl: domainUrl,
//常用提交数据URL
PostUrl: domainUrl + "/api/common/post",
// javaUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000",
javaUrl: locationName.indexOf('zcyx') == -1 ? "http://192.168.2.17:8087" : locationName.indexOf('zcyx.oytour.com') !== -1 ? "http://property.oytour.com" : "http://192.168.2.17:8087",
// javaUrl: "http://192.168.2.17:8087",
// javaUrl: "http://property.oytour.com",
ViittoFileUrl: locationName.indexOf('zcyx') !== -1 || locationName.indexOf('zcyx.oytour.com') !== -1 ? "http://staticfile.oytour.com" : 'http://192.168.2.214:8130',
......
......@@ -35,6 +35,8 @@ export default {
name: 'AssetsClassification',
component: resolve => require(['@/components/Systemman/AssetsClassification'], resolve),
},
// 耗材分类
{
path: '/MaterialClassification',
......@@ -72,6 +74,12 @@ export default {
name: 'allocatingMan',
component: resolve => require(['@/components/assetsman/allocatingMan'], resolve),
},
// 批量导入
{
path: '/BulkImport',
name: 'BulkImport',
component: resolve => require(['@/components/assetsman/BulkImport'], resolve),
},
// 处置管理
{
path: '/disposalMan',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment