Browse Source

Merge remote-tracking branch 'origin/hella_online_20240803' into hella_online_20240803

hella_online_20240815
gaojs 3 months ago
parent
commit
8390ed2a26
  1. 5
      src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue
  2. 1
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  3. 3
      src/views/wms/basicDataManage/itemManage/relegate/relegateRecord/index.vue
  4. 5
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue
  5. 3
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/index.vue
  6. 3
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue
  7. 3
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue
  8. 3
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/index.vue
  9. 5
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue
  10. 3
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/index.vue
  11. 5
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/index.vue
  12. 3
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue
  13. 3
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue
  14. 7
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  15. 7
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue
  16. 5
      src/views/wms/deliversettlementManage/deliverplan/saleMain/index.vue
  17. 3
      src/views/wms/deliversettlementManage/saleShipmentMainRecord/index.vue
  18. 5
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue
  19. 3
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue
  20. 3
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/index.vue
  21. 5
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  22. 5
      src/views/wms/inventoryManage/balance/index.vue
  23. 5
      src/views/wms/inventoryManage/expectin/index.vue
  24. 5
      src/views/wms/inventoryManage/expectout/index.vue
  25. 5
      src/views/wms/inventoryManage/locationcapacity/index.vue
  26. 5
      src/views/wms/inventoryManage/package/index.vue
  27. 5
      src/views/wms/inventoryManage/transaction/index.vue
  28. 5
      src/views/wms/inventoryManage/transferlog/index.vue
  29. 4
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue
  30. 6
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue
  31. 4
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/index.vue
  32. 4
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/index.vue
  33. 6
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  34. 4
      src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/index.vue
  35. 4
      src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/index.vue
  36. 6
      src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue
  37. 4
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/index.vue
  38. 4
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/index.vue
  39. 6
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue
  40. 4
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/index.vue
  41. 4
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/index.vue
  42. 6
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue
  43. 4
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/index.vue
  44. 4
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/index.vue
  45. 6
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  46. 4
      src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue
  47. 6
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
  48. 16
      src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue
  49. 18
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue
  50. 6
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue
  51. 14
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
  52. 14
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue
  53. 17
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
  54. 17
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue

5
src/views/wms/basicDataManage/customerManage/customerDeliveryForecast/index.vue

@ -65,6 +65,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'CustomerDeliveryForecast' })
@ -221,7 +222,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomerDeliveryForecastApi.exportCustomerDeliveryForecast(tableObject.params)
download.excel(data, '客户发货预测.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -236,7 +237,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '客户发货预测导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

1
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -100,6 +100,7 @@ import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
//
defineOptions({ name: 'Itemarea' })
const message = useMessage() //

3
src/views/wms/basicDataManage/itemManage/relegate/relegateRecord/index.vue

@ -81,6 +81,7 @@ import * as RelegateRecordDetailApi from '@/api/wms/relegateRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'RelegateRecordMain' })
@ -234,7 +235,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await RelegateRecordMainApi.exportRelegateRecordMain(tableObject.params)
download.excel(data, '物料降级记录主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

5
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/index.vue

@ -99,6 +99,7 @@ import * as PackageApi from "@/api/wms/package";
import { getAccessToken } from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import * as ProductionlineitemApi from '@/api/wms/productionlineitem'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'RelegateRequestMain' })
@ -715,7 +716,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await RelegateRequestMainApi.exportRelegateRequestMain(tableObject.params)
download.excel(data, '物料降级申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -730,7 +731,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '物料降级申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

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

@ -68,6 +68,7 @@ import * as CustomerreceiptRecordMainApi from '@/api/wms/customerreceiptRecordMa
import * as CustomerreceiptRecordDetailApi from '@/api/wms/customerreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'CustomerreceiptRecordMain' })
@ -156,7 +157,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomerreceiptRecordMainApi.exportCustomerreceiptRecordMain(tableObject.params)
download.excel(data, '客户收货记录主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

3
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue

@ -88,6 +88,7 @@ import { CustomerreceiptRequestMain,CustomerreceiptRequestMainRules,Customerrece
import * as CustomerreceiptRequestMainApi from '@/api/wms/customerreceiptRequestMain'
import * as CustomerreceiptRequestDetailApi from '@/api/wms/customerreceiptRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'CustomerreceiptRequestMain' })
@ -326,7 +327,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomerreceiptRequestMainApi.exportCustomerreceiptRequestMain(tableObject.params)
download.excel(data, '客户收货申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
// 退
defineOptions({ name: 'CustomerreturnJobMain' })
@ -365,7 +366,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomerreturnJobMainApi.exportCustomerreturnJobMain(tableObject.params)
download.excel(data, '客户退货任务主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -70,6 +70,7 @@ import * as CustomerreturnRecordDetailApi from '@/api/wms/customerreturnRecordDe
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
// 退
defineOptions({ name: 'CustomerreturnRecordMain' })
@ -162,7 +163,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomerreturnRecordMainApi.exportCustomerreturnRecordMain(tableObject.params)
download.excel(data, '客户退货记录主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

5
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -116,6 +116,7 @@ import {
import * as PackageApi from '@/api/wms/package'
import { getAccessToken } from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
// 退
defineOptions({ name: 'CustomerreturnRequestMain' })
@ -654,7 +655,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomerreturnRequestMainApi.exportCustomerreturnRequestMain(tableObject.params)
download.excel(data, '客户退货申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -777,7 +778,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '客户退货申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -68,6 +68,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'CustomersettleRecordMain' })
@ -156,7 +157,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomersettleRecordMainApi.exportCustomersettleRecordMain(tableObject.params)
download.excel(data, '客户结算记录主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

5
src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/index.vue

@ -89,6 +89,7 @@ import { CustomersettleRequestMain,CustomersettleRequestMainRules,Customersettle
import * as CustomersettleRequestMainApi from '@/api/wms/customersettleRequestMain'
import * as CustomersettleRequestDetailApi from '@/api/wms/customersettleRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'CustomersettleRequestMain' })
@ -337,7 +338,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await CustomersettleRequestMainApi.exportCustomersettleRequestMain(tableObject.params)
download.excel(data, '客户结算申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -399,7 +400,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '客户结算申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'DeliverJobMain' })
@ -350,7 +351,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await DeliverJobMainApi.exportDeliverJobMain(tableObject.params)
download.excel(data, '发货任务主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -70,6 +70,7 @@ import * as DeliverRecordDetailApi from '@/api/wms/deliverRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'DeliverRecordMain' })
@ -184,7 +185,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await DeliverRecordMainApi.exportDeliverRecordMain(tableObject.params)
download.excel(data, '发货记录主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -95,6 +95,7 @@ import * as DeliverRequestMainApi from '@/api/wms/deliverRequestMain'
import * as DeliverRequestDetailApi from '@/api/wms/deliverRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as AreabasicApi from '@/api/wms/areabasic'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'DeliverRequestMain' })
@ -475,10 +476,10 @@ const handleExport = async () => {
exportLoading.value = true
if(routeName.value == 'DeliverRequestMain'){
const data = await DeliverRequestMainApi.exportDeliverRequestMain(tableObject.params)
download.excel(data, '发货申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await DeliverRequestMainApi.exportZZBJDeliverRequestMain(tableObject.params)
download.excel(data, '自制备件发货申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
@ -580,7 +581,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: importFileName.value + '.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

7
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

@ -87,6 +87,7 @@ import * as DeliverPlanMainApi from '@/api/wms/deliverPlanMain'
import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as AreabasicApi from '@/api/wms/areabasic'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'DeliverPlanMain' })
@ -434,10 +435,10 @@ const handleExport = async () => {
exportLoading.value = true
if(routeName.value == 'DeliverRequestMain'){
const data = await DeliverPlanMainApi.exportDeliverPlanMain(tableObject.params)
download.excel(data, '发货计划主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await DeliverPlanMainApi.exportZZBJDeliverPlanMain(tableObject.params)
download.excel(data, '自制备件发货计划主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
@ -546,7 +547,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '发货计划主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

5
src/views/wms/deliversettlementManage/deliverplan/saleMain/index.vue

@ -84,6 +84,7 @@ import { SaleMain,SaleMainRules,SaleDetail,SaleDetailRules } from './saleMain.da
import * as SaleMainApi from '@/api/wms/saleMain'
import * as SaleDetailApi from '@/api/wms/saleDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'SaleMain' })
@ -253,7 +254,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SaleMainApi.exportSaleMain(tableObject.params)
download.excel(data, '销售订单主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -315,7 +316,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '销售订单主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

3
src/views/wms/deliversettlementManage/saleShipmentMainRecord/index.vue

@ -72,6 +72,7 @@ import * as SaleShipmentDetailRecordApi from '@/api/wms/saleShipmentDetailRecord
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'SaleShipmentMainRecord' })
@ -206,7 +207,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SaleShipmentMainRecordApi.exportSaleShipmentMainRecord(tableObject.params)
download.excel(data, '结算出库记录.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

5
src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue

@ -93,6 +93,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'SaleShipmentMain' })
const message = useMessage() //
@ -447,7 +448,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await SaleShipmentMainApi.exportSaleShipmentMain(tableObject.params)
download.excel(data, '结算出库申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -462,7 +463,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '结算出库申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

3
src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue

@ -76,6 +76,7 @@ import * as StockupJobMainApi from '@/api/wms/stockupMainJob'
import * as StockupJobDetailApi from '@/api/wms/stockupDetailJob'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'StockupJobMain' })
@ -239,7 +240,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await StockupJobMainApi.exportStockupMainJob(tableObject.params)
download.excel(data, '备货任务主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

3
src/views/wms/deliversettlementManage/stockup/stockupMainRecord/index.vue

@ -68,6 +68,7 @@ import * as StockupMainRecordApi from '@/api/wms/stockupMainRecord'
import * as StockupDetailRecordApi from '@/api/wms/stockupDetailRecord'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'StockupMainRecord' })
@ -157,7 +158,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await StockupMainRecordApi.exportStockupMainRecord(tableObject.params)
download.excel(data, '备货记录主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

5
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue

@ -95,6 +95,7 @@ import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'StockupMainRequest' })
@ -411,7 +412,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await StockupMainRequestApi.exportStockupMainRequest(tableObject.params)
download.excel(data, '备货申请主.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -505,7 +506,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '备货申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

5
src/views/wms/inventoryManage/balance/index.vue

@ -71,6 +71,7 @@ import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { getAccessToken } from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'Balance' })
@ -298,7 +299,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await BalanceApi.exportBalance(tableObject.params)
download.excel(data, '库存余额.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -313,7 +314,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '库存余额导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

5
src/views/wms/inventoryManage/expectin/index.vue

@ -68,6 +68,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'Expectin' })
@ -226,7 +227,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ExpectinApi.exportExpectin(tableObject.params)
download.excel(data, '预计入库存.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -241,7 +242,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '预计入库存导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

5
src/views/wms/inventoryManage/expectout/index.vue

@ -69,6 +69,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'Expectout' })
@ -225,7 +226,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ExpectoutApi.exportExpectout(tableObject.params)
download.excel(data, '预计出库存.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -240,7 +241,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '预计出库存导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

5
src/views/wms/inventoryManage/locationcapacity/index.vue

@ -65,6 +65,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'Locationcapacity' })
@ -180,7 +181,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await LocationcapacityApi.exportLocationcapacity(tableObject.params)
download.excel(data, '库位容量.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -195,7 +196,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '库位容量导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

5
src/views/wms/inventoryManage/package/index.vue

@ -68,6 +68,7 @@ import * as PackageApi from '@/api/wms/package'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import * as EquipmentInspectionRecordMainApi from "@/api/eam/equipmentInspectionRecordMain";
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'package' })
@ -250,7 +251,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await PackageApi.exportPackage(tableObject.params)
download.excel(data, '包装.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -336,7 +337,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '包装信息导入模板.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

5
src/views/wms/inventoryManage/transaction/index.vue

@ -65,6 +65,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'Transaction' })
@ -181,7 +182,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await TransactionApi.exportTransaction(tableObject.params)
download.excel(data, '事务类型.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -196,7 +197,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '事务类型导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

5
src/views/wms/inventoryManage/transferlog/index.vue

@ -65,6 +65,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'Transferlog' })
@ -180,7 +181,7 @@ const handleExport = async () => {
//
exportLoading.value = true
const data = await ExpectinApi.exportTransferlog(tableObject.params)
download.excel(data, '库存转移日志.xlsx')
download.excel(data, `${route.meta.title}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -195,7 +196,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '库存转移日志导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//
const importSuccess = () => {

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

@ -72,6 +72,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { getAccessToken } from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventoryinitRecordMain' })
@ -163,8 +164,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await InventoryinitRecordMainApi.exportInventoryinitRecordMain(tableObject.params)
download.excel(data, '库存初始化记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

6
src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue

@ -91,6 +91,7 @@ import { InventoryinitRequestMain,InventoryinitRequestMainRules,InventoryinitReq
import * as InventoryinitRequestMainApi from '@/api/wms/inventoryinitRequestMain'
import * as InventoryinitRequestDetailApi from '@/api/wms/inventoryinitRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventoryinitRequestMain' })
@ -404,8 +405,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await InventoryinitRequestMainApi.exportInventoryinitRequestMain(tableObject.params)
download.excel(data, '库存初始化申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -479,7 +481,7 @@ const handleImportLine = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '库存初始化申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'ScrapJobMain' })
@ -228,8 +229,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ScrapJobMainApi.exportScrapJobMain(tableObject.params)
download.excel(data, '报废出库任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -68,6 +68,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'ScrapRecordMain' })
@ -155,8 +156,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ScrapRecordMainApi.exportScrapRecordMain(tableObject.params)
download.excel(data, '报废出库记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

6
src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue

@ -94,6 +94,7 @@ import * as ScrapRequestMainApi from '@/api/wms/scrapRequestMain'
import * as ScrapRequestDetailApi from '@/api/wms/scrapRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as StdcostpriceApi from '@/api/wms/stdcostprice'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'ScrapRequestMain' })
@ -395,8 +396,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await ScrapRequestMainApi.exportScrapRequestMain(tableObject.params)
download.excel(data, '报废出库申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -493,7 +495,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '报废出库申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -75,6 +75,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'TransferissueJobMain' })
@ -268,8 +269,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await TransferissueJobMainApi.exportTransferissueJobMain(tableObject.params)
download.excel(data, '调拨出库任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -68,6 +68,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'TransferissueRecordMain' })
@ -155,8 +156,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await TransferissueRecordMainApi.exportTransferissueRecordMain(tableObject.params)
download.excel(data, '调拨出库记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -91,6 +91,7 @@ import { TransferissueRequestMain,TransferissueRequestMainRules,TransferissueReq
import * as TransferissueRequestMainApi from '@/api/wms/transferissueRequestMain'
import * as TransferissueRequestDetailApi from '@/api/wms/transferissueRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'TransferissueRequestMain' })
@ -393,8 +394,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await TransferissueRequestMainApi.exportTransferissueRequestMain(tableObject.params)
download.excel(data, '调拨出库申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -487,7 +489,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '调拨出库申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'TransferreceiptJobMain' })
@ -228,8 +229,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await TransferreceiptJobMainApi.exportTransferreceiptJobMain(tableObject.params)
download.excel(data, '调拨入库任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -68,6 +68,7 @@ import * as TransferreceiptRecordMainApi from '@/api/wms/transferreceiptRecordMa
import * as TransferreceiptRecordDetailApi from '@/api/wms/transferreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'TransferreceiptRecordMain' })
@ -155,8 +156,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await TransferreceiptRecordMainApi.exportTransferreceiptRecordMain(tableObject.params)
download.excel(data, '调拨入库记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

6
src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue

@ -89,6 +89,7 @@ import { TransferreceiptRequestMain,TransferreceiptRequestMainRules,Transferrece
import * as TransferreceiptRequestMainApi from '@/api/wms/transferreceiptRequestMain'
import * as TransferreceiptRequestDetailApi from '@/api/wms/transferreceiptRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
@ -356,8 +357,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await TransferreceiptRequestMainApi.exportTransferreceiptRequestMain(tableObject.params)
download.excel(data, '调拨入库申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -420,7 +422,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '调拨入库申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'UnplannedissueJobMain' })
@ -228,8 +229,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await UnplannedissueJobMainApi.exportUnplannedissueJobMain(tableObject.params)
download.excel(data, '计划外出库任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -68,6 +68,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'UnplannedissueRecordMain' })
@ -155,8 +156,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await UnplannedissueRecordMainApi.exportUnplannedissueRecordMain(tableObject.params)
download.excel(data, '计划外出库记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

6
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

@ -91,6 +91,7 @@ import { UnplannedissueRequestMain,UnplannedissueRequestMainRules,Unplannedissue
import * as UnplannedissueRequestMainApi from '@/api/wms/unplannedissueRequestMain'
import * as UnplannedissueRequestDetailApi from '@/api/wms/unplannedissueRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'UnplannedissueRequestMain' })
@ -437,8 +438,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await UnplannedissueRequestMainApi.exportUnplannedissueRequestMain(tableObject.params)
download.excel(data, '计划外出库申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -549,7 +551,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '计划外出库申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'UnplannedreceiptJobMain' })
@ -228,8 +229,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await UnplannedreceiptJobMainApi.exportUnplannedreceiptJobMain(tableObject.params)
download.excel(data, '计划外入库任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

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

@ -68,6 +68,7 @@ import * as UnplannedreceiptRecordMainApi from '@/api/wms/unplannedreceiptRecord
import * as UnplannedreceiptRecordDetailApi from '@/api/wms/unplannedreceiptRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'UnplannedreceiptRecordMain' })
@ -155,8 +156,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await UnplannedreceiptRecordMainApi.exportUnplannedreceiptRecordMain(tableObject.params)
download.excel(data, '计划外入库记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

6
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -131,6 +131,7 @@ import * as PackageApi from "@/api/wms/package";
import { formatTime } from '@/utils/index'
import { getAccessToken } from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'UnplannedreceiptRequestMain' })
@ -666,8 +667,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await UnplannedreceiptRequestMainApi.exportUnplannedreceiptRequestMain(tableObject.params)
download.excel(data, '计划外入库申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -773,7 +775,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '计划外入库申请主导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -68,6 +68,7 @@ import * as InventorychangeRecordMainApi from '@/api/wms/inventorychangeRecordMa
import * as InventorychangeRecordDetailApi from '@/api/wms/inventorychangeRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { CACHE_KEY, useCache } from '@/hooks/web/useCache'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventorychangeRecordMain' })
@ -201,8 +202,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await InventorychangeRecordMainApi.exportInventorychangeRecordMain(tableObject.params)
download.excel(data, '库存修改记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false

6
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

@ -105,6 +105,7 @@ import { InventorychangeRequestMain,InventorychangeRequestMainRules,Inventorycha
import * as InventorychangeRequestMainApi from '@/api/wms/inventorychangeRequestMain'
import * as InventorychangeRequestDetailApi from '@/api/wms/inventorychangeRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
const message = useMessage() //
@ -404,8 +405,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await InventorychangeRequestMainApi.exportInventorychangeRequestMain(tableObject.params)
download.excel(data, '库存修改申请.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -507,7 +509,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: '库存修改申请导入模版.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

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

@ -73,6 +73,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventorymoveJobMain' })
@ -300,27 +301,28 @@ const handleExport = async () => {
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
if(routeName.value == 'OktoholdJobMain'){
const data = await InventorymoveJobMainApi.exportOkToHoldJobMain(tableObject.params)
download.excel(data, '合格转隔离任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtookJobMain') {
const data = await InventorymoveJobMainApi.exportNokToHoldJobMain(tableObject.params)
download.excel(data, '不合格转隔离任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtookJobMain') {
const data = await InventorymoveJobMainApi.exportHoldToOkJobMain(tableObject.params)
download.excel(data, '隔离转合格任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtoscrapJobMain') {
const data = await InventorymoveJobMainApi.exportHoldToScrapJobMain(tableObject.params)
download.excel(data, '隔离转报废任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'OktoscrapJobtMain') {
const data = await InventorymoveJobMainApi.exportOkToScrapJobMain(tableObject.params)
download.excel(data, '合格转报废任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'ScraptoholdJobMain') {
const data = await InventorymoveJobMainApi.exportScrapToHoldJobMain(tableObject.params)
download.excel(data, '报废转隔离任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await InventorymoveJobMainApi.exportInventorymoveJobMain(tableObject.params)
download.excel(data, '库存转移任务主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {

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

@ -71,6 +71,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventorymoveRecordMain' })
@ -228,27 +229,28 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
if(routeName.value == 'OktoholdRecordMain'){
const data = await InventorymoveRecordMainApi.exportOkToHoldRecordMain(tableObject.params)
download.excel(data, '合格转隔离记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtookRecordMain') {
const data = await InventorymoveRecordMainApi.exportNokToHoldRecordMain(tableObject.params)
download.excel(data, '不合格转隔离记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtookRecordMain') {
const data = await InventorymoveRecordMainApi.exportHoldToOkRecordMain(tableObject.params)
download.excel(data, '隔离转合格记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtoscrapRecordMain') {
const data = await InventorymoveRecordMainApi.exportHoldToScrapRecordMain(tableObject.params)
download.excel(data, '隔离转报废记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'OktoscrapRecordtMain') {
const data = await InventorymoveRecordMainApi.exportOkToScrapRecordMain(tableObject.params)
download.excel(data, '合格转报废记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'ScraptoholdRecordMain') {
const data = await InventorymoveRecordMainApi.exportScrapToHoldRecordMain(tableObject.params)
download.excel(data, '报废转隔离记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else{
const data = await InventorymoveRecordMainApi.exportInventorymoveRecordMain(tableObject.params)
download.excel(data, '库存转移记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
@ -265,7 +267,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: importFileName.value + '.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

6
src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue

@ -97,6 +97,7 @@ 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'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventorymoveRecordMainNew' })
@ -290,8 +291,9 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
const data = await InventorymoveRecordMainApi.exportInventorymoveRecordMain(tableObject.params)
download.excel(data, '库存转移记录主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
} catch {
} finally {
exportLoading.value = false
@ -421,7 +423,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: importFileName.value + '.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

14
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -88,6 +88,7 @@ import { InventorymoveRequestMain,InventorymoveRequestMainRules,InventorymoveReq
import * as InventorymoveRequestMainApi from '@/api/wms/inventorymoveRequestMain'
import * as InventorymoveRequestDetailApi from '@/api/wms/inventorymoveRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventorymoveRequestMain' })
@ -639,18 +640,19 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
if(routeName.value == 'OktoholdRequestMain'){
const data = await InventorymoveRequestMainApi.exportOkToHoldRequestMain(tableObject.params)
download.excel(data, '物料转隔离申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtookRequestMain') {
const data = await InventorymoveRequestMainApi.exportHoldToOkRequestMain(tableObject.params)
download.excel(data, '隔离转合格申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtoscrapRequestMain') {
const data = await InventorymoveRequestMainApi.exportHoldToScrapRequestMain(tableObject.params)
download.excel(data, '隔离转报废申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'OktoscrapRequestMain') {
const data = await InventorymoveRequestMainApi.exportOkToScrapRequestMain(tableObject.params)
download.excel(data, '合格转报废申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
// else if ( routeName.value == 'ScraptoholdRequestMain') {
// const data = await InventorymoveRequestMainApi.exportScrapToHoldRequestMain(tableObject.params)
@ -658,7 +660,7 @@ const handleExport = async () => {
// }
else{
const data = await InventorymoveRequestMainApi.exportInventorymoveRequestMain(tableObject.params)
download.excel(data, '库存转移申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
@ -762,7 +764,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: importFileName.value + '.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

14
src/views/wms/moveManage/inventorymove/inventorymoveRequestMainOKHOLD/index.vue

@ -89,6 +89,7 @@ import * as InventorymoveRequestMainApi from '@/api/wms/inventorymoveRequestMain
import * as InventorymoveRequestDetailApi from '@/api/wms/inventorymoveRequestDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import * as LocationApi from '@/api/wms/location'
import { formatDate } from '@/utils/formatTime'
//
defineOptions({ name: 'InventorymoveRequestMain' })
@ -668,18 +669,19 @@ const handleExport = async () => {
await message.exportConfirm()
//
exportLoading.value = true
const excelTitle = ref(route.meta.title)
if(routeName.value == 'OktoholdRequestMain'){
const data = await InventorymoveRequestMainApi.exportOkToHoldRequestMain(tableObject.params)
download.excel(data, '物料转隔离申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtookRequestMain') {
const data = await InventorymoveRequestMainApi.exportHoldToOkRequestMain(tableObject.params)
download.excel(data, '隔离转合格申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'HoldtoscrapRequestMain') {
const data = await InventorymoveRequestMainApi.exportHoldToScrapRequestMain(tableObject.params)
download.excel(data, '隔离转报废申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}else if ( routeName.value == 'OktoscrapRequestMain') {
const data = await InventorymoveRequestMainApi.exportOkToScrapRequestMain(tableObject.params)
download.excel(data, '合格转报废申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
// else if ( routeName.value == 'ScraptoholdRequestMain') {
// const data = await InventorymoveRequestMainApi.exportScrapToHoldRequestMain(tableObject.params)
@ -687,7 +689,7 @@ const handleExport = async () => {
// }
else{
const data = await InventorymoveRequestMainApi.exportInventorymoveRequestMain(tableObject.params)
download.excel(data, '库存转移申请主.xlsx')
download.excel(data, `${excelTitle.value}】【${formatDate(new Date())}】.xlsx`)
}
} catch {
} finally {
@ -791,7 +793,7 @@ const handleImport = () => {
//
const importTemplateData = reactive({
templateUrl: '',
templateTitle: importFileName.value + '.xlsx'
templateTitle: `${route.meta.title}】导入模版.xlsx`
})
//

17
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue

@ -151,6 +151,8 @@ import dayjs from 'dayjs'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import * as BomApi from "@/api/wms/bom";
import { formatDate } from '@/utils/formatTime'
import * as WorkshopApi from '@/api/wms/workshop'
//
//
defineOptions({ name: 'ProductreceiptRequestMain' })
@ -798,8 +800,23 @@ const searchTableSuccessLabel = async (formField, searchField, val, formRef, typ
message.error('创建标签失败')
})
}
const getDefaultWorkshopCode = async ()=>{
let res = await WorkshopApi.getWorkshopPage({
available: "TRUE"
})
if(res&&res.list.length>0){
if(res.list.find(item=>item.code=='PRC')){
ProductreceiptRequestMain.allSchemas.formSchema.map(itemColumns => {
if(itemColumns.field == 'workshopCode') {
itemColumns.value = 'PRC'
}
})
}
}
}
/** 初始化 **/
onMounted(async () => {
getDefaultWorkshopCode()
getList()
importTemplateData.templateUrl = await ProductreceiptRequestMainApi.importTemplate()
})

17
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue

@ -151,6 +151,7 @@ import { getAccessToken } from '@/utils/auth'
import { getJmreportBaseUrl } from '@/utils/systemParam'
import * as BomApi from "@/api/wms/bom";
import { formatDate } from '@/utils/formatTime'
import * as WorkshopApi from '@/api/wms/workshop'
//
defineOptions({ name: 'ProductreceiptRequestMainA' })
@ -800,9 +801,23 @@ const searchTableSuccess1 = async (formField, searchField, val, formRef, type, r
message.error('创建标签失败')
})
}
const getDefaultWorkshopCode = async ()=>{
let res = await WorkshopApi.getWorkshopPage({
available: "TRUE"
})
if(res&&res.list.length>0){
if(res.list.find(item=>item.code=='PRC')){
ProductreceiptRequestMain.allSchemas.formSchema.map(itemColumns => {
if(itemColumns.field == 'workshopCode') {
itemColumns.value = 'PRA'
}
})
}
}
}
/** 初始化 **/
onMounted(async () => {
getDefaultWorkshopCode()
getList()
importTemplateData.templateUrl = await ProductreceiptRequestMainApi.importTemplate()
})

Loading…
Cancel
Save