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