|  | @@ -19,7 +19,10 @@
 | 
	
		
			
				|  |  |  <!--          <span v-else>{{ scope.row.lockingQuantity }}</span>-->
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |          <template slot-scope="scope" slot="surplusRouteQuantity">
 | 
	
		
			
				|  |  | -          <span style="color: #409EFF;cursor: pointer" @click.stop="availableClick(scope.row,scope.index)">{{ scope.row.surplusRouteQuantity }}</span>
 | 
	
		
			
				|  |  | +          <span style="color: #409EFF;cursor: pointer" @click.stop="availableClick(scope.row,scope.index)">
 | 
	
		
			
				|  |  | +              <!--{{ scope.row.surplusRouteQuantity }}-->
 | 
	
		
			
				|  |  | +              {{Number(scope.row.balanceQuantity) - Number(scope.row.lockingQuantity)}}
 | 
	
		
			
				|  |  | +          </span>
 | 
	
		
			
				|  |  |          </template>
 | 
	
		
			
				|  |  |          <template slot="stockNameSearch">
 | 
	
		
			
				|  |  |            <warehouse-select v-model="search.storageId" :configuration="configurationWarehouse" />
 | 
	
	
		
			
				|  | @@ -212,10 +215,12 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      rowCell(row, index) {
 | 
	
		
			
				|  |  |        if (JSON.parse(localStorage.getItem("saber-userInfo")).content.account === "admin"){
 | 
	
		
			
				|  |  | -        this.findObject(this.option.column, "lockingQuantity").cell = true
 | 
	
		
			
				|  |  | +        // this.findObject(this.option.column, "lockingQuantity").cell = true
 | 
	
		
			
				|  |  | +          row.surplusRouteQuantity = Number(row.balanceQuantity) - Number(row.lockingQuantity)
 | 
	
		
			
				|  |  |          this.$refs.crud.rowCell(row, index)
 | 
	
		
			
				|  |  |        }else {
 | 
	
		
			
				|  |  | -        this.findObject(this.option.column, "lockingQuantity").cell = false
 | 
	
		
			
				|  |  | +        // this.findObject(this.option.column, "lockingQuantity").cell = false
 | 
	
		
			
				|  |  | +          row.surplusRouteQuantity = Number(row.balanceQuantity) - Number(row.lockingQuantity)
 | 
	
		
			
				|  |  |          this.$refs.crud.rowCell(row, index)
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 |