|  |  | @ -6,54 +6,19 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-col> |  |  |  |       </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       <div> |  |  |  |       <div> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-form :model="formData" class="order-el-form" ref="formData" label-width="120px" style="margin-top: 5px"> |  |  |  |         <el-form :model="formData" class="order-el-form" ref="formData" label-width="120px" > | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="6"> |  |  |  |           <el-col :span="6" align="center"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="workPlaceCode" class="query-form-item" label="当前工位:"> |  |  |  |               <h5 style="color: #1c84c6">当前工位:    <span style="font-size: 20px;color: #000000">{{this.formData.workplaceName}}</span></h5> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-select |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 v-model="formData.workPlaceCode" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 placeholder="当前工位" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 style="width: 90%" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 disabled |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               > |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-option |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   v-for="item in curWorkPlaces" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :key="item.workplaceId" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :label="item.workplaceName" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :value="item.workplaceId" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 > |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <span style="float: left">{{ item.workplaceName }}</span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <span style="float: right; color: #8492a6; font-size: 13px">{{ |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       item.workplaceId |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     }}</span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-option> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-select> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="6"> |  |  |  |           <el-col :span="8" align="center"> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item prop="busType" class="query-form-item" label="当前业务类型:"> |  |  |  |             <h5 style="color: #1c84c6">当前业务类型:    <span style="font-size: 20px;color: #000000">{{this.formData.busName}}</span> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               <el-select v-model="formData.busType" |  |  |  |                    <el-button type="primary" @click="toggleBusType" style="margin-left: 10px;" >切换业务</el-button> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                          filterable |  |  |  |             </h5> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                          remote |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                          reserve-keyword |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                          disabled |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                          placeholder="请选择业务类型" clearable style="width: 55%"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-option |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   v-for="item in busTypeList" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :key="item.documentTypeCode" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :label="item.busName" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   :value="item.documentTypeCode" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 > |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <span style="float: left">{{ item.busName }}</span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   <span style="float: right; color: #8492a6; font-size: 13px">{{ item.documentTypeCode }}</span> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-option> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               </el-select> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="primary" @click="toggleBusType" style="margin-left: 5px">切换业务</el-button> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-col> |  |  |  |           </el-col> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-col :span="6"> |  |  |  |           <el-col :span="4"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <el-form-item> |  |  |  |             <el-form-item> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-form-item> |  |  |  |             </el-form-item> | 
			
		
	
	
		
		
			
				
					|  |  | @ -97,7 +62,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <span slot="title">已完成单</span> |  |  |  |             <span slot="title">已完成单</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-menu-item> |  |  |  |           </el-menu-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-menu-item :index=6 @click="clickMenuItem(6)"> |  |  |  |           <el-menu-item :index=6 @click="clickMenuItem(6)"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <i class="el-icon-s-claim"></i> |  |  |  |             <i class="el-icon-upload"></i> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             <span slot="title">单据上传</span> |  |  |  |             <span slot="title">单据上传</span> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-menu-item> |  |  |  |           </el-menu-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-menu-item :index=1 @click="clickMenuItem(1)"> |  |  |  |           <el-menu-item :index=1 @click="clickMenuItem(1)"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -110,11 +75,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-menu-item> |  |  |  |           </el-menu-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-menu-item :index=3 @click="clickMenuItem(3)"> |  |  |  |           <el-menu-item :index=3 @click="clickMenuItem(3)"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <i class="el-icon-s-platform"></i> |  |  |  |             <i class="el-icon-s-platform"></i> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <span slot="title">工位存量</span> |  |  |  |             <span slot="title">工位库存</span> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-menu-item> |  |  |  |           </el-menu-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-menu-item :index=7 @click="clickMenuItem(7)"> |  |  |  |           <el-menu-item :index=7 @click="clickMenuItem(7)"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <i class="el-icon-s-claim"></i> |  |  |  |             <i class="el-icon-s-release"></i> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             <span slot="title">损耗出库</span> |  |  |  |             <span slot="title">拆零管理</span> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           </el-menu-item> |  |  |  |           </el-menu-item> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-menu> |  |  |  |         </el-menu> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-col> |  |  |  |       </el-col> | 
			
		
	
	
		
		
			
				
					|  |  | @ -128,23 +93,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             :label="item.title" |  |  |  |             :label="item.title" | 
			
		
	
		
		
			
				
					
					|  |  |  |             :name="item.name" |  |  |  |             :name="item.name" | 
			
		
	
		
		
			
				
					
					|  |  |  |             @contextmenu.stop.prevent="handleTabContextMenu($event, item)" |  |  |  |             @contextmenu.stop.prevent="handleTabContextMenu($event, item)" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             style="background-color: white" | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |             <ul v-if="showContextMenu" class="context-menu" :style="contextMenuPosition"> |  |  |  |             <ul v-if="showContextMenu" class="context-menu" :style="contextMenuPosition"> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <li @click="closeCurrentTab(contextMenuIndex)">关闭当前</li> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <li @click="closeOtherTabs">关闭其他</li> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |               <li @click="closeAllTabs">关闭所有</li> |  |  |  |               <li @click="closeAllTabs">关闭所有</li> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </ul> |  |  |  |             </ul> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div > |  |  |  |             <div > | 
			
		
	
		
		
			
				
					
					|  |  |  |               <component v-if="showChild" :is="item.component" v-bind="item.componentProps" :reset-key="resetKeys[item.name]" @parent-method="parentMethod" /> |  |  |  |               <component v-if="showChild" :is="item.component" v-bind="item.componentProps" :reset-key="resetKeys[item.name]" @parent-method="parentMethod" /> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </div> |  |  |  |             </div> | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-tab-pane> |  |  |  |           </el-tab-pane> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           <!-- 自定义的上下文菜单(这里只是一个占位符,你需要实现它) --> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           <div v-if="showContextMenu" class="context-menu" :style="contextMenuStyle"> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <button @click="closeCurrentTab">关闭当前</button> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <button @click="closeOtherTabs">关闭其他</button> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <button @click="closeAllTabs">关闭所有</button> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           </div> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-tabs> |  |  |  |         </el-tabs> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       </el-col> |  |  |  |       </el-col> | 
			
		
	
	
		
		
			
				
					|  |  | @ -172,7 +129,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div |  |  |  |             <div | 
			
		
	
		
		
			
				
					
					|  |  |  |               style="display: flex; justify-content: space-between; align-items: center; height: 46px; /* 约为 200px 的 1/3 */" |  |  |  |               style="display: flex; justify-content: space-between; align-items: center; height: 46px; /* 约为 200px 的 1/3 */" | 
			
		
	
		
		
			
				
					
					|  |  |  |               @click="selectBusType(info.documentTypeCode)"> |  |  |  |               @click="selectBusType(info)"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               <p style="font-size: 20px;background-color: #e1f3fb;font-weight: bold;">{{ info.busName }}</p> |  |  |  |               <p style="font-size: 20px;background-color: #e1f3fb;font-weight: bold;">{{ info.busName }}</p> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <!-- 假设你的信息对象中包含一个title属性 --> |  |  |  |               <!-- 假设你的信息对象中包含一个title属性 --> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <!--            <div style="width: 60px; height: 60px;  display: flex; justify-content: center; align-items: center;">--> |  |  |  |               <!--            <div style="width: 60px; height: 60px;  display: flex; justify-content: center; align-items: center;">--> | 
			
		
	
	
		
		
			
				
					|  |  | @ -185,10 +142,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" |  |  |  |             <div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" | 
			
		
	
		
		
			
				
					
					|  |  |  |             > |  |  |  |             > | 
			
		
	
		
		
			
				
					
					|  |  |  |               <!-- 假设这里有一些信息内容 --> |  |  |  |               <!-- 假设这里有一些信息内容 --> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <p style="font-size: 14px;background-color: #e1f3fb" @click="selectBusType(info.documentTypeCode)"> |  |  |  |               <p style="font-size: 14px;background-color: #e1f3fb" @click="selectBusType(info)"> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 {{ info.remark }}</p> |  |  |  |                 {{ info.remark }}</p> | 
			
		
	
		
		
			
				
					
					|  |  |  |               <el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" |  |  |  |               <el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" | 
			
		
	
		
		
			
				
					
					|  |  |  |                          @click="selectBusType(info.documentTypeCode)">开始作业 |  |  |  |                          @click="selectBusType(info)">开始作业 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               </el-button> |  |  |  |               </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             </div> |  |  |  |             </div> | 
			
		
	
	
		
		
			
				
					|  |  | @ -239,7 +196,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 100 |  |  |  |         limit: 100 | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       formData: {}, |  |  |  |       formData: { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         busName: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         workplaceName: null | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       curWorkPlaces: [], |  |  |  |       curWorkPlaces: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       busTypeList: [], |  |  |  |       busTypeList: [], | 
			
		
	
		
		
			
				
					
					|  |  |  |       logo: logoImg, |  |  |  |       logo: logoImg, | 
			
		
	
	
		
		
			
				
					|  |  | @ -261,7 +221,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           component: DealOrder, |  |  |  |           component: DealOrder, | 
			
		
	
		
		
			
				
					
					|  |  |  |           // 假设你需要传递的参数 |  |  |  |           // 假设你需要传递的参数 | 
			
		
	
		
		
			
				
					
					|  |  |  |           componentProps: { |  |  |  |           componentProps: { | 
			
		
	
		
		
			
				
					
					|  |  |  |             title: '这是单据的标题', |  |  |  |             // title: '这是单据的标题', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         { |  |  |  |         { | 
			
		
	
	
		
		
			
				
					|  |  | @ -286,7 +246,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         { |  |  |  |         { | 
			
		
	
		
		
			
				
					
					|  |  |  |           number: 3, |  |  |  |           number: 3, | 
			
		
	
		
		
			
				
					
					|  |  |  |           title: '工位存量', |  |  |  |           title: '工位库存', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           name: 'ioSplitFifoCode', |  |  |  |           name: 'ioSplitFifoCode', | 
			
		
	
		
		
			
				
					
					|  |  |  |           component: ioSplitFifoCode, |  |  |  |           component: ioSplitFifoCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |           // 假设你需要传递的参数 |  |  |  |           // 假设你需要传递的参数 | 
			
		
	
	
		
		
			
				
					|  |  | @ -318,7 +278,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         { |  |  |  |         { | 
			
		
	
		
		
			
				
					
					|  |  |  |           number: 7, |  |  |  |           number: 7, | 
			
		
	
		
		
			
				
					
					|  |  |  |           title: '损耗出库', |  |  |  |           title: '拆零管理', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           name: 'IoDestroyOrder', |  |  |  |           name: 'IoDestroyOrder', | 
			
		
	
		
		
			
				
					
					|  |  |  |           component: IoDestroyOrder, |  |  |  |           component: IoDestroyOrder, | 
			
		
	
		
		
			
				
					
					|  |  |  |           // 假设你需要传递的参数 |  |  |  |           // 假设你需要传递的参数 | 
			
		
	
	
		
		
			
				
					|  |  | @ -331,7 +291,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         component: DealOrder, |  |  |  |         component: DealOrder, | 
			
		
	
		
		
			
				
					
					|  |  |  |         // 假设你需要传递的参数 |  |  |  |         // 假设你需要传递的参数 | 
			
		
	
		
		
			
				
					
					|  |  |  |         componentProps: { |  |  |  |         componentProps: { | 
			
		
	
		
		
			
				
					
					|  |  |  |           title: '这是单据的标题' |  |  |  |           // title: '这是单据的标题' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       ], |  |  |  |       ], | 
			
		
	
	
		
		
			
				
					|  |  | @ -346,12 +306,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       // this.$refs.selectHeadEmpId.blur(); |  |  |  |       // this.$refs.selectHeadEmpId.blur(); | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.selectBusTypeDisabled = true |  |  |  |       this.selectBusTypeDisabled = true | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     selectBusType(val) { |  |  |  |     selectBusType(info) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       let val = info.documentTypeCode | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData.busType = val |  |  |  |       this.formData.busType = val | 
			
		
	
		
		
			
				
					
					|  |  |  |       let newQuery = {...this.$route.query}; |  |  |  |       let newQuery = {...this.$route.query}; | 
			
		
	
		
		
			
				
					
					|  |  |  |       delete newQuery.billNo; |  |  |  |       delete newQuery.billNo; | 
			
		
	
		
		
			
				
					
					|  |  |  |       newQuery.busType = val |  |  |  |       newQuery.busType = val | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$router.push({query: newQuery, path: this.$route.path}); |  |  |  |       this.$router.push({query: newQuery, path: this.$route.path}); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.formData.busName = info.busName; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.editableTabs = [] |  |  |  |       this.editableTabs = [] | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.clickMenuItem(0) |  |  |  |       this.clickMenuItem(0) | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.showChild = false; |  |  |  |       this.showChild = false; | 
			
		
	
	
		
		
			
				
					|  |  | @ -439,6 +401,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       listPage(query).then((res) => { |  |  |  |       listPage(query).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.curWorkPlaces = res.data.list || []; |  |  |  |         this.curWorkPlaces = res.data.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |        if (this.$route.query.workplaceId != null){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |          let item = this.curWorkPlaces.find(item => item.workplaceId == this.$route.query.workplaceId); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |          this.formData.workplaceName = item.workplaceName | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |        } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }) |  |  |  |       }) | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getWorkBindBusTypes(workplaceId) { |  |  |  |     getWorkBindBusTypes(workplaceId) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -450,10 +416,12 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (this.$route.query.busType != null) { |  |  |  |           if (this.$route.query.busType != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.busType = this.$route.query.busType |  |  |  |             this.formData.busType = this.$route.query.busType | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.formData.busName = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType).busName; | 
			
		
	
		
		
			
				
					
					|  |  |  |           }else  if (this.busTypeList.length == 1) { |  |  |  |           }else  if (this.busTypeList.length == 1) { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.formData.busType = this.busTypeList[0].documentTypeCode |  |  |  |               this.formData.busType = this.busTypeList[0].documentTypeCode | 
			
		
	
		
		
			
				
					
					|  |  |  |              this.$router.push({query: {...this.$route.query, busType: this.formData.busType}, path: this.$route.path}) |  |  |  |              this.$router.push({query: {...this.$route.query, busType: this.formData.busType}, path: this.$route.path}) | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.selectBusTypeDisabled = false |  |  |  |               this.selectBusTypeDisabled = false | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.formData.busName = this.busTypeList.find(item => item.documentTypeCode == this.formData.busType).busName; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.selectBusTypeDisabled = true |  |  |  |               this.selectBusTypeDisabled = true | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.formData.busType = null |  |  |  |               this.formData.busType = null | 
			
		
	
	
		
		
			
				
					|  |  | @ -526,7 +494,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   margin-left: 25px; |  |  |  |   margin-left: 25px; | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | .context-menu { |  |  |  | .context-menu { | 
			
		
	
		
		
			
				
					
					|  |  |  |   zIndex: 1000; |  |  |  |   zIndex: 100000; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   position: fixed ; |  |  |  |   position: fixed ; | 
			
		
	
		
		
			
				
					
					|  |  |  |   list-style-type: none; |  |  |  |   list-style-type: none; | 
			
		
	
		
		
			
				
					
					|  |  |  |   padding: 0; |  |  |  |   padding: 0; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |