Browse Source

【修改】显示所属集团

howie 2 năm trước cách đây
mục cha
commit
83bb6ade5c

+ 5 - 10
src/views/deposit_home/deposit_list.vue

@@ -239,15 +239,10 @@
       <!-- 按钮 -->
       <div class="btn-group clearfix" style="display: flex">
         <el-button type="primary" size="mini" @click="hanleDownloadFiles">导出 </el-button>
-        <el-upload
-          v-if="$checkBtnRole('import', $route.meta.roles)"
-          class="import-btn"
-          :action="baseURL + 'student/import'"
-          :http-request="handleImport"
-          :file-list="importFileList"
-          :show-file-list="false"
-        >
-          <el-button size="mini">导入</el-button>
+        <!--        v-if="$checkBtnRole('import', $route.meta.roles)"-->
+
+        <el-upload class="import-btn" :http-request="handleImport" :file-list="importFileList" :show-file-list="false">
+          <el-button size="mini" type="primary">导入</el-button>
         </el-upload>
       </div>
       <!-- 列表 -->
@@ -707,7 +702,7 @@ export default {
           confirmButtonText: '确定'
         })
 
-        this.handletwoList()
+        this.getList()
       } else {
         this.$alert(result.message, '导入失败', {
           confirmButtonText: '确定'

+ 9 - 9
src/views/deposit_home/refund_list.vue

@@ -274,15 +274,15 @@
         </div>
         <div class="fr">
           <el-button type="primary" size="mini" @click="exportFn">导出</el-button>
-          <el-upload
-            class="import-btn"
-            action=""
-            :http-request="handleImport"
-            :file-list="importFileList"
-            :show-file-list="false"
-          >
-            <el-button type="primary" size="mini">导入</el-button>
-          </el-upload>
+          <!--          <el-upload-->
+          <!--            class="import-btn"-->
+          <!--            action=""-->
+          <!--            :http-request="handleImport"-->
+          <!--            :file-list="importFileList"-->
+          <!--            :show-file-list="false"-->
+          <!--          >-->
+          <!--            <el-button type="primary" size="mini">导入</el-button>-->
+          <!--          </el-upload>-->
         </div>
       </div>
       <!-- 列表 -->

+ 4 - 4
src/views/supply/implement/implement_list.vue

@@ -384,13 +384,13 @@
               min-width="160"
               show-overflow-tooltip
             ></el-table-column>
-            <el-table-column align="left" label="销售政策名称" prop="policyTitle" min-width="350" show-overflow-tooltip>
+            <el-table-column align="left" label="销售政策名称" prop="policyTitle" min-width="250" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.policyTitle" />
                 <span>{{ scope.row.policyTitle }}</span>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="销售政策编码" prop="policyCode" min-width="350" show-overflow-tooltip>
+            <el-table-column align="left" label="销售政策编码" prop="policyCode" min-width="250" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.policyCode" />
                 <span>{{ scope.row.policyCode }}</span>
@@ -399,8 +399,8 @@
             <el-table-column
               align="left"
               label="所属集团"
-              prop=""
-              min-width="160"
+              prop="customerGroupName"
+              min-width="250"
               show-overflow-tooltip
             ></el-table-column>
           </el-table>

+ 4 - 4
src/views/supply/implement/implement_total_list.vue

@@ -395,13 +395,13 @@
               min-width="160"
               show-overflow-tooltip
             ></el-table-column>
-            <el-table-column align="left" label="销售政策名称" prop="policyTitle" min-width="350" show-overflow-tooltip>
+            <el-table-column align="left" label="销售政策名称" prop="policyTitle" min-width="250" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.policyTitle" />
                 <span>{{ scope.row.policyTitle }}</span>
               </template>
             </el-table-column>
-            <el-table-column align="left" label="销售政策编码" prop="policyCode" min-width="350" show-overflow-tooltip>
+            <el-table-column align="left" label="销售政策编码" prop="policyCode" min-width="250" show-overflow-tooltip>
               <template slot-scope="scope">
                 <CopyButton :copyText="scope.row.policyCode" />
                 <span>{{ scope.row.policyCode }}</span>
@@ -410,8 +410,8 @@
             <el-table-column
               align="left"
               label="所属集团"
-              prop=""
-              min-width="160"
+              prop="customerGroupName"
+              min-width="250"
               show-overflow-tooltip
             ></el-table-column>
           </el-table>