|  | @@ -221,6 +221,7 @@
 | 
	
		
			
				|  |  |      <SaleInquiryFormModal @register="registerModal" @success="handleSuccess" />
 | 
	
		
			
				|  |  |      <ViewFileListModal ref="ViewFileListModalRef" />
 | 
	
		
			
				|  |  |      <SelectSaleOrderModal ref="SelectSaleOrderModalRef" @copy-product="handleCopyProduct" />
 | 
	
		
			
				|  |  | +    <SetCloseReasonModal ref="SetCloseReasonModalRef"  @success="successfullyClosed"></SetCloseReasonModal>
 | 
	
		
			
				|  |  |      <ViewHistoryVersionModal ref="ViewHistoryVersionModallRef" />
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -257,6 +258,7 @@
 | 
	
		
			
				|  |  |    import JSelectDept from '/@/components/Form/src/jeecg/components/JSelectDept.vue';
 | 
	
		
			
				|  |  |    import ViewFileListModal from './components/ViewFileListModal.vue';
 | 
	
		
			
				|  |  |    import SelectSaleOrderModal from './components/SelectSaleOrderModal.vue';
 | 
	
		
			
				|  |  | +  import SetCloseReasonModal from '../../publicComponents/SetCloseReasonModal.vue'
 | 
	
		
			
				|  |  |    import ViewHistoryVersionModal from './components/ViewHistoryVersionModal.vue';
 | 
	
		
			
				|  |  |    import { message } from 'ant-design-vue';
 | 
	
		
			
				|  |  |    import { useMethods } from '/@/hooks/system/useMethods';
 | 
	
	
		
			
				|  | @@ -266,6 +268,7 @@
 | 
	
		
			
				|  |  |    const ViewFileListModalRef = ref();
 | 
	
		
			
				|  |  |    const SelectSaleOrderModalRef = ref();
 | 
	
		
			
				|  |  |    const ViewHistoryVersionModallRef = ref();
 | 
	
		
			
				|  |  | +  var SetCloseReasonModalRef = ref();
 | 
	
		
			
				|  |  |    const queryParam = reactive<any>({});
 | 
	
		
			
				|  |  |    //注册model
 | 
	
		
			
				|  |  |    const [registerModal, { openModal }] = useModal();
 | 
	
	
		
			
				|  | @@ -282,7 +285,7 @@
 | 
	
		
			
				|  |  |          fixed: 'right',
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        scroll: {
 | 
	
		
			
				|  |  | -        x: '5000px',
 | 
	
		
			
				|  |  | +        x: '5300px',
 | 
	
		
			
				|  |  |          y:'calc(100vh - 400px)',
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        beforeFetch: async (params) => {
 | 
	
	
		
			
				|  | @@ -483,9 +486,17 @@
 | 
	
		
			
				|  |  |        message.warning('请选择数据');
 | 
	
		
			
				|  |  |      } else {
 | 
	
		
			
				|  |  |        var ids = selectedRowKeys.value.join(',');
 | 
	
		
			
				|  |  | -      bacthClose({ ids: ids }, handleSuccess);
 | 
	
		
			
				|  |  | +      var ids=selectedRowKeys.value.join(',')
 | 
	
		
			
				|  |  | +      SetCloseReasonModalRef.value.getTable(ids)
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  | +  function successfullyClosed(reason,id){
 | 
	
		
			
				|  |  | +    var params={
 | 
	
		
			
				|  |  | +      ids: id,
 | 
	
		
			
				|  |  | +      closeReason: reason
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    bacthClose(params,handleSuccess);
 | 
	
		
			
				|  |  | +  }
 | 
	
		
			
				|  |  |    // function cancelClose() {
 | 
	
		
			
				|  |  |    //   if (selectedRowKeys.value.length == 0) {
 | 
	
		
			
				|  |  |    //     message.warning('请选择数据');
 |