|  |  | @ -68,10 +68,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                         </div> |  |  |  |                         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-col> |  |  |  |                     </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-col :span="7"> |  |  |  |                     <el-col :span="7"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <!--                        @change="actionChange"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         <el-form-item prop="billType"> |  |  |  |                         <el-form-item prop="billType"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                             <el-select v-model="formData.billType" placeholder="请选择业务类型" |  |  |  |                             <el-select v-model="formData.billType" placeholder="请选择业务类型" | 
			
		
	
		
		
			
				
					
					|  |  |  |                                        @change="actionChange" clearable> |  |  |  |                                        @change="actionChange"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                                 <el-option |  |  |  |                                 <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     v-for="item in busTypes" |  |  |  |                                     v-for="item in busTypes" | 
			
		
	
		
		
			
				
					
					|  |  |  |                                     :key="item.localAction" |  |  |  |                                     :key="item.localAction" | 
			
		
	
	
		
		
			
				
					|  |  | @ -597,7 +596,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterAllByUser() |  |  |  |             filterAllByUser() | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .then((response) => { |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.storageList = response.data || []; |  |  |  |                     this.storageList = response.data || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.invChange(); |  |  |  |                     this.findSubInvs(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 }) |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
	
		
		
			
				
					|  |  | @ -1165,17 +1164,13 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         actionChange(item) { |  |  |  |         actionChange(item) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.curAction = this.getActionItem(item); |  |  |  |             this.curAction = this.getActionItem(item); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.locStorageCode = this.curAction.storageCode; |  |  |  |             this.formData.corpName = ''; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.locInChange(this.formData.locStorageCode); |  |  |  |             this.locInChange(); | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.findMethod(); |  |  |  |             this.findMethod(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         locInChange(item) { |  |  |  |         locInChange() { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (isBlank(item)) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.formData.invWarehouseCode = null; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.locStorageCode = item; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.$forceUpdate(); |  |  |  |             this.$forceUpdate(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getBusType(item); |  |  |  |             this.getBusType(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.invChange(); |  |  |  |             this.invChange(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.findStorageMethod(); |  |  |  |             this.findStorageMethod(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -1183,6 +1178,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.$isNotBlank(this.formData.invWarehouseCode)) |  |  |  |             if (this.$isNotBlank(this.formData.invWarehouseCode)) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.formData.invWarehouseCode = null; |  |  |  |                 this.formData.invWarehouseCode = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.findSubInvs(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         findSubInvs() { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.subInvList = []; |  |  |  |             this.subInvList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |             let query = { |  |  |  |             let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 pcode: this.formData.locStorageCode |  |  |  |                 pcode: this.formData.locStorageCode | 
			
		
	
	
		
		
			
				
					|  |  | @ -1190,13 +1189,15 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterSubByInv(query) |  |  |  |             filterSubByInv(query) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .then((response) => { |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     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; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     } |  |  |  |                     } | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }) |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         } | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     filters: {}, |  |  |  |     filters: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |     mounted() { |  |  |  |     mounted() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1208,7 +1209,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     created() { |  |  |  |     created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.getBusType("NOCODE"); |  |  |  |         this.getBusType("NOCODE"); | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.getStorage(); |  |  |  |         this.getStorage(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData = {noInvOut: false, locStorageCode: null, invWarehouseCode: null}; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeArray = []; |  |  |  |         this.codeArray = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.closeConfirmFunction(false); |  |  |  |         this.closeConfirmFunction(false); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.$isNotBlank(this.idQuery.id)) { |  |  |  |         if (this.$isNotBlank(this.idQuery.id)) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1220,10 +1220,16 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getStockOrderDetailList(); |  |  |  |             this.getStockOrderDetailList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData = { |  |  |  |             this.formData = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 billNo: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 billdate: "", |  |  |  |                 billdate: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |                 customerId: store.getters.customerId, |  |  |  |                 customerId: store.getters.customerId, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 billType: "", |  |  |  |                 billType: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |                 type: "2", |  |  |  |                 type: "2", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 corpName: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 corpId: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 noInvOut: "", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 locStorageCode: store.getters.locInvCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 invWarehouseCode: store.getters.locSubInvCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |             }; |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.iCount = 0; |  |  |  |             this.iCount = 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.orderEditor = false; |  |  |  |             this.orderEditor = false; | 
			
		
	
	
		
		
			
				
					|  |  | @ -1247,7 +1253,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | /** |  |  |  | /** | 
			
		
	
		
		
			
				
					
					|  |  |  | 解决el-input输入框 type=number时,输入中文光标上移问题 |  |  |  | 解决el-input输入框 type=number时,输入中文光标上移问题 | 
			
		
	
		
		
			
				
					
					|  |  |  |  */ |  |  |  |  */ | 
			
		
	
		
		
			
				
					
					|  |  |  | .el-input__inner{ |  |  |  | .el-input__inner { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     line-height: 1px !important; |  |  |  |     line-height: 1px !important; | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |