Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
chenfang 5 months ago
parent
commit
17ebd0d3ba
  1. 2
      src/api/wms/agvLocationrelation/index.ts
  2. 6
      src/api/wms/barbasic/index.ts
  3. 6
      src/api/wms/barcode/index.ts
  4. 6
      src/api/wms/callmaterials/index.ts
  5. 2
      src/api/wms/customersettleRecordMain/index.ts
  6. 16
      src/api/wms/deliverPlanMain/index.ts
  7. 2
      src/api/wms/deliverRecordMain/index.ts
  8. 4
      src/api/wms/deliverRequestMain/index.ts
  9. 5
      src/api/wms/expectin/index.ts
  10. 5
      src/api/wms/expectout/index.ts
  11. 2
      src/api/wms/issueJobMain/index.ts
  12. 6
      src/api/wms/locationcapacity/index.ts
  13. 6
      src/api/wms/mesBarCode/index.ts
  14. 2
      src/api/wms/package/index.ts
  15. 2
      src/api/wms/packageunit/index.ts
  16. 5
      src/api/wms/processproductionRecordMain/index.ts
  17. 5
      src/api/wms/processproductionRequestMain/index.ts
  18. 6
      src/api/wms/productionreceiptRecordMain/index.ts
  19. 5
      src/api/wms/productionreturnRecordMain/index.ts
  20. 12
      src/api/wms/productputawayRecordDetail/index.ts
  21. 4
      src/api/wms/productputawayRecordMain/index.ts
  22. 12
      src/api/wms/productputawayRequestMain/index.ts
  23. 6
      src/api/wms/productreceiptJobMain/index.ts
  24. 6
      src/api/wms/productreceiptRecordMain/index.ts
  25. 5
      src/api/wms/productredressRecordMain/index.ts
  26. 5
      src/api/wms/productredressRequestMain/index.ts
  27. 2
      src/api/wms/productrepairRecordMain/index.ts
  28. 6
      src/api/wms/productrepairRequestMain/index.ts
  29. 2
      src/api/wms/productscrapRequestMain/index.ts
  30. 5
      src/api/wms/qadproductionplan/index.ts
  31. 5
      src/api/wms/repleinshRecordMain/index.ts
  32. 6
      src/api/wms/saleMain/index.ts
  33. 6
      src/api/wms/saleShipmentMain/index.ts
  34. 6
      src/api/wms/saleShipmentMainRecord/index.ts
  35. 2
      src/api/wms/transaction/index.ts
  36. 2
      src/api/wms/transferlog/index.ts
  37. 2
      src/components/Table/src/Table.vue
  38. 34
      src/components/TableForm/src/TableForm.vue
  39. 2
      src/locales/en-US.ts
  40. 2
      src/locales/zh-CN.ts
  41. 4
      src/views/eam/equipmentRepairRecordMain/index.vue
  42. 1
      src/views/eam/equipmentTransferRecord/index.vue
  43. 26
      src/views/eam/repairExperience/index.vue
  44. 38
      src/views/eam/repairExperience/repairExperience.data.ts
  45. 16
      src/views/qms/inspectionTemplate/addForm.vue
  46. 5
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  47. 5
      src/views/wms/countManage/count/countPlanMain/index.vue
  48. 5
      src/views/wms/countManage/count/countRequestMain/index.vue
  49. 5
      src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue
  50. 5
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue
  51. 5
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue
  52. 5
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/index.vue
  53. 5
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  54. 5
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue
  55. 5
      src/views/wms/deliversettlementManage/deliverplan/saleMain/index.vue
  56. 5
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue
  57. 5
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  58. 22
      src/views/wms/inventoryManage/balance/index.vue
  59. 5
      src/views/wms/inventoryManage/containerinit/containerBindRecord/index.vue
  60. 5
      src/views/wms/inventoryManage/containerinit/containerRepair/index.vue
  61. 5
      src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue
  62. 5
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue
  63. 5
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
  64. 5
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue
  65. 5
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue
  66. 5
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  67. 5
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
  68. 5
      src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue
  69. 5
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue
  70. 5
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue
  71. 66
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts
  72. 16
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts
  73. 5
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  74. 14
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts
  75. 16
      src/views/wms/issueManage/issue/issueJobMain/index.vue
  76. 5
      src/views/wms/issueManage/issue/issueRequestMain/index.vue
  77. 5
      src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue
  78. 5
      src/views/wms/issueManage/pick/pickRequestMain/index.vue
  79. 5
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue
  80. 5
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
  81. 5
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
  82. 5
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
  83. 5
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
  84. 5
      src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue
  85. 5
      src/views/wms/productionManage/processproduction/processproductionRequest/index.vue
  86. 5
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
  87. 5
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  88. 5
      src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue
  89. 5
      src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue
  90. 5
      src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue
  91. 5
      src/views/wms/productionManage/productionplan/workMain/index.vue
  92. 5
      src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
  93. 5
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue
  94. 6
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue
  95. 5
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
  96. 2
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue
  97. 5
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue
  98. 6
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
  99. 5
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
  100. 5
      src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

2
src/api/wms/agvLocationrelation/index.ts

@ -47,7 +47,7 @@ export const exportAgvLocationrelation = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/agv-locationrelation/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/agv-locationrelation/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/agv-locationrelation/export-excel`, params })
}

6
src/api/wms/barbasic/index.ts

@ -47,8 +47,14 @@ export const deleteBarbasic = async (id: number) => {
// 导出条码实体基类 Excel
export const exportBarbasic = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/barbasic/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/barbasic/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/barcode/index.ts

@ -50,8 +50,14 @@ export const deleteBarcode = async (id: number) => {
// 导出条码片段 Excel
export const exportBarcode = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/label/barcode/export-excel-senior', data })
} else {
return await request.download({ url: `/label/barcode/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/callmaterials/index.ts

@ -44,8 +44,14 @@ export const deleteCallmaterials = async (id: number) => {
// 导出叫料标签 Excel
export const exportCallmaterials = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/callmaterials/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/callmaterials/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

2
src/api/wms/customersettleRecordMain/index.ts

@ -61,7 +61,7 @@ export const exportCustomersettleRecordMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customersettle-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/customersettle-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/customersettle-record-main/export-excel`, params })
}

16
src/api/wms/deliverPlanMain/index.ts

@ -51,9 +51,15 @@ export const deleteDeliverPlanMain = async (id: number) => {
export const exportDeliverPlanMain = async (params) => {
params.businessType = 'Deliver'
if (params.isSearch) {
// const cmd = {
// 'column':'businessType',
// 'action':'==',
// 'value':'Deliver'
// }
// params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-plan-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/deliver-plan-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/deliver-plan-main/export-excel`, params })
}
@ -63,9 +69,15 @@ export const exportDeliverPlanMain = async (params) => {
export const exportZZBJDeliverPlanMain = async (params) => {
params.businessType = 'ZZBJDeliver'
if (params.isSearch) {
// const cmd = {
// 'column':'businessType',
// 'action':'==',
// 'value':'ZZBJDeliver'
// }
// params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-plan-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/deliver-plan-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/deliver-plan-main/export-excel`, params })
}

2
src/api/wms/deliverRecordMain/index.ts

@ -70,7 +70,7 @@ export const exportDeliverRecordMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/deliver-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/deliver-record-main/export-excel`, params })
}

4
src/api/wms/deliverRequestMain/index.ts

@ -69,7 +69,7 @@ export const exportDeliverRequestMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-request-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/deliver-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/deliver-request-main/export-excel`, params })
}
@ -81,7 +81,7 @@ export const exportZZBJDeliverRequestMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-request-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/deliver-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/deliver-request-main/export-excel`, params })
}

5
src/api/wms/expectin/index.ts

@ -46,8 +46,13 @@ export const deleteExpectin = async (id: number) => {
// 导出预计入库存 Excel
export const exportExpectin = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/expectin/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/expectin/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

5
src/api/wms/expectout/index.ts

@ -47,8 +47,13 @@ export const deleteExpectout = async (id: number) => {
// 导出预计出库存 Excel
export const exportExpectout = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/expectout/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/expectout/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

2
src/api/wms/issueJobMain/index.ts

@ -99,7 +99,7 @@ export const abandonIssueMain = async (id) => {
// 关闭发料任务
export const closeIssueMain = async (id) => {
return await request.get({ url: `/wms/issue-job-main/close?id=` + id })
return await request.put({ url: `/wms/issue-job-main/close?id=` + id })
}
// 执行发料任务

6
src/api/wms/locationcapacity/index.ts

@ -42,8 +42,14 @@ export const deleteLocationcapacity = async (id: number) => {
// 导出库位容量 Excel
export const exportLocationcapacity = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/locationcapacity/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/locationcapacity/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/mesBarCode/index.ts

@ -56,8 +56,14 @@ export const deleteMesBarCode = async (id: number) => {
// 导出生产条码清单 Excel
export const exportMesBarCode = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/mes-bar-code/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/mes-bar-code/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

2
src/api/wms/package/index.ts

@ -79,7 +79,7 @@ export const deletePackage = async (id: number) => {
export const exportPackage = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.download({ url: `/wms/package/export-excel-senior`, data })
return await request.downloadPost({ url: `/wms/package/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/package/export-excel`, params })
}

2
src/api/wms/packageunit/index.ts

@ -59,7 +59,7 @@ export const exportPackageunit = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/packageunit/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/packageunit/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/packageunit/export-excel`, params })
}

