소스 검색

修改注释

chenrui 1 개월 전
부모
커밋
9577f5ece2

+ 11 - 11
src/views/setting/dailyReportSettings/categoryTargetList.vue

@@ -1,10 +1,10 @@
 <template>
   <div>
-    <a-card size="small" :bordered="false" class="estimatedOrderList-wrap searchBoxNormal">
+    <a-card size="small" :bordered="false" class="categoryTargetList-wrap searchBoxNormal">
       <!-- 搜索条件 -->
       <div class="table-page-search-wrapper" ref="tableSearch">
         <a-form-model
-          id="estimatedOrderList-form"
+          id="categoryTargetList-form"
           ref="ruleForm"
           class="form-model-con"
           layout="inline"
@@ -14,12 +14,12 @@
             <a-col :md="5" :sm="24">
               <a-form-model-item label="年份" prop="confYear">
                 <a-select
-                  id="estimatedOrderList-confYear"
+                  id="categoryTargetList-confYear"
                   style="width: 100%"
                   placeholder="请选择年份"
                   :value="queryParam.confYear"
                   @change="changeYear">
-                  <a-select-option :id="'estimatedOrderList-'+item" v-for="item in years" :value="item" :key="item">
+                  <a-select-option :id="'categoryTargetList-'+item" v-for="item in years" :value="item" :key="item">
                     {{ item }}
                   </a-select-option>
                 </a-select>
@@ -30,12 +30,12 @@
                 type="primary"
                 @click="handleSearch"
                 :disabled="disabled"
-                id="estimatedOrderList-refresh">查询</a-button>
+                id="categoryTargetList-refresh">查询</a-button>
               <a-button
                 style="margin-left: 8px"
                 @click="resetSearchForm"
                 :disabled="disabled"
-                id="estimatedOrderList-reset">重置</a-button>
+                id="categoryTargetList-reset">重置</a-button>
             </a-col>
           </a-row>
         </a-form-model>
@@ -73,7 +73,7 @@
                 placeholder="请输入"
                 :value="text"
                 :precision="2"
-                :id="'estimatedOrderList-input-'+record.id"
+                :id="'categoryTargetList-input-'+record.id"
                 @blur="e => handleChange(e.target.value,record, col)"/>
               <template v-else>
                 {{ text?toThousands(text):'0.00' }}
@@ -88,11 +88,11 @@
                 type="link"
                 class="button-info"
                 @click="handleSave(record)"
-                :id="'estimatedOrderList-save-btn'+record.id"
+                :id="'categoryTargetList-save-btn'+record.id"
               >
                 保存
               </a-button>
-              <a-popconfirm title="确定取消吗?" :id="'estimatedOrderList-cancel-btn'+record.id" @confirm="() => handleCancel(record)">
+              <a-popconfirm title="确定取消吗?" :id="'categoryTargetList-cancel-btn'+record.id" @confirm="() => handleCancel(record)">
                 <a>取消</a>
               </a-popconfirm>
             </span>
@@ -103,7 +103,7 @@
               class="button-info"
               :disabled="editingKey !== ''"
               @click="handleEdit(record)"
-              :id="'estimatedOrderList-edit-btn'+record.id"
+              :id="'categoryTargetList-edit-btn'+record.id"
             >
               编辑
             </a-button>
