|  | @@ -52,7 +52,7 @@
 | 
	
		
			
				|  |  |            align="center"
 | 
	
		
			
				|  |  |            label="状态">
 | 
	
		
			
				|  |  |            <template slot-scope="scope">
 | 
	
		
			
				|  |  | -            <span>{{scope.row.state?optionsState[Number(scope.row.state) - 3].value:''}}</span>
 | 
	
		
			
				|  |  | +            <span>{{scope.row.state?find(optionsState, function(o) { return o.code == scope.row.state }).value:''}}</span>
 | 
	
		
			
				|  |  |            </template>
 | 
	
		
			
				|  |  |          </el-table-column>
 | 
	
		
			
				|  |  |          <el-table-column
 | 
	
	
		
			
				|  | @@ -87,6 +87,7 @@
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |    import Detail from './product-detail'
 | 
	
		
			
				|  |  |    import { getProductByCode } from '@/api/trace'
 | 
	
		
			
				|  |  | +  import find from 'lodash/find'
 | 
	
		
			
				|  |  |    export default {
 | 
	
		
			
				|  |  |      name: 'product-list',
 | 
	
		
			
				|  |  |      components: {Detail},
 | 
	
	
		
			
				|  | @@ -195,7 +196,8 @@
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        closeDialogEvent () {
 | 
	
		
			
				|  |  |          this.detailsVisible = false
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | +      },
 | 
	
		
			
				|  |  | +      find
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  </script>
 |