|
@@ -672,7 +672,12 @@
|
|
|
}
|
|
|
localStorage.setItem('taskTypeKey',this.dataList.taskTypeKey);
|
|
|
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{
|
|
|
this.$message({
|
|
|
message: '请先选择仓库',
|