Browse Source

fix: 政策新增、编辑 指定经销商,下面的经销商表格才显示

zh 2 năm trước cách đây
mục cha
commit
43886e9695
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      src/views/sales_policy/components/TabelTransfer.vue

+ 5 - 5
src/views/sales_policy/components/TabelTransfer.vue

@@ -26,7 +26,7 @@
         </el-upload>
         <el-button type="primary" size="mini" @click="hanleDownloadFiles">下载模板</el-button>
       </el-row>
-      <el-row type="flex">
+      <el-row type="flex" v-if="region == 0">
         <el-col :xs="24" :sm="12" :lg="14">
           <el-input v-model="keyword" placeholder="查找经销商" size="mini" />
         </el-col>
@@ -38,8 +38,8 @@
         >
       </el-row>
     </slot>
-    <el-row :gutter="20">
-      <el-col :span="10" :offset="0">
+    <el-row :gutter="20" v-if="region == 0">
+      <el-col :span="10" :offset="0" >
         <h5>未选经销商</h5>
         <el-divider direction="horizontal" content-position="left" />
         <div class="table">
@@ -138,7 +138,7 @@
       </el-upload>
       <el-button type="primary" size="mini" @click="hanleDownloadFilesPolicy">下载模板</el-button>
     </div>
-    <el-row type="flex" style="margin: 20px 0">
+    <el-row type="flex" style="margin: 20px 0" >
       <el-col :xs="24" :sm="12" :lg="14">
         <el-input v-model="keyword2" placeholder="查找经销商" size="mini" />
       </el-col>
@@ -149,7 +149,7 @@
         ><el-button size="mini" @click="resetScreenForm2">重置</el-button></el-col
       >
     </el-row>
-    <div>
+    <div >
       <div class="table">
         <el-table
           v-loading="clistLoading"