From a5d566ef084659ed30f12ad205fc581ed6282912 Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 21 Mar 2024 16:41:48 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=89=80=E6=9C=89=E7=94=B3=E8=AF=B7=20=20?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E7=94=9F=E6=88=90=E8=AE=B0=E5=BD=95=E9=9A=90?= =?UTF-8?q?=E8=97=8FisTable=E8=AE=BE=E7=BD=AE=E4=B8=BAfalse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../countRequestMain/countRequestMain.data.ts | 40 +++++++++---------- .../packageoverRequestMain.data.ts | 40 +++++++++---------- .../scrapRequestMain/scrapRequestMain.data.ts | 40 +++++++++---------- .../transferissueRequestMain.data.ts | 40 +++++++++---------- .../transferreceiptRequestMain.data.ts | 40 +++++++++---------- .../unplannedissueRequestMain.data.ts | 40 +++++++++---------- .../unplannedreceiptRequestMain.data.ts | 40 +++++++++---------- .../issueRequestMain/issueRequestMain.data.ts | 40 +++++++++---------- .../onlinesettlementRequestMain.data.ts | 40 +++++++++---------- .../pickRequestMain/pickRequestMain.data.ts | 40 +++++++++---------- .../productionreturnRequestMain.data.ts | 40 +++++++++---------- .../inventorychangeRequestMain.data.ts | 40 +++++++++---------- .../inventorymoveRequestMain.data.ts | 40 +++++++++---------- .../offlinesettlementRequestMain.data.ts | 40 +++++++++---------- .../productdismantleRequestMain.data.ts | 40 +++++++++---------- .../productputawayRequestMain.data.ts | 40 +++++++++---------- .../productreceiptRequestMain.data.ts | 40 +++++++++---------- .../productrepairRequestMain.data.ts | 40 +++++++++---------- .../productscrapRequestMain.data.ts | 40 +++++++++---------- .../inspectRequestMain.data.ts | 40 +++++++++---------- .../purchasereceiptRequestMain.data.ts | 40 +++++++++---------- .../purchasereturnRequestMain.data.ts | 40 +++++++++---------- .../putawayRequestMain.data.ts | 40 +++++++++---------- .../sparereceiptRequestMain.data.ts | 40 +++++++++---------- .../supplierdeliverRequestMain.data.ts | 40 +++++++++---------- .../purchaseclaimRequestMain.data.ts | 40 +++++++++---------- .../supplierinvoiceRequestMain.data.ts | 2 +- 27 files changed, 521 insertions(+), 521 deletions(-) diff --git a/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts b/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts index 7bfa3a0d2..81f3fe3a7 100644 --- a/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts +++ b/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts @@ -263,26 +263,26 @@ export const CountRequestMain = useCrudSchemas(([ width: 150 }, }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // }, - // sort: 'custom', - // table: { - // width: 150 - // }, - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + }, + sort: 'custom', + table: { + width: 150 + }, + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/packageoverRequestMain.data.ts b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/packageoverRequestMain.data.ts index eaba5263d..4c8a5411a 100644 --- a/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/packageoverRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/packageoverRequestMain.data.ts @@ -302,26 +302,26 @@ export const PackageoverRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts index c5cba29f8..da1f498d4 100644 --- a/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/scrap/scrapRequestMain/scrapRequestMain.data.ts @@ -262,26 +262,26 @@ export const ScrapRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disable: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disable: true + } + } + }, { label: '备注', field: 'remark', diff --git a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts index 3b715f341..a0bfbb3d1 100644 --- a/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/transferissueRequestMain.data.ts @@ -390,26 +390,26 @@ export const TransferissueRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '备注', field: 'remark', diff --git a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts index faf50ed0a..95a051c46 100644 --- a/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/transferreceiptRequestMain.data.ts @@ -288,26 +288,26 @@ export const TransferreceiptRequestMain = useCrudSchemas(reactive( } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts index 461f78535..bb579b5f0 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts @@ -230,26 +230,26 @@ export const UnplannedissueRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '备注', field: 'remark', diff --git a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts index cef5aef6e..ae6a278b8 100644 --- a/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts @@ -270,26 +270,26 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '备注', field: 'remark', diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 68e20f58d..6da200a2f 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -346,26 +346,26 @@ export const IssueRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts index ff38a7753..f35ade83e 100644 --- a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts +++ b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/onlinesettlementRequestMain.data.ts @@ -286,26 +286,26 @@ export const OnlinesettlementRequestMain = useCrudSchemas(reactive } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts b/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts index 4e54d9cf0..fa550e33d 100644 --- a/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts +++ b/src/views/wms/issueManage/pick/pickRequestMain/pickRequestMain.data.ts @@ -317,26 +317,26 @@ export const PickRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts index 758234cd3..cbe054bdc 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts @@ -305,26 +305,26 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true, - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts index ab80dd53e..25f1efbea 100644 --- a/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts @@ -215,26 +215,26 @@ export const InventorychangeRequestMain = useCrudSchemas(reactive( } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts index 401c0d175..f1739c2ed 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts @@ -303,26 +303,26 @@ export const InventorymoveRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '使用在途库', field: 'useOnTheWayLocation', diff --git a/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts b/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts index 3fb298350..498011f55 100644 --- a/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts +++ b/src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/offlinesettlementRequestMain.data.ts @@ -271,26 +271,26 @@ export const OfflinesettlementRequestMain = useCrudSchemas(reactive } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts index 8490c6406..17c7587e1 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/productputawayRequestMain.data.ts @@ -339,26 +339,26 @@ export const ProductputawayRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 577c5d964..617f9c7cb 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -404,26 +404,26 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index 2bc1e6b1b..cae44bc7a 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -394,26 +394,26 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts index e29ece33e..0a4f795a0 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/productscrapRequestMain.data.ts @@ -397,26 +397,26 @@ export const ProductscrapRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts index 17c905852..cfee6ab70 100644 --- a/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data.ts @@ -433,26 +433,26 @@ export const InspectRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 529bef44b..9c51ae59c 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -425,26 +425,26 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true, - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } + }, { label: '标签状态', field: 'labelStatus', diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts index 3266eff03..6cabf554e 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/purchasereturnRequestMain.data.ts @@ -405,26 +405,26 @@ export const PurchasereturnRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts index fcdb38ced..0384bbea6 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts @@ -393,26 +393,26 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts index 8cadff24c..7f836ea17 100644 --- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/sparereceiptRequestMain.data.ts @@ -426,26 +426,26 @@ export const PurchasereceiptRequestMain = useCrudSchemas(reactive( } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true, - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } + }, { label: '标签状态', field: 'labelStatus', diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index 17752d791..d0005069a 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -454,26 +454,26 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive( } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true, - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true, + } + } + }, { label: '操作', field: 'action', diff --git a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts index 37bb36bc7..be1394183 100644 --- a/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts +++ b/src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts @@ -244,26 +244,26 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isSearch: false, - // isTable: true, - // table: { - // width: 120 - // }, - // form:{ - // component:'Switch', - // value:requestsettingData.available, - // componentProps:{ - // disabled:true, - // inactiveValue: 'FALSE', - // activeValue: 'TRUE' - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isSearch: false, + isTable: false, + table: { + width: 120 + }, + form:{ + component:'Switch', + value:requestsettingData.available, + componentProps:{ + disabled:true, + inactiveValue: 'FALSE', + activeValue: 'TRUE' + } + } + }, { label: '创建者', field: 'creator', diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index adcfbaf70..625fed5e9 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -296,7 +296,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive( field: 'directCreateRecord', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 From 6cfce7e0086f1f2fe08fbb7bf8588cc6266b598f Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 21 Mar 2024 16:43:05 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8A=9F=E8=83=BD=20=20?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E7=94=9F=E6=88=90=E8=AE=B0=E5=BD=95isTable?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=BAfalse?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../countadjustRequestMain.data.ts | 40 +++++++++--------- .../customerreceiptRequestMain.data.ts | 40 +++++++++--------- .../customerreturnRequestMain.data.ts | 40 +++++++++--------- .../customersettleRequestMain.data.ts | 40 +++++++++--------- .../deliverRequestMain.data.ts | 40 +++++++++--------- .../stockupMainRequest.data.ts | 41 +++++++++---------- .../inventoryinitRequestMain.data.ts | 40 +++++++++--------- 7 files changed, 140 insertions(+), 141 deletions(-) diff --git a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts index 42308b97e..1e27c9497 100644 --- a/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts +++ b/src/views/wms/countManage/countadjust/countadjustRequestMain/countadjustRequestMain.data.ts @@ -249,26 +249,26 @@ export const CountadjustRequestMain = useCrudSchemas(([ width: 150 }, }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // }, - // sort: 'custom', - // table: { - // width: 150 - // }, - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + }, + sort: 'custom', + table: { + width: 150 + }, + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts index 515f1011a..833fec8bb 100644 --- a/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/customerreceiptRequestMain.data.ts @@ -314,26 +314,26 @@ export const CustomerreceiptRequestMain = useCrudSchemas(reactive( } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts index b24a7391f..3e024dcc9 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts @@ -431,26 +431,26 @@ export const CustomerreturnRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts index 57fd1d15b..07f3a3dae 100644 --- a/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/customersettleRequestMain.data.ts @@ -260,26 +260,26 @@ export const CustomersettleRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '创建时间', field: 'createTime', diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts index cd3e5fc2f..8d47784cd 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts @@ -418,26 +418,26 @@ export const DeliverRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '备注', field: 'remark', diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts index 6f2281d3b..d6146359e 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts @@ -350,27 +350,26 @@ export const StockupMainRequest = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, - + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '到库区类型范围', field: 'toAreaTypes', diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts index 2c1eb8ed1..4d49c8b98 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/inventoryinitRequestMain.data.ts @@ -233,26 +233,26 @@ export const InventoryinitRequestMain = useCrudSchemas(reactive([ } } }, - // { - // label: '直接生成记录', - // field: 'directCreateRecord', - // dictType: DICT_TYPE.TRUE_FALSE, - // dictClass: 'string', - // isTable: true, - // sort: 'custom', - // table: { - // width: 150 - // }, - // form: { - // component: 'Switch', - // value: requestsettingData.directCreateRecord, - // componentProps: { - // inactiveValue: 'FALSE', - // activeValue: 'TRUE', - // disabled: true - // } - // } - // }, + { + label: '直接生成记录', + field: 'directCreateRecord', + dictType: DICT_TYPE.TRUE_FALSE, + dictClass: 'string', + isTable: false, + sort: 'custom', + table: { + width: 150 + }, + form: { + component: 'Switch', + value: requestsettingData.directCreateRecord, + componentProps: { + inactiveValue: 'FALSE', + activeValue: 'TRUE', + disabled: true + } + } + }, { label: '备注', field: 'remark', From a11944b69b8c312a021807de8662fd4d8acce4cb Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 21 Mar 2024 18:10:17 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=B8=8E=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../packageunit/packageunit.data.ts | 14 +-- .../stockup/stockupMainJob/index.vue | 103 +----------------- .../stockupMainJob/stockupMainJob.data.ts | 9 ++ .../stockupMainRecord.data.ts | 9 ++ 4 files changed, 30 insertions(+), 105 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts b/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts index 879b6f278..5775eec34 100644 --- a/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts +++ b/src/views/wms/basicDataManage/itemManage/packageunit/packageunit.data.ts @@ -112,7 +112,7 @@ export const PackageunitCopy = useCrudSchemas(reactive([ label: '包装描述', field: 'desc', sort: 'custom', - isSearch: true, + isSearch: false, table: { width: 150 }, @@ -123,7 +123,7 @@ export const PackageunitCopy = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, + isSearch: false, form: { component: 'Switch', value: 'TRUE', @@ -142,7 +142,7 @@ export const PackageunitCopy = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, + isSearch: false, form: { component: 'Switch', value: 'TRUE', @@ -373,7 +373,7 @@ export const Packageunit = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.PACK_UNIT, dictClass: 'string', - isSearch: true, + isSearch: false, table: { width: 150 }, @@ -400,7 +400,7 @@ export const Packageunit = useCrudSchemas(reactive([ label: '包装描述', field: 'desc', sort: 'custom', - isSearch: true, + isSearch: false, table: { width: 150 }, @@ -411,7 +411,7 @@ export const Packageunit = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, + isSearch: false, form: { component: 'Switch', value: 'TRUE', @@ -430,7 +430,7 @@ export const Packageunit = useCrudSchemas(reactive([ sort: 'custom', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isSearch: true, + isSearch: false, form: { component: 'Switch', value: 'TRUE', diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue index a43277b5e..c1425e150 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue @@ -180,110 +180,17 @@ const isShowMainButton = (row,val) => { // 列表-操作按钮 const butttondata = (row) => { return [ - defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 - defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 - defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 - defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 + // defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), // 承接 + // defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), // 关闭 + // defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // 放弃 + // defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), // 执行 ] } // 列表-操作按钮事件 const buttonTableClick = async (val, row) => {  if (val == 'mainJobExe') { // 执行 -    let aaa = { - "id": 6, - "requestNumber": "REQ4520240313-0003", - "deliverPlanNumber": null, - "fromWarehouseCode": "CKV", - "toWarehouseCode": "CKV", - "details": null, - "requestTime": null, - "requestDueTime": null, - "status": "1", - "expiredTime": null, - "concurrencyStamp": "1", - "jobStageStatus": null, - "priority": null, - "priorityincrement": null, - "departmentCode": null, - "userGroupCode": null, - "acceptUserId": null, - "acceptUserName": null, - "acceptTime": null, - "completeUserId": null, - "completeUserName": null, - "completeTime": null, - "fromAreaTypes": "FG", - "toAreaTypes": "CUST", - "number": "JOB3220240314-0006", - "businessType": "Stockup", - "remark": null, - "extraProperties": null, - "siteId": null, - "autoComplete": "FALSE", - "allowModifyLocation": "FALSE", - "allowModifyQty": "TRUE", - "allowBiggerQty": "TRUE", - "allowSmallerQty": "TRUE", - "allowModifyInventoryStatus": "TRUE", - "allowContinuousScanning": "TRUE", - "allowPartialComplete": "TRUE", - "ruleUserId": null, - "allowModifyBatch": "FALSE", - "allowModifyPackingNumber": "FALSE", - "fromAreaCodes": "KQV2", - "toAreaCodes": "CUST", - "serialNumber": "0", - "inInventoryStatuses": "OK", - "outInventoryStatuses": "OK", - "createTime": null, - "subList": [{ - "id": 1, - "packingNumber": null, - "batch": "2024021801", - "inventoryStatus": "OK", - "ownerCode": null, - "containerNumber": null, - "fromLocationCode": "FG", - "toLocationCode": "RAW", - "itemCode": "FOG-LAMP-RIGHT", - "itemName": "HL后雾灯(新)-右\r\n", - "itemDesc1": "HL后雾灯(新)-右\r\n", - "itemDesc2": "HL后雾灯(新)-右\r\n", - "projectCode": "PJ001", - "qty": 1, - "uom": "EA", - "masterId": 6, - "number": "JOB3220240314-0006", - "remark": null, - "siteId": "", - "createTime": null, - "toPackingNumber": null, - "toContainerNumber": null, - "toBatch": null, - "handleQty": null, - "toInventoryStatus": null, - recordList: [{ - handleQty: 10, - toPackingNumber: '12', - toContainerNumber: '001', - toBatch: '21', - toInventoryStatus: 'OK', - toLocationCode: 'WIP', - supplierCode: '31213', - },{ - handleQty: 22, - toPackingNumber: 'M20230421000005', - toContainerNumber: '001', - toBatch: '20230808', - toInventoryStatus: 'OK', - toLocationCode: 'FG', - supplierCode: '31213', - }] - }] -} - handleHandle(aaa) - console.log('列表-操作按钮事件-执行') + handleHandle } else if (val == 'mainJobAba') { // 放弃 StockupJobMainApi.abandonStockupMainJob(row.id) } else if (val == 'mainJobClo') { // 关闭 diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts index 9bb38ab9e..b1b118996 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainJob/stockupMainJob.data.ts @@ -16,6 +16,15 @@ export const StockupMainJob = useCrudSchemas(reactive([ width: 180 }, }, + { + label: '发货记录单号', + field: 'deliverPlanNumber', + sort: 'custom', + isForm: false, + table: { + width: 180 + }, + }, { label: '申请单号', field: 'requestNumber', diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts b/src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts index 87ea3475c..0ea16712f 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainRecord/stockupMainRecord.data.ts @@ -16,6 +16,15 @@ export const StockupMainRecord = useCrudSchemas(reactive([ width: 180 }, }, + { + label: '发货记录单号', + field: 'deliverPlanNumber', + sort: 'custom', + isForm: false, + table: { + width: 180 + }, + }, { label: '申请单号', field: 'requestNumber',