|  | @@ -158,7 +158,8 @@ import { UploadFilled } from '@element-plus/icons-vue'
 | 
	
		
			
				|  |  |  import * as XLSX from 'xlsx'
 | 
	
		
			
				|  |  |  import type { FormInstance, FormRules } from 'element-plus'
 | 
	
		
			
				|  |  |  import { IPoItem, IOptionItem } from '../inteface'
 | 
	
		
			
				|  |  | -import request from '@/utils/axios'
 | 
	
		
			
				|  |  | +// import request from '@/utils/axios'
 | 
	
		
			
				|  |  | +import utils from '@/utils/index'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const props = defineProps({
 | 
	
		
			
				|  |  |    visible: {
 | 
	
	
		
			
				|  | @@ -280,6 +281,14 @@ const processExcel = (event: any) => {
 | 
	
		
			
				|  |  |            data.Sheets[data.SheetNames[0]],
 | 
	
		
			
				|  |  |          ) as IPoItem[]
 | 
	
		
			
				|  |  |          jsonData.forEach((i) => {
 | 
	
		
			
				|  |  | +          i.unit_price = utils.toFixed(Number(i.unit_price || 0), 1000)
 | 
	
		
			
				|  |  | +          i.quantity = utils.toFixed(Number(i.quantity || 0), 1000)
 | 
	
		
			
				|  |  | +          i.sample_fee = utils.toFixed(Number(i.sample_fee || 0), 1000)
 | 
	
		
			
				|  |  | +          i.setup_service_fee = utils.toFixed(
 | 
	
		
			
				|  |  | +            Number(i.setup_service_fee || 0),
 | 
	
		
			
				|  |  | +            1000,
 | 
	
		
			
				|  |  | +          )
 | 
	
		
			
				|  |  | +          i.total = utils.toFixed(Number(i.total || 0), 1000)
 | 
	
		
			
				|  |  |            tableData.value.push(i)
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |          // tableData.value = tableData.value.concat(jsonData)
 |