From 56944e75ca104f4ef9da1ea9d45123df758eb06c Mon Sep 17 00:00:00 2001 From: zhaoyiran Date: Thu, 26 Sep 2024 11:30:06 +0800 Subject: [PATCH] =?UTF-8?q?YT-165=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E3=80=81=E5=8E=BB=E6=8E=89=E5=A2=9E=E5=88=A0=E6=94=B9=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/itembasic/index.ts | 11 ++ .../itemManage/itembasic/index.vue | 4 +- .../itemManage/itembasic/itembasic.data.ts | 119 ++++++++++++++++-- 3 files changed, 122 insertions(+), 12 deletions(-) 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({