|  | @@ -188,7 +188,7 @@
 | 
	
		
			
				|  |  |      <SelectPrpductModal ref="SelectPrpductModalRef" @selectProduct ='addProduct'></SelectPrpductModal>
 | 
	
		
			
				|  |  |      <SelectProjectModal ref="SelectProjectModalRef" @selectProject="addProject"></SelectProjectModal>
 | 
	
		
			
				|  |  |      <BaseShipArchiveAccessoriesModal ref="BaseShipArchiveAccessoriesModalRef"></BaseShipArchiveAccessoriesModal>
 | 
	
		
			
				|  |  | -    <SelectSupplierQuotationModal ref="SelectSupplierQuotationModalRef" @selectSupplierQuotation="addFromQuotation"></SelectSupplierQuotationModal>
 | 
	
		
			
				|  |  | +    <SelectSupplierQuotation ref="SelectSupplierQuotationRef" @selectSupplierQuatationConfirm="addFromQuotation"></SelectSupplierQuotation>
 | 
	
		
			
				|  |  |      <SelectSaleOrderModal ref="SelectSaleOrderModalRef" @selectSaleOrder="addFormSaleOrder"></SelectSaleOrderModal>
 | 
	
		
			
				|  |  |    </a-spin>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -203,7 +203,7 @@
 | 
	
		
			
				|  |  |    import SelectPrpductModal from '../../../publicComponents/SelectPrpductModal.vue';
 | 
	
		
			
				|  |  |    import SelectProjectModal from '../../../publicComponents/SelectProjectModal.vue';
 | 
	
		
			
				|  |  |    import SelectSaleOrderModal from '../../../publicComponents/SelectSaleOrderModal.vue';
 | 
	
		
			
				|  |  | -  import SelectSupplierQuotationModal from '../../../publicComponents/SelectSupplierQuotationModal.vue';
 | 
	
		
			
				|  |  | +  import SelectSupplierQuotation from '../../../publicComponents/SelectSupplierQuotation.vue';
 | 
	
		
			
				|  |  |    import BaseShipArchiveAccessoriesModal from '../../../publicComponents/BaseShipArchiveAccessoriesModal.vue';
 | 
	
		
			
				|  |  |    import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
 | 
	
		
			
				|  |  |    import JUpload from '/@/components/Form/src/jeecg/components/JUpload/JUpload.vue';
 | 
	
	
		
			
				|  | @@ -225,7 +225,7 @@
 | 
	
		
			
				|  |  |        JSelectInput,
 | 
	
		
			
				|  |  |        SelectProjectModal,
 | 
	
		
			
				|  |  |        BaseShipArchiveAccessoriesModal,
 | 
	
		
			
				|  |  | -      SelectSupplierQuotationModal,
 | 
	
		
			
				|  |  | +      SelectSupplierQuotation,
 | 
	
		
			
				|  |  |        SelectSaleOrderModal,
 | 
	
		
			
				|  |  |        ApiSelect
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -246,7 +246,7 @@
 | 
	
		
			
				|  |  |        const SelectPrpductModalRef = ref()
 | 
	
		
			
				|  |  |        const SelectProjectModalRef = ref()
 | 
	
		
			
				|  |  |        const BaseShipArchiveAccessoriesModalRef = ref();
 | 
	
		
			
				|  |  | -      const SelectSupplierQuotationModalRef = ref();
 | 
	
		
			
				|  |  | +      const SelectSupplierQuotationRef = ref();
 | 
	
		
			
				|  |  |        const SelectSaleOrderModalRef = ref();
 | 
	
		
			
				|  |  |        const PurOrderFormShipFormShipTable = reactive<Record<string, any>>({
 | 
	
		
			
				|  |  |          loading: false,
 | 
	
	
		
			
				|  | @@ -477,7 +477,7 @@
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        function getShipList(id,status){
 | 
	
		
			
				|  |  |          let params = {id:id}
 | 
	
		
			
				|  |  | -        let url = status=='quotation'?'/purCode/purPurchaseQuotation/queryPurPurchaseQuotationShipByMainId':'/saleCode/saleOrder/querySaleOrderShipByMainId'
 | 
	
		
			
				|  |  | +        let url = status=='quotation'?'/purCode/purQuotationSelection/queryPurQuotationSelectionShipByMainId':'/saleCode/saleOrder/querySaleOrderShipByMainId'
 | 
	
		
			
				|  |  |            defHttp.get({url:url,params}, { isTransformResponse: false }).then(res=>{
 | 
	
		
			
				|  |  |              if(res){
 | 
	
		
			
				|  |  |                PurOrderFormShipFormShipTable.dataSource = res.result
 | 
	
	
		
			
				|  | @@ -485,7 +485,9 @@
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        function addFromQuotation(data){
 | 
	
		
			
				|  |  | +        debugger
 | 
	
		
			
				|  |  |          data.map(item=>{
 | 
	
		
			
				|  |  | +          item.fatherModel = item.model
 | 
	
		
			
				|  |  |            item.model = item.childModel
 | 
	
		
			
				|  |  |            item.sourceId = item.childId
 | 
	
		
			
				|  |  |            item.sourceType = 'Quo'+item.childId
 | 
	
	
		
			
				|  | @@ -496,13 +498,13 @@
 | 
	
		
			
				|  |  |          notAllowEdit.value=true
 | 
	
		
			
				|  |  |          formData.sourceCode =data[0].billCode
 | 
	
		
			
				|  |  |          if(formData.sourceCode2==''){
 | 
	
		
			
				|  |  | -          formData.project = data[0].quotationProject
 | 
	
		
			
				|  |  | +          formData.project = data[0].inquiryProject
 | 
	
		
			
				|  |  |            formData.projectName = data[0].projectName
 | 
	
		
			
				|  |  | -          formData.supplier= data[0].quotationSuppiler
 | 
	
		
			
				|  |  | -          formData.supplierName= data[0].suppilerName
 | 
	
		
			
				|  |  | +          formData.supplier= data[0].selectionSupplier
 | 
	
		
			
				|  |  | +          formData.supplierName= data[0].selectionSupplier_dictText
 | 
	
		
			
				|  |  |            formData.priority =data[0].priority
 | 
	
		
			
				|  |  |            formData.productionClass =data[0].productionClass
 | 
	
		
			
				|  |  | -          formData.model =data[0].headModel
 | 
	
		
			
				|  |  | +          formData.model =data[0].fatherModel
 | 
	
		
			
				|  |  |            formData.maker =data[0].maker
 | 
	
		
			
				|  |  |            getShipList(data[0].headId,'quotation')
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -579,9 +581,9 @@
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      //选择供应商报价单
 | 
	
		
			
				|  |  | +      //选择供应商报价单选定
 | 
	
		
			
				|  |  |        function SelectSupplierQuotationList (){
 | 
	
		
			
				|  |  | -        SelectSupplierQuotationModalRef.value.getTable(formData)
 | 
	
		
			
				|  |  | +        SelectSupplierQuotationRef.value.getTable(formData,'purOrder')
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        // 选择销售订单
 | 
	
	
		
			
				|  | @@ -601,7 +603,7 @@
 | 
	
		
			
				|  |  |          PurOrderFormShipFormShipTable,
 | 
	
		
			
				|  |  |          purOrderFormShipFormProductTableRef,
 | 
	
		
			
				|  |  |          purOrderFormShipFormProductTable,
 | 
	
		
			
				|  |  | -        SelectSupplierQuotationModalRef,
 | 
	
		
			
				|  |  | +        SelectSupplierQuotationRef,
 | 
	
		
			
				|  |  |          SelectSaleOrderModalRef,
 | 
	
		
			
				|  |  |          validatorRules,
 | 
	
		
			
				|  |  |          validateInfos,
 |