Commit d78bb9f2 authored by 罗超's avatar 罗超

解决冲突

parents dd116cf9 18af801c
......@@ -220,15 +220,23 @@
border-radius: 0 0 20px 0;
}
.borderTable tbody tr:first-child td:first-child {
border-radius: 0!important;
}
.borderTable tbody tr:first-child td:last-child {
border-radius: 0!important;
}
/* 合并无圆角 */
.noHoverTable tbody tr:first-child td:first-child {
border-radius: 0!important;
/* border-radius:0!important; */
}
.noHoverTable tbody tr:first-child td:last-child {
border-radius: 0!important;
/* border-radius:0!important; */
}
.noHoverTable tbody tr:last-child td:first-child {
......@@ -563,6 +571,10 @@
cursor: pointer;
}
.borderTable tr:nth-child(even) {
/* background:#F6F9FB!important; */
}
/* .borderTable .trNobottom{
border-top: 4px solid #F8FAFB!important;
......@@ -625,4 +637,13 @@
.tableMoreUl li:last-child {
border-bottom: none;
}
.el-textarea__inner {
border: none!important;
outline: none!important;
}
.myTable tbody .noData td {
border-radius: 0!important;
}
\ No newline at end of file
......@@ -239,7 +239,7 @@
.vue-treeselect__control {
border: none!important;
height: 28px;
height: 28px!important;
}
.vue-treeselect__menu {
......
......@@ -136,4 +136,10 @@
.vxe-table .vxe-footer--column,
.vxe-table .vxe-header--column {
line-height: inherit!important;
}
.vxe-table .vxe-table--body-wrapper{
border-radius: 15px!important;
}
.EditTable .vxe-edit-icon{
display: none!important;
}
\ No newline at end of file
......@@ -35,63 +35,40 @@
</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="">
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="SuppliesNum" title="档案编码"></vxe-table-column>
<vxe-table-column field="Name" title="档案名称"></vxe-table-column>
<vxe-table-column field="CategoryName" title="分类名称"></vxe-table-column>
<vxe-table-column field="BrandName" title="品牌"></vxe-table-column>
<vxe-table-column field="Money" title="成本价"></vxe-table-column>
<vxe-table-column field="SupplierName" title="供应商"></vxe-table-column>
<vxe-table-column field="Barcode" title="条形码号"></vxe-table-column>
<vxe-table-column field="UpdateDate" title="库存">
<template v-slot="{ row }">
<p>预警库存:{{row.ReservedStock}}</p>
<p>安全库存:{{row.SafetyStock}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="UpdateDate" title="型号"></vxe-table-column>
<vxe-table-column field="Mobile" title="操作人/时间">
<template v-slot="{ row }">
<p>{{row.UpdateBy}}</p>
<p>{{row.UpdateDate}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="UpdateDate" title="备注"></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(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
<img @click="Delete(row)" 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>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
......@@ -216,7 +193,7 @@ export default {
total:0,
msg:{
pageIndex:1,
pageSize:10,
pageSize:15,
Name:'',
SuppliesNum:"",
BrandName:'',
......
......@@ -134,7 +134,7 @@ export default {
total:0,
msg:{
pageIndex:1,
pageSize:8,
pageSize:15,
EmployeeId:'',
SuppliesId:'',
StartTime:'',
......
......@@ -19,36 +19,22 @@
<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="">
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="仓库名称"></vxe-table-column>
<vxe-table-column field="UpdateBy" title="操作人"></vxe-table-column>
<vxe-table-column field="UpdateDate" title="操作时间"></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(item)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt="">
<img @click="Delete(row)" 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>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
......@@ -89,7 +75,7 @@ export default {
total:0,
msg:{
pageIndex:1,
pageSize:10,
pageSize:15,
Name:'',
},
addMsg:{
......
......@@ -146,7 +146,7 @@ export default {
total:0,
msg:{
pageIndex:1,
pageSize:8,
pageSize:15,
WarehouseId:'',
SuppliesId:'',
},
......
......@@ -114,7 +114,7 @@ export default {
dataList:[],
msg:{
pageIndex:1,
pageSize:10,
pageSize:15,
Name:'',
Tier:'',
ParentId:'',
......
......@@ -115,7 +115,7 @@ export default {
dataList:[],
msg:{
pageIndex:1,
pageSize:10,
pageSize:15,
Name:'',
Tier:'',
ParentId:'',
......
......@@ -103,7 +103,7 @@ export default {
total:0,
msg:{
pageIndex:1,
pageSize:8,
pageSize:15,
Name:'',
Contact:'',
Mobile:'',
......
......@@ -10,6 +10,8 @@
<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">申请</span>
<span @click="goMyPurchase('MyPurchaseRequisition')" style="margin-left:20px" class="addSpan">
新增请购单</span>
</div>
<div class="padContent">
<ul v-show="morequery" class="queryul">
......@@ -355,6 +357,14 @@ export default {
},
methods:{
goMyPurchase(path){
this.$router.push({
path: "/" + path,
query: {
type:2,
}
});
},
changeNUmber(item,index){
this.$forceUpdate()
},
......
......@@ -27,6 +27,7 @@
<span @click="getList" style="margin-left:20px" class="chaxunSpan"
>查询</span>
<span @click="Export" style="margin-left:20px" class="addSpan">导出</span>
<span @click="LYExport" style="margin-left:20px" class="addSpan">领用导出</span>
</div>
......@@ -161,8 +162,7 @@
<vxe-table-column field="Name" width="140" title="使用信息">
<template v-slot="{ row }">
<p>{{ row.EmName }}</p>
<p v-if="row.GetTime!=''" style="padding:2px 0">使用时间:{{ row.GetTime }}</p>
<p v-if="row.BackTime!=''">归还时间:{{ row.BackTime }}</p>
<p v-if="row.GetTime!=''">使用时间:{{ row.GetTime }}</p>
</template>
</vxe-table-column>
</vxe-table>
......@@ -257,6 +257,14 @@ export default {
this.getPropertyStatus();
},
methods: {
LYExport(){
let msg = JSON.parse(JSON.stringify(this.msg));
this.JavaGetLocalFile(
"/api/property/GetPropertyUseListStatisticsToExcel",
msg,
"领用资产.xls"
);
},
Export(){
let msg = JSON.parse(JSON.stringify(this.msg));
this.JavaGetLocalFile(
......
<template>
<div class="assetsList InventoryMan">
<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>
<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="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 basefix">
<li style="float:left">
<el-input
class="w200"
size="small"
v-model="msg.Name"
placeholder="名称"
></el-input>
</li>
<li style="float:left">
<treeselect style="height:50px;width:215px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
:normalizer="normalizer" />
</li>
<li>
<el-select
size="small"
filterable clearable
v-model="msg.BuyStatus"
placeholder="状态"
>
<el-option
v-for="item in BuyStatusList"
:key="item.Id"
:label="item.Name"
:value="item.Id"
>
</el-option>
</el-select>
</li>
<li>
<el-date-picker
v-model="dateList1"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</li>
</ul>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="状态">
<template v-slot="{ row }">
<span class="ColorSpan greenSpan" v-if="row.BuyStatus == 1"></span>
<span class="ColorSpan huangSpan" v-if="row.BuyStatus == 2"></span>
<span class="ColorSpan redSpan" v-if="row.BuyStatus == 3"></span>
<span class="ColorSpan purpleSpan" v-if="row.BuyStatus == 4"></span>
<span class="ColorSpan buleSpan" v-if="row.BuyStatus == 5"></span>
{{row.BuyStatusName}}
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="标题"></vxe-table-column>
<vxe-table-column field="CategoryName" title="分类名称"></vxe-table-column>
<vxe-table-column field="TypeName" title="类型"></vxe-table-column>
<vxe-table-column field="Content" title="内容"></vxe-table-column>
<vxe-table-column field="RejectRemark" title="驳回理由"></vxe-table-column>
<vxe-table-column field="UseTime" title="预计使用日期"></vxe-table-column>
<vxe-table-column field="BuyTime" title="购买日期"></vxe-table-column>
<vxe-table-column field="Mobile" 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 v-if="row.BuyStatus==4" @click="SetStatus(row)" style="width:24px;height:24px" src="../../assets/img/qx.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="新增"
:close-on-click-modal="false"
:visible.sync="dialogState"
top="0"
width="770px"
>
<el-form
class="MyEditForm"
:model="addMsg"
:rules="rules"
ref="addMsg"
label-width="0px"
>
<div class="basefix">
<div class="baseform">
<el-form-item label="" prop="Name">
<span class="label">标题</span>
<el-input
size="small"
v-model="addMsg.Name"
placeholder="请输入"
></el-input>
</el-form-item>
<el-form-item label="" style="float:left;">
<span class="label">分类</span>
<treeselect
style="height:28px;width:100%"
:options="treedata"
v-model="addMsg.CategoryId"
placeholder="不限"
:normalizer="normalizer"
@select="treeClick"
/>
</el-form-item>
<el-form-item label="" prop="UseTime">
<p class="label" style="padding-top:4px">预计使用日期</p>
<el-date-picker
size="mini"
v-model="addMsg.UseTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
<p class="f12 cred" style="margin-bottom:15px">请输入购买商品的品牌、规格、型号,越详细越好</p>
<el-form-item style="width:600px" label="" prop="Content">
<span class="label">商品描述</span>
<el-input
size="small"
type="textarea"
:autosize="{ minRows: 2, maxRows: 4}"
v-model="addMsg.Content"
placeholder="请输入"
></el-input>
</el-form-item>
</div>
</div>
<div class="btnformItem">
<span v-loading="queryLoad" class="submitBtn" type="primary" @click="submitForm('addMsg')"
>确定</span
>
<span class="exitBtn" @click="dialogState = false">取消</span>
</div>
</el-form>
</el-dialog>
</div>
</template>
<script>
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default {
name: "assetsList",
components: {
Treeselect
},
data() {
return {
EmployeeList1:[],
valueConsistsOf: 'ALL',
queryLoad:false,
addMsg: {
Name:'',
Type:'',
CategoryId:null,
Content:'',
UseTime:'',
},
normalizer(node) {
var obj = {
id: node.Id,
label: node.Name
};
if (node.ChildList != null && node.ChildList.length > 0) {
obj.children = node.ChildList;
}
return obj;
},
morequery: false,
dateList: [],
currentPage: 1,
tableData: [],
loading: false,
total: 0,
msg: {
pageIndex: 1,
pageSize: 10,
Name: "",
CreateBy:"",
BuyStatus:'',
StartTime:'',
EndTime:'',
Type:'',
},
dialogState: false,
rules: {
UseTime: [
{
type: "string",
required: true,
message: "请选择日期",
trigger: "change"
}
],
Name: [{ required: true, message: "请输入标题", trigger: "blur" }],
Content: [{ required: true, message: "请输入内容", trigger: "blur" }],
},
supplierList: [],
EmployeeList: [],
nodemsg: {
ParentId: -1,
Tier: "",
Name: "",
Type: 1
},
treedata: [],
BranchList: [],
PropertyId:'',
EmName:'',
BuyStatusList:[],
dateList1:[],
Type:'',
};
},
created(){
this.Type=this.$route.query.type?Number(this.$route.query.type):this.Type;
this.msg.Type=this.Type;
this.nodemsg.Type=this.Type;
this.addMsg.Type=this.Type;
let userInfo = this.getLocalStorage();
this.msg.CreateBy=userInfo.EmployeeId;
},
mounted() {
this.getList();
this.getNode();
this.getBranch();
this.GetBuying();
},
methods: {
SetStatus(row){
this.$confirm("确认撤回,撤回后不可恢复?","提示", {
confirmButtonText:"确定",
cancelButtonText: "取消",
type: 'warning'
}).then(() => {
let addMsg={
BuyingRequisitionId:row.Id,
Type:4,
BuyTime:'',
RejectRemark:'',
};
this.apiJavaPost(
"/api/property/SetBuyingRequisitionStatus",
addMsg,
res => {
this.queryLoad=false;
if (res.data.resultCode === 1) {
this.getList();
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
},null);
}).catch(() => {
});
},
getEmployee1(val) {
if (val != "") {
this.EmName = val;
this.getEmployee(1);
}
},
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 if (num == 2) {
this.EmployeeList2 = res.data.data;
}
else if (num == 3) {
this.EmployeeList3 = res.data.data;
}
} else {
this.Error(res.data.message);
}
},
null
);
},
GetBuying() {
this.apiJavaPost(
"/api/property/GetBuyingRequisitionEnumList",
{},
res => {
if (res.data.resultCode === 1) {
this.BuyStatusList = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
},
limitText(val){
return `+${val}`
},
SeeDetails(item,path){
this.$router.push({
path: path,
query: {
CheckId:item.Id
}
});
},
treeClick(data) {
this.addMsg.CategoryId = data.Id;
},
getNode() {
this.apiJavaPost(
"/api/property/CateporyGetTreeList",
this.nodemsg,
res => {
if (res.data.resultCode === 1) {
this.treedata = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
},
addSupplier() {
this.addMsg = {
Name:'',
Type:this.Type,
CategoryId:null,
Content:'',
UseTime:'',
};
this.dialogtitle = "新增";
this.dialogState = true;
},
Edit(item) {
this.dialogtitle = "编辑";
this.dialogState = true;
this.addMsg = Object.assign({}, item);
this.dateList=[];
this.dateList[0]=this.addMsg.StartDate;
this.dateList[1]=this.addMsg.EndDate;
},
Delete(item) {
let Id = item.Id;
this.$confirm("确认删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.apiJavaPost(
"/api/property/DelPropertyCheckInfo",
{ CheckId: Id },
res => {
if (res.data.resultCode === 1) {
this.getList();
this.Success(res.data.message);
} else {
this.Error(res.data.message);
}
},
null
);
})
.catch(() => {
this.$message.info("已取消删除!");
});
},
submitForm(formName) {
this.$refs[formName].validate(valid => {
if (valid) {
this.queryLoad=true;
let addMsg= Object.assign({},this.addMsg);
if(!addMsg.CategoryId){
addMsg.CategoryId=0;
}
this.apiJavaPost(
"/api/property/SetBuyingRequisitionInfo",
addMsg,
res => {
this.queryLoad=false;
if (res.data.resultCode === 1) {
this.getList();
this.Success(res.data.message);
this.dialogState = false;
this.addMsg= {
Name:'',
Type:this.Type,
CategoryId:null,
Content:'',
UseTime:'',
}
} else {
this.Error(res.data.message);
}
},
null
);
} else {
return false;
}
});
},
currentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
getList() {
if (this.dateList1 && this.dateList1.length > 0) {
this.msg.StartTime = this.dateList1[0];
this.msg.EndTime = this.dateList1[1];
} else {
this.msg.StartTime = "";
this.msg.EndTime = "";
}
this.loading = true;
this.apiJavaPost(
"/api/property/GetBuyingRequisitionPageList",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode === 1) {
this.tableData = res.data.data.pageData;
this.total = res.data.data.count;
} else {
this.Error(res.data.message);
}
},
null
);
},
getBranch() {
this.apiJavaPost(
"/api/User/GetBranchList",
{},
res => {
if (res.data.resultCode === 1) {
this.BranchList = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
}
}
};
</script>
<style>
.assetsList .MyEditForm .baseform .el-form-item:nth-child(4n) {
margin-right: 0;
}
.assetsList .zczt1 {
background: #ffe4d5;
color: #ffa87c;
}
.assetsList .zczt2 {
background: #beeff0;
color: #089bab;
}
.assetsList .zczt3 {
background: #ffd6d5;
color: #ff7874;
}
.assetsList .zczt4 {
background: #d7d6ff;
color: #7b78ff;
}
.assetsList .Commonzczt {
display: inline-block;
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
border-radius: 50%;
font-size: 12px;
font-family: "宋体";
}
.assetsList {
width: 100%;
height: 100%;
}
</style>
......@@ -260,6 +260,7 @@
</div>
<el-dialog
:close-on-click-modal="false"
title="派发单"
:visible.sync="dialogState"
top="0"
......@@ -340,6 +341,7 @@
<el-dialog
title="退库单"
:close-on-click-modal="false"
:visible.sync="dialogState1"
top="0"
width="815px">
......@@ -419,6 +421,7 @@
<!-- 选择资产 -->
<el-dialog
title="选择资产"
:close-on-click-modal="false"
:visible.sync="wuliaodig"
top="0"
width="750px">
......
<template>
<div class="assetsList InventoryMan">
<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>
<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>
</div>
<div class="padContent">
<ul v-show="morequery" class="queryul basefix">
<li style="float:left">
<el-input
class="w200"
size="small"
v-model="msg.Name"
placeholder="名称"
></el-input>
</li>
<li style="float:left">
<el-select
size="small"
v-model="msg.Type"
placeholder="类型" clearable filterable
>
<el-option label="资产" :value="1"></el-option>
<el-option label="耗材" :value="2"></el-option>
</el-select>
</li>
<li>
<el-select
size="small"
filterable clearable
v-model="msg.CreateBy"
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
size="small"
filterable clearable
v-model="msg.BuyStatus"
placeholder="状态"
>
<el-option
v-for="item in BuyStatusList"
:key="item.Id"
:label="item.Name"
:value="item.Id"
>
</el-option>
</el-select>
</li>
<li>
<el-date-picker
v-model="dateList1"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</li>
</ul>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="状态">
<template v-slot="{ row }">
<span class="ColorSpan greenSpan" v-if="row.BuyStatus == 1"></span>
<span class="ColorSpan huangSpan" v-if="row.BuyStatus == 2"></span>
<span class="ColorSpan redSpan" v-if="row.BuyStatus == 3"></span>
<span class="ColorSpan purpleSpan" v-if="row.BuyStatus == 4"></span>
<span class="ColorSpan buleSpan" v-if="row.BuyStatus == 5"></span>
{{row.BuyStatusName}}
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="名称"></vxe-table-column>
<vxe-table-column field="CategoryName" title="分类名称"></vxe-table-column>
<vxe-table-column field="TypeName" title="类型"></vxe-table-column>
<vxe-table-column field="Content" title="内容"></vxe-table-column>
<vxe-table-column field="RejectRemark" title="驳回理由"></vxe-table-column>
<vxe-table-column field="UseTime" title="预计使用日期"></vxe-table-column>
<vxe-table-column field="BuyTime" title="购买日期"></vxe-table-column>
<vxe-table-column field="Mobile" 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 v-if="row.BuyStatus==4" @click="SetStatus(row,1)" style="width:24px;height:24px" src="../../assets/img/pd.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="驳回" placement="top" >
<img v-if="row.BuyStatus==4" @click="SetStatus(row,2)" style="width:24px;height:24px" src="../../assets/img/qx.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="已购买" placement="top" >
<img v-if="row.BuyStatus==2 || row.BuyStatus==4" @click="SetStatus(row,3)" style="width:24px;height:24px" src="../../assets/img/cz.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="状态"
:close-on-click-modal="false"
:visible.sync="dialogState"
top="0"
width="560px"
>
<el-form
class="MyEditForm"
:model="addMsg"
:rules="rules"
ref="addMsg"
label-width="0px"
>
<div class="basefix">
<div class="baseform">
<el-form-item label="" prop="BuyTime">
<p class="label" style="padding-top:4px">购买时间</p>
<el-date-picker
size="mini"
v-model="addMsg.BuyTime"
type="date"
value-format="yyyy-MM-dd"
placeholder="选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item v-if="addMsg.Type==2" label="" prop="RejectRemark">
<span class="label">驳回备注</span>
<el-input
size="small"
v-model="addMsg.RejectRemark"
placeholder="请输入"
></el-input>
</el-form-item>
</div>
</div>
<div class="btnformItem">
<span v-loading="queryLoad" class="submitBtn" type="primary" @click="submitForm('addMsg')"
>确定</span
>
<span class="exitBtn" @click="dialogState = false">取消</span>
</div>
</el-form>
</el-dialog>
</div>
</template>
<script>
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default {
name: "assetsList",
components: {
Treeselect
},
data() {
return {
EmployeeList1:[],
valueConsistsOf: 'ALL',
queryLoad:false,
addMsg: {
BuyingRequisitionId:'',
Type:'',
BuyTime:'',
RejectRemark:'',
},
normalizer(node) {
var obj = {
id: node.Id,
label: node.Name
};
if (node.ChildList != null && node.ChildList.length > 0) {
obj.children = node.ChildList;
}
return obj;
},
morequery: false,
dateList: [],
currentPage: 1,
tableData: [],
loading: false,
total: 0,
msg: {
pageIndex: 1,
pageSize: 10,
Name: "",
CreateBy:"",
BuyStatus:'',
StartTime:'',
EndTime:'',
Type:'',
},
dialogState: false,
rules: {
Type: [
{ required: true, message: "请选择类型", trigger: "change" }
],
BuyTime: [
{
type: "string",
required: true,
message: "请选择日期",
trigger: "change"
}
],
RejectRemark: [{ required: true, message: "请输入驳回备注", trigger: "blur" }],
},
supplierList: [],
EmployeeList: [],
nodemsg: {
ParentId: -1,
Tier: "",
Name: "",
Type: 1
},
treedata: [],
BranchList: [],
PropertyId:'',
EmName:'',
BuyStatusList:[],
dateList1:[],
};
},
mounted() {
this.getList();
this.getNode();
this.getBranch();
this.GetBuying();
},
methods: {
SetStatus(item,type){
let that=this;
this.addMsg= {
BuyingRequisitionId:item.Id,
Type:type,
BuyTime:'',
RejectRemark:'',
};
this.dialogState=true;
},
getEmployee1(val) {
if (val != "") {
this.EmName = val;
this.getEmployee(1);
}
},
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 if (num == 2) {
this.EmployeeList2 = res.data.data;
}
else if (num == 3) {
this.EmployeeList3 = res.data.data;
}
} else {
this.Error(res.data.message);
}
},
null
);
},
GetBuying() {
this.apiJavaPost(
"/api/property/GetBuyingRequisitionEnumList",
{},
res => {
if (res.data.resultCode === 1) {
this.BuyStatusList = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
},
limitText(val){
return `+${val}`
},
SeeDetails(item,path){
this.$router.push({
path: path,
query: {
CheckId:item.Id
}
});
},
treeClick(data) {
this.addMsg.CategoryId = data.Id;
},
getNode() {
this.apiJavaPost(
"/api/property/CateporyGetTreeList",
this.nodemsg,
res => {
if (res.data.resultCode === 1) {
this.treedata = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
},
submitForm(formName) {
this.$refs[formName].validate(valid => {
if (valid) {
this.queryLoad=true;
this.apiJavaPost(
"/api/property/SetBuyingRequisitionStatus",
this.addMsg,
res => {
this.queryLoad=false;
if (res.data.resultCode === 1) {
this.getList();
this.Success(res.data.message);
this.dialogState = false;
this.addMsg= {
BuyingRequisitionId:'',
Type:'',
BuyTime:'',
RejectRemark:'',
}
} else {
this.Error(res.data.message);
}
},
null
);
} else {
return false;
}
});
},
currentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
getList() {
if (this.dateList1 && this.dateList1.length > 0) {
this.msg.StartTime = this.dateList1[0];
this.msg.EndTime = this.dateList1[1];
} else {
this.msg.StartTime = "";
this.msg.EndTime = "";
}
this.loading = true;
this.apiJavaPost(
"/api/property/GetBuyingRequisitionPageList",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode === 1) {
this.tableData = res.data.data.pageData;
this.total = res.data.data.count;
} else {
this.Error(res.data.message);
}
},
null
);
},
getBranch() {
this.apiJavaPost(
"/api/User/GetBranchList",
{},
res => {
if (res.data.resultCode === 1) {
this.BranchList = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
}
}
};
</script>
<style>
.assetsList .MyEditForm .baseform .el-form-item:nth-child(4n) {
margin-right: 0;
}
.assetsList .zczt1 {
background: #ffe4d5;
color: #ffa87c;
}
.assetsList .zczt2 {
background: #beeff0;
color: #089bab;
}
.assetsList .zczt3 {
background: #ffd6d5;
color: #ff7874;
}
.assetsList .zczt4 {
background: #d7d6ff;
color: #7b78ff;
}
.assetsList .Commonzczt {
display: inline-block;
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
border-radius: 50%;
font-size: 12px;
font-family: "宋体";
}
.assetsList {
width: 100%;
height: 100%;
}
</style>
......@@ -160,7 +160,7 @@
</el-pagination>
</div>
<el-dialog
<el-dialog :close-on-click-modal="false"
title="转交"
:visible.sync="dialogState"
width="530px">
......
......@@ -31,6 +31,8 @@
申请</span>
<span @click="goMyapply('Myapplication')" style="margin-left:20px" class="addSpan">
我的申请</span>
<span @click="goMyPurchase('MyPurchaseRequisition')" style="margin-left:20px" class="addSpan">
新增请购单</span>
</div>
<div class="padContent">
<ul v-show="morequery" class="queryul">
......@@ -195,8 +197,8 @@
</el-tooltip>
</td>
</tr>
<tr v-if="tableData.length == 0">
<td colspan="14" align="center">暂无数据</td>
<tr class="noData" v-if="tableData.length == 0">
<td colspan="16" align="center">暂无数据</td>
</tr>
</tbody>
</table>
......@@ -210,7 +212,7 @@
</el-pagination>
</div>
<el-dialog
<el-dialog :close-on-click-modal="false"
:title="dialogtitle"
:visible.sync="dialogState"
top="0"
......@@ -360,6 +362,14 @@ export default {
this.getPropertyStatus();
},
methods: {
goMyPurchase(path){
this.$router.push({
path: "/" + path,
query: {
type:1,
}
});
},
goMyapply(path){
this.$router.push({
path: "/" + path,
......
......@@ -200,6 +200,7 @@
<el-dialog
:close-on-click-modal="false"
:title="dialogtitle"
:visible.sync="dialogState"
top="0"
......
......@@ -163,7 +163,7 @@ export default {
total2:0,
msg:{
pageIndex:1,
pageSize:10,
pageSize:15,
CategoryId:null,
Name:'',
Type:'',
......
......@@ -13,9 +13,8 @@
<span @click="ImportSee" style="margin-left:20px" class="addSpan">提交</span>
</div>
<div class="padContent">
<vxe-table
<vxe-table class="EditTable"
ref="xTable"
resizable
show-overflow
:data="tableData"
:edit-config="{trigger: 'manual', mode: 'row'}">
......@@ -85,7 +84,7 @@
</vxe-table-column>
</vxe-table>
</div>
<el-dialog top="0" width="600px" title="导入" :visible.sync="outerVisible" center>
<el-dialog :close-on-click-modal="false" top="0" width="600px" title="导入" :visible.sync="outerVisible" center>
<el-upload :show-file-list="false" style="text-align: center;margin:20px 0" drag class="upload-demo" :action="importFileUrl2" :on-success="handleAvatarSuccess"
:before-upload="beforeAvatarUpload">
<i class="el-icon-upload"></i>
......@@ -93,6 +92,17 @@
<!-- <div slot="tip" class="el-upload__tip">只能上传Excel文件</div> -->
</el-upload>
</el-dialog>
<el-dialog :close-on-click-modal="false" top="0" width="600px" title="错误信息" :visible.sync="ErrorState" center>
<div class="MyEditForm">
<div style="margin:15px 0;color:#E95252">
{{ErrorMassage}}
</div>
<div class="btnformItem">
<span class="exitBtn" type="primary" @click="ErrorState=false">确定</span>
</div>
</div>
</el-dialog>
</div>
</template>
......@@ -118,6 +128,8 @@ export default {
baseformItem:false,
importFileUrl2:"",
msg:{},
ErrorMassage:'',
ErrorState:false,
};
},
created(){
......@@ -139,7 +151,9 @@ export default {
this.tableData=[];
this.Success(res.data.message);
} else {
this.Error(res.data.message);
this.ErrorMassage=res.data.message;
this.ErrorState=true;
// this.Error(res.data.message);
}
},
null
......@@ -150,11 +164,19 @@ export default {
},
saveRowEvent (row) {
this.$refs.xTable.clearActived().then(() => {
console.log("this.tableData",this.tableData)
})
},
Delete(rowIndex){
this.tableData.splice(rowIndex, 1)
this.$confirm("确认删除,删除后不可恢复?","提示", {
confirmButtonText:"确定",
cancelButtonText: "取消",
type: 'warning'
}).then(() => {
this.tableData.splice(rowIndex, 1)
}).catch(() => {
});
},
beforeAvatarUpload(file) {
return;
......
......@@ -128,7 +128,7 @@
</tr>
</template>
<tr v-show="tableData.length==0">
<tr v-if="tableData.length==0">
<td colspan="12" align="center">暂无数据</td>
</tr>
</tbody>
......
......@@ -117,132 +117,65 @@
</el-date-picker>
</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>
</thead>
<tbody>
<tr v-for="(item, index) in tableData" :key="index">
<td>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="资产状态">
<template v-slot="{ row }">
<span class="commonStyle hoverSpan1"></span>
<span class="ColorSpan huangSpan" v-if="item.PropertyStatus == 1"
></span
>
<span class="ColorSpan greenSpan" v-if="item.PropertyStatus == 2"
></span
>
<span class="ColorSpan redSpan" v-if="item.PropertyStatus == 3"
></span
>
<span class="ColorSpan buleSpan" v-if="item.PropertyStatus == 4"
></span>
<span class="ColorSpan redSpan" v-if="item.PropertyStatus == 10"
></span>
<span class="ColorSpan huangSpan" v-if="row.PropertyStatus == 1"></span>
<span class="ColorSpan greenSpan" v-if="row.PropertyStatus == 2"></span>
<span class="ColorSpan redSpan" v-if="row.PropertyStatus == 3"></span>
<span class="ColorSpan buleSpan" v-if="row.PropertyStatus == 4"></span>
<span class="ColorSpan redSpan" v-if="row.PropertyStatus == 10"></span>
<span
class="ColorSpan purpleSpan"
v-if="
item.PropertyStatus == 5 ||
item.PropertyStatus == 7 ||
item.PropertyStatus == 9 ||
item.PropertyStatus == 6 ||
item.PropertyStatus == 8
row.PropertyStatus == 5 ||
row.PropertyStatus == 7 ||
row.PropertyStatus == 9 ||
row.PropertyStatus == 6 ||
row.PropertyStatus == 8
"
></span
>
{{ item.PropertyStatusName }}
</td>
<td><span @click="getCheckDes(item)" class="underline">{{ item.PropertyNum }}</span></td>
<td>{{ item.Name }}</td>
<td>{{ item.CategoryName }}</td>
<td>{{ item.BrandName }}</td>
<td>{{ item.Money }}</td>
<td>{{ item.BuyDate }}</td>
<td>{{ item.UseStatusName }}</td>
<td>{{ item.PropertyModel }}</td>
<td>
<p>{{ item.EmName }}</p>
<p style="padding:2px 0">{{ item.GetTime }}</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 v-if="item.PropertyStatus == 1"
@click="Delete(item)"
style="width:24px;height:24px"
src="../../assets/img/delete.png"
alt=""
/>
</el-tooltip>
<el-tooltip
class="item"
effect="dark"
content="操作日志"
placement="top"
>
<img
@click="Operation(item)"
style="width:24px;height:24px"
src="../../assets/img/czrz.png"
alt=""
/>
</el-tooltip>
<el-tooltip
class="item"
effect="dark"
content="变更领用人"
placement="top"
>
<img v-if="item.PropertyStatus==2"
@click="ChnagePeople(item)"
style="width:24px;height:24px"
src="../../assets/img/shbh.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>
{{ row.PropertyStatusName }}
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="资产编码">
<template v-slot="{ row }">
<span @click="getCheckDes(row)" class="underline">{{ row.PropertyNum }}</span>
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="资产名称"></vxe-table-column>
<vxe-table-column field="CategoryName" title="分类名称"></vxe-table-column>
<vxe-table-column field="BrandName" title="品牌名称"></vxe-table-column>
<vxe-table-column field="Money" title="金额"></vxe-table-column>
<vxe-table-column field="BuyDate" title="购置日期"></vxe-table-column>
<vxe-table-column field="UseStatusName" title="使用状态"></vxe-table-column>
<vxe-table-column field="PropertyModel" title="型号"></vxe-table-column>
<vxe-table-column field="Mobile" title="使用信息">
<template v-slot="{ row }">
<p>{{ row.EmName }}</p>
<p>{{ row.GetTime }}</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 v-if="row.PropertyStatus == 1" @click="Delete(row)" style="width:24px;height:24px" src="../../assets/img/delete.png" alt=""/>
</el-tooltip>
<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>
<el-tooltip class="item" effect="dark" content="变更领用人" placement="top" >
<img v-if="row.PropertyStatus == 2" @click="ChnagePeople(row)" style="width:24px;height:24px" src="../../assets/img/shbh.png" alt=""/>
</el-tooltip>
</template>
</vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
......@@ -696,7 +629,7 @@ export default {
total: 0,
msg: {
pageIndex: 1,
pageSize: 10,
pageSize: 15,
Name: "",
PropertyNum: "",
SerialNumber: "",
......
......@@ -298,7 +298,7 @@ export default {
total: 0,
msg: {
pageIndex: 1,
pageSize: 10,
pageSize: 15,
Name: "",
PropertyNum: "",
LogType: "",
......
......@@ -209,7 +209,7 @@ export default {
total: 0,
msg: {
pageIndex: 1,
pageSize: 10,
pageSize: 15,
Name: "",
PropertyNum: "",
SerialNumber: "",
......
......@@ -84,76 +84,49 @@
</el-date-picker>
</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>
</thead>
<tbody>
<tr v-for="(item, index) in tableData" :key="index">
<td>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="Name" title="资产状态">
<template v-slot="{ row }">
<span class="commonStyle hoverSpan1"></span>
<span class="ColorSpan huangSpan" v-if="item.PropertyStatus == 1"
></span
>
<span class="ColorSpan greenSpan" v-if="item.PropertyStatus == 2"
></span
>
<span class="ColorSpan redSpan" v-if="item.PropertyStatus == 3"
></span
>
<span class="ColorSpan buleSpan" v-if="item.PropertyStatus == 4"
></span
>
<span class="ColorSpan huangSpan" v-if="row.PropertyStatus == 1"></span>
<span class="ColorSpan greenSpan" v-if="row.PropertyStatus == 2"></span>
<span class="ColorSpan redSpan" v-if="row.PropertyStatus == 3"></span>
<span class="ColorSpan buleSpan" v-if="row.PropertyStatus == 4"></span>
<span class="ColorSpan redSpan" v-if="row.PropertyStatus == 10"></span>
<span
class="ColorSpan purpleSpan"
v-if="
item.PropertyStatus == 5 ||
item.PropertyStatus == 7 ||
item.PropertyStatus == 9 ||
item.PropertyStatus == 6 ||
item.PropertyStatus == 8
row.PropertyStatus == 5 ||
row.PropertyStatus == 7 ||
row.PropertyStatus == 9 ||
row.PropertyStatus == 6 ||
row.PropertyStatus == 8
"
></span
>
{{ item.PropertyStatusName }}
</td>
<td>
<p v-if="item.EmName!=''">借用人:{{ item.EmName }}</p>
<p style="padding:2px 0">借用日期:{{ item.GetTime }}</p>
<p>归还日期:{{ item.BackTime }}</p>
</td>
<td><span @click="getCheckDes(item)" class="underline">{{ item.PropertyNum }}</span></td>
<td>{{ item.Name }}</td>
<td>{{ item.CategoryName }}</td>
<td>{{ item.BrandName }}</td>
<td>{{ item.Money }}</td>
<td>{{ item.UseStatusName }}</td>
<td>{{ item.PropertyModel }}</td>
</tr>
<tr v-if="tableData.length == 0">
<td colspan="12" align="center">暂无数据</td>
</tr>
</tbody>
</table>
{{ row.PropertyStatusName }}
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="借用信息">
<template v-slot="{ row }">
<p v-if="row.EmName!=''">借用人:{{ row.EmName }}</p>
<p style="padding:2px 0">借用日期:{{ row.GetTime }}</p>
<p>归还日期:{{ row.BackTime }}</p>
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="资产编码">
<template v-slot="{ row }">
<span @click="getCheckDes(row)" class="underline">{{ row.PropertyNum }}</span>
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="资产名称"></vxe-table-column>
<vxe-table-column field="CategoryName" title="分类名称"></vxe-table-column>
<vxe-table-column field="BrandName" title="品牌名称"></vxe-table-column>
<vxe-table-column field="Money" title="金额"></vxe-table-column>
<vxe-table-column field="UseStatusName" title="使用状态"></vxe-table-column>
<vxe-table-column field="PropertyModel" title="型号"></vxe-table-column>
</vxe-table>
<el-pagination
@current-change="currentChange"
background
......
......@@ -68,6 +68,7 @@ export default {
component: resolve => require(['@/components/assetsman/LendReturn'], resolve),
},
// 调拨管理
{
path: '/allocatingMan',
......@@ -239,6 +240,18 @@ export default {
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),
},
......
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