From 642380b57c95c821fd860d77e42f642b866d8dd9 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Sun, 28 Apr 2024 14:54:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=94=B6=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerreceiptRecordMain.data.ts | 162 +++++++++++++----- .../customerreceiptRequestMain.data.ts | 89 +++++++--- .../productscrapRequestMain/index.vue | 1 + 3 files changed, 189 insertions(+), 63 deletions(-) diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts index de3b7aadd..458147c5a 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts @@ -40,6 +40,19 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ width: 180 }, }, + { + label: '状态', + field: 'status', + dictType: DICT_TYPE.REQUEST_STATUS, + dictClass: 'string', + isSearch: true, + isTable: true, + isForm: false, + sort: 'custom', + table: { + width: 150 + }, + }, { label: '客户代码', field: 'customerCode', @@ -55,6 +68,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '承运商', @@ -63,6 +77,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:1000, }, { label: '运输方式', @@ -71,6 +86,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:1000, }, { label: '车牌号', @@ -79,6 +95,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + sortTableDefault:1000, }, { label: '申请时间', @@ -91,6 +108,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -111,6 +129,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -131,6 +150,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -151,6 +171,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -168,6 +189,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '到仓库代码', @@ -176,13 +198,14 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '从库区类型范围', field: 'fromAreaTypes', dictType: DICT_TYPE.AREA_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -195,13 +218,14 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '到库区类型范围', field: 'toAreaTypes', dictType: DICT_TYPE.AREA_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -214,6 +238,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '出库事务类型', @@ -222,6 +247,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '入库事务类型', @@ -230,6 +256,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '业务类型', @@ -238,6 +265,8 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, + }, { label: '部门', @@ -246,13 +275,14 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '接口类型', field: 'interfaceType', dictType: DICT_TYPE.INTERFACE_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -265,6 +295,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '创建时间', @@ -277,6 +308,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -293,6 +325,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false }, // { // label: '代码', @@ -308,7 +341,7 @@ export const CustomerreceiptRecordMain = useCrudSchemas(reactive([ dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', isSearch: true, - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -396,6 +429,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 180 }, + isTable: false, }, // { // label: '销售订单号', @@ -436,6 +470,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + hiddenInMain:true, }, { label: '物料描述2', @@ -444,107 +479,138 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + hiddenInMain:true, }, { - label: '从批次', - field: 'fromBatch', + label: '批次', + field: 'batch', sort: 'custom', table: { width: 150 }, }, { - label: '到批次', - field: 'toBatch', + label: '包装代码', + field: 'packingNumber', sort: 'custom', table: { width: 150 }, }, - // { - // label: '包装号', - // field: 'packingNumber', - // sort: 'custom', - // table: { - // width: 150 - // }, - // }, { - label: '从包装号', - field: 'fromPackingNumber', + label: '包装规格', + field: 'packUnit', sort: 'custom', table: { width: 150 }, }, { - label: '到包装号', - field: 'toPackingNumber', + label: '数量', + field: 'qty', sort: 'custom', table: { width: 150 }, + form: { + component: 'InputNumber', + } }, { - label: '从器具号', - field: 'fromContainerNumber', + label: '计量单位', + field: 'uom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', + isTable: true, sort: 'custom', table: { width: 150 }, }, { - label: '到器具号', - field: 'toContainerNumber', + label: '从库位', + field: 'fromLocationCode', sort: 'custom', table: { width: 150 }, }, { - label: '数量', - field: 'qty', + label: '到库位', + field: 'toLocationCode', sort: 'custom', table: { width: 150 }, - form: { - component: 'InputNumber', - } }, + { - label: '计量单位', - field: 'uom', - dictType: DICT_TYPE.UOM, - dictClass: 'string', - isTable: true, + label: '从批次', + field: 'fromBatch', sort: 'custom', table: { width: 150 }, + isTable: false, }, { - label: '从库位代码', - field: 'fromLocationCode', + label: '到批次', + field: 'toBatch', + sort: 'custom', + table: { + width: 150 + }, + isTable: false, + + }, + + { + label: '从包装号', + field: 'fromPackingNumber', sort: 'custom', table: { width: 150 }, + isTable: false, + }, { - label: '到库位代码', - field: 'toLocationCode', + label: '到包装号', + field: 'toPackingNumber', sort: 'custom', table: { width: 150 }, + isTable: false, + + }, + { + label: '从器具号', + field: 'fromContainerNumber', + sort: 'custom', + table: { + width: 150 + }, + isTable: false, + + }, + { + label: '到器具号', + field: 'toContainerNumber', + sort: 'custom', + table: { + width: 150 + }, + isTable: false, }, + + { label: '库存状态', field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -559,7 +625,9 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive }, form: { component: 'InputNumber', - } + }, + isTable: false, + }, { label: '金额', @@ -568,6 +636,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, form: { component: 'InputNumber', } @@ -579,6 +648,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, { label: '到库位组代码', @@ -587,6 +657,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, { label: '从库区代码', @@ -595,6 +666,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, { label: '到库区代码', @@ -603,6 +675,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, { label: '从货主代码', @@ -611,6 +684,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, { label: '到货主代码', @@ -619,6 +693,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, { label: '项目代码', @@ -627,6 +702,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, // { // label: '任务明细ID', @@ -649,7 +725,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive field: 'interfaceType', dictType: DICT_TYPE.INTERFACE_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -662,6 +738,8 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, + }, { label: '创建时间', @@ -674,6 +752,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -690,6 +769,7 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive table: { width: 150 }, + isTable: false, }, ])) diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts index 6ac929cec..8508f6f4e 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts @@ -38,30 +38,30 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( isSearch: true, }, { - label: '状态', - field: 'status', - dictType: DICT_TYPE.REQUEST_STATUS, - dictClass: 'string', - isSearch: true, - isTable: true, - isForm: false, + label: '发货记录单号', + field: 'deliverRecordNumber', sort: 'custom', table: { width: 150 }, + isSearch: true, }, { - label: '发货记录单号', - field: 'deliverRecordNumber', + label: '发货计划单号', + field: 'deliverPlanNumber', sort: 'custom', table: { width: 150 }, - isSearch: true, }, { - label: '发货计划单号', - field: 'deliverPlanNumber', + label: '状态', + field: 'status', + dictType: DICT_TYPE.REQUEST_STATUS, + dictClass: 'string', + isSearch: true, + isTable: true, + isForm: false, sort: 'custom', table: { width: 150 @@ -83,6 +83,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable: false, }, { label: '承运商', @@ -91,6 +92,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + sortTableDefault:1000, }, { label: '运输方式', @@ -99,6 +101,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + sortTableDefault:1000, }, { label: '车牌号', @@ -107,6 +110,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + sortTableDefault:1000, }, { label: '申请时间', @@ -119,6 +123,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -139,6 +144,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -156,6 +162,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable: false, }, { label: '到仓库代码', @@ -165,13 +172,14 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable: false, }, { label: '从库区类型范围', field: 'fromAreaTypes', dictType: DICT_TYPE.AREA_TYPE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -183,7 +191,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'toAreaTypes', dictType: DICT_TYPE.AREA_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', isForm: false, table: { @@ -195,6 +203,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'fromAreaCodes', sort: 'custom', isForm: false, + isTable: false, table: { width: 150 }, @@ -204,6 +213,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'toAreaCodes', sort: 'custom', isForm: false, + isTable: false, table: { width: 150 }, @@ -215,13 +225,15 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, - isForm: false + isForm: false, + isTable: false, }, { label: '部门', field: 'departmentCode', sort: 'custom', isForm: false, + isTable: false, table: { width: 150 }, @@ -255,7 +267,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -276,7 +288,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -297,7 +309,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -353,6 +365,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTable: false, isForm: false }, { @@ -370,6 +383,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTable: false, isForm: false }, { @@ -391,6 +405,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTable: false, isForm: false }, { @@ -400,6 +415,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable: false, isForm: false }, { @@ -468,6 +484,7 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive row['processCode'] = val[0]['code'] }else if(formField == 'itemCode'){ row['itemCode'] = val[0]['itemCode'] + row['uom'] = val[0]['uom'] row['bomVersion'] = '' row['childList'] = [] // 查询标准价格 From efd02dcf122bd2f056bcb2b87ba06456e06aac9a Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Sun, 28 Apr 2024 15:12:36 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=BF=AE=E5=A4=8D=20plan?= =?UTF-8?q?MaserCode=E6=94=B9=E4=B8=BA"planMasterCode"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/productOffline/index.vue | 2 +- src/views/mes/productionPlan/productionPlan.data.ts | 2 +- src/views/mes/workScheduling/index.vue | 10 +++++----- src/views/mes/workScheduling/workScheduling.data.ts | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/mes/productOffline/index.vue b/src/views/mes/productOffline/index.vue index 3a01037f6..194031539 100644 --- a/src/views/mes/productOffline/index.vue +++ b/src/views/mes/productOffline/index.vue @@ -83,7 +83,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => { const setV = {} setV[formField] = val[0][searchField] setV['workBillno'] = val[0]['schedulingCode']//工单编码 - setV['planCode'] = val[0]['planMaserCode']//计划编码 + setV['planCode'] = val[0]['planMasterCode']//计划编码 setV['processCode'] = val[0]['workingNode']//工序编码 setV['stationCode'] = val[0]['currentWorkstation']//工位编码 // 以上字段的值从job_mes_work_scheduling表中获取 diff --git a/src/views/mes/productionPlan/productionPlan.data.ts b/src/views/mes/productionPlan/productionPlan.data.ts index 5e6a4bbd1..7fe70e582 100644 --- a/src/views/mes/productionPlan/productionPlan.data.ts +++ b/src/views/mes/productionPlan/productionPlan.data.ts @@ -213,7 +213,7 @@ export const workscheduling = useCrudSchemas(reactive([ }, { label: '计划编号', - field: 'planMaserCode', + field: 'planMasterCode', sort: 'custom', isSearch: true, table: { diff --git a/src/views/mes/workScheduling/index.vue b/src/views/mes/workScheduling/index.vue index 59b9e7fe0..848251919 100644 --- a/src/views/mes/workScheduling/index.vue +++ b/src/views/mes/workScheduling/index.vue @@ -29,7 +29,7 @@ >