|  |  | @ -28,8 +28,10 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         <el-card class="el-card"> |  |  |  |         <el-card class="el-card"> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-row style="margin-bottom: 20px;"> |  |  |  |             <el-row style="margin-bottom: 20px;"> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button type="primary" @click="batchSetParams(null,'salesListNo')">批量设置销售清单</el-button> |  |  |  |                 <el-button type="primary" @click="batchSetParams(null,'salesListNo')">批量设置销售清单</el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button type="primary" @click="batchSetParams(null, 'firstSalesInvNo')">批量设置销售发票第一票</el-button> |  |  |  |                 <el-button type="primary" @click="batchSetParams(null, 'firstSalesInvNo')">批量设置销售发票第一票 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 <el-button type="primary" @click="batchSetParams(null, 'secSalesInvNo')">批量设置销售发票第二票</el-button> |  |  |  |                 </el-button> | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 <el-button type="primary" @click="batchSetParams(null, 'secSalesInvNo')">批量设置销售发票第二票 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 </el-button> | 
			
		
	
		
		
			
				
					
					|  |  |  |             </el-row> |  |  |  |             </el-row> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             <el-table v-loading="detailLoading" |  |  |  |             <el-table v-loading="detailLoading" | 
			
		
	
	
		
		
			
				
					|  |  | @ -155,7 +157,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | <script> |  |  |  | <script> | 
			
		
	
		
		
			
				
					
					|  |  |  | import {stockOrderDetail, updateStockOrderDetail, findOrderByStockOrder} from "@/api/inout/stockOrder"; |  |  |  | import {stockOrderDetail, updateStockOrderDetail, findOrderByStockOrder} from "@/api/inout/stockOrder"; | 
			
		
	
		
		
			
				
					
					|  |  |  | import {updateOrder} from "@/api/inout/order"; |  |  |  | import {updateOrderPrintRemark} from "@/api/inout/order"; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export default { |  |  |  | export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     name: "stockOrderEdit", |  |  |  |     name: "stockOrderEdit", | 
			
		
	
	
		
		
			
				
					|  |  | @ -168,8 +170,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             type: Object, |  |  |  |             type: Object, | 
			
		
	
		
		
			
				
					
					|  |  |  |             required: true, |  |  |  |             required: true, | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         isShow:{ |  |  |  |         isShow: { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             flag:true, |  |  |  |             flag: true, | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     data() { |  |  |  |     data() { | 
			
		
	
	
		
		
			
				
					|  |  | @ -336,12 +338,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         updateOrderRemark() { |  |  |  |         updateOrderRemark() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             let params = { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |                 id: this.billData.orderIdFk, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             updateOrder(this.orderQuery).then((response) => { |  |  |  |                 printRemark: this.orderQuery.printRemark | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             updateOrderPrintRemark(params).then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (response.code == 20000) { |  |  |  |                 if (response.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.$message.success("保存成功!"); |  |  |  |                     this.$message.success("保存成功!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.getByStockOrder(); |  |  |  |                     // this.getByStockOrder(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             }).catch(() => { |  |  |  |             }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }) |  |  |  |             }) | 
			
		
	
	
		
		
			
				
					|  |  | @ -349,6 +353,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     created() { |  |  |  |     created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |         // this.getByStockOrder(); |  |  |  |         // this.getByStockOrder(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.orderQuery.printRemark = this.billData.printRemark; | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
		
		
			
				
					
					|  |  |  | </script> |  |  |  | </script> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |