diff --git a/src/api/wms/itembasic/index.ts b/src/api/wms/itembasic/index.ts index 8698f7a3f..12f06a6ff 100644 --- a/src/api/wms/itembasic/index.ts +++ b/src/api/wms/itembasic/index.ts @@ -27,6 +27,17 @@ export interface ItembasicVO { activeTime: Date expireTime: Date remark: string + articleNumber: string + colorCode: string + backNumber: string + receivedLocation: string + receivedNumber: string + preEngineering: string + safetyStock: string + reorderPoint: string + orderQty: string + productionLineZoning: string + purchaser: string } // 查询物料基本信息列表 diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/index.vue b/src/views/wms/basicDataManage/itemManage/itembasic/index.vue index e2600d741..31b2b5c45 100644 --- a/src/views/wms/basicDataManage/itemManage/itembasic/index.vue +++ b/src/views/wms/basicDataManage/itemManage/itembasic/index.vue @@ -109,8 +109,8 @@ const { tableObject, tableMethods } = useTable({ const importFormRef = ref() // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn(null), // 新增 - defaultButtons.defaultImportBtn(null), // 导入 + // defaultButtons.defaultAddBtn(null), // 新增 + // defaultButtons.defaultImportBtn(null), // 导入 defaultButtons.defaultExportBtn(null), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts index d8677ce34..ad88f5084 100644 --- a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts @@ -18,6 +18,33 @@ export const Itembasic = useCrudSchemas(reactive([ fixed: 'left' }, }, + { + label: '品号', + field: 'articleNumber', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, + }, + { + label: '色番', + field: 'colorCode', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '背番', + field: 'backNumber', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, { label: '名称', field: 'name', @@ -64,6 +91,78 @@ export const Itembasic = useCrudSchemas(reactive([ width: 150 } , }, + { + label: '受入号', + field: 'receivedNumber', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '受入地', + field: 'receivedLocation', + sort: 'custom', + isSearch: true, + table: { + width: 150 + }, + }, + { + label: '前工程', + field: 'preEngineering', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '安全库存', + field: 'safetyStock', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '再订货点', + field: 'reorderPoint', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '订单数量', + field: 'orderQty', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '生产线分区', + field: 'productionLineZoning', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, + { + label: '采购员', + field: 'purchaser', + sort: 'custom', + isSearch: false, + table: { + width: 150 + }, + }, { label: '状态', field: 'status', @@ -473,16 +572,16 @@ export const Itembasic = useCrudSchemas(reactive([ }, }, { label: '备注', field: 'remark', sort: 'custom', isTable: false}, - { - label: '操作', - field: 'action', - isDetail: false, - isForm: false , - table: { - width: 150, - fixed: 'right' - }, - } + // { + // label: '操作', + // field: 'action', + // isDetail: false, + // isForm: false , + // table: { + // width: 150, + // fixed: 'right' + // }, + // } ])) // 表单校验 export const rules = reactive({