@@ -122,7 +122,7 @@ import { STable } from '@/components'
 // 接口
 import { reportDailyConfList, dailyReportConfSave } from '@/api/reportDailyConf'
 export default {
-  name: 'EstimatedOrderList',
+  name: 'CategoryTargetList',
   mixins: [commonMixin],
   components: { STable },
   props: {

+ 1 - 1
src/views/setting/dailyReportSettings/index.vue

@@ -33,7 +33,7 @@ export default {
   components: { estimatedOrderList, categoryTargetList, partitionTargetList },
   data () {
     return {
-      tabVal: '1'// tab值  1轮胎月度费用报表 2轮胎季度费用报表 3轮胎年度费用报表 4轮胎费用明细报表
+      tabVal: '1'// tab值  1区域预估订单 2轮胎月目标 3品类月目标 4品类经理月目标  5分区月目标
     }
   }
 }

+ 12 - 12
src/views/setting/dailyReportSettings/partitionTargetList.vue

@@ -1,10 +1,10 @@
 <template>
   <div>
-    <a-card size="small" :bordered="false" class="estimatedOrderList-wrap searchBoxNormal">
+    <a-card size="small" :bordered="false" class="partitionTargetList-wrap searchBoxNormal">
       <!-- 搜索条件 -->
       <div class="table-page-search-wrapper" ref="tableSearch">
         <a-form-model
-          id="estimatedOrderList-form"
+          id="partitionTargetList-form"
           ref="ruleForm"
           class="form-model-con"
           layout="inline"
@@ -14,12 +14,12 @@
             <a-col :md="5" :sm="24">
               <a-form-model-item label="年份" prop="confYear">
                 <a-select
-                  id="estimatedOrderList-confYear"
+                  id="partitionTargetList-confYear"
                   style="width: 100%"
                   placeholder="请选择年份"
                   :value="queryParam.confYear"
                   @change="changeYear">
-                  <a-select-option :id="'estimatedOrderList-'+item" v-for="item in years" :value="item" :key="item">
+                  <a-select-option :id="'partitionTargetList-'+item" v-for="item in years" :value="item" :key="item">
                     {{ item }}
                   </a-select-option>
                 </a-select>
@@ -30,12 +30,12 @@
                 type="primary"
                 @click="handleSearch"
                 :disabled="disabled"
-                id="estimatedOrderList-refresh">查询</a-button>
+                id="partitionTargetList-refresh">查询</a-button>
               <a-button
                 style="margin-left: 8px"
                 @click="resetSearchForm"
                 :disabled="disabled"
-                id="estimatedOrderList-reset">重置</a-button>
+                id="partitionTargetList-reset">重置</a-button>
             </a-col>
           </a-row>
         </a-form-model>
@@ -74,7 +74,7 @@
                 placeholder="请输入"
                 :precision="2"
                 :value="text"
-                :id="'estimatedOrderList-input-'+record.id"
+                :id="'partitionTargetList-input-'+record.id"
                 @blur="e => handleChange(e.target.value,record, col)"/>
               <template v-else>
                 {{ text?toThousands(text):'0.00' }}
@@ -89,11 +89,11 @@
                 type="link"
                 class="button-info"
                 @click="handleSave(record)"
-                :id="'estimatedOrderList-save-btn'+record.id"
+                :id="'partitionTargetList-save-btn'+record.id"
               >
                 保存
               </a-button>
-              <a-popconfirm title="确定取消吗?" :id="'estimatedOrderList-cancel-btn'+record.id" @confirm="() => handleCancel(record)">
+              <a-popconfirm title="确定取消吗?" :id="'partitionTargetList-cancel-btn'+record.id" @confirm="() => handleCancel(record)">
                 <a>取消</a>
               </a-popconfirm>
             </span>
@@ -104,7 +104,7 @@
               class="button-info"
               :disabled="editingKey !== ''"
               @click="handleEdit(record)"
-              :id="'estimatedOrderList-edit-btn'+record.id"
+              :id="'partitionTargetList-edit-btn'+record.id"
             >
               编辑
             </a-button>
@@ -123,7 +123,7 @@ import { STable } from '@/components'
 // 接口
 import { reportDailyConfList, dailyReportConfSave } from '@/api/reportDailyConf'
 export default {
-  name: 'EstimatedOrderList',
+  name: 'PartitionTargetList',
   mixins: [commonMixin],
   components: { STable },
   props: {
@@ -346,7 +346,7 @@ export default {
 }
 /* 最后一行样式 */
 /deep/.last-row {
-    background: #fafafa !important; /* 色背景 */
+    background: #fafafa !important; /* 色背景 */
     /* 固定定位 */
     position: sticky;
     bottom: 0;