|  |  | @ -1,72 +1,90 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | <template> |  |  |  | <template> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <div> |  |  |  |   <div> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-card class="el-card"> |  |  |  |     <el-card class="el-card"> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-form :model="filterQuery" class="query-form" size="mini" :inline="true"> |  |  |  |       <el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-show="showSearch"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form-item class="query-form-item" label="领用记录号:"> |  |  |  |         <el-row> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-input v-model="filterQuery.orderId" placeholder="请输入领用记录号" |  |  |  |           <el-col :span="8"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     clearable="true"></el-input> |  |  |  |             <el-form-item class="query-form-item" label="登记记录号:"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         </el-form-item> |  |  |  |               <el-input v-model="filterQuery.orderId" placeholder="请输入登记记录号" style="width: 90%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form-item class="query-form-item" label="领用部门:"> |  |  |  |                         clearable="true"></el-input> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-select v-model="filterQuery.fromDeptCode" placeholder="请选择部门" clearable="true" |  |  |  |             </el-form-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                      @change="deptChange" |  |  |  |           </el-col> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           <el-col :span="8"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-option |  |  |  |             <el-form-item class="query-form-item" label="登记部门:"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               v-for="item in deptList" |  |  |  |               <el-select v-model="filterQuery.fromDeptCode" placeholder="请选择登记部门" clearable="true" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :key="item.name" |  |  |  |                          style="width: 90%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :label="item.name" |  |  |  |                          @change="getDeptList" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :value="item.code"> |  |  |  |               > | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <span style="float: left">{{ item.name }}</span> |  |  |  |                 <el-option | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             </el-option> |  |  |  |                     v-for="item in deptList" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-select> |  |  |  |                     :key="item.name" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         </el-form-item> |  |  |  |                     :label="item.name" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form-item class="query-form-item" label="领用仓库:"> |  |  |  |                     :value="item.code"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-select v-model="filterQuery.fromInvCode" placeholder="请选择仓库" clearable="true" |  |  |  |                   <span style="float: left">{{ item.name }}</span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |                 </el-option> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-option |  |  |  |               </el-select> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               v-for="item in invList" |  |  |  |             </el-form-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :key="item.name" |  |  |  |           </el-col> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :label="item.name" |  |  |  |           <el-col :span="8"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               :value="item.code"> |  |  |  |             <el-form-item class="query-form-item" label="登记人:"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <span style="float: left">{{ item.name }}</span> |  |  |  |               <el-input v-model="filterQuery.receiveUserName" placeholder="请输入登记人" style="width: 90%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             </el-option> |  |  |  |                         clearable="true"></el-input> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-select> |  |  |  |             </el-form-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         </el-form-item> |  |  |  |           </el-col> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <!--        <el-form-item class="query-form-item" label="领用货位:"> |  |  |  |         </el-row> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   <el-select v-model="filterQuery.fromInvSpaceCode" placeholder="请选择货位" clearable="true" |  |  |  |         <el-row> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   > |  |  |  |           <el-col :span="8"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-option |  |  |  |             <el-form-item label="登记时间:"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       v-for="item in spaceList" |  |  |  |               <el-date-picker | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       :key="item.name" |  |  |  |                   :picker-options="pickerOptions" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       :label="item.name" |  |  |  |                   v-model="actDateRange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       :value="item.code"> |  |  |  |                   type="daterange" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       <span style="float: left">{{ item.name }}</span> |  |  |  |                   format="yyyy 年 MM 月 dd 日" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     </el-option> |  |  |  |                   style="width: 90%" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   </el-select> |  |  |  |                   value-format="yyyy-MM-dd" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-form-item>--> |  |  |  |                   range-separator="至" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form-item> |  |  |  |                   start-placeholder="开始时间" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button-group style="margin-left: 10px;display:flex;"> |  |  |  |                   end-placeholder="结束时间" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button> |  |  |  |               > | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button> |  |  |  |               </el-date-picker> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button-group> |  |  |  |             </el-form-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         </el-form-item> |  |  |  |           </el-col> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-form> |  |  |  |       </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row |  |  |  |       <div class="top-right-btn"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 @current-change="handleChange" |  |  |  |         <el-button-group style="margin-left: 10px;display:flex;"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 border> |  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch">显示/隐藏搜索栏</el-button> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-button type="primary" icon="el-icon-refresh" @click="onReset">重置</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-divider style="margin: 15px"></el-divider> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-table v-loading="loading" :data="list" style="width: 100%" highlight-current-row @current-change="handleChange" border> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="序号" type="index"></el-table-column> |  |  |  |         <el-table-column label="序号" type="index"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="设备领用记录号" prop="orderId"></el-table-column> |  |  |  |         <el-table-column label="登记记录号" prop="orderId"></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="领用部门" prop="fromDeptName"></el-table-column> |  |  |  |         <el-table-column label="登记部门" prop="fromDeptName"></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="领用仓库" prop="fromInvName"></el-table-column> |  |  |  |         <el-table-column label="登记人" prop="receiveUserName"></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <!--        <el-table-column label="领用货位" prop="fromInvSpaceName"></el-table-column>--> |  |  |  |         <el-table-column label="审核人" prop="auditUser"></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="领用日期" prop="createTime"></el-table-column> |  |  |  |         <!--        <el-table-column label="登记货位" prop="fromInvSpaceName"></el-table-column>--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="领用人" prop="receiveUserName"></el-table-column> |  |  |  |         <el-table-column label="登记时间" prop="createTime"></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="创建人" prop="createUser"></el-table-column> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="状态" prop="status" show-overflow-tooltip width="120"> |  |  |  |         <el-table-column label="状态" prop="status" show-overflow-tooltip width="120"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <template slot-scope="scope"> |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-tag>{{ statusMap[scope.row.status] }}</el-tag> |  |  |  |             <el-tag>{{ statusMap[scope.row.status] }}</el-tag> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </template> |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-table-column> |  |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-table-column label="操作"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 @click.native.stop="detailOrder(scope.row)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             >详情 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </template> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-table> |  |  |  |       </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <pagination |  |  |  |       <pagination | 
			
		
	
		
		
			
				
					
					|  |  |  |         v-show="total>0" |  |  |  |         v-show="total>0" | 
			
		
	
	
		
		
			
				
					|  |  | @ -78,18 +96,16 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-card> |  |  |  |     <el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-table v-loading="detailLoading" :data="detailList" style="width: 100%; margin-top: 10px;"> |  |  |  |       <el-table v-loading="detailLoading" :data="detailList" style="width: 100%; margin-top: 10px;" border> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="序号" type="index" width="50"></el-table-column> |  |  |  |         <el-table-column label="序号" type="index" width="50"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="条码" width="200" prop="code" show-overflow-tooltip></el-table-column> |  |  |  |         <el-table-column label="产品通用名称" prop="productName" width="200"></el-table-column> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="产品通用名" prop="productName" width="200"></el-table-column> |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="规格型号" prop="ggxh" width="200" show-overflow-tooltip></el-table-column> |  |  |  |         <el-table-column label="规格型号" prop="ggxh" width="200" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-table-column label=DI/物资编码 prop="nameCode" width="200" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="批次号" prop="batchNo" width="200"></el-table-column> |  |  |  |         <el-table-column label="批次号" prop="batchNo" width="200"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="序列号" prop="serialNo" width="150"></el-table-column> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="领用日期" prop="createTime" width="150"></el-table-column> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="生产日期" prop="productionDate" width="150"></el-table-column> |  |  |  |         <el-table-column label="生产日期" prop="productionDate" width="150"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="失效日期" prop="expireDate" width="150"></el-table-column> |  |  |  |         <el-table-column label="失效日期" prop="expireDate" width="150"></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="注册/备案凭证号" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="生产企业" prop="ylqxzcrbarmc" show-overflow-tooltip></el-table-column> |  |  |  |         <el-table-column label="生产企业" prop="ylqxzcrbarmc" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-table-column label="注册/备案号" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-table-column label="供应商" prop="supName" show-overflow-tooltip></el-table-column> |  |  |  |         <el-table-column label="供应商" prop="supName" show-overflow-tooltip></el-table-column> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-table> |  |  |  |       </el-table> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -100,6 +116,24 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         :page.sync="detailQuery.page" |  |  |  |         :page.sync="detailQuery.page" | 
			
		
	
		
		
			
				
					
					|  |  |  |         @pagination="getDetailList" |  |  |  |         @pagination="getDetailList" | 
			
		
	
		
		
			
				
					
					|  |  |  |       ></pagination> |  |  |  |       ></pagination> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           title = "设备登记-详情" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :visible.sync="deviceReceiveOrderAuditMoifyVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :close-on-click-modal="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :close-on-press-escape="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           width="80%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           v-if="deviceReceiveOrderAuditMoifyVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <DeviceReceiveOrderAuditMoify | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             :receiveQuery="receiveQuery" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             :closeDialog="closeDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             :formName="formName" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </DeviceReceiveOrderAuditMoify> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   </div> |  |  |  |   </div> | 
			
		
	
	
		
		
			
				
					|  |  | @ -113,6 +147,7 @@ import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   getDeviceReceiveOrderDetailList, |  |  |  |   getDeviceReceiveOrderDetailList, | 
			
		
	
		
		
			
				
					
					|  |  |  |   getDeviceReceiveOrderList |  |  |  |   getDeviceReceiveOrderList | 
			
		
	
		
		
			
				
					
					|  |  |  | } from "@/api/inventory/deviceReceiveOrder"; |  |  |  | } from "@/api/inventory/deviceReceiveOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import DeviceReceiveOrderAuditMoify from "@/views/inventory/DeviceReceiveOrderAuditMoify" | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   name: "DeviceReceiveOrderCompleted", |  |  |  |   name: "DeviceReceiveOrderCompleted", | 
			
		
	
	
		
		
			
				
					|  |  | @ -143,12 +178,51 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20, |  |  |  |         limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       pickerOptions: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         shortcuts: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             text: "最近一周", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             onClick(picker) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               const end = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               const start = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               picker.$emit("pick", [start, end]); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             text: "最近一个月", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             onClick(picker) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               const end = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               const start = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               picker.$emit("pick", [start, end]); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             text: "最近三个月", | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             onClick(picker) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               const end = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               const start = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               picker.$emit("pick", [start, end]); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       detailList: [], |  |  |  |       detailList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       actDateRange:[], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       showSearch:true, | 
			
		
	
		
		
			
				
					
					|  |  |  |       detailLoading: false, |  |  |  |       detailLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       receiveQuery:{}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       formName:null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       deviceReceiveOrderAuditMoifyVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       detailTotal: 0 |  |  |  |       detailTotal: 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     }; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     hideSearch() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.showSearch = !this.showSearch; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onReset() { |  |  |  |     onReset() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$router.push({ |  |  |  |       this.$router.push({ | 
			
		
	
		
		
			
				
					
					|  |  |  |         path: "", |  |  |  |         path: "", | 
			
		
	
	
		
		
			
				
					|  |  | @ -163,6 +237,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20, |  |  |  |         limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.spaceList = []; |  |  |  |       this.spaceList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.actDateRange = [] | 
			
		
	
		
		
			
				
					
					|  |  |  |       // this.getList(); |  |  |  |       // this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getDeptList(); |  |  |  |       this.getDeptList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -174,6 +249,13 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.detailList = []; |  |  |  |       this.detailList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.detailTotal = 0; |  |  |  |       this.detailTotal = 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (this.actDateRange !== null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.filterQuery.startTime = this.actDateRange[0]; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.filterQuery.endTime = this.actDateRange[1]; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.filterQuery.startTime = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.filterQuery.endTime = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       getDeviceReceiveOrderList(this.filterQuery).then((res) => { |  |  |  |       getDeviceReceiveOrderList(this.filterQuery).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false; |  |  |  |         this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code === 20000) { |  |  |  |         if (res.code === 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -251,9 +333,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     closeDialog() { |  |  |  |     closeDialog() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formVisible = false; |  |  |  |       this.deviceReceiveOrderAuditMoifyVisible = false; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     detailOrder(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.formName = "detail" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.receiveQuery = row | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.deviceReceiveOrderAuditMoifyVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   mounted() { |  |  |  |   mounted() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     document.body.ondrop = function (event) { |  |  |  |     document.body.ondrop = function (event) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -261,6 +348,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       event.stopPropagation(); |  |  |  |       event.stopPropagation(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     }; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   components:{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     DeviceReceiveOrderAuditMoify | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.getDeptList(); |  |  |  |     this.getDeptList(); | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |