| 
					
				 | 
			
			
				@@ -124,6 +124,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import { JDictSelectTag} from '/@/components/Form'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import { Form, message } from 'ant-design-vue'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import { useUserStore } from '/@/store/modules/user'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  import { initDictOptions } from '/@/utils/dict'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import moment from 'moment'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   const useForm = Form.useForm; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   export default defineComponent({ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -215,7 +216,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      function add() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      async function add() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         resetFields(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         saleShipTable.dataSource = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         stockOutTable.dataSource = []; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -224,6 +225,10 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         formData.salesmanName=userStore.getUserInfo.realname; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         formData.saleDepartment = userStore.getUserInfo.orgCode 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         formData.saleDepartmentName = userStore.getUserInfo.orgName 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var warehouseArr=  await initDictOptions( 'warehouse'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var goodsAllocationArr=  await initDictOptions( 'goods_allocation'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        formData.warehouse = warehouseArr[0].value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        formData.goodsAllocation = goodsAllocationArr[0].value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       async function edit(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //主表数据 
			 |