|  |  |  | @ -1,112 +1,114 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <template> | 
			
		
	
		
			
				
					|  |  |  |  |   <div> | 
			
		
	
		
			
				
					|  |  |  |  |     <el-form :inline="true" :model="query" class="query-form" size="mini"> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-input v-model="filterQuery.genKey" placeholder="记录ID"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |     <div> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form :inline="true" :model="query" class="query-form" size="mini"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-input v-model="filterQuery.genKey" placeholder="记录ID"></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-select v-model="filterQuery.status" placeholder="处理状态"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="全部" value=""></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="处理中" value="0"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="已处理" value="1"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="异常" value="2"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button-group style="display:flex;"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button type="primary" icon="search" @click="getList">查询</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-form> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-select v-model="filterQuery.status" placeholder="处理状态"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="全部" value=""></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="处理中" value="0"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="已处理" value="1"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="异常" value="2"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button-group style="display:flex;"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button type="primary" icon="search" @click="getList">查询</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-row> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <el-table | 
			
		
	
		
			
				
					|  |  |  |  |         v-loading="loading" | 
			
		
	
		
			
				
					|  |  |  |  |         :data="list" | 
			
		
	
		
			
				
					|  |  |  |  |         style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |  |     > | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="记录ID" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="genKey" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |       ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table | 
			
		
	
		
			
				
					|  |  |  |  |             v-loading="loading" | 
			
		
	
		
			
				
					|  |  |  |  |             :data="list" | 
			
		
	
		
			
				
					|  |  |  |  |             style="width: 100%" | 
			
		
	
		
			
				
					|  |  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |                 label="记录ID" | 
			
		
	
		
			
				
					|  |  |  |  |                 prop="genKey" | 
			
		
	
		
			
				
					|  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="来源" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="fromType" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="更新日期" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="updateTime" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |       ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |           label="状态" | 
			
		
	
		
			
				
					|  |  |  |  |           prop="status" | 
			
		
	
		
			
				
					|  |  |  |  |           show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |  |         <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-tag | 
			
		
	
		
			
				
					|  |  |  |  |               :type="statusFilterType(scope.row.status)" | 
			
		
	
		
			
				
					|  |  |  |  |           >{{ status[scope.row.status] }} | 
			
		
	
		
			
				
					|  |  |  |  |           </el-tag | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |         </template> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table-column label="操作" fixed="right" width="160"> | 
			
		
	
		
			
				
					|  |  |  |  |         <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button | 
			
		
	
		
			
				
					|  |  |  |  |               type="text" | 
			
		
	
		
			
				
					|  |  |  |  |               size="small" | 
			
		
	
		
			
				
					|  |  |  |  |               @click.native.stop="handleDetailClick(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |           >详情 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button | 
			
		
	
		
			
				
					|  |  |  |  |               type="text" | 
			
		
	
		
			
				
					|  |  |  |  |               size="small" | 
			
		
	
		
			
				
					|  |  |  |  |               @click.native.stop="deleteDialog(scope.row.id)" | 
			
		
	
		
			
				
					|  |  |  |  |           >删除 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |                 label="来源" | 
			
		
	
		
			
				
					|  |  |  |  |                 prop="fromType" | 
			
		
	
		
			
				
					|  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |                 label="更新日期" | 
			
		
	
		
			
				
					|  |  |  |  |                 prop="updateTime" | 
			
		
	
		
			
				
					|  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column | 
			
		
	
		
			
				
					|  |  |  |  |                 label="状态" | 
			
		
	
		
			
				
					|  |  |  |  |                 prop="status" | 
			
		
	
		
			
				
					|  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |                 <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-tag | 
			
		
	
		
			
				
					|  |  |  |  |                         :type="statusFilterType(scope.row.status)" | 
			
		
	
		
			
				
					|  |  |  |  |                     >{{ status[scope.row.status] }} | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-tag | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  |                 </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table-column label="操作" fixed="right" width="160"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--          <el-button--> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--              type="text"--> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--              size="small"--> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--              @click.native.stop="handleDetailClick(scope.row)"--> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--          >详情--> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--          </el-button--> | 
			
		
	
		
			
				
					|  |  |  |  |                     <!--          >--> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button | 
			
		
	
		
			
				
					|  |  |  |  |               type="text" | 
			
		
	
		
			
				
					|  |  |  |  |               size="small" | 
			
		
	
		
			
				
					|  |  |  |  |               :disabled="scope.row.status === 3" | 
			
		
	
		
			
				
					|  |  |  |  |               @click.native.stop="uploadDialog(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |           >上传 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |         </template> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                         type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                         size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                         :disabled="scope.row.status === 3" | 
			
		
	
		
			
				
					|  |  |  |  |                         @click.native.stop="uploadDialog(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                     >上传自助平台 | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                         type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                         size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                         @click.native.stop="deleteDialog(scope.row.id)" | 
			
		
	
		
			
				
					|  |  |  |  |                     >删除 | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |         title="器械信息导入详情" | 
			
		
	
		
			
				
					|  |  |  |  |         :visible.sync="udiImportDetailVisible" | 
			
		
	
		
			
				
					|  |  |  |  |         :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |         :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |         width="85%" | 
			
		
	
		
			
				
					|  |  |  |  |         v-if="udiImportDetailVisible" | 
			
		
	
		
			
				
					|  |  |  |  |     > | 
			
		
	
		
			
				
					|  |  |  |  |       <udiInfoImportDetail :currentRow="currentRow" :closeDialog="cancelDialog"></udiInfoImportDetail> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  |                 </template> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |         :page-size="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |         @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |         layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |         :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |     ></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |   </div> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |             title="器械信息导入详情" | 
			
		
	
		
			
				
					|  |  |  |  |             :visible.sync="udiImportDetailVisible" | 
			
		
	
		
			
				
					|  |  |  |  |             :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |             :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |             width="85%" | 
			
		
	
		
			
				
					|  |  |  |  |             v-if="udiImportDetailVisible" | 
			
		
	
		
			
				
					|  |  |  |  |         > | 
			
		
	
		
			
				
					|  |  |  |  |             <udiInfoImportDetail :currentRow="currentRow" :closeDialog="cancelDialog"></udiInfoImportDetail> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |             :page-size="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |             @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |             layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |             :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |         ></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |  | </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
	
		
			
				
					|  |  |  | @ -114,200 +116,200 @@ import {filterDetail, filterLog, deleteLog, uploadSmp} from "../../api/sync/udii | 
			
		
	
		
			
				
					|  |  |  |  | import udiInfoImportDetail from "./UdiInfoImportDetail"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |  |       filterQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |         genKey: null, | 
			
		
	
		
			
				
					|  |  |  |  |         status: null, | 
			
		
	
		
			
				
					|  |  |  |  |         fromType: null, | 
			
		
	
		
			
				
					|  |  |  |  |         dataType: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk: null, | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       udiImportDetailVisible: false, | 
			
		
	
		
			
				
					|  |  |  |  |       checked: false, | 
			
		
	
		
			
				
					|  |  |  |  |       list: [], | 
			
		
	
		
			
				
					|  |  |  |  |       detailList: [], | 
			
		
	
		
			
				
					|  |  |  |  |       thirdSys: [], | 
			
		
	
		
			
				
					|  |  |  |  |       thirdSysDetail: null, | 
			
		
	
		
			
				
					|  |  |  |  |       total: 0, | 
			
		
	
		
			
				
					|  |  |  |  |       currentRow: null, | 
			
		
	
		
			
				
					|  |  |  |  |       editQuery: null, | 
			
		
	
		
			
				
					|  |  |  |  |       fromStatus: { | 
			
		
	
		
			
				
					|  |  |  |  |         0: "产品信息", | 
			
		
	
		
			
				
					|  |  |  |  |         1: "库存信息", | 
			
		
	
		
			
				
					|  |  |  |  |         2: "异常第三方上传" | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       status: { | 
			
		
	
		
			
				
					|  |  |  |  |         0: "等待上传", | 
			
		
	
		
			
				
					|  |  |  |  |         1: "等待上传", | 
			
		
	
		
			
				
					|  |  |  |  |         2: "上传失败", | 
			
		
	
		
			
				
					|  |  |  |  |         3: "上传完成" | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       uploadFileUrl: null, | 
			
		
	
		
			
				
					|  |  |  |  |       uploadData: { | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSys: "thirdId", | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       templateDlUrl: null, | 
			
		
	
		
			
				
					|  |  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |  |     onReset() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.$router.push({ | 
			
		
	
		
			
				
					|  |  |  |  |         path: "", | 
			
		
	
		
			
				
					|  |  |  |  |       }); | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |         fromType: null, | 
			
		
	
		
			
				
					|  |  |  |  |         genKey: null, | 
			
		
	
		
			
				
					|  |  |  |  |         status: null, | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |         dataType: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk: null, | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     getList() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       filterLog(this.filterQuery) | 
			
		
	
		
			
				
					|  |  |  |  |           .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.list = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |             this.total = response.data.total || 0; | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |             this.total = 0; | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     handleDetailClick(row) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.currentRow = row; | 
			
		
	
		
			
				
					|  |  |  |  |       console.log(this.currentRow.genKey) | 
			
		
	
		
			
				
					|  |  |  |  |       this.udiImportDetailVisible = true; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     cancelDialog() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.udiImportDetailVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleCurrentChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery.page = val; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     data() { | 
			
		
	
		
			
				
					|  |  |  |  |         return { | 
			
		
	
		
			
				
					|  |  |  |  |             filterQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |                 genKey: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 status: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 fromType: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 dataType: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdSysFk: null, | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             udiImportDetailVisible: false, | 
			
		
	
		
			
				
					|  |  |  |  |             checked: false, | 
			
		
	
		
			
				
					|  |  |  |  |             list: [], | 
			
		
	
		
			
				
					|  |  |  |  |             detailList: [], | 
			
		
	
		
			
				
					|  |  |  |  |             thirdSys: [], | 
			
		
	
		
			
				
					|  |  |  |  |             thirdSysDetail: null, | 
			
		
	
		
			
				
					|  |  |  |  |             total: 0, | 
			
		
	
		
			
				
					|  |  |  |  |             currentRow: null, | 
			
		
	
		
			
				
					|  |  |  |  |             editQuery: null, | 
			
		
	
		
			
				
					|  |  |  |  |             fromStatus: { | 
			
		
	
		
			
				
					|  |  |  |  |                 0: "产品信息", | 
			
		
	
		
			
				
					|  |  |  |  |                 1: "库存信息", | 
			
		
	
		
			
				
					|  |  |  |  |                 2: "异常第三方上传" | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             status: { | 
			
		
	
		
			
				
					|  |  |  |  |                 0: "等待上传", | 
			
		
	
		
			
				
					|  |  |  |  |                 1: "等待上传", | 
			
		
	
		
			
				
					|  |  |  |  |                 2: "上传失败", | 
			
		
	
		
			
				
					|  |  |  |  |                 3: "上传完成" | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             uploadFileUrl: null, | 
			
		
	
		
			
				
					|  |  |  |  |             uploadData: { | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdSys: "thirdId", | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             templateDlUrl: null, | 
			
		
	
		
			
				
					|  |  |  |  |         }; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     uploadDialog(row) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.$confirm("是否确定上传至供应商平台?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning" | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |           .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             let query = { | 
			
		
	
		
			
				
					|  |  |  |  |               genKey: row.genKey, | 
			
		
	
		
			
				
					|  |  |  |  |     methods: { | 
			
		
	
		
			
				
					|  |  |  |  |         onReset() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$router.push({ | 
			
		
	
		
			
				
					|  |  |  |  |                 path: "", | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |             this.filterQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |                 fromType: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 genKey: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 status: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |                 dataType: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdSysFk: null, | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             uploadSmp(query) | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         getList() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |             filterLog(this.filterQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                   this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                   this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.list = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.total = response.data.total || 0; | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                   this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.total = 0; | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |         handleDetailClick(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.currentRow = row; | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(this.currentRow.genKey) | 
			
		
	
		
			
				
					|  |  |  |  |             this.udiImportDetailVisible = true; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         cancelDialog() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.udiImportDetailVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         handleCurrentChange(val) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.filterQuery.page = val; | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         uploadDialog(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$confirm("是否确定上传至供应商平台?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |                 confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |                 cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |                 type: "warning" | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     let query = { | 
			
		
	
		
			
				
					|  |  |  |  |                         genKey: row.genKey, | 
			
		
	
		
			
				
					|  |  |  |  |                     }; | 
			
		
	
		
			
				
					|  |  |  |  |                     uploadSmp(query) | 
			
		
	
		
			
				
					|  |  |  |  |                         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                         }) | 
			
		
	
		
			
				
					|  |  |  |  |                         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                         }); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     deleteDialog(rowId) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |           .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             let dQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |               id: rowId, | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             deleteLog(dQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                   this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                   if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.$message.success("删除成功"); | 
			
		
	
		
			
				
					|  |  |  |  |                   } else { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                   } | 
			
		
	
		
			
				
					|  |  |  |  |                   this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                   this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     jumpDl() { | 
			
		
	
		
			
				
					|  |  |  |  |       window.open(this.templateDlUrl, '_blank'); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleChange(response, files, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |       console.log(response); | 
			
		
	
		
			
				
					|  |  |  |  |       if (response.code != 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |  |         // console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         deleteDialog(rowId) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$confirm("此操作将删除该内部码信息, 是否继续?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |                 confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |                 cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |                 type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     let dQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |                         id: rowId, | 
			
		
	
		
			
				
					|  |  |  |  |                     }; | 
			
		
	
		
			
				
					|  |  |  |  |                     deleteLog(dQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                         .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                             if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.success("删除成功"); | 
			
		
	
		
			
				
					|  |  |  |  |                             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                                 this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                             } | 
			
		
	
		
			
				
					|  |  |  |  |                             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                         }) | 
			
		
	
		
			
				
					|  |  |  |  |                         .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                         }); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         jumpDl() { | 
			
		
	
		
			
				
					|  |  |  |  |             window.open(this.templateDlUrl, '_blank'); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         handleChange(response, files, fileList) { | 
			
		
	
		
			
				
					|  |  |  |  |             console.log(response); | 
			
		
	
		
			
				
					|  |  |  |  |             if (response.code != 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |                 // console.log(files[0] + "\n" + this.fileList[0] + "\n" + fileList[0]); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.success("文件上传成功,请稍后刷新查看!"); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         statusFilterType(status) { | 
			
		
	
		
			
				
					|  |  |  |  |             const statusMap = { | 
			
		
	
		
			
				
					|  |  |  |  |                 0: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |                 1: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |                 2: "danger", | 
			
		
	
		
			
				
					|  |  |  |  |                 3: "success", | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             return statusMap[status]; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |     mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |     components: { | 
			
		
	
		
			
				
					|  |  |  |  |         udiInfoImportDetail | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  |     created() { | 
			
		
	
		
			
				
					|  |  |  |  |         this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.success("文件上传成功,请稍后刷新查看!"); | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     statusFilterType(status) { | 
			
		
	
		
			
				
					|  |  |  |  |       const statusMap = { | 
			
		
	
		
			
				
					|  |  |  |  |         0: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |         1: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |         2: "danger", | 
			
		
	
		
			
				
					|  |  |  |  |         3: "success", | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       return statusMap[status]; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  |   , | 
			
		
	
		
			
				
					|  |  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  |   , | 
			
		
	
		
			
				
					|  |  |  |  |   components: { | 
			
		
	
		
			
				
					|  |  |  |  |     udiInfoImportDetail | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  |   , | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  |     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  |   , | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  |     , | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | ; | 
			
		
	
		
			
				
					|  |  |  |  | </script> | 
			
		
	
		
			
				
					|  |  |  |  | <style> | 
			
		
	
		
			
				
					|  |  |  |  | .itemTag { | 
			
		
	
		
			
				
					|  |  |  |  |   float: left; | 
			
		
	
		
			
				
					|  |  |  |  |   text-align: left; | 
			
		
	
		
			
				
					|  |  |  |  |   margin-top: 10px; | 
			
		
	
		
			
				
					|  |  |  |  |   width: 100px; | 
			
		
	
		
			
				
					|  |  |  |  |     float: left; | 
			
		
	
		
			
				
					|  |  |  |  |     text-align: left; | 
			
		
	
		
			
				
					|  |  |  |  |     margin-top: 10px; | 
			
		
	
		
			
				
					|  |  |  |  |     width: 100px; | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | .text { | 
			
		
	
		
			
				
					|  |  |  |  |   font-size: 13px; | 
			
		
	
		
			
				
					|  |  |  |  |   font-family: "Microsoft YaHei"; | 
			
		
	
		
			
				
					|  |  |  |  |     font-size: 13px; | 
			
		
	
		
			
				
					|  |  |  |  |     font-family: "Microsoft YaHei"; | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | .el-row { | 
			
		
	
		
			
				
					|  |  |  |  |   display: flex; | 
			
		
	
		
			
				
					|  |  |  |  |   flex-wrap: wrap; | 
			
		
	
		
			
				
					|  |  |  |  |     display: flex; | 
			
		
	
		
			
				
					|  |  |  |  |     flex-wrap: wrap; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | .el-col { | 
			
		
	
		
			
				
					|  |  |  |  |   border-radius: 4px; | 
			
		
	
		
			
				
					|  |  |  |  |   flex-wrap: wrap; | 
			
		
	
		
			
				
					|  |  |  |  |     border-radius: 4px; | 
			
		
	
		
			
				
					|  |  |  |  |     flex-wrap: wrap; | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | </style> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |