Pārlūkot izejas kodu

fix:修改年度设定股东要求位置

lazy 5 mēneši atpakaļ
vecāks
revīzija
1e9ec8aaa7

+ 33 - 33
src/views/dataSource/annualSetting/components/AnnualGoalAddContent.vue

@@ -35,6 +35,39 @@
         </el-radio-group>
       </el-form-item>
       <template v-if="ruleForm.reportType == 'NP/ROE'">
+        <cy-info-title class="mt-[20px] mb-[20px]">
+          <template #default> 股东要求ROE(SH_ROE) </template>
+          <template #right>
+            <div>
+              <el-button @click="handleCalculate" type="primary"
+                >一键测算</el-button
+              >
+            </div>
+          </template>
+        </cy-info-title>
+        <el-form-item label="股东要求ROE(SH_ROE)" prop="sHROE">
+          <cy-amount-input
+            v-model="ruleForm.sHROE"
+            unit="%"
+            placeholder="请输入股东要求"
+            :disabled="VRoute.query.type == 'see'"
+          ></cy-amount-input>
+        </el-form-item>
+        <el-form-item label="年末平均净资产(ANA)" prop="aNA">
+          <cy-amount-input
+            v-model="ruleForm.aNA"
+            unit="元"
+            disabled
+          ></cy-amount-input>
+        </el-form-item>
+        <cy-info-title class="mt-[20px] mb-[20px]">
+          <template #default>
+            年度ROE目标(元)<span class="text-red-500">*</span>
+          </template>
+        </cy-info-title>
+        <div class="table-box w-full">
+          <pure-table :data="roeTableData" :columns="roeColums"></pure-table>
+        </div>
         <cy-info-title class="mt-[20px] mb-[20px]">
           <template #default> NP相关 </template>
         </cy-info-title>
@@ -73,39 +106,6 @@
             disabled
           ></cy-amount-input>
         </el-form-item>
-        <cy-info-title class="mt-[20px] mb-[20px]">
-          <template #default> 股东要求ROE(SH_ROE) </template>
-          <template #right>
-            <div>
-              <el-button @click="handleCalculate" type="primary"
-                >一键测算</el-button
-              >
-            </div>
-          </template>
-        </cy-info-title>
-        <el-form-item label="股东要求ROE(SH_ROE)" prop="sHROE">
-          <cy-amount-input
-            v-model="ruleForm.sHROE"
-            unit="%"
-            placeholder="请输入股东要求"
-            :disabled="VRoute.query.type == 'see'"
-          ></cy-amount-input>
-        </el-form-item>
-        <el-form-item label="年末平均净资产(ANA)" prop="aNA">
-          <cy-amount-input
-            v-model="ruleForm.aNA"
-            unit="元"
-            disabled
-          ></cy-amount-input>
-        </el-form-item>
-        <cy-info-title class="mt-[20px] mb-[20px]">
-          <template #default>
-            年度ROE目标(元)<span class="text-red-500">*</span>
-          </template>
-        </cy-info-title>
-        <div class="table-box w-full">
-          <pure-table :data="roeTableData" :columns="roeColums"></pure-table>
-        </div>
       </template>
       <template
         v-if="['assessment_profit', 'refinance'].includes(ruleForm.reportType)"