diff --git a/.env.base b/.env.base index a5f94e7..d470c46 100644 --- a/.env.base +++ b/.env.base @@ -4,12 +4,12 @@ VITE_NODE_ENV=development VITE_DEV=true # 请求路径 -# VITE_BASE_URL='http://118.31.23.45:48080' -VITE_BASE_URL='http://114.55.169.15:48080' +VITE_BASE_URL='http://118.31.23.45:48080' +# VITE_BASE_URL='http://114.55.169.15:48080' # 上传路径 -# VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload' -VITE_UPLOAD_URL='http://114.55.169.15:48080/admin-api/system/file/upload' +VITE_UPLOAD_URL='http://118.31.23.45:48080/admin-api/system/file/upload' +# VITE_UPLOAD_URL='http://114.55.169.15:48080/admin-api/system/file/upload' # 接口前缀 VITE_API_BASEPATH=/crm-api diff --git a/src/views/SchoolManagement/Class/Comp/DialogClass.vue b/src/views/SchoolManagement/Class/Comp/DialogClass.vue index 4059f54..c035206 100644 --- a/src/views/SchoolManagement/Class/Comp/DialogClass.vue +++ b/src/views/SchoolManagement/Class/Comp/DialogClass.vue @@ -60,14 +60,14 @@ 新增报价 - + 指导价 {{ row.guidingPrice }} - + - + + + + + 比例模式 + 固定模式 + + + + + 公司利润 = ( 成交价 + + + + + + ) 乘以 + + + + 添加利润档位 + + 成交额满 + + ,公司利润为 + + + + + + + + + + + 比例模式 + 固定模式 + + + + + 公司利润 = ( 成交价 + + + + + + ) 乘以 + + + + 添加利润档位 + + 成交额满 + + ,公司利润为 + + + + + + + 新增提成结算规则 @@ -286,6 +450,20 @@ const formRules = reactive({ const formRef = ref() // 表单 Ref const currentTab = ref('base') +const profitCompanyForm = ref({ + profitType: 1, + dangwei: [] +}) +const profitCompanyRules = {} +const profitCompanyRef = ref() + +const profitEmployeeForm = ref({ + profitType: 1, + dangwei: [] +}) +const profitEmployeeRules = {} +const profitEmployeeRef = ref() + const opts = ref({ percentage_param1: [], percentage_param2: [], @@ -339,8 +517,8 @@ function handleAddPrice() { formData.value.quotations.push({ edit: true, guidingPrice: undefined, - minPrice: undefined, - costPrice: undefined, + // minPrice: undefined, + // costPrice: undefined, validTime: undefined, quotationTime: formatDate(new Date(), 'YYYY-MM-DD') })