|  |  | @ -30,7 +30,27 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column type="selection" width="55"></el-table-column> |  |  |  |             <el-table-column type="selection" width="55"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="序号" type="index" fixed></el-table-column> |  |  |  |             <el-table-column label="序号" type="index" fixed></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <!-- <el-table-column label="ID" prop="id" fixed></el-table-column> --> |  |  |  |             <!-- <el-table-column label="ID" prop="id" fixed></el-table-column> --> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="条码" prop="code" fixed></el-table-column> |  |  |  |             <el-table-column label="条码" prop="code" show-overflow-tooltip fixed></el-table-column> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 label="生产日期" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 prop="produceDate" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 label="失效日期" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 prop="expireDate" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 label="批次号" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 prop="batchNo" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 label="序列号" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 prop="serialNo" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 show-overflow-tooltip | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column |  |  |  |             <el-table-column | 
			
		
	
		
		
			
				
					
					|  |  |  |                 label="供应商" |  |  |  |                 label="供应商" | 
			
		
	
		
		
			
				
					
					|  |  |  |                 prop="supId" |  |  |  |                 prop="supId" | 
			
		
	
	
		
		
			
				
					|  |  | @ -52,6 +72,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="操作" fixed="right" width="250"> |  |  |  |             <el-table-column label="操作" fixed="right" width="250"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <template slot-scope="scope"> |  |  |  |                 <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                         @click.native.stop="editCode(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     >编辑 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <!--                    <el-button--> |  |  |  |                     <!--                    <el-button--> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <!--                        type="text"--> |  |  |  |                     <!--                        type="text"--> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <!--                        size="small"--> |  |  |  |                     <!--                        size="small"--> | 
			
		
	
	
		
		
			
				
					|  |  | @ -113,6 +142,21 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-on:closeBindDialog="closeBindDialog" |  |  |  |                 v-on:closeBindDialog="closeBindDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  |             ></selectRlDialog> |  |  |  |             ></selectRlDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-dialog> |  |  |  |         </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             :title="editTitle" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             :visible.sync="editCodeVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             append-to-body width="70%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             v-if="editCodeVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <editCodeDialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 editTye="2" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :closeCodeDialog="closeCodeDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 :codeDetail="codeDetail"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </editCodeDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     </div> |  |  |  |     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -126,6 +170,7 @@ import draggable from "vuedraggable"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {saveAs} from "file-saver"; |  |  |  | import {saveAs} from "file-saver"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import DialogSelectUnit from "./DialogSelectUnit"; |  |  |  | import DialogSelectUnit from "./DialogSelectUnit"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import selectRlDialog from "./DialogSelectRl"; |  |  |  | import selectRlDialog from "./DialogSelectRl"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import editCodeDialog from "@/views/warehouse/editCode"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     name: "idQuery", |  |  |  |     name: "idQuery", | 
			
		
	
	
		
		
			
				
					|  |  | @ -155,10 +200,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             multipleSelection: [], |  |  |  |             multipleSelection: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |             selectRlVisible: false, |  |  |  |             selectRlVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             dialogTableVisible: false, |  |  |  |             dialogTableVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             codeDetail: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             editTitle: "补齐三期", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             editCodeVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |         }; |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     components: { |  |  |  |     components: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         draggable, DialogSelectUnit, selectRlDialog |  |  |  |         draggable, DialogSelectUnit, selectRlDialog, editCodeDialog | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     methods: { |  |  |  |     methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         handleSelectionChange(val) { |  |  |  |         handleSelectionChange(val) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -193,7 +242,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.query.page = val; |  |  |  |             this.query.page = val; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getCodeList(); |  |  |  |             this.getCodeList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         closeCodeDialog() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.editCodeVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         deleteDialog() { |  |  |  |         deleteDialog() { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$confirm("是否删除所选条码?", "提示", { |  |  |  |             this.$confirm("是否删除所选条码?", "提示", { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 confirmButtonText: "确定", |  |  |  |                 confirmButtonText: "确定", | 
			
		
	
	
		
		
			
				
					|  |  | @ -309,6 +360,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             return rowBackground; |  |  |  |             return rowBackground; | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         editCode(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.codeDetail = row; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.editCodeVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     filters: {}, |  |  |  |     filters: {}, | 
			
		
	
		
		
			
				
					
					|  |  |  |     mounted() { |  |  |  |     mounted() { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |