| 
					
				 | 
			
			
				@@ -8,7 +8,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span style="margin: 0 15px;color: #666;">客户名称:{{ detailData&&detailData.buyerName }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div style="width:420px;display:inline-block;color: #666;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <span>出库仓库:</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <chooseWarehouse style="width:80%" ref="warehouse" @change="handleWarehouse"></chooseWarehouse> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <chooseWarehouse style="width:80%" ref="warehouse" v-model="warehouseSn" @change="handleWarehouse"></chooseWarehouse> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </a-page-header> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -247,8 +247,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       dataSource: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       productForm: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         salesBillSn: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        promotionFlag: 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        promotionFlag: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        warehouseSn: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      warehouseSn: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       activeName: '', // 促销活动 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       nowData: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 加载数据方法 必须为 Promise 对象 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -303,6 +305,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // 选择仓库 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleWarehouse (val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.warehouseSn = val 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleMenuClick (e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (e.key == 1) { // 删除已选项 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.handleBatchDel() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -584,6 +590,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getOrderDetail(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs.table.refresh(true) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.salesBillSn = this.$route.params.sn 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.warehouseSn = this.$route.params.sn ? this.$route.params.wSn : '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 获取促销活动 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.getPromoacActiveList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |