| 
														
															@@ -4,9 +4,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <template #quotationProjectName="props"> 
														 | 
														
														 | 
														
															         <template #quotationProjectName="props"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 								<a-input-search v-model:value="props.values.quotationProjectName"   allow-clear enter-button="Search" @search="onSearchProject( props)"></a-input-search> 
														 | 
														
														 | 
														
															 								<a-input-search v-model:value="props.values.quotationProjectName"   allow-clear enter-button="Search" @search="onSearchProject( props)"></a-input-search> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </template> 
														 | 
														
														 | 
														
															         </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        <template #productionClass="{model,field}"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <JSelectInput   v-model:value="model[field]"  placeholder="请选择" :options="classOption" ></JSelectInput> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        </template> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </BasicForm> 
														 | 
														
														 | 
														
															     </BasicForm> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <!-- 子表单区域 --> 
														 | 
														
														 | 
														
															     <!-- 子表单区域 --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <a-tabs v-model:activeKey="activeKey" animated @change="handleChangeTabs" style="padding: 24px;padding-top: 0px;"> 
														 | 
														
														 | 
														
															     <a-tabs v-model:activeKey="activeKey" animated @change="handleChangeTabs" style="padding: 24px;padding-top: 0px;"> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -70,7 +67,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     import {BasicModal, useModalInner} from '/@/components/Modal'; 
														 | 
														
														 | 
														
															     import {BasicModal, useModalInner} from '/@/components/Modal'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     import {BasicForm, useForm} from '/@/components/Form/index'; 
														 | 
														
														 | 
														
															     import {BasicForm, useForm} from '/@/components/Form/index'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     import { JVxeTable } from '/@/components/jeecg/JVxeTable' 
														 | 
														
														 | 
														
															     import { JVxeTable } from '/@/components/jeecg/JVxeTable' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    import JSelectInput from '/@/components/Form/src/jeecg/components/JSelectInput.vue'; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     import { useJvxeMethod } from '/@/hooks/system/useJvxeMethods.ts' 
														 | 
														
														 | 
														
															     import { useJvxeMethod } from '/@/hooks/system/useJvxeMethods.ts' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     import {formSchema,saleContractShipColumns,saleContractProductColumns} from '../SaleContract.data'; 
														 | 
														
														 | 
														
															     import {formSchema,saleContractShipColumns,saleContractProductColumns} from '../SaleContract.data'; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     import {saveOrUpdate,saleContractShipList,saleContractProductList,querysaleVersonFormShipListByMainId,querySaleVersonProductListByMainId,queryVersonHistoryById} from '../SaleContract.api'; 
														 | 
														
														 | 
														
															     import {saveOrUpdate,saleContractShipList,saleContractProductList,querysaleVersonFormShipListByMainId,querySaleVersonProductListByMainId,queryVersonHistoryById} from '../SaleContract.api'; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -85,7 +81,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     const emit = defineEmits(['register','success']); 
														 | 
														
														 | 
														
															     const emit = defineEmits(['register','success']); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     const userStore = useUserStore(); 
														 | 
														
														 | 
														
															     const userStore = useUserStore(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     var customerOption =ref([]); 
														 | 
														
														 | 
														
															     var customerOption =ref([]); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    var classOption = ref([]); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     const isUpdate = ref(true); 
														 | 
														
														 | 
														
															     const isUpdate = ref(true); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     var title = ref(''); 
														 | 
														
														 | 
														
															     var title = ref(''); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     const formDisabled = ref(false); 
														 | 
														
														 | 
														
															     const formDisabled = ref(false); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -119,7 +114,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         //重置表单 
														 | 
														
														 | 
														
															         //重置表单 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         await reset(); 
														 | 
														
														 | 
														
															         await reset(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         getCustomerOptions() 
														 | 
														
														 | 
														
															         getCustomerOptions() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        getOptiom() 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         setModalProps({confirmLoading: false,showCancelBtn:data?.showFooter,showOkBtn:data?.showFooter}); 
														 | 
														
														 | 
														
															         setModalProps({confirmLoading: false,showCancelBtn:data?.showFooter,showOkBtn:data?.showFooter}); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         isUpdate.value = !!data?.isUpdate; 
														 | 
														
														 | 
														
															         isUpdate.value = !!data?.isUpdate; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         formDisabled.value = !data?.showFooter; 
														 | 
														
														 | 
														
															         formDisabled.value = !data?.showFooter; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -172,7 +166,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         try { 
														 | 
														
														 | 
														
															         try { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             setModalProps({confirmLoading: true}); 
														 | 
														
														 | 
														
															             setModalProps({confirmLoading: true}); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             const isRevise = values.status=='1' ? true : false 
														 | 
														
														 | 
														
															             const isRevise = values.status=='1' ? true : false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            debugger 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             //提交表单 
														 | 
														
														 | 
														
															             //提交表单 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             await saveOrUpdate(values, isUpdate.value,isRevise); 
														 | 
														
														 | 
														
															             await saveOrUpdate(values, isUpdate.value,isRevise); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             //关闭弹窗 
														 | 
														
														 | 
														
															             //关闭弹窗 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -212,25 +205,6 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           }) 
														 | 
														
														 | 
														
															           }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    function getOptiom(){ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        defHttp 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            .get({ url: 'baseCode/baseProductClass/list'}, { isTransformResponse: false }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            .then((res) => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                if (res.success) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                  classOption.value = [] 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                  res.result.records.forEach(element => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                      var obj = { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        label: element.name?element.name:'无名称请维护', 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        value: element.id?element.id:'' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                      }; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                      classOption.value.push( obj) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                  });     
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            .finally(() => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                // loading.value = false; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     function selectShip(){ 
														 | 
														
														 | 
														
															     function selectShip(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         SelectShipSModalRef.value.getTable() 
														 | 
														
														 | 
														
															         SelectShipSModalRef.value.getTable() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 |