5
src/api/wms/processproductionRecordMain/index.ts

@ -48,8 +48,13 @@ export const deleteProcessproductionRecordMain = async (id: number) => {
// 导出工序报产记录主 Excel
export const exportProcessproductionRecordMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/processproduction-record-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/processproduction-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

5
src/api/wms/processproductionRequestMain/index.ts

@ -48,8 +48,13 @@ export const deleteProcessproductionRequestMain = async (id: number) => {
// 导出工序报产申请主 Excel
export const exportProcessproductionRequestMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/processproduction-request-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/processproduction-request-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/productionreceiptRecordMain/index.ts

@ -61,9 +61,15 @@ export const deleteProductionreceiptRecordMain = async (id: number) => {
// 导出生产收料记录主 Excel
export const exportProductionreceiptRecordMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productionreceipt-record-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productionreceipt-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/productionreceipt-record-main/get-import-template' })

5
src/api/wms/productionreturnRecordMain/index.ts

@ -60,8 +60,13 @@ export const deleteProductionreturnRecordMain = async (id: number) => {
// 导出生产退料记录主 Excel
export const exportProductionreturnRecordMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productionreturn-record-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productionreturn-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

12
src/api/wms/productputawayRecordDetail/index.ts

@ -38,6 +38,12 @@ export interface ProductputawayRecordDetailVO {
export const getProductputawayRecordDetailPage = async (params) => {
params.type = 'predict'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'predict'
}
params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productputaway-record-detail/senior', data })
@ -50,6 +56,12 @@ export const getProductputawayRecordDetailPage = async (params) => {
export const getProductputawayRecordDetailPageAssemble = async (params) => {
  params.type = 'assemble'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'assemble'
}
params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productputaway-record-detail/senior', data })

4
src/api/wms/productputawayRecordMain/index.ts

@ -78,7 +78,7 @@ export const exportProductputawayRecordMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productputaway-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/productputaway-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params })
}
@ -90,7 +90,7 @@ export const exportProductputawayRecordMainAssemble = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productputaway-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/productputaway-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params })
}

12
src/api/wms/productputawayRequestMain/index.ts

