Commit 3ce61d5f authored by zhengke's avatar zhengke

修改

parent 402727af
......@@ -274,6 +274,12 @@
this.isPandian=false;
this.Success(res.data.message);
this.getList();
this.$router.push({
path: '/InventoryView',
query: {
CheckId: this.msg.CheckId
}
});
} else {
this.Error(res.data.message);
}
......
<template>
<div class="assetsList InventoryDetail">
<div class="routerTitle">
<span class="pageTitle">耗材盘点明细<span @click="Backto" style="position:relative;top:-5px"
<span class="pageTitle">耗材盘点详情<span @click="Backto" style="position:relative;top:-5px"
class="backTo">返回</span></span>
<span @click="morequery = !morequery" style="display:inline-flex;align-items:center;cursor: pointer;"
class="f12 cd6">
......
......@@ -91,7 +91,7 @@
<img v-if="row.CheckState ==1" @click="Delete(row)" style="width:24px;height:24px" src="../../assets/img/qx.png" alt="">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="查看详情" placement="top" v-if="row.CheckState==2">
<img v-if="row.CheckState==2" @click="SeeDetails(row,'/InventoryView')" style="width:24px;height:24px" src="../../assets/img/chakan.png" alt="" />
<img v-if="row.CheckState==2" @click="SeeDetailsTwo(row,'/InventoryView')" style="width:24px;height:24px" src="../../assets/img/chakan.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="盘点明细" placement="top" v-if="row.CheckState==1">
<img v-if="row.CheckState==1" @click="SeeDetails(row,'/InventoryDetail')" style="width:24px;height:24px" src="../../assets/img/shtg.png" alt="" />
......@@ -326,9 +326,15 @@ export default {
CheckState:item.CheckState
}
});
},
SeeDetailsTwo(item,path){
this.$router.push({
path: path,
query: {
CheckId:item.Id
}
});
},
addSupplier() {
......
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