|  |  | @ -78,8 +78,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-row> |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row> |  |  |  |         <el-row style="margin-top: 15px"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="8"> |  |  |  |           <el-col :span="6"> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="workPlaceCode" class="query-form-item" label="当前工位:"> |  |  |  |             <el-form-item prop="workPlaceCode" class="query-form-item" label="当前工位:"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-select |  |  |  |               <el-select | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-model="formData.workPlaceCode" |  |  |  |                 v-model="formData.workPlaceCode" | 
			
		
	
	
		
		
			
				
					|  |  | @ -104,7 +104,27 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="8" v-if="this.formDataVisible != null &&  this.formDataVisible.operationType == 1"> |  |  |  |           <el-col :span="6" > | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-form-item prop="busType"  class="query-form-item" label="单据类型:"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <el-select v-model="formData.busType" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                          filterable | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                          remote | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                          reserve-keyword | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                          placeholder="请选择单据类型" clearable style="width: 90%"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-option | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   v-for="item in busTypeList" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   :key="item.code" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   :label="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   :value="item.code" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <span style="float: left">{{ item.name }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <span style="float: right; color: #8492a6; font-size: 13px">{{ item.code }}</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-option> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               </el-select> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-col :span="6" v-if="this.formDataVisible != null &&  this.formDataVisible.operationType == 1"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item class="query-form-item" :label="this.formDataVisible.unitTittle + ':'"> |  |  |  |             <el-form-item class="query-form-item" :label="this.formDataVisible.unitTittle + ':'"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-select v-model="formData.fromCorp" |  |  |  |               <el-select v-model="formData.fromCorp" | 
			
		
	
		
		
			
				
					
					|  |  |  |                          filterable |  |  |  |                          filterable | 
			
		
	
	
		
		
			
				
					|  |  | @ -230,10 +250,60 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       > |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |         <selectPrescribeDialog |  |  |  |         <selectPrescribeDialog | 
			
		
	
		
		
			
				
					
					|  |  |  |           :workPlaceCode="this.formData.workPlaceCode" |  |  |  |           :workPlaceCode="this.formData.workPlaceCode" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :busType="this.formData.busType" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           :fromCorp="this.formData.fromCorp" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :confirmSelect="this.confirmSelect" |  |  |  |           :confirmSelect="this.confirmSelect" | 
			
		
	
		
		
			
				
					
					|  |  |  |           :closeDialog="this.closeDialog" |  |  |  |           :closeDialog="this.closeDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  |         ></selectPrescribeDialog> |  |  |  |         ></selectPrescribeDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-dialog> |  |  |  |       </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         title="选择作业单据类型" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :visible.sync="selectBusTypeDisabled" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :close-on-click-modal="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :close-on-press-escape="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :show-close="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         v-if="selectBusTypeDisabled" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         width="65%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <el-row > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <!--          <el-button v-for="(item, index) in busTypeList" :key="index" type="primary" plain @click="selectBusType(item.code)">{{ item.name }}</el-button>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           <el-col v-for="(info, index)  in busTypeList"  :key="index" :xs="12" :sm="8" :md="8" :lg="6"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <el-card :body-style="{margin:'20px'}" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                      style="margin:20px 20px 20px 20px;height: 200px;background-color: #e1f3fb;border-radius: 12px; position: relative;" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <div style="display: flex; justify-content: space-between; align-items: center; height: 66px; /* 约为 200px 的 1/3 */" @click="selectBusType(info.code)" > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <p style="font-size: 20px;background-color: #e1f3fb;font-weight: bold;">{{ info.name }}</p> <!-- 假设你的信息对象中包含一个title属性 --> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <!--            <div style="width: 60px; height: 60px;  display: flex; justify-content: center; align-items: center;">--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <!--              <!– 二维码占位,这里用灰色方块代替 –>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <!--<!–              <span>QR</span>–>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <!--              <div ref="qrcode" :id="'qrcode-'+index" style="width: 60px;height: 60px;"></div>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <!--            </div>--> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               <div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" @click="selectBusType(info.code)"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <!-- 假设这里有一些信息内容 --> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <p style="font-size: 14px;background-color: #e1f3fb">{{ info.code }}</p> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" @click="selectBusType(info.code)">开始作业</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             </el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-form> |  |  |  |     </el-form> | 
			
		
	
		
		
			
				
					
					|  |  |  |   </div> |  |  |  |   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
	
		
		
			
				
					|  |  | @ -255,6 +325,7 @@ import {selectCorpList} from "@/api/basic/basicUnitMaintain"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {delDrugLevel} from "@/api/basic/product/drugUdiinfos"; |  |  |  | import {delDrugLevel} from "@/api/basic/product/drugUdiinfos"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getCurOrder, getNextOrder} from "@/api/collect/collectOrder"; |  |  |  | import {getCurOrder, getNextOrder} from "@/api/collect/collectOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import PanelOrderAllDetail from "@/views/collect/PanelOrderAllDetail"; |  |  |  | import PanelOrderAllDetail from "@/views/collect/PanelOrderAllDetail"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import { getWorkBindBusTypes,removeBusTypeById } from '@/api/basic/workPlace/sysWorkplaceDocuments' | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   /** |  |  |  |   /** | 
			
		
	
	
		
		
			
				
					|  |  | @ -293,12 +364,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       formData: { |  |  |  |       formData: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         tagStatus: -1, |  |  |  |         tagStatus: -1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         invCode: null, |  |  |  |         invCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         busType: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         workPlaceCode: null, |  |  |  |         workPlaceCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         fromCorp: null, |  |  |  |         fromCorp: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       selectPrescriptionVisible: false, |  |  |  |       selectPrescriptionVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       corpOrderIdDisabled: false, |  |  |  |       corpOrderIdDisabled: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       isLinkDisabled: false, |  |  |  |       isLinkDisabled: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       selectBusTypeDisabled: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       userInfo: { |  |  |  |       userInfo: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         inv: this.$store.getters.locInvName, |  |  |  |         inv: this.$store.getters.locInvName, | 
			
		
	
		
		
			
				
					
					|  |  |  |         deptName: this.$store.getters.locDeptName, |  |  |  |         deptName: this.$store.getters.locDeptName, | 
			
		
	
	
		
		
			
				
					|  |  | @ -319,6 +392,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       scanResultType: "success", |  |  |  |       scanResultType: "success", | 
			
		
	
		
		
			
				
					
					|  |  |  |       isSelectOrder: false, |  |  |  |       isSelectOrder: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       isFinishOrder: true, |  |  |  |       isFinishOrder: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       busQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         busKey: '', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         workplaceCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         limit: 100 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       busTypeList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       busTypeTotal: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -332,6 +413,31 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     PanelOrderAllDetail |  |  |  |     PanelOrderAllDetail | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     selectBusType(val){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.formData.busType = val | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.selectBusTypeDisabled = false | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (this.formData.workPlaceCode != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.findCurOrder(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     getWorkBindBusTypes(workplaceId) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.busQuery.workplaceCode = workplaceId | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       getWorkBindBusTypes(this.busQuery).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (res.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.busTypeList = res.data.list | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.busTypeTotal = res.data.total | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           if (this.busTypeList.length == 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.formData.busType = this.busTypeList[0].code | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.selectBusTypeDisabled = false | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.findCurOrder(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.formData.busType = null | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     findFromInvList(val) { |  |  |  |     findFromInvList(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let cQuery = { |  |  |  |       let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         corpType: this.formDataVisible.corpType, |  |  |  |         corpType: this.formDataVisible.corpType, | 
			
		
	
	
		
		
			
				
					|  |  | @ -349,6 +455,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.formDataVisible = item |  |  |  |           this.formDataVisible = item | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.getWorkBindBusTypes(value) | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.formDataVisible.operationType == 1) { |  |  |  |       if (this.formDataVisible.operationType == 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.findFromInvList(""); |  |  |  |         this.findFromInvList(""); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
	
		
		
			
				
					|  |  | @ -385,8 +492,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.curWorkPlaces = res.data.list || []; |  |  |  |         this.curWorkPlaces = res.data.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.curWorkPlaces.length == 1 && this.formData.workPlaceCode == null) { |  |  |  |         if (this.curWorkPlaces.length == 1 && this.formData.workPlaceCode == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.formData.workPlaceCode = this.curWorkPlaces[0].workplaceId; |  |  |  |           this.formData.workPlaceCode = this.curWorkPlaces[0].workplaceId; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.workPlaceCodeChange(this.formData.workPlaceCode); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.workPlaceCodeChange(this.formData.workPlaceCode); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     //界面配置相关------------ |  |  |  |     //界面配置相关------------ | 
			
		
	
	
		
		
			
				
					|  |  | @ -580,7 +687,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     //选择单据 |  |  |  |     //选择单据 | 
			
		
	
		
		
			
				
					
					|  |  |  |     selectPrescribe() { |  |  |  |     selectPrescribe() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       console.log(this.formData.workPlaceCode) |  |  |  |       // console.log(this.formData.workPlaceCode) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       this.selectPrescriptionVisible = true; |  |  |  |       this.selectPrescriptionVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -605,7 +712,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     findCurOrder() { |  |  |  |     findCurOrder() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let nextQuery = { |  |  |  |       let nextQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         workPlaceCode: this.formData.workPlaceCode |  |  |  |         workPlaceCode: this.formData.workPlaceCode, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         busType: this.formData.busType | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       getCurOrder(nextQuery).then(res => { |  |  |  |       getCurOrder(nextQuery).then(res => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false |  |  |  |         this.loading = false | 
			
		
	
	
		
		
			
				
					|  |  | @ -635,7 +743,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error(res.message) |  |  |  |           // this.$message.error(res.message) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => { |  |  |  |       }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false |  |  |  |         this.loading = false | 
			
		
	
	
		
		
			
				
					|  |  | @ -721,18 +829,16 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.queryList = re.data.queryList; |  |  |  |       this.queryList = re.data.queryList; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.fromList = re.data.fromList; |  |  |  |       this.fromList = re.data.fromList; | 
			
		
	
		
		
			
				
					
					|  |  |  |     }); |  |  |  |     }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     this.findCurWorkPlaces(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.formData.invCode = this.$store.getters.locInvCode; |  |  |  |     this.formData.invCode = this.$store.getters.locInvCode; | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (this.$route.query.workplaceId != null) { |  |  |  |     if (this.$route.query.workplaceId != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.isLinkDisabled = true |  |  |  |       this.isLinkDisabled = true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.selectBusTypeDisabled = true | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.corpOrderIdDisabled = true |  |  |  |       this.corpOrderIdDisabled = true | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData.workPlaceCode = Number(this.$route.query.workplaceId); |  |  |  |       this.formData.workPlaceCode = Number(this.$route.query.workplaceId); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |       this.getWorkBindBusTypes(this.formData.workPlaceCode); | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.formData.workPlaceCode != null) { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.findCurOrder(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.findCurWorkPlaces(); |  |  |  | 
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |