| 
					
				 | 
			
			
				@@ -69,7 +69,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         bordered> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- 销退单号 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="allocateReturnNo" slot-scope="text, record"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <a-button v-if="$hasPermissions('B_returnConfirmation_detail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.allocateReturnNo }}</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <a-button v-if="$hasPermissions('M_allocateReturnConfirmationDetail')" size="small" type="link" class="button-info" @click="handleDetail(record)">{{ record.allocateReturnNo }}</a-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <span v-else>{{ record.allocateReturnNo }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- 操作 --> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -77,7 +77,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             size="small" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             type="link" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            v-if="record.state=='WAIT_FINANCIAL_AUDIT' && $hasPermissions('B_returnConfirmation_return')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            v-if="record.state=='WAIT_FINANCIAL_AUDIT' && $hasPermissions('B_allocateReturnConfirmationAudit')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             class="button-warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @click="handleAudit(record)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             id="transferReturnConfirmation-audit-btn">退货确认</a-button> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -148,14 +148,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '退货总数量', dataIndex: 'totalQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '坏件数量', dataIndex: 'totalBadQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '返库数量', dataIndex: 'totalBackStockQty', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // { title: '退货总金额', dataIndex: 'totalPrice', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '退货总金额', dataIndex: 'totalPrice', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '确认时间', dataIndex: 'financeAuditTime', width: '11%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '状态', dataIndex: 'stateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '操作', scopedSlots: { customRender: 'action' }, width: '8%', align: 'center' } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (this.$hasPermissions('B_isShowPrice')) { //  售价权限 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        arr.splice(8, 0, { title: '退货总金额', dataIndex: 'totalPrice', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // if (this.$hasPermissions('B_isShowPrice')) { //  售价权限 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //   arr.splice(8, 0, { title: '退货总金额', dataIndex: 'totalPrice', width: '7%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return arr 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -181,7 +181,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // 详情 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handleDetail (row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if (!this.$hasPermissions('B_returnConfirmation_detail')) { return } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.itemSn = row.allocateReturnSn 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.openModal = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 |