| 
					
				 | 
			
			
				@@ -163,7 +163,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               const productUnit = data.list[i].productUnit || '--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               const productPackQtyUnit = data.list[i].productPackQtyUnit || '--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               data.list[i].packQtyV = productPackQty + productUnit + '/' + productPackQtyUnit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              data.list[i].unitQtyV = data.list[i].unitQty ? (data.list[i].unitQty + data.list[i].productUnit) : '--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              if(data.list[i].unitType=='SL'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                data.list[i].unitQtyV = data.list[i].unitQty ? (data.list[i].unitQty + data.list[i].productUnit) : '--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                data.list[i].unitQtyV = data.list[i].productPackQty&&data.list[i].unitQty ? ((data.list[i].productPackQty*data.list[i].unitQty) + data.list[i].productUnit) : '--' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.disabled = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -183,13 +187,19 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '库存数量', dataIndex: 'currentStockQty', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // { title: '售价', dataIndex: 'productPrice', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '包装数', dataIndex: 'packQtyV', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '起订量', dataIndex: 'unitQtyV', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // { title: '起订量', dataIndex: 'unitQtyV', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '下单数量', dataIndex: 'salesNums', scopedSlots: { customRender: 'nums' }, width: '8%', align: 'center' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '单位', dataIndex: 'productUnit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let idx = 6 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (this.$hasPermissions('B_salesEdit_salesPrice')) { // 售价权限 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        arr.splice(6, 0, { title: '售价', dataIndex: 'productPrice', width: '8%', align: 'right', scopedSlots: { customRender: 'productPrice' } }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        arr.splice(idx, 0, { title: '售价', dataIndex: 'productPrice', width: '8%', align: 'right', scopedSlots: { customRender: 'productPrice' } }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        idx = idx + 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 促销品没有起订量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(this.promoProductClz != 'GIFT'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        arr.splice(idx+1, 0,{ title: '起订量', dataIndex: 'unitQtyV', width: '8%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return arr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -208,7 +218,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 切换tab 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    changeTab(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    changeTab(e){  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.promoProductClz = e 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.resetSearchForm() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 |