diff --git a/src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts b/src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts index a2ed3a301..6c1a81f56 100644 --- a/src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts +++ b/src/views/wms/inventoryManage/containerinit/containerBindRecord/containerBindRecordMain.data.ts @@ -64,6 +64,8 @@ export const ContainerBindRecordDetail = useCrudSchemas(reactive([ { label: '内容物类型', field: 'containerContentType', + dictType: DICT_TYPE.CONTAINER_CONTENT_TYPE, + dictClass: 'string', sort: 'custom', isSearch: true, form: { @@ -103,6 +105,8 @@ export const ContainerBindRecordDetail = useCrudSchemas(reactive([ { label: '库存状态', field: 'inventoryStatus', + dictType: DICT_TYPE.INVENTORY_STATUS, + dictClass: 'string', sort: 'custom', form: { component: 'Radio' @@ -114,6 +118,8 @@ export const ContainerBindRecordDetail = useCrudSchemas(reactive([ { label: '计量单位', field: 'uom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', sort: 'custom', table: { width: 150 diff --git a/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts b/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts index 1f06c3998..5fa429d89 100644 --- a/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts +++ b/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/containerUnbindRecordMain.data.ts @@ -63,6 +63,8 @@ export const ContainerUnbindRecordDetail = useCrudSchemas(reactive { label: '内容物类型', field: 'containerContentType', + dictType: DICT_TYPE.CONTAINER_CONTENT_TYPE, + dictClass: 'string', sort: 'custom', isSearch: true, form: { @@ -102,6 +104,8 @@ export const ContainerUnbindRecordDetail = useCrudSchemas(reactive { label: '库存状态', field: 'inventoryStatus', + dictType: DICT_TYPE.INVENTORY_STATUS, + dictClass: 'string', sort: 'custom', form: { component: 'Radio' @@ -113,6 +117,8 @@ export const ContainerUnbindRecordDetail = useCrudSchemas(reactive { label: '计量单位', field: 'uom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', sort: 'custom', table: { width: 150 diff --git a/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue b/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue index bdc81db93..c26c2e311 100644 --- a/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue +++ b/src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue @@ -120,9 +120,9 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'wms:containerUnbindRecordMain:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'wms:containerUnbindRecordMain:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'wms:containerUnbindRecordMain:export'}), // 导出 + // defaultButtons.defaultAddBtn({hasPermi:'wms:container-unbind-record-main:create'}), // 新增 + defaultButtons.defaultImportBtn({hasPermi:'wms:container-unbind-record-main:import'}), // 导入 + defaultButtons.defaultExportBtn({hasPermi:'wms:container-unbind-record-main:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -154,8 +154,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'wms:containerUnbindRecordMain:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'wms:containerUnbindRecordMain:delete'}), // 删除 + //defaultButtons.mainListEditBtn({hasPermi:'wms:container-unbind-record-main:update'}), // 编辑 + //defaultButtons.mainListDeleteBtn({hasPermi:'wms:container-unbind-record-main:delete'}), // 删除 ] // 列表-操作按钮事件