Cleanup some receiving cruft
This commit is contained in:
		
							parent
							
								
									6666857a0b
								
							
						
					
					
						commit
						31cebd28c2
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -101,7 +101,7 @@ | |||
|     <div v-if="shouldShowQuickReceive"> | ||||
|       <slot name="quick-receive"> | ||||
|         <!-- only show quick-receive if we have an identifiable product --> | ||||
|         <div v-if="shouldShowQuickReceive" class="buttons"> | ||||
|         <div class="buttons"> | ||||
|           <b-button v-if="row.quick_receive_all" | ||||
|                     type="is-primary" | ||||
|                     @click="addQuickAmount(row.quick_receive_quantity, row.quick_receive_uom)" | ||||
|  | @ -256,11 +256,9 @@ export default { | |||
|         }, | ||||
|         shouldShowQuickReceive() { | ||||
|             if (!this.row.quick_receive) { | ||||
|                 console.log("row says not to") | ||||
|                 return false | ||||
|             } | ||||
|             if (!this.row.product_uuid) { | ||||
|                 console.log("row has no product") | ||||
|                 return false | ||||
|             } | ||||
|             return true | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar