Commit ab512cda authored by zhengke's avatar zhengke

修改

parent 8d1703fb
......@@ -124,13 +124,15 @@
DetailList: []
},
isCheckAll:false,
checkList:[]
checkList:[],
isFrom:0
};
},
mounted() {
this.msg.CheckId = this.$route.query.CheckId;
this.saveMsg.CheckId = this.$route.query.CheckId;
this.saveMsg.WarehouseId = this.$route.query.WarehouseId;
this.isFrom = this.$route.query.isFrom;
this.getList();
this.getCheckStatus();
},
......@@ -152,8 +154,14 @@
);
},
Backto() {
let path='';
if(this.isFrom==1){
path='/InventoryDetails'
}else{
path='/InventoryDetail'
}
this.$router.push({
path: "/InventoryDetail",
path: path,
query: {
CheckId: this.msg.CheckId
}
......
......@@ -93,13 +93,15 @@
DetailList: []
},
isCheckAll:false,
checkList:[]
checkList:[],
isFrom:0
};
},
mounted() {
this.msg.CheckId = this.$route.query.CheckId;
this.saveMsg.CheckId = this.$route.query.CheckId;
this.saveMsg.WarehouseId = this.$route.query.WarehouseId;
this.isFrom = this.$route.query.isFrom;
this.getList();
},
methods: {
......@@ -108,8 +110,14 @@
this.getList();
},
Backto() {
let path='';
if(this.isFrom==1){
path='/InventoryDetails'
}else{
path='/InventoryDetail'
}
this.$router.push({
path: "/InventoryDetail",
path: path,
query: {
CheckId: this.msg.CheckId
}
......
......@@ -204,10 +204,6 @@
if (res.data.resultCode === 1) {
this.tableData = res.data.data.pageData;
this.total = res.data.data.count;
this.tableData.forEach(x=>{
x.isShow=false;
})
console.log(this.tableData, 'tabledata');
} else {
this.Error(res.data.message);
}
......@@ -422,7 +418,6 @@
this.loading = false;
if (res.data.resultCode === 1) {
var myData = res.data.data.GoodsModel;
console.log(res,'ress');
var isInStore=true;
if(myData){
var scanMsg = {};
......@@ -434,10 +429,8 @@
if(x.SuppliesId==myData.SuppliesId){
x.RealityNum++;
isInStore=false;
x.isShow=true;
document.getElementById(myData.SuppliesId).scrollIntoView({ behavior: 'smooth' })
this.$refs["barCodeInput"+myData.SuppliesId].focus();
document.getElementById("barTishi"+myData.SuppliesId).style.opacity=1;
setTimeout(()=>{
this.test("barTishi"+myData.SuppliesId);
......
......@@ -399,7 +399,6 @@ export default {
if (res.data.resultCode === 1) {
this.tableData = res.data.data.pageData;
this.total = res.data.data.count;
console.log(this.tableData,'tableData');
} else {
this.Error(res.data.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