소스 검색

产品分类-修改字段

jingbb 7 달 전
부모
커밋
4f3b50826e
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/views/BasicData/components/productCassificationModel.vue
  2. 2 2
      src/views/BasicData/productCassification.vue

+ 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 }">