Commit 04a3ba90 authored by zhengke's avatar zhengke

修改

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