|  | @@ -296,6 +296,7 @@ export default {
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    //初始化查询
 | 
	
		
			
				|  |  |    created() {
 | 
	
		
			
				|  |  | +    this.$set(this.form, 'status', 0)
 | 
	
		
			
				|  |  |      getDeptTree().then(res => {
 | 
	
		
			
				|  |  |        this.dicData = res.data.data;
 | 
	
		
			
				|  |  |      });
 | 
	
	
		
			
				|  | @@ -304,7 +305,7 @@ export default {
 | 
	
		
			
				|  |  |      if (this.detailData.id) {
 | 
	
		
			
				|  |  |        this.queryData(this.detailData.id)
 | 
	
		
			
				|  |  |      } else {
 | 
	
		
			
				|  |  | -      this.$set(this.form, "goodsTypeId", this.$route.query.treeDeptId);
 | 
	
		
			
				|  |  | +      this.$set(this.form, "goodsTypeId", this.detailData.goodsTypeId);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 |