|
@@ -672,7 +672,12 @@
|
|
}
|
|
}
|
|
localStorage.setItem('taskTypeKey',this.dataList.taskTypeKey);
|
|
localStorage.setItem('taskTypeKey',this.dataList.taskTypeKey);
|
|
localStorage.setItem('warehouseId',this.baseId);
|
|
localStorage.setItem('warehouseId',this.baseId);
|
|
- this.$router.push({name:'supplyofgoods',query:{baseId:this.baseId}})
|
|
|
|
|
|
+ if(this.dataList.taskTypeKey==1){
|
|
|
|
+ this.$router.push({name:'supplyofgoods',query:{baseId:this.baseId,status:1}})
|
|
|
|
+ }else{
|
|
|
|
+ this.$router.push({name:'supplyofgoods',query:{baseId:this.baseId}})
|
|
|
|
+ }
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
this.$message({
|
|
this.$message({
|
|
message: '请先选择仓库',
|
|
message: '请先选择仓库',
|