From 287ed98f2eaf016934a57635f75ceb533ea51ea6 Mon Sep 17 00:00:00 2001 From: chenfang Date: Fri, 5 Jul 2024 13:27:32 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=8F=91=E8=B4=A7=E7=94=B3=E8=AF=B7/?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BB=A3=E7=A0=81=E6=96=B0=E5=A2=9E=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E5=B1=95=E7=A4=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/itembasic/itembasic.data.ts | 9 ++ .../deliverRequestMain.data.ts | 4 +- .../deliverPlanMain/deliverPlanMain.data.ts | 86 +++++++++++++++++++ 3 files changed, 97 insertions(+), 2 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts index 8b51c9881..7db799ca6 100644 --- a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts @@ -465,6 +465,15 @@ export const Itembasic = useCrudSchemas(reactive([ isForm: false, isTable: false }, + { + label: '产品类', + field: 'prodCla', + sort: 'custom', + isForm:false, + table: { + width: 100 + } , + }, { label: '备注', field: 'remark', sort: 'custom', isTable: false}, { label: '操作', diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index 2e481c612..b9c9fbe01 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -6,7 +6,7 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index' import * as DeliverPlanMainApi from '@/api/wms/deliverPlanMain' import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail' -import { DeliverPlanMain ,DeliverPlanDetail} from '../../deliverplan/deliverPlanMain/deliverPlanMain.data' +import { DeliverPlanMain ,DeliverPlanDetail,DeliverPlanDetailRequest} from '../../deliverplan/deliverPlanMain/deliverPlanMain.data' import * as CustomerItemApi from '@/api/wms/customeritem' import { Customeritem } from '@/views/wms/basicDataManage/customerManage/customeritem/customeritem.data' @@ -190,7 +190,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ searchListPlaceholder: '请选择发货计划单号', // 输入框占位文本 searchField: 'number', // 查询弹窗赋值字段 searchTitle: '发货计划信息', // 查询弹窗标题 - searchAllSchemas: DeliverPlanDetail.allSchemas, // 查询弹窗所需类 + searchAllSchemas: DeliverPlanDetailRequest.allSchemas, // 查询弹窗所需类 searchPage: DeliverPlanDetailApi.getDeliverPlanDetailPage, // 查询弹窗所需分页方法 searchCondition: [{ key: 'available', diff --git a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts index 753350d31..fac92203b 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/deliverPlanMain.data.ts @@ -873,3 +873,89 @@ export const DeliverPlanDetailRules = reactive({ { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], }) + +/** + * @returns {Array} 发货计划子表 + */ +export const DeliverPlanDetailRequest = useCrudSchemas(reactive([ + { + label: '单据号', + field: 'number', + sort: 'custom', + table: { + width: 180 + }, + form: { + componentProps: { + disabled: true + } + } + }, + { + label: '物料代码', + field: 'itemCode', + sort: 'custom', + table: { + width: 150 + }, + tableForm:{ + multiple:true, + isInpuFocusShow: true, // 开启查询弹窗 + searchListPlaceholder: '请选择物料代码', + searchField: 'itemCode', + searchTitle: '客户物料基础信息', + searchAllSchemas: Customeritem.allSchemas, + searchPage: CustomerItemApi.getPageBusinessTypeToItemCode, + }, + form: { + componentProps: { + isSearchList: true, + searchListPlaceholder: '请选择物料代码', + searchField: 'itemCode', + searchTitle: '客户物料基础信息', + searchAllSchemas: Customeritem.allSchemas, + searchPage: CustomerItemApi.getPageBusinessTypeToItemCode, + } + } + }, + { + label: '计划数量', + field: 'planQty', + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'InputNumber', + componentProps: { + min: 0, + precision: 6 + } + }, + tableForm: { + type: 'InputNumber', + min: 0, + precision: 6 + } + }, + { + label: '计量单位', + field: 'uom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', + isTable: true, + sort: 'custom', + table: { + width: 150 + }, + tableForm: { + disabled: true, + type: 'Select' + }, + form: { + componentProps: { + disabled: true + } + } + }, +])) \ No newline at end of file From ff1a7a039f36b94cc980305e318a3eeb3f15339a Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Fri, 5 Jul 2024 13:41:41 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8F=82=E6=95=B0type?= =?UTF-8?q?=E4=BC=A0=E5=8F=82=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productreceiptscrap/productreceiptscrapJobMain/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue index 345042c99..ce5ab9968 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue @@ -299,7 +299,7 @@ const searchFormClick = (searchData) => { const cmd = { 'column':'type', 'action':'==', - 'value':'predict' + 'value':'scrap' } searchData.filters.push(cmd) tableObject.params = { From 7187d0348eba2e215cb8c77d85ef11506d371287 Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Fri, 5 Jul 2024 13:45:05 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E9=AB=98=E7=BA=A7=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E6=B2=A1=E4=BC=A0type=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productreceiptscrapRecordMain/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue index 84962d800..e5f369ecc 100644 --- a/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue +++ b/src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue @@ -208,6 +208,12 @@ const handleExport = async () => { // 筛选提交 const searchFormClick = (searchData) => { + const cmd = { + 'column':'type', + 'action':'==', + 'value':'scrap' + } + searchData.filters.push(cmd) tableObject.params = { isSearch: true, filters: searchData.filters From 592d773f69544168254a3e4166f9fa88d19844bb Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Fri, 5 Jul 2024 13:45:58 +0800 Subject: [PATCH 4/6] =?UTF-8?q?EAM=20=20=E2=80=94=E2=80=94>=20=E5=A4=87?= =?UTF-8?q?=E4=BB=B6=E7=AE=A1=E7=90=86=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/disposition/defaultButtons.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/disposition/defaultButtons.ts b/src/utils/disposition/defaultButtons.ts index edb8b8d7e..7f637131d 100644 --- a/src/utils/disposition/defaultButtons.ts +++ b/src/utils/disposition/defaultButtons.ts @@ -1154,7 +1154,7 @@ export function mainCopyBtn(option: any) { // 主列表-部件 export function componentBtn(option: any) { return __defaultBtnOption(option, { - label: '部件', + label: '关联部件', name: 'component', hide: false, type: 'primary', @@ -1166,7 +1166,7 @@ export function componentBtn(option: any) { // 主列表-备件 export function sparePartBtn(option: any) { return __defaultBtnOption(option, { - label: '备件', + label: '关联备件', name: 'sparePart', hide: false, type: 'primary', From 3879353b0229401bfd676b8e8f1ca332184d7ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Fri, 5 Jul 2024 13:57:36 +0800 Subject: [PATCH 5/6] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/eam/equipmentAccounts/index.vue | 368 ++++++++++++---------- src/views/eam/toolAccounts/index.vue | 350 +++++++++++--------- 2 files changed, 413 insertions(+), 305 deletions(-) diff --git a/src/views/eam/equipmentAccounts/index.vue b/src/views/eam/equipmentAccounts/index.vue index e17ae39a8..7196e45b5 100644 --- a/src/views/eam/equipmentAccounts/index.vue +++ b/src/views/eam/equipmentAccounts/index.vue @@ -1,18 +1,22 @@