| 
					
				 | 
			
			
				@@ -467,11 +467,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                 :loading="saveLoading" @click="batchDeletefun" >一键删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     <el-button  size="small" type="primary" style="margin-right: 8px" :disabled="editSave" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                :loading="saveLoading" @click="Confirminvoicefun">禁止开票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                :loading="saveLoading" @click="Confirminvoicefun">是否确认开票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <el-button  size="small" type="warning" style="margin-right: 8px" :disabled="editSave" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                :loading="saveLoading" @click="Notinvoicingfun">是否撤销开票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     </el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <!--<el-button  size="small" type="primary" style="margin-right: 8px" :disabled="editSave"--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <!--            :loading="saveLoading" @click="Notinvoicingfun">不开发票--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    <!--</el-button>--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 <finstlbillsitems :tableData="tableData" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -557,7 +557,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         finstlbillsDetail, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         finstlbillslistAccBillV1, finstlbillsRevokeReconciliation, finstlbillsRevokeSignFor, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         finstlbillsSubmit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        finstlbillsitemsRemove, finstlbillslistAccBillByCorp 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        finstlbillsitemsRemove, finstlbillslistAccBillByCorp, finstlbillsConfirmInvoicing, finstlbillsRevokeInvoicing 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } from '@/api/iosBasicData/finstlbills' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     import expand from "@/components/basic-container/expand.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     import finstlbillsitems from "@/views/iosBasicData/finstlbills/assembly/finstlbillsitems.vue"; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -862,7 +862,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.lineNo = Number(index) + 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.pType = item.businessType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.accBillId = item.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        item.accBillNo = item.billNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.accDate = item.billDate 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (item.currentStlCurCode == 'CNY') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             item.currentStlAmount = item.currentStlAmountRMB 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1041,6 +1040,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.lineNo = Number(index) + 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         this.$set(item,'currentStlCurCode',item.curCode) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         this.$set(item,'currentStlExrate',item.exrate) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        item.accBillNo = item.billNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.billNo = item.businessBillDivideNo?item.businessBillDivideNo:item.businessBillNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         item.dc = item.accountDc // 收付 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if(item.curCode == 'CNY') { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1065,11 +1065,79 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 确认发票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Confirminvoicefun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (this.handleSelectionData.length === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$message.warning("请选择至少一条数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$confirm("确定将选择数据确认开票?", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    type: "warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }).then(()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.finstlbillsConfirmInvoicingfun() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 不开发票 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Notinvoicingfun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (this.handleSelectionData.length === 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$message.warning("请选择至少一条数据"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.$confirm("确定将选择数据撤销签收?", { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    confirmButtonText: "确定", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    cancelButtonText: "取消", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    type: "warning" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }).then(()=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.finstlbillsRevokeInvoicingfun() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 确认发票接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            finstlbillsConfirmInvoicingfun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.billNoFormat = 'HYDZ' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessTypeCode = 'HYDZ' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessType = 'CHK' //对账单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateFrom = this.form.accountDateFrom?this.form.accountDateFrom.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateTo = this.form.accountDateTo?this.form.accountDateTo.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateFrom = this.form.auditDateFrom?this.form.auditDateFrom.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateTo = this.form.auditDateTo?this.form.auditDateTo.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateEnd = this.form.businessDateEnd?this.form.businessDateEnd.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateStart = this.form.businessDateStart?this.form.businessDateStart.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.billDate = this.form.billDate?this.form.billDate.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                // 保留id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.finStlBillsItemsList = this.handleSelectionData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.pageLoading = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                finstlbillsConfirmInvoicing(this.form).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.pageLoading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$message.success('操作成功'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.finstlbillsDetailfun(res.data.data.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }).catch(err=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.pageLoading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // 撤销发票接口 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            finstlbillsRevokeInvoicingfun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.billNoFormat = 'HYDZ' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessTypeCode = 'HYDZ' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessType = 'CHK' // 对账单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateFrom = this.form.accountDateFrom?this.form.accountDateFrom.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateTo = this.form.accountDateTo?this.form.accountDateTo.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateFrom = this.form.auditDateFrom?this.form.auditDateFrom.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateTo = this.form.auditDateTo?this.form.auditDateTo.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateEnd = this.form.businessDateEnd?this.form.businessDateEnd.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateStart = this.form.businessDateStart?this.form.businessDateStart.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.billDate = this.form.billDate?this.form.billDate.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.finStlBillsItemsList = this.handleSelectionData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.pageLoading = true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                finstlbillsRevokeInvoicing(this.form).then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.pageLoading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.$message.success('操作成功'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.finstlbillsDetailfun(res.data.data.id) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }).catch(err=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.pageLoading = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 对账确认 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             finstlbillsConfirmReconciliationfun(){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1213,6 +1281,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.businessTypeCode = 'HYDZ' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.businessType = 'CHK' //对账单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateFrom = this.form.accountDateFrom?this.form.accountDateFrom.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateTo = this.form.accountDateTo?this.form.accountDateTo.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateFrom = this.form.auditDateFrom?this.form.auditDateFrom.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateTo = this.form.auditDateTo?this.form.auditDateTo.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateEnd = this.form.businessDateEnd?this.form.businessDateEnd.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateStart = this.form.businessDateStart?this.form.businessDateStart.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.billDate = this.form.billDate?this.form.billDate.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 // 保留id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.finStlBillsItemsList = this.handleSelectionData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.pageLoading = true 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1230,6 +1305,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.businessTypeCode = 'HYDZ' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.businessType = 'CHK' // 对账单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateFrom = this.form.accountDateFrom?this.form.accountDateFrom.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.accountDateTo = this.form.accountDateTo?this.form.accountDateTo.slice(0,10) + ' 00:00:00':null // 财务开始日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateFrom = this.form.auditDateFrom?this.form.auditDateFrom.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.auditDateTo = this.form.auditDateTo?this.form.auditDateTo.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateEnd = this.form.businessDateEnd?this.form.businessDateEnd.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.businessDateStart = this.form.businessDateStart?this.form.businessDateStart.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this.form.billDate = this.form.billDate?this.form.billDate.slice(0,10) + ' 00:00:00':null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.form.finStlBillsItemsList = this.handleSelectionData 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.pageLoading = true 
			 |