@ -74,6 +74,12 @@ export const deleteProductputawayRequestMain = async (id: number) => {
export const exportProductputawayRequestMain = async (params) => {
params.type = 'predict'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'predict'
}
params.filters.push(cmd)
const data = {...params}
return await request.downloadPost({ url: `/wms/productputaway-request-main/export-excel-senior`, data })
} else {
@ -85,6 +91,12 @@ export const exportProductputawayRequestMain = async (params) => {
export const exportProductputawayRequestMainAssemble = async (params) => {
params.type = 'assemble'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'assemble'
}
params.filters.push(cmd)
const data = {...params}
return await request.downloadPost({ url: `/wms/productputaway-request-main/export-excel-senior`, data })
} else {

6
src/api/wms/productreceiptJobMain/index.ts

@ -103,6 +103,12 @@ export const deleteProductreceiptJobMain = async (id: number) => {
export const exportProductreceiptJobMain = async (params) => {
params.type = 'predict'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'predict'
}
params.filters.push(cmd)
const data = {...params}
return await request.downloadPost({ url: `/wms/productreceipt-job-main/export-excel-senior`, data })
} else {

6
src/api/wms/productreceiptRecordMain/index.ts

@ -87,6 +87,12 @@ export const deleteProductreceiptRecordMain = async (id: number) => {
export const exportProductreceiptRecordMain = async (params) => {
params.type = 'predict'
if (params.isSearch) {
const cmd = {
'column':'type',
'action':'==',
'value':'predict'
}
params.filters.push(cmd)
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productreceipt-record-main/export-excel-senior', data })

5
src/api/wms/productredressRecordMain/index.ts

@ -61,8 +61,13 @@ export const deleteProductredressRecordMain = async (id: number) => {
// 导出制品回收记录主 Excel
export const exportProductredressRecordMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productredress-record-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productredress-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

5
src/api/wms/productredressRequestMain/index.ts

@ -60,8 +60,13 @@ export const deleteProductredressRequestMain = async (id: number) => {
// 导出制品回收申请主 Excel
export const exportProductredressRequestMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/productredress-request-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/productredress-request-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

2
src/api/wms/productrepairRecordMain/index.ts

@ -61,7 +61,7 @@ export const exportProductrepairRecordMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productrepair-record-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/productrepair-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productrepair-record-main/export-excel`, params })
}

6
src/api/wms/productrepairRequestMain/index.ts

@ -57,8 +57,14 @@ export const deleteProductrepairRequestMain = async (id: number) => {
// 导出制品返修申请主 Excel
export const exportProductrepairRequestMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/productrepair-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productrepair-request-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

2
src/api/wms/productscrapRequestMain/index.ts

@ -57,7 +57,7 @@ export const exportProductscrapRequestMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productscrap-request-main/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/productscrap-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params })
}

5
src/api/wms/qadproductionplan/index.ts

@ -60,8 +60,13 @@ export const deleteQadProductionPlanMain = async (id: number) => {
// 导出QAD生产计划主 Excel
export const exportQadProductionPlanMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/qad-production-plan-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/qad-production-plan-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

5
src/api/wms/repleinshRecordMain/index.ts

@ -59,8 +59,13 @@ export const deleteRepleinshRecordMain = async (id: number) => {
// 导出补料记录主 Excel
export const exportRepleinshRecordMain = async (params) => {
if (params.isSearch){
const data = {...params}
return await request.downloadPost({ url: `/wms/repleinsh-record-main/export-excel-senior`, data })
}else {
return await request.download({ url: `/wms/repleinsh-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/saleMain/index.ts

@ -54,8 +54,14 @@ export const deleteSaleMain = async (id: number) => {
// 导出销售订单主 Excel
export const exportSaleMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/sale-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/sale-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/saleShipmentMain/index.ts

@ -55,8 +55,14 @@ export const deleteSaleShipmentMain = async (id: number) => {
// 导出结算出库申请主 Excel
export const exportSaleShipmentMain = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/sale-shipment-main-request/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/sale-shipment-main-request/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

6
src/api/wms/saleShipmentMainRecord/index.ts

@ -47,8 +47,14 @@ export const deleteSaleShipmentMainRecord = async (id: number) => {
// 导出结算出库记录主 Excel
export const exportSaleShipmentMainRecord = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.downloadPost({ url: '/wms/sale-shipment-main-record/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/sale-shipment-main-record/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {

2
src/api/wms/transaction/index.ts

@ -65,7 +65,7 @@ export const exportTransaction = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/transaction/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/transaction/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/transaction/export-excel`, params })
}

2
src/api/wms/transferlog/index.ts

@ -74,7 +74,7 @@ export const exportTransferlog = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/transferlog/export-excel-senior', data })
return await request.downloadPost({ url: '/wms/transferlog/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/transferlog/export-excel`, params })
}

2
src/components/Table/src/Table.vue

@ -136,13 +136,11 @@ export default defineComponent({
const toggleAllSelection = (isAll)=>{
if(isAll){
//
if(elTableRef.value?.getSelectionRows().length<unref(getProps).data.length){
unref(getProps).data.forEach(row=>{
elTableRef.value!.toggleRowSelection(row,true)
})
}
}
}
//
const clearSelection = ()=>{

34
src/components/TableForm/src/TableForm.vue

@ -4,7 +4,7 @@
<el-table class="multipleTableComponents"
ref="TableBaseComponents_Ref"
v-loading="tableLoading"
:data="tableData"
:data="showTableData()"
:max-height="maxHeight"
row-key="id"
:border="border"
@ -13,7 +13,7 @@
@row-click="handleTableSelect"
>
<!-- 删除按钮多选 -->
<el-table-column fixed="left" type="selection" width="50" v-if="isShowReduceButtonSelection" />
<el-table-column fixed="left" type="selection" width="50" v-if="isShowReduceButtonSelection" :reserve-selection="true" />
<!-- 删除按钮 -->
<el-table-column
fixed="left"
@ -26,10 +26,11 @@
<!-- 多选 -->
<el-table-column
fixed="left"
v-if="selectionTable"
:reserve-selection="true"
type="selection"
:width="50"
v-if="selectionTable"
/>
<!-- 序号 -->
<el-table-column
@ -314,6 +315,15 @@
<ButtonBase :Butttondata="[defaultButtons.mainListDeleteBtn(),]" @button-base-click="handleDeleteTable (row, $index)" />
</el-table-column>
</el-table>
<!-- :page-sizes="[ 10,20, 30, 50, 100]" sizes-->
<el-pagination v-show="tableData.length>5" style="margin-top:10px"
v-model:current-page="currentPage"
v-model:page-size="pageSize"
:small="true"
:background="false"
layout="total, prev, pager, next, jumper"
:total="tableData.length"
/>
<div class="button flex" v-if="isShowButton||isShowReduceButtonSelection">
<div class="p-12px" v-if="isShowButton" @click="handleAddTable">
<Icon icon="ep:circle-plus" color="#409eff" size="26" style="cursor: pointer;" />
@ -453,6 +463,11 @@ const tableSelectionChange = (val) => {
}
const handleSelectionDelete = ()=>{
emit('tableSelectionDelete', deleteTableData.value)
nextTick(()=>{
deleteTableData.value.forEach(row=>{
TableBaseComponents_Ref.value!.toggleRowSelection(row,false)
})
})
}
//
const tableSortChange = (column, prop, order) => {
@ -497,6 +512,9 @@ const validateForm = () => {
//
const handleDeleteTable = (row, index) => {
emit('handleDeleteTable', row, index)
nextTick(()=>{
TableBaseComponents_Ref.value!.toggleRowSelection(row,false)
})
}
//
const handleAddTable = () => {
@ -521,6 +539,16 @@ const buttonOperationClick = (row, label, index)=> {
emit("buttonOperationClick", row, label, index);
}
const currentPage =ref(1)
const pageSize = ref(10)
const showTableData = ()=>{
console.log('props.tableData',props.tableData)
if(props.tableData.length>100){
return props.tableData.slice((currentPage.value-1)*pageSize.value,currentPage.value*pageSize.value)
}else{
return props.tableData
}
}
// setup
defineExpose({
TableBaseComponents_Ref,

2
src/locales/en-US.ts

@ -817,7 +817,7 @@ export default {
:'Supplier Name',
:'Tax',
:'After-tax Amount',
:'Discount Amount',
:'Discount Amount',
:'Adjusted Tax',
:'Under Coverage',
:'Gold tax ticket number',

2
src/locales/zh-CN.ts

@ -817,7 +817,7 @@ export default {
:'供应商名称',
:'税额',
:'税后金额',
:'折扣金额',
:'调整价差',
:'调整税额',
:'总差额',
:'金税票号',

4
src/views/eam/equipmentRepairRecordMain/index.vue

@ -242,7 +242,9 @@ const repairExperienceFormsSuccess = async (formType, data) => {
const data1 = {
repairNumber: data.number,
name: data.name,
content: data.content
content: data.content,
masterId: data.id,
ooderType: 'REPAIR',
}
console.log(data1)
try {

1
src/views/eam/equipmentTransferRecord/index.vue

@ -89,7 +89,6 @@ const searchTableSuccess = (formField, searchField, val, formRef) => {
const setV = {}
setV[formField] = val[0][searchField]
if(formField == 'equipmentCode'){
debugger
setV['beforeStorageLocation'] = val[0]['storageLocation']
setV['beforeWorkshopCode'] = val[0]['workshopCode']
setV['beforeLineCode'] = val[0]['lineCode']

26
src/views/eam/repairExperience/index.vue

@ -27,9 +27,9 @@
v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort"
>
<template #code="{row}">
<el-button type="primary" link @click="openDetail(row, '代码', row.code)">
<span>{{ row.code }}</span>
<template #name="{ row }">
<el-button type="primary" link @click="openDetail(row, '经验标题', row.repairNumber)">
<span>{{ row.name }}</span>
</el-button>
</template>
<template #action="{ row }">
@ -51,8 +51,17 @@
/>
<!-- 详情 -->
<Detail ref="detailRef" :isBasic="true" :allSchemas="RepairExperience.allSchemas" />
<Detail
ref="detailRef"
:isBasic="false"
:allSchemas="RepairExperience.allSchemas"
:detailAllSchemas="EquipmentRepairRecordDetail.allSchemas"
:detailAllSchemasRules="EquipmentRepairRecordDetailRules"
:apiPage="EquipmentRepairRecordDetailApi.getEquipmentRepairRecordDetailPage"
:detailButtonIsShowAdd="false"
:detailButtonIsShowEdit="false"
:detailButtonIsShowDelete="false"
/>
<!-- 导入 -->
<ImportForm ref="importFormRef" url="/record/repair-experience/import" :importTemplateData="importTemplateData" @success="importSuccess" />
</template>
@ -60,7 +69,13 @@
<script setup lang="ts">
import download from '@/utils/download'
import { RepairExperience,RepairExperienceRules } from './repairExperience.data'
import * as RepairExperienceApi from '@/api/eam/repairExperience/index'
import {
EquipmentRepairRecordDetail,
EquipmentRepairRecordDetailRules
} from '../equipmentRepairRecordDetail/equipmentRepairRecordDetail.data'
import * as EquipmentRepairRecordDetailApi from '@/api/eam/equipmentRepairRecordDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
@ -238,7 +253,6 @@ const searchFormClick = (searchData) => {
/** 初始化 **/
onMounted(async () => {
getList()
importTemplateData.templateUrl = await RepairExperienceApi.importTemplate()
})
</script>

38
src/views/eam/repairExperience/repairExperience.data.ts

@ -40,44 +40,54 @@ export const RepairExperience = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '维修工单来源',
field: 'repairNumber',
label: '来源字典',
field: 'sources',
sort: 'custom',
dictType: DICT_TYPE.EAM_MAINTENANCE_SOURCES,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
isSearch: false,
isForm:false
},
{
label: '报修类型',
field: 'repairNumber',
field: 'type',
sort: 'custom',
dictType: DICT_TYPE.DEVICE_TYPE,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
isSearch: false,
isForm:false
},
{
label: '设备/工装编号',
field: 'repairNumber',
field: 'equipmentCode',
sort: 'custom',
isSearch:false,
isForm:false
},
{
label: '设备/工装名称',
field: 'repairNumber',
field: 'equipmentName',
sort: 'custom',
isSearch:false,
isForm:false
},
{
label: '故障时间',
field: 'repairNumber',
field: 'faultTime',
formatter: dateFormatter,
sort: 'custom',
isSearch:false,
isForm:false
isForm:false,
detail:{
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{
label: '故障类型',
field: 'repairNumber',
field: 'faultType',
sort: 'custom',
dictType: DICT_TYPE.FAILURE_REASON,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
isSearch: false,
isForm:false
},
@ -95,15 +105,9 @@ export const RepairExperience = useCrudSchemas(reactive<CrudSchema[]>([
formatter: dateFormatter,
isForm: false,
isSearch:false,
detail:{
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{
label: '操作',
field: 'action',
isForm: false,
table: {
width: 150,
fixed: 'right'
}
}
]))

16
src/views/qms/inspectionTemplate/addForm.vue

@ -839,14 +839,16 @@ const submitForm = async () => {
//
const arr2 = data.value.process.filter(
(item) =>
//
(item.inspectionCharacteristicsBaseVO.quantifyIsCapping && item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && (item.inspectionCharacteristicsBaseVO.quantifyCapping <=item.inspectionCharacteristicsBaseVO.quantifyLowlimit))||
//
(item.inspectionCharacteristicsBaseVO.quantifyIsCapping && item.inspectionCharacteristicsBaseVO.quantifyIsTarget && (item.inspectionCharacteristicsBaseVO.quantifyCapping <=item.inspectionCharacteristicsBaseVO.quantifyTarget))||
//
( item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && item.inspectionCharacteristicsBaseVO.quantifyIsTarget && (item.inspectionCharacteristicsBaseVO.quantifyLowlimit >= item.inspectionCharacteristicsBaseVO.quantifyTarget))||
{
// ,
return (item.inspectionCharacteristicsBaseVO.quantifyIsCapping && item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && !item.inspectionCharacteristicsBaseVO.quantifyIsTarget && (parseFloat(item.inspectionCharacteristicsBaseVO.quantifyCapping) <=parseFloat(item.inspectionCharacteristicsBaseVO.quantifyLowlimit)))||
//
(item.inspectionCharacteristicsBaseVO.quantifyIsCapping && item.inspectionCharacteristicsBaseVO.quantifyIsTarget && !item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && (parseFloat(item.inspectionCharacteristicsBaseVO.quantifyCapping) <=parseFloat(item.inspectionCharacteristicsBaseVO.quantifyTarget)))||
//
( item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && item.inspectionCharacteristicsBaseVO.quantifyIsTarget&&!item.inspectionCharacteristicsBaseVO.quantifyIsCapping && (parseFloat(item.inspectionCharacteristicsBaseVO.quantifyLowlimit) >= parseFloat(item.inspectionCharacteristicsBaseVO.quantifyTarget)))||
//
(item.inspectionCharacteristicsBaseVO.quantifyIsCapping && item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && item.inspectionCharacteristicsBaseVO.quantifyIsTarget && ((item.inspectionCharacteristicsBaseVO.quantifyCapping <=item.inspectionCharacteristicsBaseVO.quantifyLowlimit)||(item.inspectionCharacteristicsBaseVO.quantifyCapping <=item.inspectionCharacteristicsBaseVO.quantifyTarget)||(item.inspectionCharacteristicsBaseVO.quantifyLowlimit >= item.inspectionCharacteristicsBaseVO.quantifyTarget)))
(item.inspectionCharacteristicsBaseVO.quantifyIsCapping && item.inspectionCharacteristicsBaseVO.quantifyIsLowlimit && item.inspectionCharacteristicsBaseVO.quantifyIsTarget && ((parseFloat(item.inspectionCharacteristicsBaseVO.quantifyCapping) <=parseFloat(item.inspectionCharacteristicsBaseVO.quantifyLowlimit) )||(parseFloat(item.inspectionCharacteristicsBaseVO.quantifyCapping) <=parseFloat(item.inspectionCharacteristicsBaseVO.quantifyTarget))||(parseFloat(item.inspectionCharacteristicsBaseVO.quantifyLowlimit) >= parseFloat(item.inspectionCharacteristicsBaseVO.quantifyTarget))))
}
)
console.log(99,arr2)
if (arr2 && arr2.length > 0) {

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

@ -350,7 +350,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/countManage/count/countPlanMain/index.vue

@ -629,7 +629,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter((item) => !selection.includes(item))

5
src/views/wms/countManage/count/countRequestMain/index.vue

@ -507,7 +507,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue

@ -336,7 +336,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -348,7 +348,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -692,7 +692,10 @@ const searchTableSuccess1 = (formField, searchField, val, formRef, type, row) =>
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -359,7 +359,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -493,7 +493,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -450,7 +450,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -275,7 +275,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -375,7 +375,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -425,7 +425,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -200,17 +200,17 @@ const handleSelectionPoint = async ()=>{
}
// -
const butttondata = [
// {
// label: '',
// name: 'bqxx',
// hide: false,
// type: 'primary',
// icon: '',
// color: '',
// link: true,
// float:'right',
// hasPermi: ''
// },
{
label: '标签信息',
name: 'bqxx',
hide: false,
type: 'primary',
icon: '',
color: '',
link: true,
float:'right',
hasPermi: ''
},
defaultButtons.mainListPointBtn(null), //
// defaultButtons.mainListEditBtn({hasPermi:'wms:balance:update'}), //
// defaultButtons.mainListDeleteBtn({hasPermi:'wms:balance:delete'}), //

5
src/views/wms/inventoryManage/containerinit/containerBindRecord/index.vue

@ -260,7 +260,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/inventoryManage/containerinit/containerRepair/index.vue

@ -259,7 +259,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/inventoryManage/containerinit/containerUnbindRecord/index.vue

@ -259,7 +259,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue

@ -428,7 +428,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue

@ -380,7 +380,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue

@ -406,7 +406,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -408,7 +408,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -390,7 +390,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue

@ -371,7 +371,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -398,7 +398,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -379,7 +379,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -391,7 +391,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

66
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/unplannedreceiptJobMain.data.ts

@ -270,8 +270,8 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'fromAreaTypes',
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
isSearch: true,
isTable: true,
isSearch: false,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -310,6 +310,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '优先级',
field: 'priority',
sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: {
width: 150
},
@ -321,6 +324,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '优先级增量',
field: 'priorityIncrement',
sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: {
width: 150
},
@ -357,7 +363,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoComplete',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -376,7 +384,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyLocation',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -395,7 +405,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyQty',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -414,7 +426,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowBiggerQty',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -433,7 +447,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowSmallerQty',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -452,7 +468,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyInventoryStatus',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -471,7 +489,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowContinuousScanning',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -490,7 +510,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowPartialComplete',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -509,7 +531,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyBatch',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -528,7 +552,9 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyPackingNumber',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -630,6 +656,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
isTable:false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
@ -650,6 +677,7 @@ export const UnplannedreceiptJobMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '最后更新者',
field: 'updater',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -726,6 +754,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '单据号',
field: 'number',
sort: 'custom',
hiddenInMain:true,
table: {
width: 180
},
@ -782,6 +811,7 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '器具号',
field: 'containerNumber',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -861,6 +891,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '成本中心代码',
field: 'costcentreCode',
sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: {
width: 150
},
@ -869,6 +902,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '科目代码',
field: 'qadProjectCode',
sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: {
width: 150
},
@ -898,6 +934,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '货主代码',
field: 'ownerCode',
sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: {
width: 150
},
@ -906,6 +945,9 @@ export const UnplannedreceiptJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
label: '项目代码',
field: 'projectCode',
sort: 'custom',
isTable:false,
isTableForm:false,
isForm:false,
table: {
width: 150
},

16
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/unplannedreceiptRecordMain.data.ts

@ -298,6 +298,9 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '领用描述',
field: 'usageDescription',
sort: 'custom',
isTable:false,
isForm:false,
isTableForm:false,
table: {
width: 150
},
@ -348,6 +351,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
{
label: '备注',
field: 'remark',
isTable:false,
sort: 'custom',
table: {
width: 150
@ -357,6 +361,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '创建时间',
field: 'createTime',
formatter: dateFormatter,
isTable:false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
@ -377,6 +382,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '创建者',
field: 'creator',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -395,7 +401,7 @@ export const UnplannedreceiptRecordMain = useCrudSchemas(reactive<CrudSchema[]>(
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: false,
isTable: true,
isTable: false,
sort: 'custom',
table: {
width: 150
@ -468,6 +474,7 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
label: '单据号',
field: 'number',
sort: 'custom',
hiddenInMain:true,
table: {
width: 180
},
@ -523,6 +530,9 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
{
label: '器具号',
field: 'containerNumber',
isTable:false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150
@ -730,7 +740,9 @@ export const UnplannedreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]
field: 'interfaceType',
dictType: DICT_TYPE.INTERFACE_TYPE,
dictClass: 'string',
isTable: true,
isTable: false,
isForm:false,
isTableForm:false,
sort: 'custom',
table: {
width: 150

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

@ -600,7 +600,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

14
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/unplannedreceiptRequestMain.data.ts

@ -387,7 +387,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
isForm: false,
sort: 'custom',
table: {
@ -408,7 +408,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
isForm: false,
sort: 'custom',
table: {
@ -429,7 +429,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isTable: false,
isForm: false,
sort: 'custom',
table: {
@ -481,6 +481,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isTable:false,
sort: 'custom',
table: {
width: 180
@ -500,6 +501,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
label: '创建者',
field: 'creator',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -512,6 +514,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isTable:false,
sort: 'custom',
table: {
width: 180
@ -530,6 +533,7 @@ export const UnplannedreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>
label: '最后更新者',
field: 'updater',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -596,6 +600,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
width: 180
},
isTableForm: false,
hiddenInMain:true,
form: {
componentProps: {
disabled: true
@ -972,6 +977,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
label: '到货主代码',
field: 'toOwnerCode',
sort: 'custom',
isTable:false,
table: {
width: 150
},
@ -1143,6 +1149,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isTable:false,
sort: 'custom',
table: {
width: 180
@ -1162,6 +1169,7 @@ export const UnplannedreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[
label: '最后更新者',
field: 'updater',
sort: 'custom',
isTable:false,
table: {
width: 150
},

16
src/views/wms/issueManage/issue/issueJobMain/index.vue

@ -170,9 +170,9 @@ const butttondata = (row,$index) => {
return []
}
return [
// defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobAccBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListJobCloBtn({hide:isShowMainButton(row,['1'])}), //
// defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListJobAbaBtn({hide:isShowMainButton(row,['2'])}), // --
// defaultButtons.mainListJobExeBtn({hide:isShowMainButton(row,['2'])}), //
]
}
@ -268,13 +268,17 @@ const buttonTableClick = async (val, row) => {
}]
}]
}
IssueJobMainApi.executeIssueMain(aaa)
await IssueJobMainApi.executeIssueMain(aaa)
getList()
} else if (val == 'mainJobAba') { //
IssueJobMainApi.abandonIssueMain(row.masterId)
await IssueJobMainApi.abandonIssueMain(row.masterId)
getList()
} else if (val == 'mainJobClo') { //
IssueJobMainApi.closeIssueMain(row.masterId)
await IssueJobMainApi.closeIssueMain(row.masterId)
getList()
} else if (val == 'mainJobAcc') { //
IssueJobMainApi.acceptIssueMain(row.masterId)
await IssueJobMainApi.acceptIssueMain(row.masterId)
getList()
}
}
//

5
src/views/wms/issueManage/issue/issueRequestMain/index.vue

@ -377,7 +377,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue

@ -289,7 +289,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/issueManage/pick/pickRequestMain/index.vue

@ -294,7 +294,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

@ -432,7 +432,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -618,7 +618,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue

@ -352,7 +352,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -417,7 +417,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -655,7 +655,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue

@ -302,7 +302,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/processproduction/processproductionRequest/index.vue

@ -418,7 +418,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue

@ -538,7 +538,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -450,7 +450,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue

@ -438,7 +438,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue

@ -438,7 +438,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue

@ -438,7 +438,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productionplan/workMain/index.vue

@ -262,7 +262,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue

@ -363,7 +363,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue

@ -355,7 +355,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

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

@ -357,6 +357,12 @@ const handleExport = async () => {
//
const searchFormClick = (searchData) => {
const cmd = {
'column':'type',
'action':'==',
'value':'predict'
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters

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

@ -555,7 +555,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

2
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

@ -264,7 +264,7 @@ const tableFormButton = async (val , row) => {
mesModelVisible.value = true
DialogTitle.value = '物料代码【' + row.itemCode + '】——Mes信息'
detatableDataMes.params = {
masterId: row.masterId
masterId: row.id
}
await getDetailListMes()
}

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

@ -557,7 +557,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

6
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue

@ -292,6 +292,12 @@ const handleExport = async () => {
//
const searchFormClick = (searchData) => {
const cmd = {
'column':'type',
'action':'==',
'value':'predict'
}
searchData.filters.push(cmd)
tableObject.params = {
isSearch: true,
filters: searchData.filters

5
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

@ -547,7 +547,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

5
src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

@ -396,7 +396,10 @@ const handleAddTable = () => {
}
//
const handleDeleteTable = (item, index) => {
tableData.value.splice(index, 1)
let itemIndex = tableData.value.indexOf(item)
if(itemIndex>-1){
tableData.value.splice(itemIndex, 1)
}
}
const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save