Commit 3ce61d5f authored by zhengke's avatar zhengke

修改

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