|  |  | @ -38,7 +38,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-card> |  |  |  |             <el-card> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button-group style="display: flex"> |  |  |  |                 <el-button-group style="display: flex"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                     <el-button type="primary" size="small" @click.native.stop="selectProductFunction()" style="margin: 0px 60px 10px auto; height: 35px" :loading="loading">产品录入</el-button> |  |  |  |                     <el-button type="primary" size="small" @click.native.stop="selectProductFunction()" style="margin: 0px 0px 10px auto; height: 35px" :loading="loading">产品录入</el-button> | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   <el-button type="primary" size="small" @click.native.stop="stockOrderList()" style=" height: 35px">内部码</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 </el-button-group> |  |  |  |                 </el-button-group> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-table v-loading="loading" :data="codeArray" style="width: 100%;" :row-class-name="tableRowClassName" border max-height="300" height="300" ref="multipleTable"> |  |  |  |                 <el-table v-loading="loading" :data="codeArray" style="width: 100%;" :row-class-name="tableRowClassName" border max-height="300" height="300" ref="multipleTable"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -109,12 +111,27 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 :filterType="2" |  |  |  |                 :filterType="2" | 
			
		
	
		
		
			
				
					
					|  |  |  |             ></stockOrderNewSelectProduct> |  |  |  |             ></stockOrderNewSelectProduct> | 
			
		
	
		
		
			
				
					
					|  |  |  |         </el-dialog> |  |  |  |         </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <el-dialog | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         title="内部码打印" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :visible.sync="haveDistributionVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :close-on-click-modal="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :close-on-press-escape="false" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         width="80%" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         v-if="haveDistributionVisible" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         :append-to-body='true' | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       > | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         <stockOrder | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         ></stockOrder> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </el-dialog> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </div> |  |  |  |     </div> | 
			
		
	
		
		
			
				
					
					|  |  |  | </template> |  |  |  | </template> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | import draggable from "vuedraggable"; |  |  |  | import draggable from "vuedraggable"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import stockOrderNewSelectProduct from "@/views/inventory/inner/innerOrderSelectProduct"; |  |  |  | import stockOrderNewSelectProduct from "@/views/inventory/inner/innerOrderSelectProduct"; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import stockOrder from "@/views/basic/business/stockOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import { |  |  |  | import { | 
			
		
	
		
		
			
				
					
					|  |  |  |   inserThrOrderWeb, |  |  |  |   inserThrOrderWeb, | 
			
		
	
		
		
			
				
					
					|  |  |  |   delInnerOrderDetail, |  |  |  |   delInnerOrderDetail, | 
			
		
	
	
		
		
			
				
					|  |  | @ -162,6 +179,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             formVisible: false, |  |  |  |             formVisible: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             deleteLoading: false, |  |  |  |             deleteLoading: false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             orderNo: null, |  |  |  |             orderNo: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           haveDistributionVisible:false, | 
			
		
	
		
		
			
				
					
					|  |  |  |             statusMap: { |  |  |  |             statusMap: { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 1: "草稿", |  |  |  |                 1: "草稿", | 
			
		
	
		
		
			
				
					
					|  |  |  |                 2: "未审核", |  |  |  |                 2: "未审核", | 
			
		
	
	
		
		
			
				
					|  |  | @ -190,6 +208,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     components: { |  |  |  |     components: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         draggable, |  |  |  |         draggable, | 
			
		
	
		
		
			
				
					
					|  |  |  |         stockOrderNewSelectProduct, |  |  |  |         stockOrderNewSelectProduct, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       stockOrder, | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     methods: { |  |  |  |     methods: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         saveOrder(status) { |  |  |  |         saveOrder(status) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -258,6 +277,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           updateOrderDetail(row); |  |  |  |           updateOrderDetail(row); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.selectedIndex = ""; |  |  |  |           this.selectedIndex = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       stockOrderList(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.haveDistributionVisible = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         selectProductFunction() { |  |  |  |         selectProductFunction() { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if(this.query.id==null) { |  |  |  |           if(this.query.id==null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             inserThrOrderWeb({innerOrderEntity: this.formData,editStatus:1}) |  |  |  |             inserThrOrderWeb({innerOrderEntity: this.formData,editStatus:1}) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |