|  | @@ -2675,14 +2675,15 @@ export default {
 | 
	
		
			
				|  |  |              this.$set(list[item], 'storageId', res.data.data[0].storageId)
 | 
	
		
			
				|  |  |              this.$set(list[item], 'storageName', res.data.data[0].storageName)
 | 
	
		
			
				|  |  |              this.$set(list[item], 'storageQuantity', res.data.data[0].surplusRouteQuantity)
 | 
	
		
			
				|  |  | +            //12345
 | 
	
		
			
				|  |  |              if (res.data.data[0].tenantId !== "681169") {
 | 
	
		
			
				|  |  |                this.$set(list[item], 'purchaseAmount', res.data.data[0].stockPrice)
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            if (listLength != 0) {
 | 
	
		
			
				|  |  |              this.$set(buyFree[item], 'storageQuantityList', res.data.data)
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |            this.$set(list[item], 'goodType', 0)
 | 
	
		
			
				|  |  |            this.$set(list[item], 'itemType', list[item].typeno)
 | 
	
		
			
				|  |  |            this.$set(list[item], 'actualQuantity', 0)
 | 
	
	
		
			
				|  | @@ -2715,6 +2716,7 @@ export default {
 | 
	
		
			
				|  |  |              this.$set(buyFree[item], 'integral', 0)
 | 
	
		
			
				|  |  |              this.$set(buyFree[item], 'shopQuality', 0)
 | 
	
		
			
				|  |  |              this.$set(buyFree[item], 'goodType', 0)
 | 
	
		
			
				|  |  | +            console.log(list[item].code);
 | 
	
		
			
				|  |  |              this.maxGoodsNum++
 | 
	
		
			
				|  |  |              delete buyFree[item].id
 | 
	
		
			
				|  |  |              delete buyFree[item].pid
 | 
	
	
		
			
				|  | @@ -2735,6 +2737,18 @@ export default {
 | 
	
		
			
				|  |  |            delete list[item].updateUserName
 | 
	
		
			
				|  |  |            this.maxGoodsNum++
 | 
	
		
			
				|  |  |            this.$refs.crudContact.rowCellAdd(list[item]);
 | 
	
		
			
				|  |  | +          getPurchasePrice({code:list[item].code }).then(rest => {
 | 
	
		
			
				|  |  | +            console.log(rest);
 | 
	
		
			
				|  |  | +            if (rest.data.data.length > 0) {
 | 
	
		
			
				|  |  | +              this.$refs.crudContact.list[item].purchaseRebatePrice =  rest.data.data[0].purchaseRebatePrice
 | 
	
		
			
				|  |  | +              // this.$set(list[item], 'purchaseRebatePrice', rest.data.data[0].purchaseRebatePrice)
 | 
	
		
			
				|  |  | +            }else{
 | 
	
		
			
				|  |  | +              // this.$set(list[item], 'purchaseRebatePrice', 0)
 | 
	
		
			
				|  |  | +              this.$refs.crudContact.list[item].purchaseRebatePrice =  rest.data.data[0].purchaseRebatePrice
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  | +          console.log(this.$refs.crudContact);
 | 
	
		
			
				|  |  |            this.$nextTick(() => {
 | 
	
		
			
				|  |  |              this.quantityChange(list[item])
 | 
	
		
			
				|  |  |            })
 |