|  |  | @ -135,7 +135,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-form> |  |  |  |       </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div class="top-right-btn" style="display:flex;"> |  |  |  |       <div class="top-right-btn" style="display:flex;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-button-group> |  |  |  |         <el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏 |  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏 | 
			
		
	
	
		
		
			
				
					|  |  | @ -156,7 +155,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <p class="form-title">生产信息</p> |  |  |  |             <p class="form-title">生产信息</p> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-table v-loading="loading" :data="listOrder" |  |  |  |           <el-table v-loading="loading" :data="listOrder" | 
			
		
	
		
		
			
				
					
					|  |  |  |                     style="width: 100%" |  |  |  |                     style="width: 100%;margin-top: 15px" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                     @row-click="handleSelectionChange" |  |  |  |                     @row-click="handleSelectionChange" | 
			
		
	
		
		
			
				
					
					|  |  |  |                     highlight-current-row border> |  |  |  |                     highlight-current-row border> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="序号" type="index"></el-table-column> |  |  |  |             <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
	
		
		
			
				
					|  |  | @ -196,7 +195,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="失效日期" prop="expireDate" width="180"></el-table-column> |  |  |  |                 <el-table-column label="失效日期" prop="expireDate" width="180"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="序列号" prop="serialNo" width="120"></el-table-column> |  |  |  |                 <el-table-column label="序列号" prop="serialNo" width="120"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="包装层级" prop="bzcj" width="180"></el-table-column> |  |  |  |                 <el-table-column label="包装层级" prop="bzcj" width="180"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="包装状态" prop="packState" width="180" :formatter="formaterPackState"></el-table-column> |  |  |  |                 <el-table-column label="包装状态" prop="packState" width="180" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                                  :formatter="formaterPackState"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table-column label="操作" width="100" fixed="right"> |  |  |  |                 <el-table-column label="操作" width="100" fixed="right"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <template slot-scope="scope"> |  |  |  |                   <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-button |  |  |  |                     <el-button | 
			
		
	
	
		
		
			
				
					|  |  | @ -467,13 +467,16 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="序号" type="index"></el-table-column> |  |  |  |             <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="单据号" prop="billNo" width="150"></el-table-column> |  |  |  |             <el-table-column label="单据号" prop="billNo" width="150"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="单据类型" prop="billType" width="100"></el-table-column> |  |  |  |             <el-table-column label="单据类型" prop="billType" width="100"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="单据源头类型" prop="sourceType" width="100" :formatter="formaterSourceType"></el-table-column> |  |  |  |             <el-table-column label="单据源头类型" prop="sourceType" width="100" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="出入库类型" prop="inOutType" width="100" :formatter="formaterInOutType"></el-table-column> |  |  |  |                              :formatter="formaterSourceType"></el-table-column> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-table-column label="出入库类型" prop="inOutType" width="100" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                              :formatter="formaterInOutType"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="单据日期" prop="billDate" width="150"></el-table-column> |  |  |  |             <el-table-column label="单据日期" prop="billDate" width="150"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="更新时间" prop="updateTime" width="150"></el-table-column> |  |  |  |             <el-table-column label="更新时间" prop="updateTime" width="150"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="发货企业" prop="fromCorp" width="220"></el-table-column> |  |  |  |             <el-table-column label="发货企业" prop="fromCorp" width="220"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="收货企业" prop="toCorp" width="220"></el-table-column> |  |  |  |             <el-table-column label="收货企业" prop="toCorp" width="220"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table-column label="所属企业" prop="companyIdFk" width="220" :formatter="formatCompanyName"></el-table-column> |  |  |  |             <el-table-column label="所属企业" prop="companyIdFk" width="220" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                              :formatter="formatCompanyName"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <!--        <el-table-column label="备注" prop="remark" width="220"></el-table-column>--> |  |  |  |             <!--        <el-table-column label="备注" prop="remark" width="220"></el-table-column>--> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -507,13 +510,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-collapse> |  |  |  |       </el-collapse> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <!--      <pagination--> |  |  |  |     <!--      <pagination--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <!--        v-show="total>0"--> |  |  |  |     <!--        v-show="total>0"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <!--        :total="total"--> |  |  |  |     <!--        :total="total"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <!--        :limit.sync="filterQuery.limit"--> |  |  |  |     <!--        :limit.sync="filterQuery.limit"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <!--        :page.sync="filterQuery.page"--> |  |  |  |     <!--        :page.sync="filterQuery.page"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <!--        @pagination="getList"--> |  |  |  |     <!--        @pagination="getList"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | <!--      ></pagination>--> |  |  |  |     <!--      ></pagination>--> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-dialog |  |  |  |     <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |       title="单据-详情" |  |  |  |       title="单据-详情" | 
			
		
	
	
		
		
			
				
					|  |  | @ -712,8 +715,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterylqxzcrbarmc,filterCpmctymc, |  |  |  | import { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   filterGgxh, filterNameCode, sourceSearch,filterCompanyName} from "@/api/udi/udiTrace"; |  |  |  |   filterylqxzcrbarmc, filterCpmctymc, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   filterGgxh, filterNameCode, sourceSearch, filterCompanyName | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | } from "@/api/udi/udiTrace"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
	
		
		
			
				
					|  |  | @ -749,35 +754,35 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     formaterSourceType(row){ |  |  |  |     formaterSourceType(row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       if (row.sourceType == 1) { |  |  |  |       if (row.sourceType == 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formateSourceType = "起始位置" |  |  |  |         this.formateSourceType = "起始位置" | 
			
		
	
		
		
			
				
					
					|  |  |  |         return "起始位置" |  |  |  |         return "起始位置" | 
			
		
	
		
		
			
				
					
					|  |  |  |       }else if (row.sourceType == 2){ |  |  |  |       } else if (row.sourceType == 2) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.formateSourceType = "中间位置" |  |  |  |         this.formateSourceType = "中间位置" | 
			
		
	
		
		
			
				
					
					|  |  |  |         return "中间位置" |  |  |  |         return "中间位置" | 
			
		
	
		
		
			
				
					
					|  |  |  |       }else { |  |  |  |       } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.formateSourceType = "结束位置" |  |  |  |         this.formateSourceType = "结束位置" | 
			
		
	
		
		
			
				
					
					|  |  |  |         return "结束位置" |  |  |  |         return "结束位置" | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     formaterInOutType(row){ |  |  |  |     formaterInOutType(row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       if (row.inOutType == 1) { |  |  |  |       if (row.inOutType == 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formateInOutType = "入库" |  |  |  |         this.formateInOutType = "入库" | 
			
		
	
		
		
			
				
					
					|  |  |  |         return "入库" |  |  |  |         return "入库" | 
			
		
	
		
		
			
				
					
					|  |  |  |       }else { |  |  |  |       } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.formateInOutType = "出库" |  |  |  |         this.formateInOutType = "出库" | 
			
		
	
		
		
			
				
					
					|  |  |  |         return "出库" |  |  |  |         return "出库" | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     formatCompanyName(row){ |  |  |  |     formatCompanyName(row) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       let temp =  this.companyNameList.find(item=>{ |  |  |  |       let temp = this.companyNameList.find(item => { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         return item.id == row.companyIdFk |  |  |  |         return item.id == row.companyIdFk | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formateCompanyName = temp.companyName |  |  |  |       this.formateCompanyName = temp.companyName | 
			
		
	
		
		
			
				
					
					|  |  |  |       return temp && temp.companyName |  |  |  |       return temp && temp.companyName | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getCompanyName(){ |  |  |  |     getCompanyName() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       let cQuery = { |  |  |  |       let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
	
		
		
			
				
					|  |  | @ -787,7 +792,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         console.log(this.companyNameList) |  |  |  |         console.log(this.companyNameList) | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     nameCodeChange(){ |  |  |  |     nameCodeChange() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.filterQuery.batchNo = null |  |  |  |       this.filterQuery.batchNo = null | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     ggxhChange() { |  |  |  |     ggxhChange() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -945,6 +950,15 @@ div /deep/ .el-table .success-row { | 
			
		
	
		
		
			
				
					
					|  |  |  |   /*transition: all .5s;*/ |  |  |  |   /*transition: all .5s;*/ | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | .form-title { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   font-size: 16px; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   font-family: Noto Sans SC; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   font-weight: bold; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   color: #303133; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   padding-bottom: 17px; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   padding-top: 17px; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | .query-form-item { |  |  |  | .query-form-item { | 
			
		
	
		
		
			
				
					
					|  |  |  |   display: block !important; |  |  |  |   display: block !important; | 
			
		
	
		
		
			
				
					
					|  |  |  |   margin-bottom: 5px; |  |  |  |   margin-bottom: 5px; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |