|  |  | @ -65,22 +65,27 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div class="top-right-btn"> |  |  |  |       <div class="top-right-btn"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-button-group style="width: 600px"> |  |  |  |         <el-button-group style="width: 600px"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch" |  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >显示/隐藏搜索栏</el-button |  |  |  |           >显示/隐藏搜索栏 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" icon="el-icon-refresh" @click="onReset" |  |  |  |           <el-button type="primary" icon="el-icon-refresh" @click="onReset" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >重置</el-button |  |  |  |           >重置 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" icon="el-icon-search" @click="search" |  |  |  |           <el-button type="primary" icon="el-icon-search" @click="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >查询</el-button |  |  |  |           >查询 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" icon="el-icon-plus" @click="handleAddClick" |  |  |  |           <el-button type="primary" icon="el-icon-plus" @click="handleAddClick" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >新增</el-button |  |  |  |           >新增 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button |  |  |  |           <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |             type="primary" |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |             icon="el-icon-download" |  |  |  |             icon="el-icon-download" | 
			
		
	
		
		
			
				
					
					|  |  |  |             @click="exportJsonFile" |  |  |  |             @click="exportJsonFile" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >导出单据类型</el-button |  |  |  |           >导出单据类型 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-upload |  |  |  |           <el-upload | 
			
		
	
		
		
			
				
					
					|  |  |  |             :action="uploadFileUrl" |  |  |  |             :action="uploadFileUrl" | 
			
		
	
	
		
		
			
				
					|  |  | @ -92,7 +97,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             :file-list="fileList" |  |  |  |             :file-list="fileList" | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button icon="el-icon-upload2" type="primary" |  |  |  |             <el-button icon="el-icon-upload2" type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |               >导入单据类型</el-button |  |  |  |             >导入单据类型 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-upload> |  |  |  |           </el-upload> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-button-group> |  |  |  |         </el-button-group> | 
			
		
	
	
		
		
			
				
					|  |  | @ -139,13 +145,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button |  |  |  |             <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |               type="text" |  |  |  |               type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click.native.stop="handleModifyClick(scope.row)" |  |  |  |               @click.native.stop="handleModifyClick(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |               >编辑 |  |  |  |             >编辑 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-button> |  |  |  |             </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button |  |  |  |             <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |               type="text" |  |  |  |               type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |               :disabled="!configParams.typeScan" |  |  |  |               :disabled="!configParams.typeScan" | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click.native.stop="deleteDialog(scope.row)" |  |  |  |               @click.native.stop="deleteDialog(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |               >删除 |  |  |  |             >删除 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             </el-button> |  |  |  |             </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table-column> |  |  |  |         </el-table-column> | 
			
		
	
	
		
		
			
				
					|  |  | @ -165,9 +171,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div slot="footer" class="dialog-footer"> |  |  |  |         <div slot="footer" class="dialog-footer"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <!--           :disabled="!configParams.typeScan"--> |  |  |  |           <!--           :disabled="!configParams.typeScan"--> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" size="small" @click="onAddSubmit" |  |  |  |           <el-button type="primary" size="small" @click="onAddSubmit" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >提交 |  |  |  |           >提交 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |           </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button size="small" @click="cancelDialog">取消 </el-button> |  |  |  |           <el-button size="small" @click="cancelDialog">取消</el-button> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-dialog> |  |  |  |       </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -191,14 +197,14 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             icon="search" |  |  |  |             icon="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |             @click="onModifySubmit" |  |  |  |             @click="onModifySubmit" | 
			
		
	
		
		
			
				
					
					|  |  |  |             :disabled="!configParams.typeScan" |  |  |  |             :disabled="!configParams.typeScan" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >提交 |  |  |  |           >提交 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |           </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button |  |  |  |           <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |             type="primary" |  |  |  |             type="primary" | 
			
		
	
		
		
			
				
					
					|  |  |  |             size="small" |  |  |  |             size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |             icon="search" |  |  |  |             icon="search" | 
			
		
	
		
		
			
				
					
					|  |  |  |             @click="cancelDialog" |  |  |  |             @click="cancelDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >取消 |  |  |  |           >取消 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |           </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-dialog> |  |  |  |       </el-dialog> | 
			
		
	
	
		
		
			
				
					|  |  | @ -224,8 +230,8 @@ import { | 
			
		
	
		
		
			
				
					
					|  |  |  | import modifyDialog from "./bussinessTypeModify"; |  |  |  | import modifyDialog from "./bussinessTypeModify"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import axios from "axios"; |  |  |  | import axios from "axios"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import store from "@/store"; |  |  |  | import store from "@/store"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { findConfig } from "@/api/sync/spsSyncStatus"; |  |  |  | import {findConfig} from "@/api/sync/spsSyncStatus"; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | import { isBlank } from "@/utils/strUtil"; |  |  |  | import {isBlank} from "@/utils/strUtil"; | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   data() { |  |  |  |   data() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -312,6 +318,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         checkVailDate: 0, //校验近效期 |  |  |  |         checkVailDate: 0, //校验近效期 | 
			
		
	
		
		
			
				
					
					|  |  |  |         checkExpire: true, //校验过期 |  |  |  |         checkExpire: true, //校验过期 | 
			
		
	
		
		
			
				
					
					|  |  |  |         checkCertExpire: false, //校验证书过期 |  |  |  |         checkCertExpire: false, //校验证书过期 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         editType: 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       enableMap: { |  |  |  |       enableMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         true: "是", |  |  |  |         true: "是", | 
			
		
	
	
		
		
			
				
					|  |  | @ -490,7 +497,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           const binaryData = []; |  |  |  |           const binaryData = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |           binaryData.push(response); |  |  |  |           binaryData.push(response); | 
			
		
	
		
		
			
				
					
					|  |  |  |           let url = window.URL.createObjectURL( |  |  |  |           let url = window.URL.createObjectURL( | 
			
		
	
		
		
			
				
					
					|  |  |  |             new Blob(binaryData, { type: "application/json" }) |  |  |  |             new Blob(binaryData, {type: "application/json"}) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           ); |  |  |  |           ); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |           const eleLink = document.createElement("a"); |  |  |  |           const eleLink = document.createElement("a"); | 
			
		
	
	
		
		
			
				
					|  |  | @ -579,6 +586,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         checkVailDate: 0, //校验近效期 |  |  |  |         checkVailDate: 0, //校验近效期 | 
			
		
	
		
		
			
				
					
					|  |  |  |         checkExpire: 2, //校验过期 |  |  |  |         checkExpire: 2, //校验过期 | 
			
		
	
		
		
			
				
					
					|  |  |  |         checkCertExpire: 0, //校验证书过期 |  |  |  |         checkCertExpire: 0, //校验证书过期 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         editType: 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |         backPreinType: 1, |  |  |  |         backPreinType: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         sortNum: 999, |  |  |  |         sortNum: 999, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
	
		
		
			
				
					|  |  | @ -599,7 +607,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then(() => { |  |  |  |         .then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.deleteOrders(rowId); |  |  |  |           this.deleteOrders(rowId); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => {}); |  |  |  |         .catch(() => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteOrders(data) { |  |  |  |     deleteOrders(data) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -619,7 +628,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message); |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => {}); |  |  |  |         .catch(() => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleChange(response, files, fileList) { |  |  |  |     handleChange(response, files, fileList) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (response.code != 20000) { |  |  |  |       if (response.code != 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -644,13 +654,15 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.configParams = response.data; |  |  |  |             this.configParams = response.data; | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => {}); |  |  |  |         .catch(() => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: { |  |  |  |   components: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     modifyDialog, |  |  |  |     modifyDialog, | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   mounted() {}, |  |  |  |   mounted() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.init(); |  |  |  |     this.init(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.getSyncConfig(); |  |  |  |     this.getSyncConfig(); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |