Przeglądaj źródła

产品分类-修改字段

jingbb 7 miesięcy temu
rodzic
commit
4f3b50826e

+ 1 - 1
src/views/BasicData/components/productCassificationModel.vue

@@ -31,7 +31,7 @@
   )
   //获取title
   const getTitle = computed(() => {
-    return (!unref(isUpdate) ? '新增产品分类' : '编辑产品分类');
+    return (!unref(isUpdate) ? '新增产品分类(add)' : '编辑产品分类(edit)');
   })
   //自定义表单字段
   const formSchemas: FormSchema[] = [

+ 2 - 2
src/views/BasicData/productCassification.vue

@@ -2,8 +2,8 @@
   <!--定义表格-->
   <BasicTable @register="registerTable" :rowSelection="rowSelection">
     <template #tableTitle>
-      <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"> 新增</a-button>
-      <div style="margin-left: 10px;margin-top: 5px">当前登录租户: <span class="tenant-name">{{loginTenantName}}</span> </div>
+      <a-button type="primary" preIcon="ant-design:plus-outlined" @click="handleCreate"> 新增(add)</a-button>
+      <!-- <div style="margin-left: 10px;margin-top: 5px">当前登录租户: <span class="tenant-name">{{loginTenantName}}</span> </div> -->
     </template>
     <!--操作栏-->
     <template #action="{ record }">