Commit 04a3ba90 authored by zhengke's avatar zhengke

修改

parent 3670cd3c
......@@ -162,14 +162,15 @@
Backto() {
let path='';
if(this.isFrom==1){
path='/InventoryDetails'
path='/InventoryView'
}else{
path='/InventoryDetail'
}
this.$router.push({
path: path,
query: {
CheckId: this.msg.CheckId
CheckId: this.msg.CheckId,
WarehouseId:this.saveMsg.WarehouseId
}
});
},
......
......@@ -115,14 +115,15 @@
Backto() {
let path='';
if(this.isFrom==1){
path='/InventoryDetails'
path='/InventoryView'
}else{
path='/InventoryDetail'
}
this.$router.push({
path: path,
query: {
CheckId: this.msg.CheckId
CheckId: this.msg.CheckId,
WarehouseId:this.saveMsg.WarehouseId
}
});
},
......
......@@ -14,7 +14,7 @@
<span @click="outerVisible=true" style="margin-left:20px" class="chaxunSpan">盘点导入</span>
<span @click="goBaosun('InventoryBosun')" style="margin-left:20px" class="chaxunSpan">查看报损</span>
<span @click="goBaosun('InventoryBoyi')" style="margin-left:20px" class="chaxunSpan">查看报溢</span>
<span @click="complePandian" style="margin-left:20px" class="chaxunSpan">完成盘点</span>
<span @click="complePandian" v-if="isPandian" style="margin-left:20px" class="chaxunSpan">完成盘点</span>
</div>
<div class="padContent">
......@@ -188,7 +188,9 @@
//仓库id
WarehouseId: 0,
//CheckState用于管理操作按钮
CheckState: 0
CheckState: 0,
//用于判断是否完成盘点
isPandian:true
};
},
mounted() {
......@@ -270,7 +272,9 @@
"/api/supplies/SetSuppliesCheckComplete", msg,
res => {
if (res.data.resultCode === 1) {
this.isPandian=false;
this.Success(res.data.message);
this.getList();
} else {
this.Error(res.data.message);
}
......@@ -291,11 +295,12 @@
},
//上传
handleAvatarSuccess(res, file) {
this.$message.info("上传中...");
if (res.resultCode == 1) {
this.outerVisible = false;
this.getList();
} else {
this.Error(res.message);
}
},
//耗材单个盘点保存
......
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