From 7080ff23b3db1821c7435daed6c48dc7b02d7695 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Thu, 16 May 2024 17:56:45 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=B0=83=E6=8B=A8=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../transferreceiptJobMain.data.ts | 38 +++++++++++----- .../transferreceiptRecordMain.data.ts | 43 +++++++------------ .../transferreceiptRequestMain.data.ts | 18 ++++++-- 3 files changed, 59 insertions(+), 40 deletions(-) diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts index e11a049d3..e3e3fff81 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/transferreceiptJobMain.data.ts @@ -196,6 +196,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '优先级', field: 'priority', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -207,6 +208,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '优先级增量', field: 'priorityIncrement', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -218,6 +220,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '业务类型', field: 'businessType', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -226,6 +229,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '部门', field: 'departmentCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -234,6 +238,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '备注', field: 'remark', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -243,7 +248,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'autoComplete', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -262,7 +267,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowModifyLocation', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -281,7 +286,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowModifyQty', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -300,7 +305,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowBiggerQty', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -319,7 +324,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowSmallerQty', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -338,7 +343,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowModifyInventoryStatus', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -357,7 +362,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowContinuousScanning', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -376,7 +381,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowPartialComplete', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -395,7 +400,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowModifyBatch', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -414,7 +419,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ field: 'allowModifyPackingNumber', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -439,6 +444,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -452,6 +458,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '承接人', field: 'acceptUserId', sort: 'custom', + isTable: false, table: { width: 150 }, @@ -467,6 +474,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -480,6 +488,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '完成人', field: 'completeUserId', sort: 'custom', + isTable: false, table: { width: 150 }, @@ -491,6 +500,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ detail: { dateFormat: 'YYYY-MM-DD HH:mm:ss' }, + isTable: false, sort: 'custom', table: { width: 180 @@ -508,6 +518,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '创建者', field: 'creator', sort: 'custom', + isTable: false, table: { width: 150 }, @@ -523,6 +534,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -536,6 +548,7 @@ export const TransferreceiptJobMain = useCrudSchemas(reactive([ label: '最后更新者', field: 'updater', sort: 'custom', + isTable: false, table: { width: 150 }, @@ -621,6 +634,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive([ label: '单据号', field: 'number', sort: 'custom', + hiddenInMain:true, table: { width: 180 }, @@ -677,6 +691,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive([ label: '器具号', field: 'containerNumber', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -734,6 +749,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive([ label: '从货主代码', field: 'fromOwnerCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -742,6 +758,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive([ label: '到货主代码', field: 'toOwnerCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -750,6 +767,7 @@ export const TransferreceiptJobDetail = useCrudSchemas(reactive([ label: '项目代码', field: 'projectCode', sort: 'custom', + isTable:false, table: { width: 150 }, diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts index e9acb88d2..7ad4cddb8 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/transferreceiptRecordMain.data.ts @@ -213,6 +213,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ label: '出库事务类型', field: 'outTransactionType', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -221,6 +222,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ label: '入库事务类型', field: 'inTransactionType', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -229,6 +231,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ label: '业务类型', field: 'businessType', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -237,6 +240,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ label: '部门', field: 'departmentCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -246,7 +250,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ field: 'interfaceType', dictType: DICT_TYPE.INTERFACE_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -256,6 +260,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ label: '备注', field: 'remark', sort: 'custom', + isTable: false, table: { width: 150 }, @@ -268,6 +273,7 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ dateFormat: 'YYYY-MM-DD HH:mm:ss' }, sort: 'custom', + isTable: false, table: { width: 180 }, @@ -284,25 +290,18 @@ export const TransferreceiptRecordMain = useCrudSchemas(reactive([ label: '创建者', field: 'creator', sort: 'custom', + isTable: false, table: { width: 150 }, }, - // { - // label: '代码', - // field: 'code', - // sort: 'custom', - // table: { - // width: 150 - // }, - // }, { label: '是否可用', field: 'available', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', isSearch: true, - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -384,6 +383,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive label: '单据号', field: 'number', sort: 'custom', + hiddenInMain:true, table: { width: 180 }, @@ -478,6 +478,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive label: '从器具号', field: 'fromContainerNumber', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -486,6 +487,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive label: '到器具号', field: 'toContainerNumber', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -521,6 +523,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive label: '项目代码', field: 'projectCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -583,6 +586,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive label: '从货主代码', field: 'fromOwnerCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -591,6 +595,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive label: '到货主代码', field: 'toOwnerCode', sort: 'custom', + isTable:false, table: { width: 150 }, @@ -600,7 +605,7 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive field: 'interfaceType', dictType: DICT_TYPE.INTERFACE_TYPE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 @@ -614,14 +619,6 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive width: 150 }, }, - // { - // label: '任务明细ID', - // field: 'jobDetailId', - // sort: 'custom', - // table: { - // width: 150 - // }, - // }, { label: '创建时间', field: 'createTime', @@ -650,14 +647,6 @@ export const TransferreceiptRecordDetail = useCrudSchemas(reactive width: 150 }, }, - // { - // label: '代码', - // field: 'code', - // sort: 'custom', - // table: { - // width: 150 - // }, - // }, ])) //表单校验 diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts index 58fa9a02a..33fabc87e 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts @@ -190,6 +190,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable:false, form: { value: 'TransferReceipt', componentProps: { @@ -201,6 +202,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( label: '部门', field: 'departmentCode', sort: 'custom', + isTable:false, isForm: false, table: { width: 150 @@ -235,7 +237,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -256,7 +258,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -277,7 +279,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, isForm: false, sort: 'custom', table: { @@ -325,6 +327,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 180 }, + isTable: false, form: { component: 'DatePicker', componentProps: { @@ -342,6 +345,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable: false, isForm: false, }, { @@ -363,6 +367,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTable: false, isForm: false, }, { @@ -372,6 +377,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isTable: false, isForm: false, }, { @@ -437,6 +443,7 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive Date: Thu, 16 May 2024 18:16:45 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E7=BF=BB=E5=8C=85=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=89=93=E5=8D=B0=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/deliverRecordDetail/index.ts | 2 +- .../wms/purchasereceiptRecordDetail/index.ts | 2 +- .../packageoverRequestMain/index.vue | 87 ++++++++++++++++++- 3 files changed, 88 insertions(+), 3 deletions(-) diff --git a/src/api/wms/deliverRecordDetail/index.ts b/src/api/wms/deliverRecordDetail/index.ts index 28ea53b04..99890101c 100644 --- a/src/api/wms/deliverRecordDetail/index.ts +++ b/src/api/wms/deliverRecordDetail/index.ts @@ -77,5 +77,5 @@ export const importTemplate = () => { // 查询发货记录子列表 export const getDeliverRecordDetailListToRepeat = async (params) => { - return await request.get({ url: `/wms/deliver-record-detail/listToRepeat`, params }) + return await request.get({ url: `/wms/deliver-record-detail/listToRepeatDeliverReceipt`, params }) } \ No newline at end of file diff --git a/src/api/wms/purchasereceiptRecordDetail/index.ts b/src/api/wms/purchasereceiptRecordDetail/index.ts index 17503b4e7..352eeb112 100644 --- a/src/api/wms/purchasereceiptRecordDetail/index.ts +++ b/src/api/wms/purchasereceiptRecordDetail/index.ts @@ -101,7 +101,7 @@ export const getPurchasereceiptRecordDetailList = async (params) => { // 查询采购收货记录子列表 export const getPurchasereceiptRecordDetailListToRepeat = async (params) => { - return await request.get({ url: `/wms/purchasereceipt-record-detail/listToRepeat`, params }) + return await request.get({ url: `/wms/purchasereceipt-record-detail/listToRepeatPurchaseReceipt`, params }) } // 查询采购收货记录子详情 diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue index 95af0ae92..b05a91479 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue @@ -74,6 +74,8 @@ + +