From db5f18c8d02881bbf8b8b43d45236bc59bd2f958 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期三, 13 十二月 2023 18:36:49 +0800 Subject: [PATCH] feat: 物品规格管理 接口对接 --- admin-web/src/views/systemSetting/department/index.vue | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/admin-web/src/views/systemSetting/department/index.vue b/admin-web/src/views/systemSetting/department/index.vue index 9544286..8102e46 100644 --- a/admin-web/src/views/systemSetting/department/index.vue +++ b/admin-web/src/views/systemSetting/department/index.vue @@ -30,12 +30,11 @@ <script> import myTree from '@/components/myTree/index'; -import { listType, getType, delType, addType, updateType, refreshCache } from '@/api/system/dict/type'; -import * as DateFormatter from '@/utils/DateFormatter'; import MyTableV2 from '@/components/myTable/myTableV2'; import SettingIplatform from '@/utils/settingIplatform'; import edit from './edit'; import * as finsystenant from '@/api/baseSetting/finsystenant'; + export default { name: 'Dict', components: { MyTableV2, myTree, edit }, @@ -129,23 +128,23 @@ }, // 鍒椾俊鎭� columns: [ - { title: '缂栧彿', field: 'code', align: 'center', width: '100px' }, - { title: '閮ㄩ棬', field: 'name', align: 'left' }, - { title: '椤哄簭鍙�', field: 'orderNum', align: 'left' }, - { title: '澶囨敞', field: 'remark', align: 'left', width: '200px' }, + { title: '缂栧彿', field: 'code', align: 'center', width: 80 }, + { title: '閮ㄩ棬', field: 'name', align: 'left', minWidth: 200 }, + { title: '椤哄簭鍙�', field: 'orderNum', align: 'center', width: 100 }, + { title: '澶囨敞', field: 'remark', align: 'left', minWidth: 200 }, { title: '鐘舵��', field: 'status', align: 'center', - width: '180px', + width: 100, formatter: (row) => { - return { value: row.status === 0 ? '鍚敤' : '绂佺敤' }; + return { value: row.status === 1 ? '鍚敤' : '绂佺敤' }; }, }, ], // 鎿嶄綔淇℃伅 operation: { - width: 150, + width: 100, align: 'center', show: true, // 鏄剧ず鎿嶄綔鍒� attr: [ @@ -188,7 +187,6 @@ }); }, nodeClick(param) { - console.log(param, 'param'); this.p = Object.assign( {}, { -- Gitblit v1.9.1