Browse Source

主子表合并bug

master_hella_20240701
yufei0306 6 months ago
parent
commit
afc20e6c0d
  1. 2
      README.md
  2. 2
      src/views/wms/countManage/count/countJobMain/index.vue
  3. 2
      src/views/wms/countManage/count/countPlanMain/index.vue
  4. 2
      src/views/wms/countManage/count/countRecordMain/index.vue
  5. 2
      src/views/wms/countManage/count/countRequestMain/index.vue
  6. 2
      src/views/wms/countManage/countadjust/countadjustRecordMain/index.vue
  7. 2
      src/views/wms/countManage/countadjust/countadjustRequestMain/index.vue
  8. 2
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/index.vue
  9. 2
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue
  10. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnJobMain/index.vue
  11. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRecordMain/index.vue
  12. 2
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue
  13. 2
      src/views/wms/deliversettlementManage/customersettle/customersettleRecordMain/index.vue
  14. 2
      src/views/wms/deliversettlementManage/customersettle/customersettleRequestMain/index.vue
  15. 2
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/index.vue
  16. 2
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/index.vue
  17. 2
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  18. 2
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue
  19. 2
      src/views/wms/deliversettlementManage/saleShipmentMainRequest/index.vue
  20. 2
      src/views/wms/deliversettlementManage/stockup/stockupMainJob/index.vue
  21. 2
      src/views/wms/deliversettlementManage/stockup/stockupMainRecord/index.vue
  22. 2
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  23. 2
      src/views/wms/inventoryjobManage/containermanage/containerMainRequest/index.vue
  24. 2
      src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue
  25. 2
      src/views/wms/inventoryjobManage/containermanage/initialContainerMainRequest/index.vue
  26. 2
      src/views/wms/inventoryjobManage/containermanage/scrapContainerMainRequest/index.vue
  27. 2
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRecordMain/index.vue
  28. 2
      src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue
  29. 2
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue
  30. 2
      src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue
  31. 2
      src/views/wms/inventoryjobManage/scrap/scrapJobMain/index.vue
  32. 2
      src/views/wms/inventoryjobManage/scrap/scrapRecordMain/index.vue
  33. 2
      src/views/wms/inventoryjobManage/scrap/scrapRequestMain/index.vue
  34. 2
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionJobMain/index.vue
  35. 2
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/index.vue
  36. 2
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
  37. 2
      src/views/wms/inventoryjobManage/transferissue/transferissueJobMain/index.vue
  38. 2
      src/views/wms/inventoryjobManage/transferissue/transferissueRecordMain/index.vue
  39. 2
      src/views/wms/inventoryjobManage/transferissue/transferissueRequestMain/index.vue
  40. 2
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptJobMain/index.vue
  41. 2
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRecordMain/index.vue
  42. 2
      src/views/wms/inventoryjobManage/transferreceipt/transferreceiptRequestMain/index.vue
  43. 2
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueJobMain/index.vue
  44. 2
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRecordMain/index.vue
  45. 2
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue
  46. 2
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptJobMain/index.vue
  47. 2
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRecordMain/index.vue
  48. 2
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue
  49. 2
      src/views/wms/issueManage/issue/issueJobMain/index.vue
  50. 2
      src/views/wms/issueManage/issue/issueRecordMain/index.vue
  51. 2
      src/views/wms/issueManage/issue/issueRequestMain/index.vue
  52. 2
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue
  53. 2
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue
  54. 2
      src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/index.vue
  55. 2
      src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue
  56. 2
      src/views/wms/issueManage/productionreturn/productionreturnRecordMain/index.vue
  57. 2
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue
  58. 2
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue
  59. 2
      src/views/wms/issueManage/repleinsh/repleinshJobMain/index.vue
  60. 2
      src/views/wms/issueManage/repleinsh/repleinshRecordMain/index.vue
  61. 2
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue
  62. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRecordMain/index.vue
  63. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
  64. 2
      src/views/wms/moveManage/inventorymove/inventorymoveJobMain/index.vue
  65. 2
      src/views/wms/moveManage/inventorymove/inventorymoveRecordMain/index.vue
  66. 2
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
  67. 2
      src/views/wms/productionManage/offlinesettlement/offlinesettlementRecordMain/index.vue
  68. 2
      src/views/wms/productionManage/offlinesettlement/offlinesettlementRequestMain/index.vue
  69. 2
      src/views/wms/productionManage/productdismantle/productdismantleJobMain/index.vue
  70. 2
      src/views/wms/productionManage/productdismantle/productdismantleRecordMain/index.vue
  71. 2
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/index.vue
  72. 2
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  73. 2
      src/views/wms/productionManage/productionplan/productionMainAssemble/index.vue
  74. 2
      src/views/wms/productionManage/productionplan/productionMainAssembleSparePart/index.vue
  75. 2
      src/views/wms/productionManage/productionplan/productionMainPredictSparePart/index.vue
  76. 2
      src/views/wms/productionManage/productputaway/productputawayJobMain/index.vue
  77. 2
      src/views/wms/productionManage/productputaway/productputawayRecordMain/index.vue
  78. 2
      src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
  79. 2
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue
  80. 2
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue
  81. 2
      src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue
  82. 2
      src/views/wms/productionManage/productreceipt/productreceiptJobMain/index.vue
  83. 2
      src/views/wms/productionManage/productreceipt/productreceiptRecordMain/index.vue
  84. 2
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue
  85. 2
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/index.vue
  86. 2
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue
  87. 2
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue
  88. 2
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapJobMain/index.vue
  89. 2
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue
  90. 2
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
  91. 2
      src/views/wms/productionManage/productredress/productredressJobMain/index.vue
  92. 2
      src/views/wms/productionManage/productredress/productredressRecordMain/index.vue
  93. 2
      src/views/wms/productionManage/productredress/productredressRequestMain/index.vue
  94. 2
      src/views/wms/productionManage/productrepair/productrepairRecordMain/index.vue
  95. 2
      src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue
  96. 2
      src/views/wms/productionManage/productscrap/productscrapJobMain/index.vue
  97. 2
      src/views/wms/productionManage/productscrap/productscrapRecordMain/index.vue
  98. 2
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue
  99. 2
      src/views/wms/purchasereceiptManage/inspect/inspectJobMain/index.vue
  100. 2
      src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue

2
README.md

@ -81,7 +81,7 @@ PurchaseDetail:子表
3.2 在按钮回调中添加$index,固定的写死:
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
…下面是原有的按钮逻辑,不变

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

@ -194,7 +194,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -244,7 +244,7 @@ const isShowMainButton = (row, val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -286,7 +286,7 @@ const searchTableRef = ref()
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -189,7 +189,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -194,7 +194,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -129,7 +129,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}else{
return [defaultButtons.mainListDocumentPrintBtn(null),] //

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

@ -281,7 +281,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -210,7 +210,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -202,7 +202,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -151,7 +151,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}else{
return [defaultButtons.mainListDocumentPrintBtn(null),] //

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

@ -271,7 +271,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -274,7 +274,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -216,7 +216,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -182,7 +182,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -129,7 +129,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -244,7 +244,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -296,7 +296,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/inventoryjobManage/containermanage/containerRecordMain/index.vue

@ -172,7 +172,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -248,7 +248,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -271,7 +271,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -190,7 +190,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRecordMain/index.vue

@ -123,7 +123,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [defaultButtons.mainListPointBtn(null)] //

2
src/views/wms/inventoryjobManage/packageManage/packageoverMain/packageoverRequestMain/index.vue

@ -224,7 +224,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -214,7 +214,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionJobMain/index.vue

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRecordMain/index.vue

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -203,7 +203,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -184,7 +184,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -209,7 +209,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -202,7 +202,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -225,7 +225,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -311,7 +311,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -166,7 +166,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/issue/issueRecordMain/index.vue

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -198,7 +198,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -239,7 +239,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue

@ -150,7 +150,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/index.vue

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

2
src/views/wms/issueManage/productionreturn/productionreturnJobMain/index.vue

@ -158,7 +158,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/productionreturn/productionreturnRecordMain/index.vue

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -315,7 +315,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -291,7 +291,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/repleinsh/repleinshJobMain/index.vue

@ -167,7 +167,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/issueManage/repleinsh/repleinshRecordMain/index.vue

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -197,7 +197,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -174,7 +174,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -244,7 +244,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -234,7 +234,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -183,7 +183,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -398,7 +398,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -202,7 +202,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -198,7 +198,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -351,7 +351,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -221,7 +221,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -209,7 +209,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -209,7 +209,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -209,7 +209,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -152,7 +152,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -209,7 +209,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue

@ -152,7 +152,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue

@ -128,7 +128,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -201,7 +201,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -221,7 +221,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -173,7 +173,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -281,7 +281,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -161,7 +161,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -172,7 +172,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -282,7 +282,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -160,7 +160,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRecordMain/index.vue

@ -171,7 +171,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -268,7 +268,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/productionManage/productredress/productredressJobMain/index.vue

@ -106,7 +106,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return[

2
src/views/wms/productionManage/productredress/productredressRecordMain/index.vue

@ -104,7 +104,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

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

@ -223,7 +223,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -237,7 +237,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

2
src/views/wms/productionManage/productrepair/productrepairRequestMain/index.vue

@ -350,7 +350,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

@ -237,7 +237,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return []

2
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -417,7 +417,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/purchasereceiptManage/inspect/inspectJobMain/index.vue

@ -181,7 +181,7 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

2
src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue

@ -132,7 +132,7 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>0&&findIndex<$index){
if(findIndex>-1&&findIndex<$index){
return []
}
return [

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

Loading…
Cancel
Save