| 
					
				 | 
			
			
				@@ -122,6 +122,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <span v-if="record.allocateTypeName">{{ record.allocateTypeName }}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <!-- 打印状态 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <template slot="printStateWord" slot-scope="text, record"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <span v-if="record.printState=='NO_PRINT'||record.printState=='PRINT'">{{record.printStateDictValue}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <span @click="handlePrint(record)" class="link-bule" v-else>{{record.printStateDictValue}}</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <!-- 操作 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="action" slot-scope="text, record"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <a-button 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -166,6 +171,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @close="visibleAudit=false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @ok="auditOrder('WAIT_OUT_WAREHOUSE')" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       @fail="auditOrder('AUDIT_REJECT')" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <!-- 打印状态 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <printModal v-drag :show="printIsShow" :info="printInfo" @cancel="printIsShow=false"></printModal> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </a-card> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -181,10 +188,11 @@ import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { allocateBillList, allocateBillDel, allocateBillAudit, allocateBillExport, allocateBillAblePrint } from '@/api/allocateBill' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import AllocateType from '@/views/common/allocateType.js' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { hdExportExcel } from '@/libs/exportExcel' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import printModal from './printStatusModal.vue' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: 'TransferOutList', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   mixins: [commonMixin], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  components: { STable, VSelect, basicInfoModal, rangeDate, auditModal, AllocateType, dealerSubareaScopeList }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  components: { STable, VSelect, basicInfoModal, printModal,rangeDate, auditModal, AllocateType, dealerSubareaScopeList }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       spinning: false, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -210,6 +218,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       disabled: false, //  查询、重置按钮是否可操作 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       exportLoading: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      printIsShow:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 加载数据方法 必须为 Promise 对象 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       loadData: parameter => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.disabled = true 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -231,10 +240,12 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       visibleAudit: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       auditInfo: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       spinningAudit: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      openModal: false //  新增编辑  弹框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      openModal: false ,//  新增编辑  弹框 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      printInfo:null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   computed: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // dataIndex: 'printStateDictValue',  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     columns () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const arr = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '序号', dataIndex: 'no', width: '3.5%', align: 'center' }, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -251,7 +262,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '费用类型', dataIndex: 'costTypeName', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '调拨类型', scopedSlots: { customRender: 'allocateType' }, width: '6%', align: 'center' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '业务状态', dataIndex: 'stateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { title: '打印状态', dataIndex: 'printStateDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { title: '打印状态', scopedSlots: { customRender: 'printStateWord' },width: '6%', align: 'center' }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '打印次数', dataIndex: 'printCount', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '对单状态', dataIndex: 'checkStatusDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -398,6 +409,18 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     setTableH () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const tableSearchH = this.$refs.tableSearch.offsetHeight 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.tableHeight = window.innerHeight - tableSearchH - 238 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handlePrint(item){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      let obj={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        no:item.allocateNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        targetName:item.targetName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        id:item.id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        printState:item.printState   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.printInfo=obj; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.$nextTick(()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         this.printIsShow = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   watch: { 
			 |