zhongtianhaoyuan 1 年之前
父节点
当前提交
16df6f6675
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue

+ 6 - 1
src/views/taskManagement/tranManagementWarehouseInOutTaskAdd.vue

@@ -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: '请先选择仓库',