Browse Source

增加 部门回显

master_hella_20240701
chenfang 6 months ago
parent
commit
83bcede53c
  1. 7
      src/views/wms/countManage/count/countJobMain/index.vue
  2. 7
      src/views/wms/countManage/count/countRecordMain/index.vue
  3. 7
      src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue
  4. 7
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/index.vue
  5. 7
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue
  6. 7
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/index.vue
  7. 7
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/index.vue
  8. 7
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue
  9. 7
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue
  10. 7
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue
  11. 7
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverJobMain/index.vue
  12. 7
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/index.vue
  13. 7
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/index.vue
  14. 6
      src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/index.vue
  15. 7
      src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/index.vue
  16. 7
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/index.vue
  17. 7
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/index.vue
  18. 7
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/index.vue
  19. 7
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/index.vue
  20. 7
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/index.vue
  21. 7
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/index.vue
  22. 7
      src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue
  23. 7
      src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue
  24. 7
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue
  25. 7
      src/views/wms/productionManage/offlinesettlement/offlinesettlementRecordMain/index.vue
  26. 7
      src/views/wms/productionManage/productdismantle/productdismantleJobMain/index.vue
  27. 7
      src/views/wms/productionManage/productdismantle/productdismantleRecordMain/index.vue
  28. 7
      src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
  29. 7
      src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
  30. 7
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue
  31. 7
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue
  32. 7
      src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue
  33. 7
      src/views/wms/productionManage/productscrap/productscrapJobMain/index.vue
  34. 7
      src/views/wms/productionManage/productscrap/productscrapRecordMain/index.vue

7
src/views/wms/countManage/count/countJobMain/index.vue

@ -71,7 +71,7 @@ import { CountJobMain,CountJobMainRules,CountJobDetail,CountJobDetailRules } fro
import * as CountJobMainApi from '@/api/wms/countJobMain'
import * as CountJobDetailApi from '@/api/wms/countJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'CountJobMain' })
@ -209,10 +209,13 @@ const handleClose = async (id: number) => {
await getList()
} catch {}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue)
}

7
src/views/wms/countManage/count/countRecordMain/index.vue

@ -66,7 +66,7 @@ import { CountRecordMain,CountRecordMainRules,CountRecordDetail,CountRecordDetai
import * as CountRecordMainApi from '@/api/wms/countRecordMain'
import * as CountRecordDetailApi from '@/api/wms/countRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'CountRecordMain' })
@ -147,10 +147,13 @@ const buttonTableClick = async (val, row) => {
})
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue)
}

7
src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue

@ -66,7 +66,7 @@ import { CountadjustRecordMain,CountadjustRecordMainRules,CountadjustRecordDetai
import * as CountadjustRecordMainApi from '@/api/wms/countadjustRecordMain'
import * as CountadjustRecordDetailApi from '@/api/wms/countadjustRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'CountadjustRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue)
}

7
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/index.vue

@ -66,7 +66,7 @@ import { CustomerreceiptRecordMain,CustomerreceiptRecordMainRules,Customerreceip
import * as CustomerreceiptRecordMainApi from '@/api/wms/customerreceiptRecordMain'
import * as CustomerreceiptRecordDetailApi from '@/api/wms/customerreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'CustomerreceiptRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordCustomerreceiptMain')
}

7
src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue

@ -71,7 +71,7 @@ import { CustomerreturnJobMain,CustomerreturnJobMainRules,CustomerreturnJobDetai
import * as CustomerreturnJobMainApi from '@/api/wms/customerreturnJobMain'
import * as CustomerreturnJobDetailApi from '@/api/wms/customerreturnJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
// 退
defineOptions({ name: 'CustomerreturnJobMain' })
@ -327,10 +327,13 @@ const buttonTableClick = async (val, row) => {
})
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobCustomerreturnMain')
}

7
src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/index.vue

