From d51a5c3687bc4cff16e8e214fd64b7b22707864c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=83=9C=E6=A5=A0?= <2792649152@qq.com> Date: Thu, 2 Nov 2023 13:42:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 10 ++ .../countRequestMain/countRequestMain.data.ts | 68 +++++++--- .../countadjustRequestMain.data.ts | 75 +++++----- .../customerreceiptRequestMain.data.ts | 76 ++++++----- .../customerreturnRequestMain.data.ts | 80 ++++++----- .../customersettleRequestMain.data.ts | 80 ++++++----- .../deliverRequestMain.data.ts | 78 ++++++----- .../inventoryinitRequestMain.data.ts | 78 ++++++----- .../scrapRequestMain/scrapRequestMain.data.ts | 81 ++++++----- .../transferissueRequestMain.data.ts | 81 ++++++----- .../transferreceiptRequestMain.data.ts | 81 ++++++----- .../unplannedissueRequestMain.data.ts | 81 ++++++----- .../unplannedreceiptRequestMain.data.ts | 80 ++++++----- .../issueRequestMain/issueRequestMain.data.ts | 78 ++++++----- .../onlinesettlementRequestMain.data.ts | 73 +++++----- .../pickRequestMain/pickRequestMain.data.ts | 81 ++++++----- .../productionreturnRequestMain.data.ts | 73 +++++----- .../repleinshRequestMain.data.ts | 80 ++++++----- .../inventorychangeRequestMain.data.ts | 71 +++++----- .../inventorymoveRequestMain.data.ts | 69 ++++++---- .../offlinesettlementRequestMain.data.ts | 69 +++++----- .../productdismantleRequestMain.data.ts | 81 ++++++----- .../productputawayRequestMain.data.ts | 79 ++++++----- .../productreceiptRequestMain.data.ts | 82 ++++++----- .../productrepairRequestMain.data.ts | 81 ++++++----- .../productscrapRequestMain.data.ts | 77 ++++++----- .../inspectRequestMain.data.ts | 72 +++++----- .../purchasereceiptRequestMain/index.vue | 14 +- .../purchasereceiptRequestMain.data.ts | 84 ++++++------ .../purchasereturnRequestMain/index.vue | 4 +- .../purchasereturnRequestMain.data.ts | 89 +++++++----- .../putawayRequestMain.data.ts | 80 ++++++----- .../supplierdeliverRequestMain/index.vue | 46 ++++++- .../supplierdeliverRequestMain.data.ts | 82 ++++++----- .../supplierinvoiceRequestMain/index.vue | 18 +-- .../supplierinvoiceRequestMain.data.ts | 128 +++++++++++------- 36 files changed, 1483 insertions(+), 1077 deletions(-) diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 5e4d26b1e..51d11c076 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -104,6 +104,16 @@ + +
([ field: 'stage', dictType: DICT_TYPE.COUNT_STAGE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '仓库代码', @@ -56,14 +56,18 @@ export const CountRequestMain = useCrudSchemas(([ table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -72,6 +76,12 @@ export const CountRequestMain = useCrudSchemas(([ table: { width: 150 }, + form: { + value: 'Count', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -80,6 +90,7 @@ export const CountRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -100,6 +111,7 @@ export const CountRequestMain = useCrudSchemas(([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -108,6 +120,7 @@ export const CountRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -157,7 +170,10 @@ export const CountRequestMain = useCrudSchemas(([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -171,6 +187,7 @@ export const CountRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -191,6 +208,7 @@ export const CountRequestMain = useCrudSchemas(([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -199,20 +217,21 @@ export const CountRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -225,14 +244,14 @@ export const CountRequestMain = useCrudSchemas(([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -245,14 +264,14 @@ export const CountRequestMain = useCrudSchemas(([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -265,14 +284,14 @@ export const CountRequestMain = useCrudSchemas(([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -311,18 +330,9 @@ export const CountRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) @@ -391,7 +401,6 @@ export const CountRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -454,7 +463,6 @@ export const CountRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -480,6 +488,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -488,6 +498,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '单据号', @@ -496,6 +508,12 @@ export const CountRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -512,6 +530,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -532,6 +552,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -540,6 +562,8 @@ export const CountRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) diff --git a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts index 808826688..62c160afb 100644 --- a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts +++ b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts @@ -28,6 +28,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ table: { width: 150 }, + isSearch: true, }, { label: '盘点记录单号', @@ -44,21 +45,28 @@ export const CountadjustRequestMain = useCrudSchemas(([ table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', field: 'businessType', sort: 'custom', table: { - width: 150 + width: 150, + componentProps: { + disabled: true + } }, }, { @@ -68,6 +76,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -88,6 +97,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -96,6 +106,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -145,7 +156,10 @@ export const CountadjustRequestMain = useCrudSchemas(([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -159,6 +173,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -179,6 +194,7 @@ export const CountadjustRequestMain = useCrudSchemas(([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -187,20 +203,21 @@ export const CountadjustRequestMain = useCrudSchemas(([ table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -213,14 +230,14 @@ export const CountadjustRequestMain = useCrudSchemas(([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -233,14 +250,14 @@ export const CountadjustRequestMain = useCrudSchemas(([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -253,14 +270,14 @@ export const CountadjustRequestMain = useCrudSchemas(([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, form: { component: 'Switch', value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } }, sort: 'custom', @@ -281,9 +298,6 @@ export const CountadjustRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -296,18 +310,9 @@ export const CountadjustRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -367,7 +372,6 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -455,7 +459,6 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -481,6 +484,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -489,6 +494,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '单据号', @@ -497,6 +504,12 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -513,6 +526,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -533,6 +548,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -541,6 +558,8 @@ export const CountadjustRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -576,10 +595,4 @@ export const CountadjustRequestDetailRules = reactive({ itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts index 713813d31..8706bb6e2 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts @@ -28,6 +28,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '发货计划单号', @@ -44,6 +45,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '客户月台代码', @@ -98,7 +100,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -110,7 +111,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -138,8 +138,11 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -148,6 +151,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '备注', @@ -156,6 +160,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -176,6 +181,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -192,6 +198,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false }, { label: '申请时间', @@ -241,7 +248,10 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( width: 150 }, form: { - value: userDept.name + value: userDept.namem, + componentProps: { + disabled: true + } } }, { @@ -255,6 +265,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -275,6 +286,7 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -283,13 +295,13 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -300,7 +312,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -309,7 +322,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -320,7 +332,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -329,7 +342,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -340,7 +352,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -349,7 +362,6 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -360,7 +372,8 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -392,9 +405,6 @@ export const CustomerreceiptRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -407,18 +417,9 @@ export const CustomerreceiptRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -470,7 +471,6 @@ export const CustomerreceiptRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '发货记录单号', @@ -52,6 +53,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '客户月台代码', @@ -114,7 +116,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -126,7 +127,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -154,8 +154,11 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -164,6 +167,12 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'CustomerReject', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -172,6 +181,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -192,6 +202,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -200,6 +211,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -251,7 +263,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ form: { value: userDept.name, componentProps: { - disabled: 'true' + disabled: true } } }, @@ -260,12 +272,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'status', dictType: DICT_TYPE.REQUEST_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isForm: false, + isSearch: true, }, { label: '最后更新时间', @@ -286,6 +299,7 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -294,13 +308,13 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -311,7 +325,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -320,7 +335,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -331,7 +345,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -340,7 +355,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -351,7 +365,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -360,7 +375,6 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -371,7 +385,8 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -409,9 +424,6 @@ export const CustomerreturnRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -424,18 +436,9 @@ export const CustomerreturnRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -487,7 +490,6 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -517,6 +519,12 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -533,6 +541,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -553,6 +563,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -561,6 +573,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -610,7 +624,6 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -652,6 +665,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -660,6 +675,8 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -680,16 +697,7 @@ export const CustomerreturnRequestDetailRules = reactive({ fromLocationCode: [ { required: true, message: '请选择从库位代码', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts index 5973bb0fd..b66290ccf 100644 --- a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts @@ -44,6 +44,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '从仓库代码', @@ -58,12 +59,12 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '从库区代码范围', @@ -78,8 +79,11 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -88,6 +92,12 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'CustomerSettle', + componentProps:{ + disabled: true + } + } }, { label: '备注', @@ -96,6 +106,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -116,6 +127,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -124,6 +136,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -173,7 +186,10 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -187,6 +203,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -207,6 +224,7 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -215,13 +233,13 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -232,7 +250,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -241,7 +260,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -252,7 +270,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -261,7 +280,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -272,7 +290,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -281,7 +300,6 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -292,7 +310,8 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -330,18 +349,9 @@ export const CustomersettleRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -393,7 +403,6 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -413,8 +422,15 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -431,6 +447,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -451,6 +469,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -459,6 +479,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -508,7 +530,6 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -534,6 +555,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -542,6 +565,8 @@ export const CustomersettleRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -562,16 +587,7 @@ export const CustomersettleRequestDetailRules = reactive({ fromLocationCode: [ { required: true, message: '请选择从库位代码', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index 713dbb1dd..1cb961239 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -44,6 +44,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '客户月台代码', @@ -52,6 +53,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '承运商', @@ -98,7 +100,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -110,7 +111,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -146,8 +146,11 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -156,6 +159,12 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Deliver', + componentProps: { + disabled: true, + } + } }, { label: '备注', @@ -164,6 +173,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -184,6 +194,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -192,6 +203,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -241,7 +253,10 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -255,6 +270,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -275,6 +291,7 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -283,13 +300,13 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -300,7 +317,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -309,7 +327,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -320,7 +337,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -329,7 +347,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -340,7 +357,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -349,7 +367,6 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -360,7 +377,8 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -407,18 +425,9 @@ export const DeliverRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -470,7 +479,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -500,6 +508,12 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -516,6 +530,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -536,6 +552,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -544,6 +562,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -593,7 +613,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -627,6 +646,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -635,6 +656,8 @@ export const DeliverRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -655,16 +678,7 @@ export const DeliverRequestDetailRules = reactive({ toLocationCode: [ { required: true, message: '请选择到库位代码', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts index 14fd58624..322614f67 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts @@ -28,14 +28,17 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isSearch: true, }, { label: '业务类型', @@ -44,6 +47,12 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'InventoryInitial', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -52,6 +61,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -72,6 +82,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -80,6 +91,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -129,7 +141,10 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -143,6 +158,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -163,6 +179,7 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -171,13 +188,13 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -188,7 +205,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -197,7 +215,6 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -208,7 +225,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -217,7 +235,6 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -228,7 +245,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -237,7 +255,6 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -248,7 +265,8 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -262,9 +280,6 @@ export const InventoryinitRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -277,18 +292,9 @@ export const InventoryinitRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -400,7 +406,6 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -447,7 +452,6 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( field: 'stdPackUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -461,6 +465,12 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -477,6 +487,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -497,6 +509,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -505,6 +519,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -554,7 +570,6 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -580,6 +595,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -588,6 +605,8 @@ export const InventoryinitRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -626,16 +645,7 @@ export const InventoryinitRequestDetailRules = reactive({ stdPackUnit: [ { required: true, message: '请选择标包单位', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts index 40fd8c594..f6ca6bf04 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts @@ -28,18 +28,19 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '从库位类型范围', field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '从库区代码范围', @@ -54,8 +55,11 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -64,6 +68,12 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Scrap', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -72,6 +82,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -92,6 +103,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -100,6 +112,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -149,7 +162,10 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -163,6 +179,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -183,6 +200,7 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -191,13 +209,13 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -208,7 +226,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disable: true } } }, @@ -217,7 +236,6 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -228,7 +246,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disable: true } } }, @@ -237,7 +256,6 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -248,7 +266,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disable: true } } }, @@ -257,7 +276,6 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -268,7 +286,8 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disable: true } } }, @@ -288,9 +307,6 @@ export const ScrapRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -303,18 +319,9 @@ export const ScrapRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -366,7 +373,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -378,7 +384,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ field: 'reason', dictType: DICT_TYPE.SCRAP_REASON, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -433,7 +438,6 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -459,6 +463,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -467,6 +473,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '单据号', @@ -475,6 +483,12 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -491,6 +505,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -511,6 +527,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -519,6 +537,8 @@ export const ScrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -536,16 +556,7 @@ export const ScrapRequestDetailRules = reactive({ inventoryStatus: [ { required: true, message: '请选择库存状态', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts index 00b16304b..fb14d10d7 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts @@ -36,6 +36,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '车牌号', @@ -66,19 +67,18 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '到库位类型范围', field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -114,8 +114,11 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -124,6 +127,12 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'TransferDeliver', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -132,6 +141,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -152,6 +162,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -160,6 +171,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -209,7 +221,10 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -223,6 +238,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -243,6 +259,7 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -251,13 +268,13 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -268,7 +285,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -277,7 +295,6 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -288,7 +305,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -297,7 +315,6 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -308,7 +325,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -317,7 +335,6 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -328,7 +345,8 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -357,9 +375,6 @@ export const TransferissueRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -372,18 +387,9 @@ export const TransferissueRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -419,7 +425,6 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -457,6 +462,12 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -465,6 +476,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -473,6 +486,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -493,6 +508,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '物品代码', @@ -550,7 +567,6 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -564,6 +580,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '最后更新时间', @@ -584,6 +602,8 @@ export const TransferissueRequestDetail = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, ])) @@ -595,16 +615,7 @@ export const TransferissueRequestDetailRules = reactive({ toLocationCode: [ { required: true, message: '请选择到库位代码', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts index a7a1b3eae..e7d40e815 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts @@ -36,6 +36,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '车牌号', @@ -66,7 +67,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -78,7 +78,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -108,14 +107,18 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -124,6 +127,12 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + form: { + value: 'TransferReceipt', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -132,6 +141,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -152,6 +162,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -160,6 +171,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -209,7 +221,10 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -223,6 +238,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -243,6 +259,7 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -251,13 +268,13 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -268,7 +285,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -277,7 +295,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -288,7 +305,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -297,7 +315,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -308,7 +325,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -317,7 +335,6 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -328,7 +345,8 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -357,9 +375,6 @@ export const TransferreceiptRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -372,18 +387,9 @@ export const TransferreceiptRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -419,7 +425,6 @@ export const TransferreceiptRequestDetail = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '从库区代码范围', @@ -48,14 +48,18 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -64,6 +68,12 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'UnplannedDeliver', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -72,6 +82,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -92,6 +103,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -100,6 +112,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -149,7 +162,10 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -163,6 +179,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -183,6 +200,7 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -191,13 +209,13 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -208,7 +226,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -217,7 +236,6 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -228,7 +246,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -237,7 +256,6 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -248,7 +266,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -257,7 +276,6 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -268,7 +286,8 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -288,9 +307,6 @@ export const UnplannedissueRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -303,18 +319,9 @@ export const UnplannedissueRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -350,7 +357,6 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -370,7 +376,6 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive field: 'reason', dictType: DICT_TYPE.UNPLANNED_ISSUE_REASON, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -392,6 +397,12 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -400,6 +411,8 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -408,6 +421,8 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -428,6 +443,8 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '物品代码', @@ -485,7 +502,6 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -499,6 +515,8 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '最后更新时间', @@ -511,6 +529,8 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive table: { width: 180 }, + isTableForm: false, + isForm: false }, ])) @@ -528,16 +548,7 @@ export const UnplannedissueRequestDetailRules = reactive({ fromLocationCode: [ { required: true, message: '请选择从库位代码', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts index 2773f77b9..1b6f4f314 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts @@ -48,14 +48,18 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -64,6 +68,12 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive table: { width: 150 }, + form: { + value: 'UnplannedReceipt', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -72,6 +82,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -92,6 +103,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -100,6 +112,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -149,7 +162,10 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -163,6 +179,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -183,6 +200,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -191,13 +209,13 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -208,7 +226,8 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -217,7 +236,6 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -228,7 +246,8 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -237,7 +256,6 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -248,7 +266,8 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -257,7 +276,6 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -268,7 +286,8 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -288,9 +307,6 @@ export const UnplannedreceiptRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -303,18 +319,9 @@ export const UnplannedreceiptRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -418,7 +425,6 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -90,8 +89,11 @@ export const IssueRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -100,6 +102,12 @@ export const IssueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Issue', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -108,6 +116,7 @@ export const IssueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -128,6 +137,7 @@ export const IssueRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -136,6 +146,7 @@ export const IssueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -185,7 +196,10 @@ export const IssueRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -199,6 +213,7 @@ export const IssueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -219,6 +234,7 @@ export const IssueRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -227,13 +243,13 @@ export const IssueRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -244,7 +260,8 @@ export const IssueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -253,7 +270,6 @@ export const IssueRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -264,7 +280,8 @@ export const IssueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -273,7 +290,6 @@ export const IssueRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -284,7 +300,8 @@ export const IssueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -293,7 +310,6 @@ export const IssueRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -304,7 +320,8 @@ export const IssueRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -346,9 +363,6 @@ export const IssueRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -361,18 +375,9 @@ export const IssueRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -424,7 +429,6 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -446,6 +450,12 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -462,6 +472,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -482,6 +494,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -490,6 +504,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -536,7 +552,6 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -578,6 +593,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false, }, { label: '最后更新者', @@ -586,6 +603,8 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -603,16 +622,7 @@ export const IssueRequestDetailRules = reactive({ toLocationCode: [ { required: true, message: '请输入到库位代码', trigger: 'blur' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts index 00ada33f7..86a742c87 100644 --- a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts +++ b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts @@ -7,7 +7,7 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index' const queryParams = { pageSize:10, pageNo:1, - code:'CustomerReceiptRequest' + code:'OnlineSettlementRequest' } const data = await getRequestsettingApi.getRequestsettingPage(queryParams) const requestsettingData =data?.list[0]||{} @@ -28,6 +28,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isSearch: true, }, { label: '仓库代码', @@ -85,7 +86,10 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true, + } } }, { @@ -99,6 +103,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -119,6 +124,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -127,14 +133,18 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -142,7 +152,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive sort: 'custom', table: { width: 150 - }, + } }, { label: '备注', @@ -151,6 +161,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -171,6 +182,7 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -179,13 +191,13 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -196,7 +208,8 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -205,7 +218,6 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -216,7 +228,8 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -225,7 +238,6 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -236,7 +248,8 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -245,7 +258,6 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -256,7 +268,8 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -288,18 +301,9 @@ export const OnlinesettlementRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -335,7 +339,6 @@ export const OnlinesettlementRequestDetail = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '从库区代码范围', @@ -62,12 +62,12 @@ export const PickRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '到库区代码范围', @@ -82,8 +82,11 @@ export const PickRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -92,6 +95,12 @@ export const PickRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Pick', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -100,6 +109,7 @@ export const PickRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -120,6 +130,7 @@ export const PickRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -128,6 +139,7 @@ export const PickRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -177,7 +189,10 @@ export const PickRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -191,6 +206,7 @@ export const PickRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -211,6 +227,7 @@ export const PickRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -219,13 +236,13 @@ export const PickRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -236,7 +253,8 @@ export const PickRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -245,7 +263,6 @@ export const PickRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -256,7 +273,8 @@ export const PickRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -265,7 +283,6 @@ export const PickRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -276,7 +293,8 @@ export const PickRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -285,7 +303,6 @@ export const PickRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -296,7 +313,8 @@ export const PickRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -319,9 +337,6 @@ export const PickRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -334,18 +349,9 @@ export const PickRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -357,7 +363,6 @@ export const PickRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -379,6 +384,12 @@ export const PickRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -395,6 +406,8 @@ export const PickRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -415,6 +428,8 @@ export const PickRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -423,6 +438,8 @@ export const PickRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -472,7 +489,6 @@ export const PickRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -514,6 +530,8 @@ export const PickRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -522,6 +540,8 @@ export const PickRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -533,16 +553,7 @@ export const PickRequestDetailRules = reactive({ toLocationCode: [ { required: true, message: '请输入到库位代码', trigger: 'blur' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts index f40649c1f..bc7fbe309 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts @@ -28,6 +28,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isSearch: true, }, { label: '从仓库代码', @@ -42,7 +43,6 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -62,8 +62,11 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -80,6 +83,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -100,6 +104,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -108,6 +113,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -157,7 +163,10 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -171,6 +180,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -191,6 +201,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -199,6 +210,7 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '到仓库代码', @@ -233,7 +245,6 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -244,7 +255,8 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -253,7 +265,6 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -264,7 +275,8 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -273,7 +285,6 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -284,7 +295,8 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -293,7 +305,6 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -304,7 +315,8 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -327,9 +339,6 @@ export const ProductionreturnRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -342,18 +351,9 @@ export const ProductionreturnRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -381,7 +381,6 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '从库区代码范围', @@ -62,7 +62,6 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -82,8 +81,11 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -92,6 +94,12 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Repleinment', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -100,6 +108,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -120,6 +129,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -128,6 +138,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -177,7 +188,10 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -191,6 +205,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -211,6 +226,7 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -219,13 +235,13 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -236,7 +252,8 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -245,7 +262,6 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -256,7 +272,8 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -265,7 +282,6 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -276,7 +292,8 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -285,7 +302,6 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -296,7 +312,8 @@ export const RepleinshRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -319,9 +336,6 @@ export const RepleinshRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -334,18 +348,9 @@ export const RepleinshRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -357,7 +362,6 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -379,6 +383,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -395,6 +405,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -415,6 +427,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -423,6 +437,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -472,7 +488,6 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -514,6 +529,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -522,6 +539,8 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -533,16 +552,7 @@ export const RepleinshRequestDetailRules = reactive({ toLocationCode: [ { required: true, message: '请输入到库位代码', trigger: 'blur' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts index da489e604..a75ad3452 100644 --- a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts @@ -7,7 +7,7 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index' const queryParams = { pageSize:10, pageNo:1, - code:'CustomerReceiptRequest' + code:'InventoryChangeRequest' } const data = await getRequestsettingApi.getRequestsettingPage(queryParams) const requestsettingData =data?.list[0]||{} @@ -34,8 +34,11 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -52,6 +55,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -72,6 +76,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -80,6 +85,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -129,7 +135,10 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -143,6 +152,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -163,6 +173,7 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -171,13 +182,13 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -188,7 +199,8 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -197,7 +209,6 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -208,7 +219,8 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -217,7 +229,6 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -228,7 +239,8 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -237,7 +249,6 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -248,7 +259,8 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -277,18 +289,9 @@ export const InventorychangeRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -435,7 +438,6 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -62,12 +61,12 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, }, { label: '到库区代码范围', @@ -82,8 +81,11 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -92,6 +94,12 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Move', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -100,6 +108,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -120,6 +129,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -128,6 +138,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -177,7 +188,10 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -191,6 +205,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -211,6 +226,7 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -219,13 +235,13 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -236,7 +252,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -245,7 +262,6 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -256,7 +272,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -265,7 +282,6 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -276,7 +292,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -285,7 +302,6 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -296,7 +312,8 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -357,18 +374,9 @@ export const InventorymoveRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -420,7 +428,6 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( field: 'fromInventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -472,7 +479,6 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( field: 'toInventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -486,6 +492,12 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -494,6 +506,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -502,6 +516,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -522,6 +538,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '物品代码', @@ -579,7 +597,6 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -593,6 +610,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '最后更新时间', @@ -613,6 +632,8 @@ export const InventorymoveRequestDetail = useCrudSchemas(reactive( valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, ])) diff --git a/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts b/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts index 95cb0fa65..10be06e5b 100644 --- a/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts +++ b/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts @@ -7,7 +7,7 @@ import * as getRequestsettingApi from '@/api/wms/requestsetting/index' const queryParams = { pageSize:10, pageNo:1, - code:'CustomerReceiptRequest' + code:'OfflineSettlementRequest' } const data = await getRequestsettingApi.getRequestsettingPage(queryParams) const requestsettingData =data?.list[0]||{} @@ -28,6 +28,7 @@ export const OfflinesettlementRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isSearch: true, }, { label: '班组', @@ -58,7 +59,6 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -78,8 +78,11 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -88,6 +91,12 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive table: { width: 150 }, + form: { + value: 'ProductDisassemble', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -96,6 +105,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -116,6 +126,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -124,6 +135,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -173,7 +185,10 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -187,6 +202,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -207,6 +223,7 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -215,13 +232,13 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -232,7 +249,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -241,7 +259,6 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -252,7 +269,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -261,7 +279,6 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -272,7 +289,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -281,7 +299,6 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -292,7 +309,8 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -312,9 +330,6 @@ export const ProductdismantleRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -327,18 +342,9 @@ export const ProductdismantleRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -438,7 +444,6 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts index f471048f0..6aa1ba616 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts @@ -28,6 +28,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '从仓库代码', @@ -42,7 +43,6 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -62,8 +62,11 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -72,6 +75,12 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'ProductPutaway', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -80,6 +89,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -100,6 +110,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -108,6 +119,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -157,7 +169,10 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -171,6 +186,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -191,6 +207,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTable: false, }, { label: '最后更新者', @@ -199,6 +216,7 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isTable: false, }, { label: '到仓库代码', @@ -233,7 +251,6 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -244,7 +261,8 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -253,7 +271,6 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -264,7 +281,8 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -273,7 +291,6 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -284,7 +301,8 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -293,7 +311,6 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -304,7 +321,8 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -327,9 +345,6 @@ export const ProductputawayRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -342,18 +357,9 @@ export const ProductputawayRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -389,7 +395,6 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -427,6 +432,12 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -443,6 +454,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -463,6 +476,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -471,6 +486,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -520,7 +537,6 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -562,6 +578,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -570,6 +588,8 @@ export const ProductputawayRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -587,16 +607,7 @@ export const ProductputawayRequestDetailRules = reactive({ fromLocationCode: [ { required: true, message: '请输入从库位代码', trigger: 'blur' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index fabcabda1..92c76c8e3 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -28,6 +28,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '车间代码', @@ -36,6 +37,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '班组', @@ -66,7 +68,6 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -86,8 +87,11 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -96,6 +100,12 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'ProductReceipt', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -104,6 +114,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -124,6 +135,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -132,6 +144,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -181,7 +194,10 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -195,6 +211,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -215,6 +232,7 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -223,13 +241,13 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -240,7 +258,8 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -249,7 +268,6 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -260,7 +278,8 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -269,7 +288,6 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -280,7 +298,8 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -289,7 +308,6 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -300,7 +318,8 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -320,9 +339,6 @@ export const ProductreceiptRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -335,18 +351,9 @@ export const ProductreceiptRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -446,7 +453,6 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -485,7 +491,6 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive field: 'stdPackUnit', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -507,6 +512,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -523,6 +534,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -543,6 +556,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -551,6 +566,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -597,7 +614,6 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -623,6 +639,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -631,6 +649,8 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false } ])) @@ -666,18 +686,9 @@ export const ProductreceiptRequestDetailRules = reactive({ stdPackUnit: [ { required: true, message: '请选择标包单位', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -800,7 +811,6 @@ export const BackflushRequestDetailb = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index b4eba1861..aadc00d52 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -28,6 +28,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '班组', @@ -58,7 +59,6 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -78,8 +78,11 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -88,6 +91,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'ProductRepair', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -96,6 +105,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -116,6 +126,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -124,6 +135,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -173,7 +185,10 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -187,6 +202,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -207,6 +223,7 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -215,13 +232,13 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -232,7 +249,8 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -241,7 +259,6 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -252,7 +269,8 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -261,7 +279,6 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -272,7 +289,8 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -281,7 +299,6 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -292,7 +309,8 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -312,9 +330,6 @@ export const ProductrepairRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -327,18 +342,9 @@ export const ProductrepairRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -414,7 +420,6 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -428,6 +433,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -444,6 +455,8 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -464,6 +477,8 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -472,6 +487,8 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -521,7 +538,6 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -547,6 +563,8 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -555,6 +573,8 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false } ])) @@ -575,18 +595,9 @@ export const ProductrepairRequestDetailaRules = reactive({ inventoryStatus: [ { required: true, message: '请输入库存状态', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -598,7 +609,6 @@ export const ConsumereRequestDetailb = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -729,7 +739,6 @@ export const ConsumereRequestDetailb = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts index e97b1d49a..53f06714f 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts @@ -34,7 +34,6 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -48,14 +47,18 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -64,6 +67,12 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'ProductScrap', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -72,6 +81,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -92,6 +102,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -100,6 +111,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -149,7 +161,10 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -163,6 +178,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -183,6 +199,7 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -191,13 +208,13 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -208,7 +225,8 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -217,7 +235,6 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -228,7 +245,8 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -237,7 +255,6 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -248,7 +265,8 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -257,7 +275,6 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -268,7 +285,8 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -303,18 +321,9 @@ export const ProductscrapRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -366,7 +375,6 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -378,7 +386,6 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ field: 'reason', dictType: DICT_TYPE.SCRAP_REASON, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -433,7 +440,6 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -459,6 +465,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -467,6 +475,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '单据号', @@ -475,6 +485,12 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -491,6 +507,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -511,6 +529,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -519,6 +539,8 @@ export const ProductscrapRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -536,16 +558,7 @@ export const ProductscrapRequestDetailRules = reactive({ inventoryStatus: [ { required: true, message: '请选择库存状态', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请选择物品代码', trigger: 'change' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts index 20ae0c27e..ee7b30f8f 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts @@ -28,6 +28,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '供应商代码', @@ -36,14 +37,18 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -52,6 +57,12 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'Inspect', + componentProps: { + disabled: true + } + } }, { label: '从仓库代码', @@ -74,7 +85,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -88,6 +98,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建者', @@ -96,6 +107,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -116,6 +128,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '申请时间', @@ -165,7 +178,10 @@ export const InspectRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -179,6 +195,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新者', @@ -187,6 +204,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -207,6 +225,7 @@ export const InspectRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '订单号', @@ -245,7 +264,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'inspectType', dictType: DICT_TYPE.INSPECT_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -257,7 +275,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'nextAction', dictType: DICT_TYPE.NEXT_ACTION, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -269,7 +286,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'sampleMethod', dictType: DICT_TYPE.SAMPLE_METHOD, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -281,7 +297,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -323,7 +338,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -334,7 +348,8 @@ export const InspectRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -343,7 +358,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -354,7 +368,8 @@ export const InspectRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -363,7 +378,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -374,7 +388,8 @@ export const InspectRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -383,7 +398,6 @@ export const InspectRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -394,7 +408,8 @@ export const InspectRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -438,9 +453,6 @@ export const InspectRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -453,18 +465,9 @@ export const InspectRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -492,7 +495,6 @@ export const InspectRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -526,6 +528,8 @@ export const InspectRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -534,6 +538,8 @@ export const InspectRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品代码', @@ -591,7 +597,6 @@ export const InspectRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -611,16 +616,7 @@ export const InspectRequestDetailRules = reactive({ fromLocationCode: [ { required: true, message: '请输入库位代码', trigger: 'blur' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue index dedeb50e1..69c6d1096 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue @@ -82,6 +82,8 @@ import { PurchasereceiptRequestMain,PurchasereceiptRequestMainRules,Purchaserece import * as PurchasereceiptRequestMainApi from '@/api/wms/purchasereceiptRequestMain' import * as PurchasereceiptRequestDetailApi from '@/api/wms/purchasereceiptRequestDetail' import * as defaultButtons from '@/utils/disposition/defaultButtons' +import * as SupplierApi from '@/api/wms/supplier' +import { Supplier } from '../../../basicDataManage/supplierManage/supplier/supplier.data' // 采购收货申请 defineOptions({ name: 'PurchasereceiptRequestMain' }) @@ -101,12 +103,12 @@ const updataTableColumns = (val) => { // 查询列表页面参数设置 const searchTableParams = ref([ -//{ -// formField: 'productItemCode', -// searchTableTitle: '物料信息', -// searchTableAllSchemas: Itembasic.allSchemas, -// searchTablePage: ItembasicApi.getItembasicPage -//} +{ + formField: 'supplierCode', + searchTableTitle: '供应商信息', + searchTableAllSchemas: Supplier.allSchemas, + searchTablePage: SupplierApi.getSupplierPage +} ]) // 查询页面返回 diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 73b03be1f..d12a460eb 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -44,6 +44,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '承运商', @@ -60,6 +61,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '车牌号', @@ -90,7 +92,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -102,7 +103,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -138,8 +138,11 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -148,6 +151,12 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + form: { + value: 'PurchaseReceipt', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -156,6 +165,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -176,6 +186,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false, }, { label: '创建者', @@ -184,6 +195,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -204,6 +216,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -212,6 +225,7 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '申请时间', @@ -261,7 +275,10 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true, + } } }, { @@ -275,13 +292,13 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -292,7 +309,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -301,7 +319,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -312,7 +329,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -321,7 +339,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -332,7 +349,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -341,7 +359,6 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -352,7 +369,8 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true, } } }, @@ -372,9 +390,6 @@ export const PurchasereceiptRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -387,19 +402,9 @@ export const PurchasereceiptRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], - }) /** @@ -503,7 +508,6 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive { defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['REQUEST_NEW'])}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['REQUEST_REVIEWING'])}), // 驳回 defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['REQUEST_REVIEWING'])}), // 审批通过 - defaultButtons.mainListEditBtn({hasPermi:'wms:purchasereturnRequestMain:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchasereturnRequestMain:delete'}), // 删除 + defaultButtons.mainListEditBtn({hasPermi:'wms:purchasereturn-request-main:update'}), // 编辑 + defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchasereturn-request-main:delete'}), // 删除 ] } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index bc8d2c4d7..4faf56503 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -52,6 +52,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '承运商', @@ -98,7 +99,6 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -110,7 +110,6 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -146,8 +145,11 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -156,6 +158,12 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'PurchaseReturn', + componentProps: { + disabled: true + } + } }, { label: '申请时间', @@ -205,7 +213,10 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -219,6 +230,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '备注', @@ -227,6 +239,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建者', @@ -235,6 +248,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -255,6 +269,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '最后更新者', @@ -263,6 +278,7 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -283,13 +299,13 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false, }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -300,7 +316,8 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -309,7 +326,6 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -320,7 +336,8 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -329,7 +346,6 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -340,7 +356,8 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -349,7 +366,6 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -360,10 +376,20 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, + { + label: '操作', + field: 'action', + isDetail: false, + isForm: false , + table: { + width: 300 + } + } ])) //表单校验 @@ -380,9 +406,6 @@ export const PurchasereturnRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -395,18 +418,9 @@ export const PurchasereturnRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -458,7 +472,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -512,6 +525,12 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + form: { + componentProps: { + disabled: true + } + } }, { label: '物品代码', @@ -569,7 +588,6 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -583,6 +601,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false, }, { label: '创建者', @@ -591,6 +611,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false, }, { label: '创建时间', @@ -603,6 +625,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 180 }, + isTableForm: false, + isForm: false, }, { label: '最后更新者', @@ -611,6 +635,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive table: { width: 150 }, + isTableForm: false, + isForm: false, }, { label: '最后更新时间', @@ -631,6 +657,8 @@ export const PurchasereturnRequestDetail = useCrudSchemas(reactive valueFormat: 'x', } }, + isTableForm: false, + isForm: false, } ])) @@ -654,16 +682,7 @@ export const PurchasereturnRequestDetailRules = reactive({ reason: [ { required: true, message: '请选择原因', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts index d12d6ec21..b76c6598d 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts @@ -28,6 +28,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isSearch: true, }, { label: '从仓库代码', @@ -42,7 +43,6 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'fromLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -62,8 +62,11 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -72,6 +75,12 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + value: 'PurchasePutaway', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -80,6 +89,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -100,6 +110,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -108,6 +119,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -157,7 +169,10 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps: { + disabled: true + } } }, { @@ -171,6 +186,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '最后更新时间', @@ -191,6 +207,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -199,6 +216,7 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm: false }, { label: '到仓库代码', @@ -213,7 +231,6 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'toLocationTypes', dictType: DICT_TYPE.LOCATION_TYPE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -233,7 +250,6 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -244,7 +260,8 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -253,7 +270,6 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -264,7 +280,8 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -273,7 +290,6 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -284,7 +300,8 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -293,7 +310,6 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -304,7 +320,8 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled: true } } }, @@ -327,9 +344,6 @@ export const PutawayRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -342,18 +356,9 @@ export const PutawayRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -389,7 +394,6 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ field: 'inventoryStatus', dictType: DICT_TYPE.INVENTORY_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -427,6 +431,12 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + form: { + componentProps:{ + disabled: true + } + } }, { label: '物品代码', @@ -443,6 +453,8 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '创建时间', @@ -463,6 +475,8 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '创建者', @@ -471,6 +485,8 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, { label: '物品名称', @@ -520,7 +536,6 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ field: 'uom', dictType: DICT_TYPE.UOM, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -562,6 +577,8 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ valueFormat: 'x', } }, + isTableForm: false, + isForm: false }, { label: '最后更新者', @@ -570,6 +587,8 @@ export const PutawayRequestDetail = useCrudSchemas(reactive([ table: { width: 150 }, + isTableForm: false, + isForm: false }, ])) @@ -587,16 +606,7 @@ export const PutawayRequestDetailRules = reactive({ fromLocationCode: [ { required: true, message: '请输入从库位代码', trigger: 'blur' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], itemCode: [ { required: true, message: '请输入物品代码', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) \ No newline at end of file diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 64a3ba7ec..fa483edf2 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -82,6 +82,16 @@ import { SupplierdeliverRequestMain,SupplierdeliverRequestMainRules,Supplierdeli import * as SupplierdeliverRequestMainApi from '@/api/wms/supplierdeliverRequestMain' import * as SupplierdeliverRequestDetailApi from '@/api/wms/supplierdeliverRequestDetail' import * as defaultButtons from '@/utils/disposition/defaultButtons' +import { PurchasePlanMain } from '@/utils/disposition/tableColumns' +import * as PurchasePlanMainApi from '@/api/wms/purchasePlanMain' +import { SupplierdeliverRecordMain } from '@/utils/disposition/tableColumns' +import * as supplierdeliverRecordMainApi from '@/api/wms/supplierdeliverRecordMain' +import { Supplier } from '../../../basicDataManage/supplierManage/supplier/supplier.data' +import * as SupplierApi from '@/api/wms/supplier' +import { Dock } from '../../../basicDataManage/factoryModeling/dock/dock.data' +import * as DockApi from '@/api/wms/dock' +import { Carrier } from '../../../basicDataManage/orderManage/carrier/carrier.data' +import * as CarrierApi from '@/api/wms/carrier' // 供应商发货申请 defineOptions({ name: 'SupplierdeliverRequestMain' }) @@ -101,12 +111,36 @@ const updataTableColumns = (val) => { // 查询列表页面参数设置 const searchTableParams = ref([ -//{ -// formField: 'productItemCode', -// searchTableTitle: '物料信息', -// searchTableAllSchemas: Itembasic.allSchemas, -// searchTablePage: ItembasicApi.getItembasicPage -//} +{ + formField: 'ppNumber', + searchTableTitle: '要货计划', + searchTableAllSchemas: PurchasePlanMain.allSchemas, + searchTablePage: PurchasePlanMainApi.getPurchasePlanMainPage +}, +{ + formField: 'asnNumber', + searchTableTitle: '供应商发货记录', + searchTableAllSchemas: SupplierdeliverRecordMain.allSchemas, + searchTablePage: supplierdeliverRecordMainApi.getSupplierdeliverRecordMainPage +}, +{ + formField: 'supplierCode', + searchTableTitle: '供应商信息', + searchTableAllSchemas: Supplier.allSchemas, + searchTablePage: SupplierApi.getSupplierPage +}, +{ + formField: 'toDockCode', + searchTableTitle: '月台信息', + searchTableAllSchemas: Dock.allSchemas, + searchTablePage: DockApi.getDockPage +}, +{ + formField: 'carrierCode', + searchTableTitle: '承运商信息', + searchTableAllSchemas: Carrier.allSchemas, + searchTablePage: CarrierApi.getCarrierPage +}, ]) // 查询页面返回 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index 99d32e7e3..9aee31613 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -36,6 +36,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '供应商代码', @@ -44,6 +45,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true, }, { label: '联系人姓名', @@ -150,8 +152,11 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isForm: false, + isSearch: true, }, { label: '业务类型', @@ -160,6 +165,12 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + form: { + value: 'SupplierDeliver', + componentProps:{ + disabled:true, + } + } }, { label: '备注', @@ -168,6 +179,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '创建时间', @@ -188,6 +200,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false }, { label: '创建者', @@ -196,6 +209,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '申请时间', @@ -245,7 +259,10 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( width: 150 }, form: { - value: userDept.name + value: userDept.name, + componentProps:{ + disabled:true, + } } }, { @@ -253,12 +270,13 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( field: 'status', dictType: DICT_TYPE.REQUEST_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, + isForm: false }, { label: '最后更新时间', @@ -279,6 +297,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( valueFormat: 'x', } }, + isForm: false }, { label: '最后更新者', @@ -287,13 +306,13 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false }, { label: '自动提交', field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -304,7 +323,8 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } }, @@ -313,7 +333,6 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -324,7 +343,8 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } }, @@ -333,7 +353,6 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -344,7 +363,8 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } }, @@ -353,7 +373,6 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -364,7 +383,8 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } } @@ -390,9 +410,6 @@ export const SupplierdeliverRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -405,18 +422,9 @@ export const SupplierdeliverRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], }) /** @@ -547,7 +555,6 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive { // 查询列表页面参数设置 const searchTableParams = ref([ -//{ -// formField: 'productItemCode', -// searchTableTitle: '物料信息', -// searchTableAllSchemas: Itembasic.allSchemas, -// searchTablePage: ItembasicApi.getItembasicPage -//} +{ + formField: 'supplierCode', + searchTableTitle: '供应商信息', + searchTableAllSchemas: Supplier.allSchemas, + searchTablePage: SupplierApi.getSupplierPage +} ]) // 查询页面返回 @@ -195,8 +197,8 @@ const butttondata = (row) => { defaultButtons.mainListSubmitBtn({hide:isShowMainButton(row,['REQUEST_NEW'])}), // 提交审批 defaultButtons.mainListTurnDownBtn({hide:isShowMainButton(row,['REQUEST_REVIEWING'])}), // 驳回 defaultButtons.mainListApproveBtn({hide:isShowMainButton(row,['REQUEST_REVIEWING'])}), // 审批通过 - defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoiceRequestMain:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoiceRequestMain:delete'}), // 删除 + defaultButtons.mainListEditBtn({hasPermi:'wms:supplierinvoice-request-main:update'}), // 编辑 + defaultButtons.mainListDeleteBtn({hasPermi:'wms:supplierinvoice-request-main:delete'}), // 删除 ] } diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index 7ec798c87..39d31c3b4 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -28,6 +28,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isSearch: true }, { label: '调增金额', @@ -38,15 +39,18 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( }, form: { component: 'InputNumber', - } + }, }, { label: '单据号', field: 'number', sort: 'custom', table: { - width: 150 + width: 150, + fixed: 'left' }, + isSearch: true, + isForm: false }, { label: '业务类型', @@ -55,6 +59,12 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + form: { + value: 'SupplierInvoice', + componentProps:{ + disabled:true, + } + } }, { label: '申请时间', @@ -104,20 +114,29 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( width: 150 }, form: { - value: userDept.name - } + value: userDept.name, + componentProps:{ + disabled:true, + } + }, }, { label: '状态', field: 'status', dictType: DICT_TYPE.REQUEST_STATUS, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { width: 150 }, + isSearch: true, + form: { + value: 'REQUEST_NEW', + componentProps: { + disabled: true + } + } }, { label: '备注', @@ -126,6 +145,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '创建者', @@ -134,6 +154,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '创建时间', @@ -147,6 +168,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 180 }, + isForm: false, }, { label: '最后更新者', @@ -155,6 +177,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 150 }, + isForm: false, }, { label: '最后更新时间', @@ -168,6 +191,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( table: { width: 180 }, + isForm: false, form: { component: 'DatePicker', componentProps: { @@ -182,7 +206,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( field: 'autoCommit', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -193,7 +216,8 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoCommit, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } }, @@ -202,7 +226,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( field: 'autoAgree', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -213,7 +236,8 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoAgree, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } }, @@ -222,7 +246,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( field: 'autoExecute', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -233,7 +256,8 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( value: requestsettingData.autoExecute, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } }, @@ -242,7 +266,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, isTable: true, sort: 'custom', table: { @@ -253,9 +276,19 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( value: requestsettingData.directCreateRecord, componentProps: { inactiveValue: 'FALSE', - activeValue: 'TRUE' + activeValue: 'TRUE', + disabled:true, } } + }, + { + label: '操作', + field: 'action', + isDetail: false, + isForm: false , + table: { + width: 300 + } } ])) @@ -267,9 +300,6 @@ export const SupplierinvoiceRequestMainRules = reactive({ departmentCode: [ { required: true, message: '请输入部门', trigger: 'blur' } ], - status: [ - { required: true, message: '请选择状态', trigger: 'change' } - ], autoCommit: [ { required: true, message: '请选择是否自动提交', trigger: 'change' } ], @@ -282,18 +312,9 @@ export const SupplierinvoiceRequestMainRules = reactive({ directCreateRecord: [ { required: true, message: '请选择是否跳过任务直接生成记录', trigger: 'change' } ], - number: [ - { required: true, message: '请输入单据号', trigger: 'blur' } - ], businessType: [ { required: true, message: '请输入业务类型', trigger: 'blur' } - ], - createTime: [ - { required: true, message: '请输入创建时间', trigger: 'blur' } - ], - creator: [ - { required: true, message: '请输入创建者', trigger: 'blur' } - ], + ] }) /** @@ -334,43 +355,62 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive