|  |  |  | @ -1,147 +1,156 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <template> | 
			
		
	
		
			
				
					|  |  |  |  |     <div> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-card> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form :inline="true" :model="filterQuery" class="query-form" size="mini"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-input | 
			
		
	
		
			
				
					|  |  |  |  |                         v-model="filterQuery.action" | 
			
		
	
		
			
				
					|  |  |  |  |                         placeholder="业务类型" | 
			
		
	
		
			
				
					|  |  |  |  |                         style="width: 400px" | 
			
		
	
		
			
				
					|  |  |  |  |                     ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-select v-model="filterQuery.enabled" placeholder="状态"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="全部" value=""></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="已启用" value=1></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-option label="未启用" value=0></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button-group style="margin-left: 10px;display:flex;"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button type="primary" icon="search" @click="getList">查询</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button type="primary" icon="search" @click="handleAddClick" | 
			
		
	
		
			
				
					|  |  |  |  |                         >新增 | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                         > | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-upload | 
			
		
	
		
			
				
					|  |  |  |  |                             :action="uploadFileUrl" | 
			
		
	
		
			
				
					|  |  |  |  |                             multiple | 
			
		
	
		
			
				
					|  |  |  |  |                             :limit="3" | 
			
		
	
		
			
				
					|  |  |  |  |                             :headers="headers" | 
			
		
	
		
			
				
					|  |  |  |  |                             :show-file-list="false" | 
			
		
	
		
			
				
					|  |  |  |  |                             :on-success="handleChange" | 
			
		
	
		
			
				
					|  |  |  |  |                             :file-list="fileList" | 
			
		
	
		
			
				
					|  |  |  |  |                         > | 
			
		
	
		
			
				
					|  |  |  |  |                             <el-button size="mini" type="primary">导入单据类型</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-upload> | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form> | 
			
		
	
		
			
				
					|  |  |  |  |   <div> | 
			
		
	
		
			
				
					|  |  |  |  |     <el-card> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-form :inline="true" :model="filterQuery" class="query-form" size="mini"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-input | 
			
		
	
		
			
				
					|  |  |  |  |               v-model="filterQuery.name" | 
			
		
	
		
			
				
					|  |  |  |  |               placeholder="业务类型" | 
			
		
	
		
			
				
					|  |  |  |  |           ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-select v-model="filterQuery.mainAction" placeholder="出入库类型"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="全部" value=""></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="入库" value="WareHouseIn"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="出库" value="WareHouseOut"></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item class="query-form-item"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-select v-model="filterQuery.enabled" placeholder="是否启用"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="全部" value=""></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="已启用" value=1></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-option label="未启用" value=0></el-option> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button-group style="margin-left: 10px;display:flex;"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button type="primary" icon="el-icon-refresh" @click="onReset"></el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button type="primary" icon="search" @click="getList">查询</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button type="primary" icon="search" @click="handleAddClick" | 
			
		
	
		
			
				
					|  |  |  |  |             >新增 | 
			
		
	
		
			
				
					|  |  |  |  |             </el-button | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-upload | 
			
		
	
		
			
				
					|  |  |  |  |                 :action="uploadFileUrl" | 
			
		
	
		
			
				
					|  |  |  |  |                 multiple | 
			
		
	
		
			
				
					|  |  |  |  |                 :limit="3" | 
			
		
	
		
			
				
					|  |  |  |  |                 :headers="headers" | 
			
		
	
		
			
				
					|  |  |  |  |                 :show-file-list="false" | 
			
		
	
		
			
				
					|  |  |  |  |                 :on-success="handleChange" | 
			
		
	
		
			
				
					|  |  |  |  |                 :file-list="fileList" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |               <el-button size="mini" type="primary">导入单据类型</el-button> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-upload> | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button-group> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <el-table v-loading="loading" :data="list" style="width: 100%"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="序号" type="index" width="120" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-form> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="扫码单据类型" prop="name" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 <!--            <el-table-column label="出入库类型代码" prop="mainAction" fixed></el-table-column>--> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="扫码单据类型代码" prop="action" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="是否启用" prop="enable" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <span>{{ enableMap[scope.row.enable] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                     </template> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="必须选择业务单据校验" prop="checkEnable" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <span>{{ enableMap[scope.row.checkEnable] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                     </template> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="二次核对" prop="secCheckEnable" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <span>{{ enableMap[scope.row.secCheckEnable] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |                     </template> | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="关联业务单据" prop="localName" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-table v-loading="loading" :data="list" style="width: 100%"> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="序号" type="index" width="60" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="扫码单据类型" prop="name" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="出入库类型" prop="mainAction" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <span>{{ mainActionMap[scope.row.mainAction] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--        <el-table-column label="扫码单据类型代码" prop="action" fixed></el-table-column>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="是否启用" prop="enable" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <span>{{ enableMap[scope.row.enable] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="必须选择业务单据校验" prop="checkEnable" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <span>{{ enableMap[scope.row.checkEnable] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="二次核对" prop="secCheckEnable" fixed> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <span>{{ enableMap[scope.row.secCheckEnable] }}</span> | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="关联业务单据" prop="localName" fixed></el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <!--            <el-table-column label="第三方系统" prop="thirdName" fixed></el-table-column>--> | 
			
		
	
		
			
				
					|  |  |  |  |         <!--            <el-table-column label="第三方系统" prop="thirdName" fixed></el-table-column>--> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 <el-table-column label="操作" fixed="right"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                             type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                             size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                             @click.native.stop="handleModifyClick(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                         >编辑 | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                         > | 
			
		
	
		
			
				
					|  |  |  |  |                         <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                             type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                             size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                             @click.native.stop="deleteDialog(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |                         >删除 | 
			
		
	
		
			
				
					|  |  |  |  |                         </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                         > | 
			
		
	
		
			
				
					|  |  |  |  |                     </template> | 
			
		
	
		
			
				
					|  |  |  |  |         <el-table-column label="操作" fixed="right"> | 
			
		
	
		
			
				
					|  |  |  |  |           <template slot-scope="scope"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                 type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 @click.native.stop="handleModifyClick(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |             >编辑 | 
			
		
	
		
			
				
					|  |  |  |  |             </el-button | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |             <el-button | 
			
		
	
		
			
				
					|  |  |  |  |                 type="text" | 
			
		
	
		
			
				
					|  |  |  |  |                 size="small" | 
			
		
	
		
			
				
					|  |  |  |  |                 @click.native.stop="deleteDialog(scope.row)" | 
			
		
	
		
			
				
					|  |  |  |  |             >删除 | 
			
		
	
		
			
				
					|  |  |  |  |             </el-button | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |           </template> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-table> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-table-column> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-table> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |                 title="新增扫码单据类型" | 
			
		
	
		
			
				
					|  |  |  |  |                 :visible.sync="addDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |                 width="70%" | 
			
		
	
		
			
				
					|  |  |  |  |                 :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |                 :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-if="addDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |                 <modifyDialog :inputQuery="inputQuery"></modifyDialog> | 
			
		
	
		
			
				
					|  |  |  |  |                 <div style="text-align: center"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button type="primary" size="small" icon="search" @click="onAddSubmit" | 
			
		
	
		
			
				
					|  |  |  |  |                     >提交 | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button type="primary" size="small" icon="search" @click="cancelDialog" | 
			
		
	
		
			
				
					|  |  |  |  |                     >取消 | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  |                 </div> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |           title="新增扫码单据类型" | 
			
		
	
		
			
				
					|  |  |  |  |           :visible.sync="addDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |           width="70%" | 
			
		
	
		
			
				
					|  |  |  |  |           :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |           :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |           v-if="addDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |  |         <modifyDialog :inputQuery="inputQuery"></modifyDialog> | 
			
		
	
		
			
				
					|  |  |  |  |         <div style="text-align: center"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button type="primary" size="small" icon="search" @click="onAddSubmit" | 
			
		
	
		
			
				
					|  |  |  |  |           >提交 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button type="primary" size="small" icon="search" @click="cancelDialog" | 
			
		
	
		
			
				
					|  |  |  |  |           >取消 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |                 title="编辑扫码单据类型" | 
			
		
	
		
			
				
					|  |  |  |  |                 :visible.sync="modifyDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |                 width="70%" | 
			
		
	
		
			
				
					|  |  |  |  |                 :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |                 :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-if="modifyDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |             > | 
			
		
	
		
			
				
					|  |  |  |  |                 <modifyDialog :inputQuery="inputQuery"></modifyDialog> | 
			
		
	
		
			
				
					|  |  |  |  |                 <div style="text-align: center"> | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button type="primary" size="small" icon="search" @click="onModifySubmit" | 
			
		
	
		
			
				
					|  |  |  |  |                     >提交 | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  |                     <el-button type="primary" size="small" icon="search" @click="cancelDialog" | 
			
		
	
		
			
				
					|  |  |  |  |                     >取消 | 
			
		
	
		
			
				
					|  |  |  |  |                     </el-button | 
			
		
	
		
			
				
					|  |  |  |  |                     > | 
			
		
	
		
			
				
					|  |  |  |  |                 </div> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |                 :page-size="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |                 @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |                 layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |                 :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |             ></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |         </el-card> | 
			
		
	
		
			
				
					|  |  |  |  |     </div> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-dialog | 
			
		
	
		
			
				
					|  |  |  |  |           title="编辑扫码单据类型" | 
			
		
	
		
			
				
					|  |  |  |  |           :visible.sync="modifyDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |           width="70%" | 
			
		
	
		
			
				
					|  |  |  |  |           :close-on-click-modal="false" | 
			
		
	
		
			
				
					|  |  |  |  |           :close-on-press-escape="false" | 
			
		
	
		
			
				
					|  |  |  |  |           v-if="modifyDialogVisible" | 
			
		
	
		
			
				
					|  |  |  |  |       > | 
			
		
	
		
			
				
					|  |  |  |  |         <modifyDialog :inputQuery="inputQuery"></modifyDialog> | 
			
		
	
		
			
				
					|  |  |  |  |         <div style="text-align: center"> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button type="primary" size="small" icon="search" @click="onModifySubmit" | 
			
		
	
		
			
				
					|  |  |  |  |           >提交 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |           <el-button type="primary" size="small" icon="search" @click="cancelDialog" | 
			
		
	
		
			
				
					|  |  |  |  |           >取消 | 
			
		
	
		
			
				
					|  |  |  |  |           </el-button | 
			
		
	
		
			
				
					|  |  |  |  |           > | 
			
		
	
		
			
				
					|  |  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |  |       </el-dialog> | 
			
		
	
		
			
				
					|  |  |  |  |       <el-pagination | 
			
		
	
		
			
				
					|  |  |  |  |           :page-size="filterQuery.limit" | 
			
		
	
		
			
				
					|  |  |  |  |           @current-change="handleCurrentChange" | 
			
		
	
		
			
				
					|  |  |  |  |           layout="prev, pager, next" | 
			
		
	
		
			
				
					|  |  |  |  |           :total="total" | 
			
		
	
		
			
				
					|  |  |  |  |       ></el-pagination> | 
			
		
	
		
			
				
					|  |  |  |  |     </el-card> | 
			
		
	
		
			
				
					|  |  |  |  |   </div> | 
			
		
	
		
			
				
					|  |  |  |  | </template> | 
			
		
	
		
			
				
					|  |  |  |  | <script> | 
			
		
	
		
			
				
					|  |  |  |  | import { | 
			
		
	
		
			
				
					|  |  |  |  |     getJoinBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |     deleteBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |     updateBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |     insertBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |   getJoinBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |   deleteBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |   updateBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  |   insertBussinessType, | 
			
		
	
		
			
				
					|  |  |  |  | } from "../../api/basic/bussinessType"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import modifyDialog from "./BussinessTypeModify"; | 
			
		
	
	
		
			
				
					|  |  |  | @ -149,239 +158,243 @@ import axios from "axios"; | 
			
		
	
		
			
				
					|  |  |  |  | import store from "@/store"; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | export default { | 
			
		
	
		
			
				
					|  |  |  |  |     data() { | 
			
		
	
		
			
				
					|  |  |  |  |         return { | 
			
		
	
		
			
				
					|  |  |  |  |             filterQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |                 enabled: "1", | 
			
		
	
		
			
				
					|  |  |  |  |                 udiwmsType: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdType: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             addDialogVisible: false, | 
			
		
	
		
			
				
					|  |  |  |  |             modifyDialogVisible: false, | 
			
		
	
		
			
				
					|  |  |  |  |             list: [], | 
			
		
	
		
			
				
					|  |  |  |  |             inputQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |                 action: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 name: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 enable: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 remark: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 mainAction: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdSysFk: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 id: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 localAction: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkEnable: false, | 
			
		
	
		
			
				
					|  |  |  |  |                 genUnit: false, | 
			
		
	
		
			
				
					|  |  |  |  |                 innerOrder: false, | 
			
		
	
		
			
				
					|  |  |  |  |                 spUse: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckEnable: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkUdims: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkPdaEd: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkPdaUn: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkPc: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkWebNew: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkChange: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckUdims: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckPdaEd: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckPdaUn: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckPc: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckWebNew: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckChange: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkBalacne: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckBalacne: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 corpType: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 storageCode: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 supplementOrderType: null, | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             enableMap: { | 
			
		
	
		
			
				
					|  |  |  |  |                 true: "是", | 
			
		
	
		
			
				
					|  |  |  |  |                 false: "否", | 
			
		
	
		
			
				
					|  |  |  |  |             }, | 
			
		
	
		
			
				
					|  |  |  |  |             fileList: [], | 
			
		
	
		
			
				
					|  |  |  |  |             total: 0, | 
			
		
	
		
			
				
					|  |  |  |  |             multipleSelection: [], | 
			
		
	
		
			
				
					|  |  |  |  |             uploadFileUrl: null, | 
			
		
	
		
			
				
					|  |  |  |  |             headers: {}, | 
			
		
	
		
			
				
					|  |  |  |  |   data() { | 
			
		
	
		
			
				
					|  |  |  |  |     return { | 
			
		
	
		
			
				
					|  |  |  |  |       filterQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |         enabled: "1", | 
			
		
	
		
			
				
					|  |  |  |  |         udiwmsType: "", | 
			
		
	
		
			
				
					|  |  |  |  |         thirdType: "", | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       addDialogVisible: false, | 
			
		
	
		
			
				
					|  |  |  |  |       modifyDialogVisible: false, | 
			
		
	
		
			
				
					|  |  |  |  |       list: [], | 
			
		
	
		
			
				
					|  |  |  |  |       inputQuery: { | 
			
		
	
		
			
				
					|  |  |  |  |         action: "", | 
			
		
	
		
			
				
					|  |  |  |  |         name: "", | 
			
		
	
		
			
				
					|  |  |  |  |         enable: true, | 
			
		
	
		
			
				
					|  |  |  |  |         remark: "", | 
			
		
	
		
			
				
					|  |  |  |  |         mainAction: "", | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk: "", | 
			
		
	
		
			
				
					|  |  |  |  |         id: "", | 
			
		
	
		
			
				
					|  |  |  |  |         localAction: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkEnable: false, | 
			
		
	
		
			
				
					|  |  |  |  |         genUnit: false, | 
			
		
	
		
			
				
					|  |  |  |  |         innerOrder: false, | 
			
		
	
		
			
				
					|  |  |  |  |         spUse: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckEnable: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkUdims: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkPdaEd: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkPdaUn: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkPc: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkWebNew: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkChange: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckUdims: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckPdaEd: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckPdaUn: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckPc: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckWebNew: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckChange: null, | 
			
		
	
		
			
				
					|  |  |  |  |         checkBalacne: null, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckBalacne: null, | 
			
		
	
		
			
				
					|  |  |  |  |         corpType: null, | 
			
		
	
		
			
				
					|  |  |  |  |         storageCode: null, | 
			
		
	
		
			
				
					|  |  |  |  |         supplementOrderType: null, | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       enableMap: { | 
			
		
	
		
			
				
					|  |  |  |  |         true: "是", | 
			
		
	
		
			
				
					|  |  |  |  |         false: "否", | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       mainActionMap: { | 
			
		
	
		
			
				
					|  |  |  |  |         WareHouseIn: "入库", | 
			
		
	
		
			
				
					|  |  |  |  |         WareHouseOut: "出库" | 
			
		
	
		
			
				
					|  |  |  |  |       }, | 
			
		
	
		
			
				
					|  |  |  |  |       fileList: [], | 
			
		
	
		
			
				
					|  |  |  |  |       total: 0, | 
			
		
	
		
			
				
					|  |  |  |  |       multipleSelection: [], | 
			
		
	
		
			
				
					|  |  |  |  |       uploadFileUrl: null, | 
			
		
	
		
			
				
					|  |  |  |  |       headers: {}, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         }; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     methods: { | 
			
		
	
		
			
				
					|  |  |  |  |         onReset() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$router.push({ | 
			
		
	
		
			
				
					|  |  |  |  |                 path: "", | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |             this.filterQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |                 enable: null, | 
			
		
	
		
			
				
					|  |  |  |  |                 udiwmsType: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdType: "", | 
			
		
	
		
			
				
					|  |  |  |  |                 page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |                 limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         cancelDialog() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.modifyDialogVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.addDialogVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         handleChange() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         getList() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |             getJoinBussinessType(this.filterQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.list = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.total = response.data.total || 0; | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.total = 0; | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |  |     onReset() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.$router.push({ | 
			
		
	
		
			
				
					|  |  |  |  |         path: "", | 
			
		
	
		
			
				
					|  |  |  |  |       }); | 
			
		
	
		
			
				
					|  |  |  |  |       this.filterQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |         enable: null, | 
			
		
	
		
			
				
					|  |  |  |  |         udiwmsType: "", | 
			
		
	
		
			
				
					|  |  |  |  |         thirdType: "", | 
			
		
	
		
			
				
					|  |  |  |  |         page: 1, | 
			
		
	
		
			
				
					|  |  |  |  |         limit: 20, | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     cancelDialog() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.modifyDialogVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |       this.addDialogVisible = false; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleChange() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     getList() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       getJoinBussinessType(this.filterQuery) | 
			
		
	
		
			
				
					|  |  |  |  |           .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.list = response.data.list || []; | 
			
		
	
		
			
				
					|  |  |  |  |             this.total = response.data.total || 0; | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.list = []; | 
			
		
	
		
			
				
					|  |  |  |  |             this.total = 0; | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         onAddSubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.inputQuery.enable && this.inputQuery.localAction == "") { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("本地单据不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("出入库类型不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             insertBussinessType(this.inputQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     onAddSubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.inputQuery.enable && this.inputQuery.localAction == "") { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error("本地单据不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error("出入库类型不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       insertBussinessType(this.inputQuery) | 
			
		
	
		
			
				
					|  |  |  |  |           .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         onModifySubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.inputQuery.enable && this.inputQuery.localAction == "") { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("本地单据不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |     onModifySubmit() { | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.inputQuery.enable && this.inputQuery.localAction == "") { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error("本地单据不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$message.error("出入库类型不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |                 return; | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             updateBussinessType(this.inputQuery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |                     this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |       if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) { | 
			
		
	
		
			
				
					|  |  |  |  |         this.$message.error("出入库类型不能为空!"); | 
			
		
	
		
			
				
					|  |  |  |  |         return; | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       updateBussinessType(this.inputQuery) | 
			
		
	
		
			
				
					|  |  |  |  |           .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = false; | 
			
		
	
		
			
				
					|  |  |  |  |             this.cancelDialog(); | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         handleAddClick() { | 
			
		
	
		
			
				
					|  |  |  |  |             this.inputQuery = {}; | 
			
		
	
		
			
				
					|  |  |  |  |             this.addDialogVisible = true; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleAddClick() { | 
			
		
	
		
			
				
					|  |  |  |  |       this.inputQuery = {enable: true}; | 
			
		
	
		
			
				
					|  |  |  |  |       this.addDialogVisible = true; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         handleModifyClick(row) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.inputQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |                 id: row.id, | 
			
		
	
		
			
				
					|  |  |  |  |                 remark: row.remark, | 
			
		
	
		
			
				
					|  |  |  |  |                 action: row.action, | 
			
		
	
		
			
				
					|  |  |  |  |                 name: row.name, | 
			
		
	
		
			
				
					|  |  |  |  |                 enable: row.enable, | 
			
		
	
		
			
				
					|  |  |  |  |                 mainAction: row.mainAction, | 
			
		
	
		
			
				
					|  |  |  |  |                 localAction: row.localAction, | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdSysFk: row.thirdSysFk, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkEnable: row.checkEnable, | 
			
		
	
		
			
				
					|  |  |  |  |                 genUnit: row.genUnit, | 
			
		
	
		
			
				
					|  |  |  |  |                 innerOrder: row.innerOrder, | 
			
		
	
		
			
				
					|  |  |  |  |                 spUse: row.spUse, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckEnable: row.secCheckEnable, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkUdims: row.checkUdims, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkPdaEd: row.checkPdaEd, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkPdaUn: row.checkPdaUn, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkPc: row.checkPc, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkWebNew: row.checkWebNew, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkChange: row.checkChange, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckUdims: row.secCheckUdims, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckPdaEd: row.secCheckPdaEd, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckPdaUn: row.secCheckPdaUn, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckPc: row.secCheckPc, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckWebNew: row.secCheckWebNew, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckChange: row.secCheckChange, | 
			
		
	
		
			
				
					|  |  |  |  |                 corpType: row.corpType + "", | 
			
		
	
		
			
				
					|  |  |  |  |                 storageCode: row.storageCode, | 
			
		
	
		
			
				
					|  |  |  |  |                 supplementOrderType: row.supplementOrderType, | 
			
		
	
		
			
				
					|  |  |  |  |                 checkBalacne: row.checkBalacne, | 
			
		
	
		
			
				
					|  |  |  |  |                 secCheckBalacne: row.secCheckBalacne, | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |             this.modifyDialogVisible = true; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     handleModifyClick(row) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.inputQuery = { | 
			
		
	
		
			
				
					|  |  |  |  |         id: row.id, | 
			
		
	
		
			
				
					|  |  |  |  |         remark: row.remark, | 
			
		
	
		
			
				
					|  |  |  |  |         action: row.action, | 
			
		
	
		
			
				
					|  |  |  |  |         name: row.name, | 
			
		
	
		
			
				
					|  |  |  |  |         enable: row.enable, | 
			
		
	
		
			
				
					|  |  |  |  |         mainAction: row.mainAction, | 
			
		
	
		
			
				
					|  |  |  |  |         localAction: row.localAction, | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk: row.thirdSysFk, | 
			
		
	
		
			
				
					|  |  |  |  |         checkEnable: row.checkEnable, | 
			
		
	
		
			
				
					|  |  |  |  |         genUnit: row.genUnit, | 
			
		
	
		
			
				
					|  |  |  |  |         innerOrder: row.innerOrder, | 
			
		
	
		
			
				
					|  |  |  |  |         spUse: row.spUse, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckEnable: row.secCheckEnable, | 
			
		
	
		
			
				
					|  |  |  |  |         checkUdims: row.checkUdims, | 
			
		
	
		
			
				
					|  |  |  |  |         checkPdaEd: row.checkPdaEd, | 
			
		
	
		
			
				
					|  |  |  |  |         checkPdaUn: row.checkPdaUn, | 
			
		
	
		
			
				
					|  |  |  |  |         checkPc: row.checkPc, | 
			
		
	
		
			
				
					|  |  |  |  |         checkWebNew: row.checkWebNew, | 
			
		
	
		
			
				
					|  |  |  |  |         checkChange: row.checkChange, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckUdims: row.secCheckUdims, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckPdaEd: row.secCheckPdaEd, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckPdaUn: row.secCheckPdaUn, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckPc: row.secCheckPc, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckWebNew: row.secCheckWebNew, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckChange: row.secCheckChange, | 
			
		
	
		
			
				
					|  |  |  |  |         corpType: row.corpType + "", | 
			
		
	
		
			
				
					|  |  |  |  |         storageCode: row.storageCode, | 
			
		
	
		
			
				
					|  |  |  |  |         supplementOrderType: row.supplementOrderType, | 
			
		
	
		
			
				
					|  |  |  |  |         checkBalacne: row.checkBalacne, | 
			
		
	
		
			
				
					|  |  |  |  |         secCheckBalacne: row.secCheckBalacne, | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |       this.modifyDialogVisible = true; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         deleteDialog(rowId) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$confirm("此操作将永久删除该扫码类型信息, 是否继续?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |                 confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |                 cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |                 type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |             }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.deleteOrders(rowId); | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     deleteDialog(rowId) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.$confirm("此操作将永久删除该扫码类型信息, 是否继续?", "提示", { | 
			
		
	
		
			
				
					|  |  |  |  |         confirmButtonText: "确定", | 
			
		
	
		
			
				
					|  |  |  |  |         cancelButtonText: "取消", | 
			
		
	
		
			
				
					|  |  |  |  |         type: "warning", | 
			
		
	
		
			
				
					|  |  |  |  |       }) | 
			
		
	
		
			
				
					|  |  |  |  |           .then(() => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.deleteOrders(rowId); | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         deleteOrders(data) { | 
			
		
	
		
			
				
					|  |  |  |  |             this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |             let tquery = { | 
			
		
	
		
			
				
					|  |  |  |  |                 id: data.id + "", | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |     deleteOrders(data) { | 
			
		
	
		
			
				
					|  |  |  |  |       this.loading = true; | 
			
		
	
		
			
				
					|  |  |  |  |       let tquery = { | 
			
		
	
		
			
				
					|  |  |  |  |         id: data.id + "", | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             deleteBussinessType(tquery) | 
			
		
	
		
			
				
					|  |  |  |  |                 .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |                     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |                     if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message({ | 
			
		
	
		
			
				
					|  |  |  |  |                             type: "success", | 
			
		
	
		
			
				
					|  |  |  |  |                             message: "删除成功!", | 
			
		
	
		
			
				
					|  |  |  |  |                         }); | 
			
		
	
		
			
				
					|  |  |  |  |                     } else { | 
			
		
	
		
			
				
					|  |  |  |  |                         this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |       deleteBussinessType(tquery) | 
			
		
	
		
			
				
					|  |  |  |  |           .then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |             this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |             if (response.code == 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message({ | 
			
		
	
		
			
				
					|  |  |  |  |                 type: "success", | 
			
		
	
		
			
				
					|  |  |  |  |                 message: "删除成功!", | 
			
		
	
		
			
				
					|  |  |  |  |               }); | 
			
		
	
		
			
				
					|  |  |  |  |             } else { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 }) | 
			
		
	
		
			
				
					|  |  |  |  |                 .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |                 }); | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |         init() { | 
			
		
	
		
			
				
					|  |  |  |  |             axios.get("./config.json").then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |                 // 基础地址 | 
			
		
	
		
			
				
					|  |  |  |  |                 let response = res.data.BASE_URL; | 
			
		
	
		
			
				
					|  |  |  |  |                 this.uploadFileUrl = response + "/udiwms/busstiness/file/upload"; | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |             this.headers = { | 
			
		
	
		
			
				
					|  |  |  |  |                 ADMIN_ID: store.getters.adminId, | 
			
		
	
		
			
				
					|  |  |  |  |                 ADMIN_TOKEN: store.getters.token, | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  |         }, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     components: { | 
			
		
	
		
			
				
					|  |  |  |  |         modifyDialog, | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |  |           .catch(() => { | 
			
		
	
		
			
				
					|  |  |  |  |           }); | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |     created() { | 
			
		
	
		
			
				
					|  |  |  |  |         this.init(); | 
			
		
	
		
			
				
					|  |  |  |  |         this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |     init() { | 
			
		
	
		
			
				
					|  |  |  |  |       axios.get("./config.json").then(res => { | 
			
		
	
		
			
				
					|  |  |  |  |         // 基础地址 | 
			
		
	
		
			
				
					|  |  |  |  |         let response = res.data.BASE_URL; | 
			
		
	
		
			
				
					|  |  |  |  |         this.uploadFileUrl = response + "/udiwms/busstiness/file/upload"; | 
			
		
	
		
			
				
					|  |  |  |  |       }); | 
			
		
	
		
			
				
					|  |  |  |  |       this.headers = { | 
			
		
	
		
			
				
					|  |  |  |  |         ADMIN_ID: store.getters.adminId, | 
			
		
	
		
			
				
					|  |  |  |  |         ADMIN_TOKEN: store.getters.token, | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   components: { | 
			
		
	
		
			
				
					|  |  |  |  |     modifyDialog, | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  |     this.init(); | 
			
		
	
		
			
				
					|  |  |  |  |     this.getList(); | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  | }; | 
			
		
	
		
			
				
					|  |  |  |  | </script> | 
			
		
	
	
		
			
				
					|  |  |  | 
 |