@ -67,7 +67,7 @@ import { CustomerreturnRecordMain,CustomerreturnRecordMainRules,CustomerreturnRe
import * as CustomerreturnRecordMainApi from '@/api/wms/customerreturnRecordMain'
import * as CustomerreturnRecordDetailApi from '@/api/wms/customerreturnRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
// 退
defineOptions({ name: 'CustomerreturnRecordMain' })
@ -136,10 +136,13 @@ const buttonTableClick = async (val, row) => {
handlePoint(row)
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordCustomerreturnMain')
}

7
src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/index.vue

@ -66,7 +66,7 @@ import { CustomersettleRecordMain,CustomersettleRecordMainRules,CustomersettleRe
import * as CustomersettleRecordMainApi from '@/api/wms/customersettleRecordMain'
import * as CustomersettleRecordDetailApi from '@/api/wms/customersettleRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'CustomersettleRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordCustomersettleMain')
}

7
src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue

@ -71,7 +71,7 @@ import { DeliverJobMain,DeliverJobMainRules,DeliverJobDetail,DeliverJobDetailRul
import * as DeliverJobMainApi from '@/api/wms/deliverJobMain'
import * as DeliverJobDetailApi from '@/api/wms/deliverJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'DeliverJobMain' })
@ -297,10 +297,13 @@ const buttonTableClick = async (val, row) => {
DeliverJobMainApi.acceptDeliverJobMain(row.id)
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobDeliverMain')
}

7
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue

@ -67,7 +67,7 @@ import { DeliverRecordMain,DeliverRecordMainRules,DeliverRecordDetail,DeliverRec
import * as DeliverRecordMainApi from '@/api/wms/deliverRecordMain'
import * as DeliverRecordDetailApi from '@/api/wms/deliverRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'DeliverRecordMain' })
@ -136,10 +136,13 @@ const buttonTableClick = async (val, row) => {
handlePoint(row)
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordDeliverMain')
}

7
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue

@ -66,7 +66,7 @@ import { InventoryinitRecordMain,InventoryinitRecordMainRules,InventoryinitRecor
import * as InventoryinitRecordMainApi from '@/api/wms/inventoryinitRecordMain'
import * as InventoryinitRecordDetailApi from '@/api/wms/inventoryinitRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'InventoryinitRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordInventoryinitMain')
}

7
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverJobMain/index.vue

@ -72,7 +72,7 @@ import * as PackageoverJobDetailApi from '@/api/wms/packageoverJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
defineOptions({ name: 'PackageoverJobMain' })
const message = useMessage() //
@ -182,10 +182,13 @@ const formsSuccess = async (formType,data) => {
basicFormRef.value.dialogVisible = false
getList()
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue, 'basicPackageoverJobMain')
}

7
src/views/wms/inventoryjobManage/scrap/scrapJobMain/index.vue

@ -71,7 +71,7 @@ import { ScrapJobMain,ScrapJobMainRules,ScrapJobDetail,ScrapJobDetailRules } fro
import * as ScrapJobMainApi from '@/api/wms/scrapJobMain'
import * as ScrapJobDetailApi from '@/api/wms/scrapJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ScrapJobMain' })
@ -199,10 +199,13 @@ const buttonTableClick = async (val, row) => {
console.log('列表-操作按钮事件-承接')
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobScrapMain')
}

7
src/views/wms/inventoryjobManage/scrap/scrapRecordMain/index.vue

@ -66,7 +66,7 @@ import { ScrapRecordMain,ScrapRecordMainRules,ScrapRecordDetail,ScrapRecordDetai
import * as ScrapRecordMainApi from '@/api/wms/scrapRecordMain'
import * as ScrapRecordDetailApi from '@/api/wms/scrapRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ScrapRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordScrapMain')
}

6
src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/index.vue

@ -73,6 +73,7 @@ import * as TransferissueJobDetailApi from '@/api/wms/transferissueJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as PurchasereceiptJobMainApi from "@/api/wms/purchasereceiptJobMain";
import {acceptTransferissueJobMain} from "@/api/wms/transferissueJobMain";
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'TransferissueJobMain' })
@ -240,10 +241,13 @@ const handleAccept = async (id: number) => {
await getList()
} catch {}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobTransferissueMain')
}

7
src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/index.vue

@ -66,7 +66,7 @@ import { TransferissueRecordMain,TransferissueRecordMainRules,TransferissueRecor
import * as TransferissueRecordMainApi from '@/api/wms/transferissueRecordMain'
import * as TransferissueRecordDetailApi from '@/api/wms/transferissueRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'TransferissueRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordTransferissueMain')
}

7
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/index.vue

@ -71,7 +71,7 @@ import { TransferreceiptJobMain,TransferreceiptJobMainRules,TransferreceiptJobDe
import * as TransferreceiptJobMainApi from '@/api/wms/transferreceiptJobMain'
import * as TransferreceiptJobDetailApi from '@/api/wms/transferreceiptJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'TransferreceiptJobMain' })
@ -199,10 +199,13 @@ const buttonTableClick = async (val, row) => {
console.log('列表-操作按钮事件-承接')
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobTransferreceiptMain')
}

7
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/index.vue

@ -66,7 +66,7 @@ import { TransferreceiptRecordMain,TransferreceiptRecordMainRules,Transferreceip
import * as TransferreceiptRecordMainApi from '@/api/wms/transferreceiptRecordMain'
import * as TransferreceiptRecordDetailApi from '@/api/wms/transferreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'TransferreceiptRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordTransferreceiptMain')
}

7
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/index.vue

@ -71,7 +71,7 @@ import { UnplannedissueJobMain,UnplannedissueJobMainRules,UnplannedissueJobDetai
import * as UnplannedissueJobMainApi from '@/api/wms/unplannedissueJobMain'
import * as UnplannedissueJobDetailApi from '@/api/wms/unplannedissueJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'UnplannedissueJobMain' })
@ -199,10 +199,13 @@ const buttonTableClick = async (val, row) => {
console.log('列表-操作按钮事件-承接')
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobUnplannedissueMain')
}

7
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/index.vue

@ -66,7 +66,7 @@ import { UnplannedissueRecordMain,UnplannedissueRecordMainRules,UnplannedissueRe
import * as UnplannedissueRecordMainApi from '@/api/wms/unplannedissueRecordMain'
import * as UnplannedissueRecordDetailApi from '@/api/wms/unplannedissueRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'UnplannedissueRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordUnplannedissueMain')
}

7
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/index.vue

@ -71,7 +71,7 @@ import { UnplannedreceiptJobMain,UnplannedreceiptJobMainRules,UnplannedreceiptJo
import * as UnplannedreceiptJobMainApi from '@/api/wms/unplannedreceiptJobMain'
import * as UnplannedreceiptJobDetailApi from '@/api/wms/unplannedreceiptJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'UnplannedreceiptJobMain' })
@ -199,10 +199,13 @@ const buttonTableClick = async (val, row) => {
console.log('列表-操作按钮事件-承接')
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobUnplannedreceiptMain')
}

7
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/index.vue

@ -66,7 +66,7 @@ import { UnplannedreceiptRecordMain,UnplannedreceiptRecordMainRules,Unplannedrec
import * as UnplannedreceiptRecordMainApi from '@/api/wms/unplannedreceiptRecordMain'
import * as UnplannedreceiptRecordDetailApi from '@/api/wms/unplannedreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'UnplannedreceiptRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordUnplannedreceiptMain')
}

7
src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue

@ -66,7 +66,7 @@ import { InventorychangeRecordMain,InventorychangeRecordMainRules,Inventorychang
import * as InventorychangeRecordMainApi from '@/api/wms/inventorychangeRecordMain'
import * as InventorychangeRecordDetailApi from '@/api/wms/inventorychangeRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'InventorychangeRecordMain' })
@ -178,10 +178,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue)
}

7
src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue

@ -71,7 +71,7 @@ import { InventorymoveJobMain,InventorymoveJobMainRules,InventorymoveJobDetail,I
import * as InventorymoveJobMainApi from '@/api/wms/inventorymoveJobMain'
import * as InventorymoveJobDetailApi from '@/api/wms/inventorymoveJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'InventorymoveJobMain' })
@ -252,10 +252,13 @@ const buttonTableClick = async (val, row) => {
InventorymoveJobMainApi.acceptInventorymoveMain(row.id)
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue)
}

7
src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue

@ -66,7 +66,7 @@ import { InventorymoveRecordMain,InventorymoveRecordMainRules,InventorymoveRecor
import * as InventorymoveRecordMainApi from '@/api/wms/inventorymoveRecordMain'
import * as InventorymoveRecordDetailApi from '@/api/wms/inventorymoveRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'InventorymoveRecordMain' })
@ -187,10 +187,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue)
}

7
src/views/wms/productionManage/offlinesettlement/offlinesettlementRecordMain/index.vue

@ -66,7 +66,7 @@ import { OfflinesettlementRecordMain,OfflinesettlementRecordMainRules,Offlineset
import * as OfflinesettlementRecordMainApi from '@/api/wms/offlinesettlementRecordMain'
import * as OfflinesettlementRecordDetailApi from '@/api/wms/offlinesettlementRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
// 线
defineOptions({ name: 'OfflinesettlementRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordOfflinesettlementMain')
}

7
src/views/wms/productionManage/productdismantle/productdismantleJobMain/index.vue

@ -71,7 +71,7 @@ import { ProductdismantleJobMain,ProductdismantleJobMainRules,ProductdismantleJo
import * as ProductdismantleJobMainApi from '@/api/wms/productdismantleJobMain'
import * as ProductdismantleJobDetailApi from '@/api/wms/productdismantleJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductdismantleJobMain' })
@ -199,10 +199,13 @@ const buttonTableClick = async (val, row) => {
console.log('列表-操作按钮事件-承接')
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobProductdismantleMain')
}

7
src/views/wms/productionManage/productdismantle/productdismantleRecordMain/index.vue

@ -91,7 +91,7 @@ import * as ProductdismantleRecordMainApi from '@/api/wms/productdismantleRecord
import * as ProductdismantleRecordDetailApi from '@/api/wms/productdismantleRecordDetaila'
import * as DismantleRecordDetailbApi from '@/api/wms/dismantleRecordDetailb'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductdismantleRecordMain' })
@ -202,10 +202,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordProductdismantleMain')
}

7
src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue

@ -71,7 +71,7 @@ import { ProductputawayJobMain,ProductputawayJobMainRules,ProductputawayJobDetai
import * as ProductputawayJobMainApi from '@/api/wms/productputawayJobMain'
import * as ProductputawayJobDetailApi from '@/api/wms/productputawayJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductputawayJobMain' })
@ -238,10 +238,13 @@ const buttonTableClick = async (val, row) => {
ProductputawayJobMainApi.acceptProductputawayMain(row.id)
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobProductputawayMain')
}

7
src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue

@ -66,7 +66,7 @@ import { ProductputawayRecordMain,ProductputawayRecordMainRules,ProductputawayRe
import * as ProductputawayRecordMainApi from '@/api/wms/productputawayRecordMain'
import * as ProductputawayRecordDetailApi from '@/api/wms/productputawayRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductputawayRecordMain' })
@ -132,10 +132,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordProductputawayMain')
}

7
src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue

@ -71,7 +71,7 @@ import { ProductreceiptJobMain,ProductreceiptJobMainRules,ProductreceiptJobDetai
import * as ProductreceiptJobMainApi from '@/api/wms/productreceiptJobMain'
import * as ProductreceiptJobDetailApi from '@/api/wms/productreceiptJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductreceiptJobMain' })
@ -259,10 +259,13 @@ const buttonTableClick = async (val, row) => {
ProductreceiptJobMainApi.acceptProductreceiptMain(row.id)
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobProductreceiptMain')
}

7
src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue

@ -90,7 +90,7 @@ import * as ProductreceiptRecordMainApi from '@/api/wms/productreceiptRecordMain
import * as ProductreceiptRecordDetailApi from '@/api/wms/productreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as BackflushRecordDetailbApi from '@/api/wms/backflushRecordDetailb'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductreceiptRecordMain' })
@ -175,10 +175,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordProductreceiptMain')
}

7
src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue

@ -94,7 +94,7 @@ import * as ProductrepairRecordDetailApi from '@/api/wms/productrepairRecordDeta
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as BomDismantleApi from "@/api/wms/bomDismantle";
import {getBomDismantleRecordPage} from "@/api/wms/bomDismantle";
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductrepairRecordMain' })
@ -241,10 +241,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordProductrepairMain')
}

7
src/views/wms/productionManage/productscrap/productscrapJobMain/index.vue

@ -71,7 +71,7 @@ import { ProductscrapJobMain,ProductscrapJobMainRules,ProductscrapJobDetail,Prod
import * as ProductscrapJobMainApi from '@/api/wms/productscrapJobMain'
import * as ProductscrapJobDetailApi from '@/api/wms/productscrapJobDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductscrapJobMain' })
@ -199,10 +199,13 @@ const buttonTableClick = async (val, row) => {
console.log('列表-操作按钮事件-承接')
}
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'jobProductscrapMain')
}

7
src/views/wms/productionManage/productscrap/productscrapRecordMain/index.vue

@ -93,7 +93,7 @@ import * as ProductscrapRecordDetailApi from '@/api/wms/productscrapRecordDetail
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as BomDismantleApi from "@/api/wms/bomDismantle";
import {getProductscrapBomDismantleRecordPage} from "@/api/wms/bomDismantle";
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
//
defineOptions({ name: 'ProductscrapRecordMain' })
@ -240,10 +240,13 @@ const butttondata = (row) => {
// -
const buttonTableClick = async (val, row) => {
}
//
const { wsCache } = useCache()
/** 详情操作 */
const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => {
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
detailRef.value.openDetail(row, titleName, titleValue,'recordProductscrapMain')
}

Loading…
Cancel
Save