|  |  | @ -16,15 +16,15 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                      v-if="curAction.checkWebNew != 2  || viewType !=1" |  |  |  |                      v-if="curAction.checkWebNew != 2  || viewType !=1" | 
			
		
	
		
		
			
				
					
					|  |  |  |           >立即提交 |  |  |  |           >立即提交 | 
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  |           </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button size="mini" type="primary" @click.native="submit(1)" |  |  |  | <!--          <el-button size="mini" type="primary" @click.native="submit(1)"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                      v-if="curAction.checkWebNew > 1  && viewType == 1" |  |  |  | <!--                     v-if="curAction.checkWebNew > 1  && viewType == 1"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           >待配货提交 |  |  |  | <!--          >待配货提交--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  | <!--          </el-button>--> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           <el-button size="mini" type="primary" @click.native="submit(1)" |  |  |  | <!--          <el-button size="mini" type="primary" @click.native="submit(1)"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                      v-if="curAction.checkWebNew == 3" |  |  |  | <!--                     v-if="curAction.checkWebNew == 3"--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           >未配货提交 |  |  |  | <!--          >未配货提交--> | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           </el-button> |  |  |  | <!--          </el-button>--> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-button-group> |  |  |  |         </el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-row> |  |  |  |         <el-row> | 
			
		
	
	
		
		
			
				
					|  |  | @ -235,7 +235,23 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         editType="1"> |  |  |  |         editType="1"> | 
			
		
	
		
		
			
				
					
					|  |  |  |       </editCodeDialog> |  |  |  |       </editCodeDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </el-dialog> |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     <!--    绑定产品--> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :title="selectRlTitle" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :visible.sync="selectRlVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       width="80%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :close-on-click-modal="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       :close-on-press-escape="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       v-if="selectRlVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       append-to-body | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <selectRlDialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :curRow="codeFormData" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :type="1" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :fromCorp="orderFormData.fromCorp" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         v-on:selectBindRl="selectBindRl" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       ></selectRlDialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |   </div> |  |  |  |   </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -249,7 +265,7 @@ import {parseTime} from "../../utils/coTools"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {getBasicUnitMaintains} from "../../api/basic/basicUnitMaintain" |  |  |  | import {getBasicUnitMaintains} from "../../api/basic/basicUnitMaintain" | 
			
		
	
		
		
			
				
					
					|  |  |  | import editCodeDialog from "./DialogEditCode"; |  |  |  | import editCodeDialog from "./DialogEditCode"; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | import selectRlDialog from "./DialogSelectRl"; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | import codesPanel from "./PanelCreateOrderCodes" |  |  |  | import codesPanel from "./PanelCreateOrderCodes" | 
			
		
	
		
		
			
				
					
					|  |  |  | import codeDetailPanel from "./PanelCreateOrderCodeDetail" |  |  |  | import codeDetailPanel from "./PanelCreateOrderCodeDetail" | 
			
		
	
		
		
			
				
					
					|  |  |  | import bizDetailPanel from "./PanelCreateOrderBizDetail" |  |  |  | import bizDetailPanel from "./PanelCreateOrderBizDetail" | 
			
		
	
	
		
		
			
				
					|  |  | @ -337,6 +353,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           {required: true, message: "请选择单据类型", trigger: "change"} |  |  |  |           {required: true, message: "请选择单据类型", trigger: "change"} | 
			
		
	
		
		
			
				
					
					|  |  |  |         ], |  |  |  |         ], | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       selectRlVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |       isScan: true, |  |  |  |       isScan: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |       scanText: "扫码录入:", |  |  |  |       scanText: "扫码录入:", | 
			
		
	
		
		
			
				
					
					|  |  |  |       corpOrderIdDisabled: false, |  |  |  |       corpOrderIdDisabled: false, | 
			
		
	
	
		
		
			
				
					|  |  | @ -367,7 +384,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     }; | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   components: { |  |  |  |   components: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     codesPanel, codeDetailPanel, bizDetailPanel, editCodeDialog |  |  |  |     codesPanel, codeDetailPanel, bizDetailPanel, editCodeDialog, selectRlDialog | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   methods: { |  |  |  |   methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |     //获取用户仓库列表 |  |  |  |     //获取用户仓库列表 | 
			
		
	
	
		
		
			
				
					|  |  | @ -596,6 +613,15 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.refreshCodesPanel(); |  |  |  |             this.refreshCodesPanel(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message); |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.selectRlTitle = response.message; |  |  |  |             this.selectRlTitle = response.message; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             //判断是出库需要选择供应商的时候把供应商值传过去 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (tQuery.selectSupId != null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               this.codeFormData.selectSupId = tQuery.selectSupId | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               this.codeFormData.selectSupId = false | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             //DI绑定多个产品,请指定对应产品 时候传递关键字做过滤 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.codeFormData.key = "key"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.selectRlVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else if (response.code == 503) { |  |  |  |           } else if (response.code == 503) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.curRow = response.data; |  |  |  |             this.curRow = response.data; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.orderFormData.billNo = this.curRow.orderId; |  |  |  |             this.orderFormData.billNo = this.curRow.orderId; | 
			
		
	
	
		
		
			
				
					|  |  | @ -854,7 +880,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |     selectBindRl(row) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.selectRlVisible = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.orderFormData.relId = row.id; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.addCode(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getInputFocus(event) { |  |  |  |     getInputFocus(event) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       event.currentTarget.select(); |  |  |  |       event.currentTarget.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |