| 
					
				 | 
			
			
				@@ -5,13 +5,48 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- 自定义的二级文字标题 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="subTitle"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a id="salesReturnEdit-back-btn" href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <span style="margin: 0 15px;color: #666;">客户名称:{{ ordeDetail&&ordeDetail.buyerNameCurrent?ordeDetail.buyerName?ordeDetail.buyerNameCurrent==ordeDetail.buyerName?ordeDetail.buyerNameCurrent:ordeDetail.buyerNameCurrent+'('+ordeDetail.buyerName+')':ordeDetail.buyerNameCurrent:'--' }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <span style="margin: 0 15px;color: #666;font-size: 18px;font-weight: 600;">退货单号:{{ ordeDetail&&ordeDetail.salesReturnNo||'--' }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <a-button type="primary" ghost @click="isShowBisiceInfo=!isShowBisiceInfo" style="margin-left:10px;vertical-align:middle;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            基础信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <a-icon :type="isShowBisiceInfo ? 'up' : 'down'"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="handleEditCustom" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            style="margin-left:10px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            class="button-info" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            key="0"> <a-icon type="edit"></a-icon> 编辑</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- 操作区,位于 title 行的行尾 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="extra" v-if="$hasPermissions('B_salesReturnPrint')"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <Print :disabled="chooseLoadData.length==0" @handlePrint="handlePrint"></Print> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </a-page-header> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <!-- 基础信息 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <a-card size="small" :bordered="false" v-show="isShowBisiceInfo" class="pages-wrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         <a-collapse :activeKey="['1']"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           <a-collapse-panel key="1" header="基础信息"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             <a-descriptions size="small" :column="3"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="客户名称">{{ ordeDetail&&ordeDetail.buyerNameCurrent?ordeDetail.buyerName?ordeDetail.buyerName==ordeDetail.buyerNameCurrent?ordeDetail.buyerNameCurrent:ordeDetail.buyerNameCurrent+'('+ordeDetail.buyerName+')':ordeDetail.buyerNameCurrent:'--' }}</a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="客户地址"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 <div v-if="ordeDetail&&(ordeDetail.provinceName || ordeDetail.cityName || ordeDetail.countyName || ordeDetail.customerAddr)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   {{ ordeDetail&&ordeDetail.provinceName || '' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   {{ ordeDetail&&ordeDetail.cityName || '' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   {{ ordeDetail&&ordeDetail.countyName || '' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   {{ ordeDetail&&ordeDetail.customerAddr || '' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 <span v-else>--</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               </a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="联系电话">{{ ordeDetail&&ordeDetail.contactTel || '--' }}</a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="退货单号">{{ ordeDetail&&ordeDetail.salesReturnNo || '--' }}</a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="业务状态">{{ ordeDetail&&ordeDetail.stateDictValue || '--' }}</a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="是否抓单">{{ ordeDetail&&ordeDetail.grabFlag==1?'抓单':'不抓单' }}</a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               <a-descriptions-item label="备注">{{ ordeDetail&&ordeDetail.remarks || '--' }}</a-descriptions-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             </a-descriptions> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           </a-collapse-panel> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         </a-collapse> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </a-card> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <a-card size="small" :bordered="false" class="pages-wrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- 查询配件列表 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <queryPart 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -174,7 +209,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </a-spin> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- <div class="affix-cont"></div> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- 选择客户弹框 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <choose-custom-modal :show="openModal" @ok="chooseCustomOk" @cancel="openModal=false"></choose-custom-modal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <choose-custom-modal ref="editCustomModal" :show="openModal" @ok="chooseCustomOk" @cancel="openModal=false"></choose-custom-modal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -266,7 +301,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      printerType: 'NEEDLE' //  打印机类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      printerType: 'NEEDLE' ,//  打印机类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isShowBisiceInfo: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -278,6 +314,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     chooseCustomOk (data) {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleEditCustom () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.openModal = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$refs.editCustomModal.editCust(this.ordeDetail) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 已选产品  blur 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     onCellBlur (val, record, type) { 
			 |