| 
					
				 | 
			
			
				@@ -266,7 +266,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const arr = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '序号', key: "a", field: 'no', width: '5%', align: 'center', operationColumn: false }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '产品编码',key: "b", field: 'productCode', width: '10%', align: 'center', operationColumn: false}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '产品名称',key: "c", field: 'productName', width: '35%', align: 'center', operationColumn: false,ellipsis: {showTitle: true} }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '产品名称',key: "c", field: 'productName', width: '25%', align: 'center', operationColumn: false,ellipsis: {showTitle: true} }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '可用库存',key: "j", field: 'currentStockQty', width: '10%', align: 'center', operationColumn: false}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '采购数量',key: "d", width: '10%', align: 'center', operationColumn: false,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         renderBodyCell: ({ row, column, rowIndex }, h) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return <qtyComp row={row} column={column} rowIndex={rowIndex} that={_this} /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -278,7 +279,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.$hasPermissions('M_ShowAllCost')) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        arr.splice(3, 0, { title: '采购单价',key: "h", field: 'discountedPriceText', width: '10%', align: 'right', operationColumn: false}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        arr.splice(4, 0, { title: '采购单价',key: "h", field: 'discountedPriceText', width: '10%', align: 'right', operationColumn: false}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         arr.splice(6, 0, { title: '采购金额',key: "i", field: 'discountedAmountText', width: '10%', align: 'right', operationColumn: false}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return arr 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -313,6 +314,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             row.productUnit = row.dealerProductEntity.unit || '--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             row.discountedPriceText = (row.discountedPrice||row.discountedPrice==0)?this.toThousands(row.discountedPrice, 2):'--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             row.discountedAmountText = (row.discountedAmount||row.discountedAmount==0)?this.toThousands(row.discountedAmount, 2):'--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            row.currentStockQty = (row.currentStockQty||row.currentStockQty==0)?row.currentStockQty:'--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.localDataSource = data.list 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.disabled = false 
			 |