| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -197,6 +197,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        <el-form-item prop="invWarehouseCode">
 | 
					 | 
					 | 
					 | 
					                        <el-form-item prop="invWarehouseCode">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            <el-select v-model="formData.invWarehouseCode" placeholder="当前分库信息"
 | 
					 | 
					 | 
					 | 
					                            <el-select v-model="formData.invWarehouseCode" placeholder="当前分库信息"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                       :disabled="codeArray.length>0"
 | 
					 | 
					 | 
					 | 
					                                       :disabled="codeArray.length>0"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                       @change="subStorageChange"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                       clearable>
 | 
					 | 
					 | 
					 | 
					                                       clearable>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                <el-option
 | 
					 | 
					 | 
					 | 
					                                <el-option
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                    v-for="item in subInvList"
 | 
					 | 
					 | 
					 | 
					                                    v-for="item in subInvList"
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -689,6 +690,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.subInvList = response.data || [];
 | 
					 | 
					 | 
					 | 
					                    this.subInvList = response.data || [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if (this.subInvList != null && this.subInvList.length == 1) {
 | 
					 | 
					 | 
					 | 
					                    if (this.subInvList != null && this.subInvList.length == 1) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        this.formData.invWarehouseCode = this.subInvList[0].code;
 | 
					 | 
					 | 
					 | 
					                        this.formData.invWarehouseCode = this.subInvList[0].code;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        this.getBusType();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    }
 | 
					 | 
					 | 
					 | 
					                    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                })
 | 
					 | 
					 | 
					 | 
					                })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1161,6 +1163,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // },
 | 
					 | 
					 | 
					 | 
					        // },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        getBusType() {
 | 
					 | 
					 | 
					 | 
					        getBusType() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            let query = {
 | 
					 | 
					 | 
					 | 
					            let query = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                code: this.formData.invWarehouseCode,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                enabled: true,
 | 
					 | 
					 | 
					 | 
					                enabled: true,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            };
 | 
					 | 
					 | 
					 | 
					            };
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            getLocalJoinByUser(query)
 | 
					 | 
					 | 
					 | 
					            getLocalJoinByUser(query)
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1168,6 +1171,11 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.busTypes = response.data.list || [];
 | 
					 | 
					 | 
					 | 
					                    this.busTypes = response.data.list || [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if (this.$isNotBlank(this.formData.billType)) {
 | 
					 | 
					 | 
					 | 
					                    if (this.$isNotBlank(this.formData.billType)) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        this.curAction = this.getActionItem(this.formData.billType);
 | 
					 | 
					 | 
					 | 
					                        this.curAction = this.getActionItem(this.formData.billType);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        if (this.curAction != null) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                            this.curAction = {corpType:0,genUnit: false,changeEnable:false,};
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                            this.formData.billType = null;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    }
 | 
					 | 
					 | 
					 | 
					                    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                })
 | 
					 | 
					 | 
					 | 
					                })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1223,17 +1231,20 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        actionChange(item) {
 | 
					 | 
					 | 
					 | 
					        actionChange(item) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.curAction = this.getActionItem(item);
 | 
					 | 
					 | 
					 | 
					            this.curAction = this.getActionItem(item);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.formData.corpName = '';
 | 
					 | 
					 | 
					 | 
					            this.formData.corpName = '';
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.locInChange();
 | 
					 | 
					 | 
					 | 
					            // this.locInChange();
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.findMethod();
 | 
					 | 
					 | 
					 | 
					            // this.findMethod();
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        locInChange() {
 | 
					 | 
					 | 
					 | 
					        locInChange() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.$forceUpdate();
 | 
					 | 
					 | 
					 | 
					            this.$forceUpdate();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.getBusType();
 | 
					 | 
					 | 
					 | 
					            // this.getBusType();
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.invChange();
 | 
					 | 
					 | 
					 | 
					            this.invChange();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.findStorageMethod();
 | 
					 | 
					 | 
					 | 
					            this.findStorageMethod();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        invChange() {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        subStorageChange() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            this.getBusType();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        invChange() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (this.$isNotBlank(this.formData.invWarehouseCode))
 | 
					 | 
					 | 
					 | 
					            if (this.$isNotBlank(this.formData.invWarehouseCode))
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.formData.invWarehouseCode = null;
 | 
					 | 
					 | 
					 | 
					                this.formData.invWarehouseCode = null;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.findSubInvs();
 | 
					 | 
					 | 
					 | 
					            this.findSubInvs();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1249,6 +1260,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.subInvList = response.data || [];
 | 
					 | 
					 | 
					 | 
					                    this.subInvList = response.data || [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    if (this.subInvList != null && this.subInvList.length == 1) {
 | 
					 | 
					 | 
					 | 
					                    if (this.subInvList != null && this.subInvList.length == 1) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                        this.formData.invWarehouseCode = this.subInvList[0].code;
 | 
					 | 
					 | 
					 | 
					                        this.formData.invWarehouseCode = this.subInvList[0].code;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        this.getBusType();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    }
 | 
					 | 
					 | 
					 | 
					                    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                })
 | 
					 | 
					 | 
					 | 
					                })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |