|  |  | @ -9,39 +9,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     > |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |       <el-card> |  |  |  |       <el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--        <el-row :gutter="0" v-if="isLinkDisabled">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--          <el-col :span="24" align="right">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--            <div class="inv-hos-title">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--            <span--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--              style="margin: 10px;color: #2d8cf0;font-size: 14px;"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--            >部门 : {{ this.userInfo.deptName }}</span>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--              <span style="font-weight: 500;color:rgb(51 48 48); font-size: 14px;">用户 : --> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--              </span>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--              <span--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--                style="font-weight: 500;color:rgb(51 48 48); font-size: 14px; margin-right: 20px"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--              >({{--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--                  this.userInfo.userName--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--                }})</span>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--            </div>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--          </el-col>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--        </el-row>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--        <el-alert--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--          style="margin-top: 1px;margin-bottom: 10px;font-size: 20px;"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--          :title="msgTip"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--          :closable="false"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--          type="warning">--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         <!--        </el-alert>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row style="margin-bottom: 8px"> |  |  |  |         <el-row style="margin-bottom: 8px"> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button-group |  |  |  |           <el-button-group | 
			
		
	
		
		
			
				
					
					|  |  |  |             style="display: flex; margin-top: 5px; float: right" |  |  |  |             style="display: flex; margin-top: 5px; float: right" | 
			
		
	
		
		
			
				
					
					|  |  |  |           > |  |  |  |           > | 
			
		
	
		
		
			
				
					
					|  |  |  |             <!--<el-button size="mini" type="primary" @click.native="saveOrder()" :loading="saveLoading"--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <!-->草稿保存--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <!--</el-button>--> |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading" |  |  |  |             <el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading" | 
			
		
	
		
		
			
				
					
					|  |  |  |                        v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled" |  |  |  |                        v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled" | 
			
		
	
		
		
			
				
					
					|  |  |  |             >选入草稿单据 |  |  |  |             >选入草稿单据 | 
			
		
	
	
		
		
			
				
					|  |  | @ -354,12 +326,10 @@ import DialogSelectSpace from "@/views/inout/DialogSelectSpace"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {isBlank} from "@/utils/strUtil"; |  |  |  | import {isBlank} from "@/utils/strUtil"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {filterNoPage, remoteFilter} from "@/api/basic/sicker/skPersonApi"; |  |  |  | import {filterNoPage, remoteFilter} from "@/api/basic/sicker/skPersonApi"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import dialogInvProduct from "@/views/inout/DialogSelectInvProduct"; |  |  |  | import dialogInvProduct from "@/views/inout/DialogSelectInvProduct"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {listPage} from "@/api/basic/workPlace/sysWorkplaceManage"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import {printSplitLabel} from "@/api/collect/splitCreateOrder"; |  |  |  | import {printSplitLabel} from "@/api/collect/splitCreateOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {findInvRemind} from "@/api/inout/splitCode"; |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | import chooseDraftOrderDialog from "./chooseDraftOrderDialog" |  |  |  | import chooseDraftOrderDialog from "./chooseDraftOrderDialog" | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace' |  |  |  | import {getUserBindWork} from '@/api/basic/collectPoint/userWorkplace' | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments' |  |  |  | import {getWorkBindBusTypes} from '@/api/basic/workPlace/sysWorkplaceDocuments' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   name: "ioCreateOrder", |  |  |  |   name: "ioCreateOrder", | 
			
		
	
	
		
		
			
				
					|  |  | @ -1604,7 +1574,17 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.checkSuccess = true; |  |  |  |       this.checkSuccess = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (this.getDMHotskeyValue(this.scanCode)) |  |  |  |       if (this.getDMHotskeyValue(this.scanCode)) | 
			
		
	
		
		
			
				
					
					|  |  |  |         return |  |  |  |         return | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.codeFormData.code = this.scanCode; |  |  |  |       this.codeFormData.code = this.scanCode.trim(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (this.codeFormData.code.includes(";")) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         const codeArray = this.codeFormData.code.split(";"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         let params = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           codeList: codeArray, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.batchVailCode(params) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       let tQuery = { |  |  |  |       let tQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         originCode: this.originCode, |  |  |  |         originCode: this.originCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |         code: this.codeFormData.code.trim(), |  |  |  |         code: this.codeFormData.code.trim(), | 
			
		
	
	
		
		
			
				
					|  |  | @ -1877,7 +1857,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let params = { |  |  |  |       let params = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         codeList: event.detail.recCodes, |  |  |  |         codeList: event.detail.recCodes, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       //校验 |  |  |  |       this.batchVailCode(params) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     batchVailCode(params) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       batchVailCode(params).then((response) => { |  |  |  |       batchVailCode(params).then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (response.code === 20000) { |  |  |  |         if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           console.log("==滴码接收==", response.data); |  |  |  |           console.log("==滴码接收==", response.data); | 
			
		
	
	
		
		
			
				
					|  |  | @ -1888,12 +1871,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.valiCodes.push(item.code); |  |  |  |               this.valiCodes.push(item.code); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |           }); |  |  |  |           }); | 
			
		
	
		
		
			
				
					
					|  |  |  |           //批量添加 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (this.valiCodes != null && this.valiCodes.length > 0) { |  |  |  |           if (this.valiCodes != null && this.valiCodes.length > 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             // let params2 = { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             //   workPlaceCode: this.orderFormData.workPlaceCode, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             //   codeList: this.valiCodes |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             // } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.orderFormData.codeList = this.valiCodes |  |  |  |             this.orderFormData.codeList = this.valiCodes | 
			
		
	
		
		
			
				
					
					|  |  |  |             batchAddCode(this.orderFormData).then((res) => { |  |  |  |             batchAddCode(this.orderFormData).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |               if (res.code === 20000) { |  |  |  |               if (res.code === 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1906,12 +1884,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |               } |  |  |  |               } | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         // this.scanCode = this.valiCodes.join(";"); |  |  |  |         // this.scanCode = this.valiCodes.join(";"); | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     async printMutiCodeResult(vailCodeResultResponses) { |  |  |  |     async printMutiCodeResult(vailCodeResultResponses) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.warnResult = ""; |  |  |  |       this.warnResult = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.errResult = ""; |  |  |  |       this.errResult = ""; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |