From c1d054c712f3f56f9f7e39c136579d3ea0c36d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Fri, 2 Feb 2024 09:02:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E6=89=80=E6=9C=89=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../count/countRequestMain/countRequestMain.data.ts | 4 +++- src/views/wms/countManage/count/countRequestMain/index.vue | 5 +++++ .../countadjustRequestMain/countadjustRequestMain.data.ts | 4 +++- .../countadjust/countadjustRequestMain/index.vue | 5 +++++ .../customerreceiptRequestMain.data.ts | 4 +++- .../customerreceipt/customerreceiptRequestMain/index.vue | 5 +++++ .../customerreturnRequestMain.data.ts | 4 +++- .../customerreturn/customerreturnRequestMain/index.vue | 5 +++++ .../customersettleRequestMain.data.ts | 4 +++- .../customersettle/customersettleRequestMain/index.vue | 5 +++++ .../deliver/deliverRequestMain/deliverRequestMain.data.ts | 4 +++- .../deliver/deliverRequestMain/index.vue | 6 +++++- .../inventoryinitial/inventoryinitRequestMain/index.vue | 5 +++++ .../inventoryinitRequestMain.data.ts | 4 +++- .../wms/inventoryjobManage/scrap/scrapRequestMain/index.vue | 5 +++++ .../scrap/scrapRequestMain/scrapRequestMain.data.ts | 4 +++- .../transferissue/transferissueRequestMain/index.vue | 5 +++++ .../transferissueRequestMain.data.ts | 4 +++- .../transferreceipt/transferreceiptRequestMain/index.vue | 6 +++++- .../transferreceiptRequestMain.data.ts | 4 +++- .../unplannedissue/unplannedissueRequestMain/index.vue | 6 +++++- .../unplannedissueRequestMain.data.ts | 4 +++- .../unplannedreceipt/unplannedreceiptRequestMain/index.vue | 5 +++++ .../unplannedreceiptRequestMain.data.ts | 4 +++- src/views/wms/issueManage/issue/issueRequestMain/index.vue | 5 +++++ .../issue/issueRequestMain/issueRequestMain.data.ts | 4 +++- .../onlinesettlement/onlinesettlementRequestMain/index.vue | 5 +++++ .../onlinesettlementRequestMain.data.ts | 4 +++- src/views/wms/issueManage/pick/pickRequestMain/index.vue | 5 +++++ .../pick/pickRequestMain/pickRequestMain.data.ts | 4 +++- .../productionreturn/productionreturnRequestMain/index.vue | 5 +++++ .../productionreturnRequestMain.data.ts | 4 +++- .../issueManage/repleinsh/repleinshRequestMain/index.vue | 5 +++++ .../repleinshRequestMain/repleinshRequestMain.data.ts | 4 +++- .../inventorychange/inventorychangeRequestMain/index.vue | 5 +++++ .../inventorychangeRequestMain.data.ts | 4 +++- .../inventorymove/inventorymoveRequestMain/index.vue | 5 +++++ .../inventorymoveRequestMain.data.ts | 4 +++- .../offlinesettlementRequestMain/index.vue | 5 +++++ .../offlinesettlementRequestMain.data.ts | 4 +++- .../productdismantle/productdismantleRequestMain/index.vue | 5 +++++ .../productdismantleRequestMain.data.ts | 4 +++- .../productputaway/productputawayRequestMain/index.vue | 5 +++++ .../productputawayRequestMain.data.ts | 4 +++- .../productreceipt/productreceiptRequestMain/index.vue | 5 +++++ .../productreceiptRequestMain.data.ts | 4 +++- .../productrepair/productrepairRequestMain/index.vue | 5 +++++ .../productrepairRequestMain.data.ts | 4 +++- .../productscrap/productscrapRequestMain/index.vue | 5 +++++ .../productscrapRequestMain/productscrapRequestMain.data.ts | 4 +++- .../inspect/inspectRequestMain/index.vue | 5 +++++ .../inspect/inspectRequestMain/inspectRequestMain.data.ts | 4 +++- .../purchasereceipt/purchasereceiptRequestMain/index.vue | 5 +++++ .../purchasereceiptRequestMain.data.ts | 4 +++- .../purchasereturn/purchasereturnRequestMain/index.vue | 5 +++++ .../purchasereturnRequestMain.data.ts | 4 +++- .../putaway/putawayRequestMain/index.vue | 5 +++++ .../putaway/putawayRequestMain/putawayRequestMain.data.ts | 4 +++- .../supplierdeliver/supplierdeliverRequestMain/index.vue | 5 +++++ .../supplierdeliverRequestMain.data.ts | 4 +++- .../purchaseclaim/purchaseclaimRequestMain/index.vue | 5 +++++ .../purchaseclaimRequestMain.data.ts | 4 +++- .../supplierinvoice/supplierinvoiceRequestMain/index.vue | 5 +++++ .../supplierinvoiceRequestMain.data.ts | 4 +++- 64 files changed, 256 insertions(+), 35 deletions(-) diff --git a/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts b/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts index 78b3a17e3..d96a9f3c7 100644 --- a/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts +++ b/src/views/wms/countManage/count/countRequestMain/countRequestMain.data.ts @@ -22,6 +22,8 @@ const queryParams = { import { useUserStore } from '@/store/modules/user' const userStore = useUserStore() const userDept = userStore.userSelfInfo.dept + // id 转str 否则form回显匹配不到 + userDept.id = userDept.id.toString() const userDeptArray:any = [userDept] /** @@ -177,7 +179,7 @@ export const CountRequestMain = useCrudSchemas(([ width: 150 }, formatter: (_: Recordable, __: TableColumn, cellValue: number) => { - return userDeptArray.find((account) => account.id === cellValue)?.name + return userDeptArray.find((account) => account.id == cellValue)?.name }, form: { value: userDept.id, diff --git a/src/views/wms/countManage/count/countRequestMain/index.vue b/src/views/wms/countManage/count/countRequestMain/index.vue index 65542b32c..58d0bd6f8 100644 --- a/src/views/wms/countManage/count/countRequestMain/index.vue +++ b/src/views/wms/countManage/count/countRequestMain/index.vue @@ -101,6 +101,7 @@