浏览代码

价格申报单复制,新增-表格切换

黄梓星 1 年之前
父节点
当前提交
400d99de7f
共有 2 个文件被更改,包括 12 次插入8 次删除
  1. 6 4
      src/views/purchase/apply/add/index.vue
  2. 6 4
      src/views/purchase/apply/copy/index.vue

+ 6 - 4
src/views/purchase/apply/add/index.vue

@@ -27,6 +27,7 @@
     components: {
       ElSuperForm: () => import("@/components/super-form/index.vue"),
       ElSuperTable: () => import("@/components/super-table/index.vue"),
+      ElSuperUxTable: () => import("@/components/super-ux-table/index.vue"),
       ElPopoverSelectV2: () => import("@/components/popover-select-v2/index.vue"),
     },
     data() {
@@ -273,10 +274,11 @@
           lazy
         >
           <div v-loading="loading" style="height: 250px; display: flex">
-            <el-super-table
+            <el-super-ux-table
               v-model="params[item.key]"
               :dict="dict"
               :ref="tabName"
+              height="250"
               :columns="columns"
               :size="$attrs.size"
             >
@@ -300,7 +302,7 @@
                 >
                 </component>
               </template>
-              <el-table-column fixed="right" label="操作" width="100">
+              <ux-table-column fixed="right" label="操作" width="100">
                 <template slot="header" slot-scope="scope">
                   <el-button
                     type="text"
@@ -319,8 +321,8 @@
                     删除
                   </el-button>
                 </template>
-              </el-table-column>
-            </el-super-table>
+              </ux-table-column>
+            </el-super-ux-table>
           </div>
         </el-tab-pane>
       </el-tabs>

+ 6 - 4
src/views/purchase/apply/copy/index.vue

@@ -31,6 +31,7 @@
     components: {
       ElSuperForm: () => import("@/components/super-form/index.vue"),
       ElSuperTable: () => import("@/components/super-table/index.vue"),
+      ElSuperUxTable: () => import("@/components/super-ux-table/index.vue"),
       ElPopoverSelectV2: () => import("@/components/popover-select-v2/index.vue"),
     },
     data() {
@@ -325,10 +326,11 @@
           lazy
         >
           <div v-loading="loading" style="height: 250px; display: flex">
-            <el-super-table
+            <el-super-ux-table
               v-model="params[item.key]"
               :dict="dict"
               :ref="tabName"
+              height="250"
               :columns="columns"
               :size="$attrs.size"
             >
@@ -352,7 +354,7 @@
                 >
                 </component>
               </template>
-              <el-table-column fixed="right" label="操作" width="100">
+              <ux-table-column fixed="right" label="操作" width="100">
                 <template slot="header" slot-scope="scope">
                   <el-button :size="$attrs.size" @click="onRowAdd(tabName)">
                     新增
@@ -366,8 +368,8 @@
                     删除
                   </el-button>
                 </template>
-              </el-table-column>
-            </el-super-table>
+              </ux-table-column>
+            </el-super-ux-table>
           </div>
         </el-tab-pane>
       </el-tabs>