|  |  | @ -23,7 +23,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div v-if="showSearch || item.isImport"> |  |  |  |             <div v-if="showSearch || item.isImport"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" |  |  |  |               <el-form-item v-if="item.columnType == 'input' && executeEval(row,item.expression,true)" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             class="query-form-item" |  |  |  |                             class="query-form-item" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             :label="item.columnDesc+`:`" :key="item.id"> |  |  |  |                             :label="item.columnDesc+`:`" :key="item.id" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-input |  |  |  |                 <el-input | 
			
		
	
		
		
			
				
					
					|  |  |  |                   v-model="codeQuery[item.columnName]" |  |  |  |                   v-model="codeQuery[item.columnName]" | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :placeholder="item.columnDesc" |  |  |  |                   :placeholder="item.columnDesc" | 
			
		
	
	
		
		
			
				
					|  |  | @ -34,11 +35,13 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-form-item> |  |  |  |               </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item v-if="item.columnType == 'select' && executeEval(row,item.expression,true)" |  |  |  |               <el-form-item v-if="item.columnType == 'select' && executeEval(row,item.expression,true)" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             class="query-form-item" |  |  |  |                             class="query-form-item" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             :label="item.columnDesc+`:`"> |  |  |  |                             :label="item.columnDesc+`:`" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-select v-model="codeQuery[item.columnName]" |  |  |  |                 <el-select v-model="codeQuery[item.columnName]" | 
			
		
	
		
		
			
				
					
					|  |  |  |                            :placeholder="item.columnDesc" |  |  |  |                            :placeholder="item.columnDesc" | 
			
		
	
		
		
			
				
					
					|  |  |  |                            :disabled="executeEval(null,item.disabledFuc,false)" |  |  |  |                            :disabled="executeEval(null,item.disabledFuc,false)" | 
			
		
	
		
		
			
				
					
					|  |  |  |                            clearable> |  |  |  |                            clearable | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 > | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <el-option |  |  |  |                   <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |                     v-for="dict in item.lableRuleObj" |  |  |  |                     v-for="dict in item.lableRuleObj" | 
			
		
	
		
		
			
				
					
					|  |  |  |                     :key="dict.value" |  |  |  |                     :key="dict.value" | 
			
		
	
	
		
		
			
				
					|  |  | @ -69,7 +72,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               <!--</el-form-item>--> |  |  |  |               <!--</el-form-item>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item v-if="item.columnType == 'datePicker' && executeEval(row,item.expression,true)" |  |  |  |               <el-form-item v-if="item.columnType == 'datePicker' && executeEval(row,item.expression,true)" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             class="query-form-item" |  |  |  |                             class="query-form-item" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             :label="item.columnDesc+`:`"> |  |  |  |                             :label="item.columnDesc+`:`" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-date-picker |  |  |  |                 <el-date-picker | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :picker-options="pickerOptions" |  |  |  |                   :picker-options="pickerOptions" | 
			
		
	
		
		
			
				
					
					|  |  |  |                   v-model="actDateRange" |  |  |  |                   v-model="actDateRange" | 
			
		
	
	
		
		
			
				
					|  |  | @ -83,7 +87,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-form-item> |  |  |  |               </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-form-item v-if="item.columnType == 'date' && executeEval(row,item.expression,true)" |  |  |  |               <el-form-item v-if="item.columnType == 'date' && executeEval(row,item.expression,true)" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             class="query-form-item" |  |  |  |                             class="query-form-item" | 
			
		
	
		
		
			
				
					
					|  |  |  |                             :label="item.columnDesc+`:`"> |  |  |  |                             :label="item.columnDesc+`:`" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               > | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-date-picker |  |  |  |                 <el-date-picker | 
			
		
	
		
		
			
				
					
					|  |  |  |                   v-model="codeQuery[item.columnName]" |  |  |  |                   v-model="codeQuery[item.columnName]" | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :style="`width:${item.width+'px'}`" |  |  |  |                   :style="`width:${item.width+'px'}`" | 
			
		
	
	
		
		
			
				
					|  |  | @ -102,7 +107,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div class="top-right-btn"> |  |  |  |       <div class="top-right-btn"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-button-group> |  |  |  |         <el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch">高级搜索</el-button> |  |  |  |           <el-button icon="el-icon-view" type="primary" @click="hideSearch">高级搜索</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" icon="el-icon-plus" @click="addBind(1,null)" |  |  |  |           <el-button type="primary" icon="el-icon-plus" @click="addBind()" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           >维护绑定关系 |  |  |  |           >维护绑定关系 | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |           </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button |  |  |  |           <el-button | 
			
		
	
	
		
		
			
				
					|  |  | @ -148,7 +153,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button |  |  |  |             <el-button | 
			
		
	
		
		
			
				
					
					|  |  |  |               type="text" |  |  |  |               type="text" | 
			
		
	
		
		
			
				
					
					|  |  |  |               size="small" |  |  |  |               size="small" | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click.native.stop="addBind(2,scope.row)" |  |  |  |               @click.native.stop="selectBind()" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               :disabled="scope.row.nameCode" |  |  |  |               :disabled="scope.row.nameCode" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >绑定产品 |  |  |  |             >绑定产品 | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-button> |  |  |  |             </el-button> | 
			
		
	
	
		
		
			
				
					|  |  | @ -166,9 +171,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-card> |  |  |  |     </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     <el-dialog |  |  |  |     <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |       :title="titleMap[titleName]" |  |  |  |       title="维护绑定关系" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       :visible.sync="addBindVisible" |  |  |  |       :visible.sync="addBindVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |       :close-on-click-modal="false" |  |  |  |       :close-on-click-modal="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |       :close-on-press-escape="false" |  |  |  |       :close-on-press-escape="false" | 
			
		
	
	
		
		
			
				
					|  |  | @ -177,7 +181,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       append-to-body |  |  |  |       append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |     > |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-form :model="addBindData" ref="stockCompare" class="query-form" |  |  |  |       <el-form :model="addBindData" ref="stockCompare" class="query-form" | 
			
		
	
		
		
			
				
					
					|  |  |  |                size="mini" label-width="auto"> |  |  |  |                size="mini" label-width="auto" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row :gutter="20"> |  |  |  |         <el-row :gutter="20"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="24"> |  |  |  |           <el-col :span="24"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="code" label="出货槽位编号:" class="query-form-item"> |  |  |  |             <el-form-item prop="code" label="出货槽位编号:" class="query-form-item"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -199,9 +204,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="24"> |  |  |  |           <el-col :span="24"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="udiCode" label="" class="query-form-item"> |  |  |  |             <el-form-item prop="udiCode" label="" class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-descriptions class="margin-top" title="" :column="3" border style="width: 80%"> |  |  |  |               <el-descriptions class="margin-top" title="" :column="3" border style="width: 80%"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item label="出货槽编号">{{sysWorkplaceQueue.code}}</el-descriptions-item> |  |  |  |                 <el-descriptions-item label="出货槽编号">{{ sysWorkplaceQueue.code }}</el-descriptions-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item label="货架名称">{{sysWorkplaceQueue.name}}</el-descriptions-item> |  |  |  |                 <el-descriptions-item label="货架名称">{{ sysWorkplaceQueue.name }}</el-descriptions-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item label="备注">{{sysWorkplaceQueue.remark}}</el-descriptions-item> |  |  |  |                 <el-descriptions-item label="备注">{{ sysWorkplaceQueue.remark }}</el-descriptions-item> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               </el-descriptions> |  |  |  |               </el-descriptions> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
	
		
		
			
				
					|  |  | @ -225,9 +230,12 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="24"> |  |  |  |           <el-col :span="24"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="udiCode" label="" class="query-form-item"> |  |  |  |             <el-form-item prop="udiCode" label="" class="query-form-item"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-descriptions class="margin-top" title="" :column="3" border style="width: 80%"> |  |  |  |               <el-descriptions class="margin-top" title="" :column="3" border style="width: 80%"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item label="产品标识">{{product.nameCode}}</el-descriptions-item> |  |  |  |                 <el-descriptions-item label="产品标识">{{ product.nameCode }}</el-descriptions-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item label="产品通用名">{{product.cpmctymc}}</el-descriptions-item> |  |  |  |                 <el-descriptions-item label="产品通用名">{{ product.cpmctymc }}</el-descriptions-item> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item v-if="product.productsType === 2" label="包装规格">{{ product.bzgg }}</el-descriptions-item> |  |  |  |                 <el-descriptions-item v-if="product.productsType === 2" label="包装规格">{{ | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     product.bzgg | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   }} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-descriptions-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-descriptions-item v-else label="规格型号">{{ product.ggxh }}</el-descriptions-item> |  |  |  |                 <el-descriptions-item v-else label="规格型号">{{ product.ggxh }}</el-descriptions-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-descriptions> |  |  |  |               </el-descriptions> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -236,19 +244,35 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         <div class="center-button"> |  |  |  |         <div class="center-button"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <!--<div style="text-align: right; margin-bottom: 10px;margin-top: 18px ;margin-right: 18px ;">--> |  |  |  |           <!--<div style="text-align: right; margin-bottom: 10px;margin-top: 18px ;margin-right: 18px ;">--> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button @click="closeAddBindData">取消</el-button> |  |  |  |           <el-button @click="closeAddBindData">取消</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button type="primary" @click="submitAddBindData" >提交</el-button> |  |  |  |           <el-button type="primary" @click="submitAddBindData">提交</el-button> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           <!--</div>--> |  |  |  |           <!--</div>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </div> |  |  |  |         </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-form> |  |  |  |       </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-dialog> |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       title="绑定产品" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :visible.sync="selectBindVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :close-on-click-modal="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :close-on-press-escape="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       v-if="selectBindVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       width="65%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <selectDrugDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </selectDrugDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   </div> |  |  |  |   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import {isBlank} from "@/utils/strUtil"; |  |  |  | import { isBlank } from '@/utils/strUtil' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import { |  |  |  | import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   getQueueListPage, |  |  |  |   getQueueListPage, | 
			
		
	
		
		
			
				
					
					|  |  |  |   getInfoByCode, |  |  |  |   getInfoByCode, | 
			
		
	
	
		
		
			
				
					|  |  | @ -257,16 +281,18 @@ import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   removeProduct |  |  |  |   removeProduct | 
			
		
	
		
		
			
				
					
					|  |  |  | } from '@/api/basic/workPlace/SysWorkplaceQueue' |  |  |  | } from '@/api/basic/workPlace/SysWorkplaceQueue' | 
			
		
	
		
		
			
				
					
					|  |  |  | import { executeFuc, getHead } from '@/utils/customConfig' |  |  |  | import { executeFuc, getHead } from '@/utils/customConfig' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import selectDrugDialog from "./selectDrugDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | const formJson = { |  |  |  | const formJson = { | 
			
		
	
		
		
			
				
					
					|  |  |  |   site_id: "", |  |  |  |   site_id: '', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   site_name: "", |  |  |  |   site_name: '', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   describe: "", |  |  |  |   describe: '', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   ads: [], |  |  |  |   ads: [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | }; |  |  |  | } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   name: "workplaceQueue", |  |  |  |   name: 'workplaceQueue', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   components:{selectDrugDialog}, | 
			
		
	
		
		
			
				
					
					|  |  |  |   data() { |  |  |  |   data() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return { |  |  |  |     return { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -283,24 +309,24 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       index: null, |  |  |  |       index: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       enableDept: false, |  |  |  |       enableDept: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       fromTypeMap: { |  |  |  |       fromTypeMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         "1": "UDIMS平台", |  |  |  |         '1': 'UDIMS平台', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "2": "网页新增", |  |  |  |         '2': '网页新增', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "3": "pda即时校验", |  |  |  |         '3': 'pda即时校验', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "4": "pda未校验", |  |  |  |         '4': 'pda未校验', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "5": "pc端扫码精灵", |  |  |  |         '5': 'pc端扫码精灵', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "6": "流转自动补单", |  |  |  |         '6': '流转自动补单', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "7": "UDI供应商平台", |  |  |  |         '7': 'UDI供应商平台', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "8": "平衡补录单据", |  |  |  |         '8': '平衡补录单据', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "10": "手动补单", |  |  |  |         '10': '手动补单', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "11": "仓库盘点", |  |  |  |         '11': '仓库盘点', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "12": "采购计划", |  |  |  |         '12': '采购计划', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "13": "领用单据", |  |  |  |         '13': '领用单据', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         "14": "第三方系统单据", |  |  |  |         '14': '第三方系统单据' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       deleteData: { |  |  |  |       deleteData: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderId: null, |  |  |  |         orderId: null | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       addBindData:{ |  |  |  |       addBindData: { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         id: null, |  |  |  |         id: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         code: null, |  |  |  |         code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         relId: null, |  |  |  |         relId: null, | 
			
		
	
	
		
		
			
				
					|  |  | @ -311,11 +337,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       dialogTableVisible: false, |  |  |  |       dialogTableVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       radio: 1, |  |  |  |       radio: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |       addBindVisible: false, |  |  |  |       addBindVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       titleName: "1", |  |  |  |       selectBindVisible: false, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       titleMap:{ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         "1" : '维护绑定关系', |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         "2" : '绑定产品' |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       formLoading: false, |  |  |  |       formLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       dialogVisible: false, |  |  |  |       dialogVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       formData: formJson, |  |  |  |       formData: formJson, | 
			
		
	
	
		
		
			
				
					|  |  | @ -326,33 +348,33 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       pickerOptions: { |  |  |  |       pickerOptions: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         shortcuts: [ |  |  |  |         shortcuts: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             text: "最近一周", |  |  |  |             text: '最近一周', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             onClick(picker) { |  |  |  |             onClick(picker) { | 
			
		
	
		
		
			
				
					
					|  |  |  |               const end = new Date(); |  |  |  |               const end = new Date() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               const start = new Date(); |  |  |  |               const start = new Date() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 7) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               picker.$emit("pick", [start, end]); |  |  |  |               picker.$emit('pick', [start, end]) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           }, |  |  |  |           }, | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             text: "最近一个月", |  |  |  |             text: '最近一个月', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             onClick(picker) { |  |  |  |             onClick(picker) { | 
			
		
	
		
		
			
				
					
					|  |  |  |               const end = new Date(); |  |  |  |               const end = new Date() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               const start = new Date(); |  |  |  |               const start = new Date() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 30) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               picker.$emit("pick", [start, end]); |  |  |  |               picker.$emit('pick', [start, end]) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           }, |  |  |  |           }, | 
			
		
	
		
		
			
				
					
					|  |  |  |           { |  |  |  |           { | 
			
		
	
		
		
			
				
					
					|  |  |  |             text: "最近三个月", |  |  |  |             text: '最近三个月', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             onClick(picker) { |  |  |  |             onClick(picker) { | 
			
		
	
		
		
			
				
					
					|  |  |  |               const end = new Date(); |  |  |  |               const end = new Date() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               const start = new Date(); |  |  |  |               const start = new Date() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); |  |  |  |               start.setTime(start.getTime() - 3600 * 1000 * 24 * 90) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               picker.$emit("pick", [start, end]); |  |  |  |               picker.$emit('pick', [start, end]) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           }, |  |  |  |           } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ] | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       codeQuery: { |  |  |  |       codeQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         scanCode: null, |  |  |  |         scanCode: null, | 
			
		
	
	
		
		
			
				
					|  |  | @ -368,7 +390,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         zczbhhzbapzbh: null, |  |  |  |         zczbhhzbapzbh: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20, |  |  |  |         limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |         keyWords:"" |  |  |  |         keyWords: '' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       codeTotal: 0, |  |  |  |       codeTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |       codeDetailLoading: false, |  |  |  |       codeDetailLoading: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -379,65 +401,63 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       auditDateRange: [], |  |  |  |       auditDateRange: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       showSup: false, |  |  |  |       showSup: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       statusMap: { |  |  |  |       statusMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         1: "在库", |  |  |  |         1: '在库', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         2: "已使用", |  |  |  |         2: '已使用', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         3: "已退回", |  |  |  |         3: '已退回' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       bindType : 2,//2:绑定产品其他就是维护绑定 |  |  |  |     } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: {}, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     //页面配置 |  |  |  |     //页面配置 | 
			
		
	
		
		
			
				
					
					|  |  |  |     executeFuc(row, type, clickFuc, value) { |  |  |  |     executeFuc(row, type, clickFuc, value) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       return executeFuc(this, row, type, clickFuc, value); |  |  |  |       return executeFuc(this, row, type, clickFuc, value) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     executeEval(row, expression, defaultRet) { |  |  |  |     executeEval(row, expression, defaultRet) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (expression) { |  |  |  |       if (expression) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         return eval(expression); |  |  |  |         return eval(expression) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       return defaultRet; |  |  |  |       return defaultRet | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onReset() { |  |  |  |     onReset() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$router.push({ |  |  |  |       this.$router.push({ | 
			
		
	
		
		
			
				
					
					|  |  |  |         path: "", |  |  |  |         path: '' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onSubmit() { |  |  |  |     onSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.auditDateRange !== null) { |  |  |  |       if (this.auditDateRange !== null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeQuery.startAduditTime = this.auditDateRange[0]; |  |  |  |         this.codeQuery.startAduditTime = this.auditDateRange[0] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeQuery.endAduditTime = this.auditDateRange[1]; |  |  |  |         this.codeQuery.endAduditTime = this.auditDateRange[1] | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } else { |  |  |  |       } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeQuery.startAduditTime = null; |  |  |  |         this.codeQuery.startAduditTime = null | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeQuery.endAduditTime = null; |  |  |  |         this.codeQuery.endAduditTime = null | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeQuery.page = 1; |  |  |  |       this.codeQuery.page = 1 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     hideSearch() { |  |  |  |     hideSearch() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.showSearch = !this.showSearch; |  |  |  |       this.showSearch = !this.showSearch | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getInputFocus(event) { |  |  |  |     getInputFocus(event) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       event.currentTarget.select(); |  |  |  |       event.currentTarget.select() | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     enterKey1(){ |  |  |  |     enterKey1() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       //1、后端验证货位是否存在 且 是否绑定 产品 |  |  |  |       //1、后端验证货位是否存在 且 是否绑定 产品 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if(isBlank(this.addBindData.code)){ |  |  |  |       if (isBlank(this.addBindData.code)) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         return this.$message.error("出货槽位编码不可以为空") |  |  |  |         return this.$message.error('出货槽位编码不可以为空') | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       getInfoByCode({code:this.addBindData.code}).then( |  |  |  |       getInfoByCode({ code: this.addBindData.code }).then( | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         (response) => { |  |  |  |         (response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code === 20000) { |  |  |  |           if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.sysWorkplaceQueue = response.data; |  |  |  |             this.sysWorkplaceQueue = response.data | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.sysWorkplaceQueue.relId != null){ |  |  |  |             if (this.sysWorkplaceQueue.relId != null) { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               //已绑定 |  |  |  |               //已绑定 | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.$confirm("出货槽位编码已绑定产品, 是否继续?", "提示", { |  |  |  |               this.$confirm('出货槽位编码已绑定产品, 是否继续?', '提示', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 confirmButtonText: "确定", |  |  |  |                 confirmButtonText: '确定', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 cancelButtonText: "取消", |  |  |  |                 cancelButtonText: '取消', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 type: "warning", |  |  |  |                 type: 'warning' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               }) |  |  |  |               }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .then(() => { |  |  |  |                 .then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                   this.product.nameCode = this.sysWorkplaceQueue.nameCode |  |  |  |                   this.product.nameCode = this.sysWorkplaceQueue.nameCode | 
			
		
	
	
		
		
			
				
					|  |  | @ -449,20 +469,20 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                   this.addBindData.udiCodeFlag = true |  |  |  |                   this.addBindData.udiCodeFlag = true | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                   this.$nextTick(() => { |  |  |  |                   this.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.$refs.inputRef2.focus(); // 设置焦点到第一个输入框 |  |  |  |                     this.$refs.inputRef2.focus() // 设置焦点到第一个输入框 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   }); |  |  |  |                   }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }) |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }else { |  |  |  |             } else { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               this.addBindData.id = this.sysWorkplaceQueue.id |  |  |  |               this.addBindData.id = this.sysWorkplaceQueue.id | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.addBindData.codeFlag = true |  |  |  |               this.addBindData.codeFlag = true | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.addBindData.udiCodeFlag = true |  |  |  |               this.addBindData.udiCodeFlag = true | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.$nextTick(() => { |  |  |  |               this.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$refs.inputRef2.focus(); // 设置焦点到第一个输入框 |  |  |  |                 this.$refs.inputRef2.focus() // 设置焦点到第一个输入框 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |               }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
	
		
		
			
				
					|  |  | @ -470,29 +490,29 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }).catch((error) => { |  |  |  |         }).catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$message.error(error.message) |  |  |  |         this.$message.error(error.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     enterKey2() { |  |  |  |     enterKey2() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if(isBlank(this.addBindData.udiCode)){ |  |  |  |       if (isBlank(this.addBindData.udiCode)) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         return this.$message.error("UDI码不可以为空") |  |  |  |         return this.$message.error('UDI码不可以为空') | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       getProductByCode({udiCode:this.addBindData.udiCode}).then( |  |  |  |       getProductByCode({ udiCode: this.addBindData.udiCode }).then( | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         (response) => { |  |  |  |         (response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code === 20000) { |  |  |  |           if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.product = response.data; |  |  |  |             this.product = response.data | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.product.relId != null){ |  |  |  |             if (this.product.relId != null) { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               //已绑定 |  |  |  |               //已绑定 | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.$confirm("当前出货槽位编码将绑定绑定产品, 是否提交?", "提示", { |  |  |  |               this.$confirm('当前出货槽位编码将绑定绑定产品, 是否提交?', '提示', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 confirmButtonText: "确定", |  |  |  |                 confirmButtonText: '确定', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 cancelButtonText: "取消", |  |  |  |                 cancelButtonText: '取消', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 type: "warning", |  |  |  |                 type: 'warning' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               }).then(() => { |  |  |  |               }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.addBindData.relId = this.product.relId |  |  |  |                 this.addBindData.relId = this.product.relId | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.submitAddBindData() |  |  |  |                 this.submitAddBindData() | 
			
		
	
		
		
			
				
					
					|  |  |  |               }) |  |  |  |               }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }else { |  |  |  |             } else { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
	
		
		
			
				
					|  |  | @ -500,20 +520,20 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }).catch((error) => { |  |  |  |         }).catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$message.error(error.message) |  |  |  |         this.$message.error(error.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     submitAddBindData(){ |  |  |  |     submitAddBindData() { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.addBindData.id == null || this.addBindData.code == null){ |  |  |  |       if (this.addBindData.id == null || this.addBindData.code == null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         return this.$message.error("请添加槽位") |  |  |  |         return this.$message.error('请添加槽位') | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.addBindData.udiCode == null ){ |  |  |  |       if (this.addBindData.udiCode == null) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         return this.$message.error("请添加产品!") |  |  |  |         return this.$message.error('请添加产品!') | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.addBindData.relId = this.product.relId |  |  |  |       this.addBindData.relId = this.product.relId | 
			
		
	
		
		
			
				
					
					|  |  |  |       bind(this.addBindData).then( |  |  |  |       bind(this.addBindData).then( | 
			
		
	
		
		
			
				
					
					|  |  |  |         (response) => { |  |  |  |         (response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code === 20000) { |  |  |  |           if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.success("绑定成功") |  |  |  |             this.$message.success('绑定成功') | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.addBindData = { |  |  |  |             this.addBindData = { | 
			
		
	
		
		
			
				
					
					|  |  |  |               code: null, |  |  |  |               code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |               codeFlag: false, |  |  |  |               codeFlag: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -522,32 +542,24 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.sysWorkplaceQueue = {} |  |  |  |             this.sysWorkplaceQueue = {} | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.product = {} |  |  |  |             this.product = {} | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.bindType == 2){ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.closeAddBindData() |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             }else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$nextTick(() => { |  |  |  |             this.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$refs.inputRef1.focus(); // 设置焦点到第一个输入框 |  |  |  |               this.$refs.inputRef1.focus() // 设置焦点到第一个输入框 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |             }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message) |  |  |  |             this.$message.error(response.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.bindType == 2){ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.closeAddBindData() |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             }else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$nextTick(() => { |  |  |  |             this.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$refs.inputRef1.focus(); // 设置焦点到第一个输入框 |  |  |  |               this.$refs.inputRef1.focus() // 设置焦点到第一个输入框 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               }); |  |  |  |             }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }).catch((error) => { |  |  |  |         }).catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$message.error(error.message) |  |  |  |         this.$message.error(error.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$refs.inputRef1.select(); |  |  |  |         this.$refs.inputRef1.select() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     closeAddBindData(){ |  |  |  |     closeAddBindData() { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.addBindVisible = false |  |  |  |       this.addBindVisible = false | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getCodeDetailList(); |  |  |  |       this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     enterKey() { |  |  |  |     enterKey() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.getOrderDetails() |  |  |  |       this.getOrderDetails() | 
			
		
	
	
		
		
			
				
					|  |  | @ -555,83 +567,83 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     getBusType() { |  |  |  |     getBusType() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         code: this.filterQuery.invCode, |  |  |  |         code: this.filterQuery.invCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |         enabled: true, |  |  |  |         enabled: true | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       getLocalJoinByUser(query) |  |  |  |       getLocalJoinByUser(query) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.busTypes = response.data.list || []; |  |  |  |           this.busTypes = response.data.list || [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.filterQuery.action = this.busTypes[0].action; |  |  |  |           this.filterQuery.action = this.busTypes[0].action | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |         .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     handleSelectionChange(val) { |  |  |  |     handleSelectionChange(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.currentRow = val; |  |  |  |       this.currentRow = val | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getOrderDetails(); |  |  |  |       this.getOrderDetails() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     getOrderDetails() { |  |  |  |     getOrderDetails() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeQuery.page = 1; |  |  |  |       this.codeQuery.page = 1 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getCodeDetailList(); |  |  |  |       this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     clearDetailList() { |  |  |  |     clearDetailList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeDetailList = []; |  |  |  |       this.codeDetailList = [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeTotal = 0; |  |  |  |       this.codeTotal = 0 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     //获取订单列表 |  |  |  |     //获取订单列表 | 
			
		
	
		
		
			
				
					
					|  |  |  |     getList() { |  |  |  |     getList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       getSysWorkplaceLayerList(this.codeQuery) |  |  |  |       getSysWorkplaceLayerList(this.codeQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           if (response.code === 20000) { |  |  |  |           if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.list = response.data.list || []; |  |  |  |             this.list = response.data.list || [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.total = response.data.total || 0; |  |  |  |             this.total = response.data.total || 0 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message); |  |  |  |             this.$message.error(response.message) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch((error) => { |  |  |  |         .catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error(error.message) |  |  |  |           this.$message.error(error.message) | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.list = []; |  |  |  |           this.list = [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.total = 0; |  |  |  |           this.total = 0 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteOrders(data) { |  |  |  |     deleteOrders(data) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       let delQuery = { |  |  |  |       let delQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         billNo: data, |  |  |  |         billNo: data | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       deleterPrein(delQuery) |  |  |  |       deleterPrein(delQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code == 20000) { |  |  |  |           if (response.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |             this.getList() | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.$message({ |  |  |  |             this.$message({ | 
			
		
	
		
		
			
				
					
					|  |  |  |               type: "success", |  |  |  |               type: 'success', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               message: "删除成功!", |  |  |  |               message: '删除成功!' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } else if (response.code == 520) { |  |  |  |           } else if (response.code == 520) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error("新增扫码单据列表已不存在该扫码单据!"); |  |  |  |             this.$message.error('新增扫码单据列表已不存在该扫码单据!') | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.getList(); |  |  |  |             this.getList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |         .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     deleteDialog(row) { |  |  |  |     deleteDialog(row) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$confirm("此操作将永久删除该订单, 是否继续?", "提示", { |  |  |  |       this.$confirm('此操作将永久删除该订单, 是否继续?', '提示', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         confirmButtonText: "确定", |  |  |  |         confirmButtonText: '确定', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         cancelButtonText: "取消", |  |  |  |         cancelButtonText: '取消', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         type: "warning", |  |  |  |         type: 'warning' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then(() => { |  |  |  |         .then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.deleteOrders(row.billNo); |  |  |  |           this.deleteOrders(row.billNo) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |         .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onCodeReset() { |  |  |  |     onCodeReset() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeQuery = { |  |  |  |       this.codeQuery = { | 
			
		
	
	
		
		
			
				
					|  |  | @ -649,115 +661,118 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         zczbhhzbapzbh: null, |  |  |  |         zczbhhzbapzbh: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 20, |  |  |  |         limit: 20, | 
			
		
	
		
		
			
				
					
					|  |  |  |         keyWords:"" |  |  |  |         keyWords: '' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getCodeDetailList(); |  |  |  |       this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     keyup_submit(event) { |  |  |  |     keyup_submit(event) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.filterQuery.page = 1; |  |  |  |       this.filterQuery.page = 1 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getList(); |  |  |  |       this.getList() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       event.target.select(); |  |  |  |       event.target.select() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     onCodeSubmit() { |  |  |  |     onCodeSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeQuery.page = 1; |  |  |  |       this.codeQuery.page = 1 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.getCodeDetailList(); |  |  |  |       this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     addBind(val,row) { |  |  |  |     addBind() { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       if (val == 1){ |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.addBindData = { |  |  |  |       this.addBindData = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         code: null, |  |  |  |         code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         codeFlag: false, |  |  |  |         codeFlag: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |         udiCode: null, |  |  |  |         udiCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         udiCodeFlag: false |  |  |  |         udiCodeFlag: false | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.bindType = 1 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.sysWorkplaceQueue = {} |  |  |  |       this.sysWorkplaceQueue = {} | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.product = {} |  |  |  |       this.product = {} | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.addBindVisible = true |  |  |  |       this.addBindVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$nextTick(() => { |  |  |  |       this.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.inputRef1.focus(); // 设置焦点到第一个输入框 |  |  |  |         this.$refs.inputRef1.focus() // 设置焦点到第一个输入框 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |       }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.addBindData  = { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           code: null, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           codeFlag: true, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           udiCode: null, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           udiCodeFlag: true |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.bindType = 2 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.titleName = "2" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.sysWorkplaceQueue.code = row.code |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.sysWorkplaceQueue.remark = row.remark |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.addBindData.code = row.code |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.addBindData.id = row.id |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.product = {} |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.addBindVisible = true |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$nextTick(() => { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.inputRef2.focus(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       // else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.addBindData  = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     code: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     codeFlag: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     udiCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     udiCodeFlag: true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.bindType = 2 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.titleName = "2" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.sysWorkplaceQueue.code = row.code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.sysWorkplaceQueue.remark = row.remark | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.addBindData.code = row.code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.addBindData.id = row.id | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.product = {} | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.addBindVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.$nextTick(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //     this.$refs.inputRef2.focus(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     selectBind(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.selectBindVisible = true | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getCodeDetailList() { |  |  |  |     getCodeDetailList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeDetailLoading = true; |  |  |  |       this.codeDetailLoading = true | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       getQueueListPage(this.codeQuery).then((res) => { |  |  |  |       getQueueListPage(this.codeQuery).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeDetailLoading = false; |  |  |  |         this.codeDetailLoading = false | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         if (res.code === 20000) { |  |  |  |         if (res.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.codeDetailList = res.data.list || []; |  |  |  |           this.codeDetailList = res.data.list || [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.codeTotal = res.data.total || 0; |  |  |  |           this.codeTotal = res.data.total || 0 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error(res.message); |  |  |  |           this.$message.error(res.message) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.codeDetailList = []; |  |  |  |           this.codeDetailList = [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.codeTotal = 0; |  |  |  |           this.codeTotal = 0 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch((error) => { |  |  |  |       }).catch((error) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeDetailLoading = true; |  |  |  |         this.codeDetailLoading = true | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.$message.error(error.message); |  |  |  |         this.$message.error(error.message) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeDetailList = []; |  |  |  |         this.codeDetailList = [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeTotal = 0; |  |  |  |         this.codeTotal = 0 | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     findMethod(query) { |  |  |  |     findMethod(query) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.fromOptions = []; |  |  |  |       this.fromOptions = [] | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       let cQuery = { |  |  |  |       let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         key: query, |  |  |  |         key: query, | 
			
		
	
		
		
			
				
					
					|  |  |  |         corpType: 2, |  |  |  |         corpType: 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       getBasicUnitMaintains(cQuery) |  |  |  |       getBasicUnitMaintains(cQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.fromOptions = response.data.list || []; |  |  |  |           this.fromOptions = response.data.list || [] | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .catch(() => { |  |  |  |         .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.loading = false; |  |  |  |           this.loading = false | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           this.fromOptions = []; |  |  |  |           this.fromOptions = [] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     removeRelId(row){ |  |  |  |     removeRelId(row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         code : row.code, |  |  |  |         code: row.code, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         relId: row.relId |  |  |  |         relId: row.relId | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$confirm("此操作将解绑该槽位与产品, 是否继续?", "提示", { |  |  |  |       this.$confirm('此操作将解绑该槽位与产品, 是否继续?', '提示', { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         confirmButtonText: "确定", |  |  |  |         confirmButtonText: '确定', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         cancelButtonText: "取消", |  |  |  |         cancelButtonText: '取消', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         type: "warning", |  |  |  |         type: 'warning' | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         removeProduct(query).then(res => { |  |  |  |         removeProduct(query).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (res.code == 20000){ |  |  |  |           if (res.code == 20000) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.success("解绑成功") |  |  |  |             this.$message.success('解绑成功') | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.getCodeDetailList(); |  |  |  |             this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           }else { |  |  |  |           } else { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error("解绑失败") |  |  |  |             this.$message.error('解绑失败') | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             this.getCodeDetailList(); |  |  |  |             this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => {}) |  |  |  |       }).catch(() => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -765,38 +780,40 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   filters: { |  |  |  |   filters: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     statusFilterType(status) { |  |  |  |     statusFilterType(status) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       const statusMap = { |  |  |  |       const statusMap = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         false: "success", |  |  |  |         false: 'success', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         true: "warning", |  |  |  |         true: 'warning' | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       return statusMap[status]; |  |  |  |       return statusMap[status] | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   mounted() { |  |  |  |   mounted() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     document.body.ondrop = function (event) { |  |  |  |     document.body.ondrop = function(event) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       event.preventDefault(); |  |  |  |       event.preventDefault() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       event.stopPropagation(); |  |  |  |       event.stopPropagation() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     getHead("workplaceQueue-cwgl", "1").then((re) => { |  |  |  |     getHead('workplaceQueue-cwgl', '1').then((re) => { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       // 处理返回的数据 |  |  |  |       // 处理返回的数据 | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.tableObj = re.data; |  |  |  |       this.tableObj = re.data | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.tableHeader = re.data.tableList; |  |  |  |       this.tableHeader = re.data.tableList | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.queryList = re.data.queryList; |  |  |  |       this.queryList = re.data.queryList | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       this.fromList = re.data.fromList; |  |  |  |       this.fromList = re.data.fromList | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     }); |  |  |  |     }) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     this.getCodeDetailList(); |  |  |  |     this.getCodeDetailList() | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   } | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | }; |  |  |  | } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | </script> |  |  |  | </script> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <style type="text/scss" lang="scss"> |  |  |  | <style type="text/scss" lang="scss"> | 
			
		
	
		
		
			
				
					
					|  |  |  | .el-radio__original { |  |  |  | .el-radio__original { | 
			
		
	
		
		
			
				
					
					|  |  |  |   display: none !important; /* 隐藏原生 radio 输入,但仍然允许交互 */ |  |  |  |   display: none !important; /* 隐藏原生 radio 输入,但仍然允许交互 */ | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { |  |  |  | .el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner { | 
			
		
	
		
		
			
				
					
					|  |  |  |   box-shadow: none !important; |  |  |  |   box-shadow: none !important; | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | .center-button { |  |  |  | .center-button { | 
			
		
	
		
		
			
				
					
					|  |  |  |   display: flex; |  |  |  |   display: flex; | 
			
		
	
		
		
			
				
					
					|  |  |  |   justify-content: center; |  |  |  |   justify-content: center; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |