Browse Source

uni-load-more改写u-loadmore u-popup弹出框异步问题,添加到setTimeout方法内 文件迁移Vue2升级Vue3 8/2-10/25

hella_vue3
王志国 2 weeks ago
parent
commit
ffa29b802b
  1. 2
      src/mycomponents/item/itemFilter.vue
  2. 2
      src/mycomponents/scan/winScanContainer.vue
  3. 2
      src/mycomponents/scan/winScanJobNumber.vue
  4. 2
      src/mycomponents/scan/winScanPackAndPosition.vue
  5. 2
      src/pages/count/coms/detailInfoPopup.vue
  6. 2
      src/pages/count/coms/jobInfoPopup.vue
  7. 2
      src/pages/count/coms/jobListPopup.vue
  8. 2
      src/pages/count/job/countBlindDetail.vue
  9. 2
      src/pages/count/job/countDetail1.vue
  10. 2
      src/pages/count/job/countLightDetail.vue
  11. 2
      src/pages/count/job/fuzzyCountJob.vue
  12. 2
      src/pages/customerReturn/record/recordList.vue
  13. 2
      src/pages/deliver/coms/comScanDeliverPack.vue
  14. 2
      src/pages/fg/receiptByPlan.vue
  15. 2
      src/pages/fg/receiptNoPlan.vue
  16. 2
      src/pages/inspect/job/inspectJob.vue
  17. 2
      src/pages/issue/coms/comScanIssuePack.vue
  18. 2
      src/pages/issue/coms/jobInfoPopup.vue
  19. 2
      src/pages/issue/job/issueJob0816.vue
  20. 2
      src/pages/issue/job/issueReceiptJob.vue
  21. 2
      src/pages/itemHold/record/recordList.vue
  22. 2
      src/pages/package/job/overPackageJob.vue
  23. 2
      src/pages/productDismantle/job/productDismantleJob.vue
  24. 2
      src/pages/productReceipt/job/ccProductReceiptJob.vue
  25. 2
      src/pages/productReceipt/job/completeReceiveJob.vue
  26. 2
      src/pages/productReceipt/record/recordList.vue
  27. 2
      src/pages/productionReturn/coms/comScanReturnPack.vue
  28. 2
      src/pages/productionReturn/job/holdToReturnJob.vue
  29. 2
      src/pages/productionReturn/job/okToReturnJob.vue
  30. 2
      src/pages/productionReturn/record/returnToHoldRecordList.vue
  31. 2
      src/pages/putaway/job/quantityPutawayJob.vue
  32. 2
      src/pages/query/item.vue
  33. 2
      src/pages/query/location.vue
  34. 2
      src/pages/query/pack.vue
  35. 2
      src/pages/repleinsh/coms/comScanReplishPack.vue
  36. 2
      src/pages/repleinsh/request/repleinshRequest.vue
  37. 2
      src/pages/stockUp/coms/comScanStockUpPack.vue
  38. 2
      src/pages/transfer/job/transferJob.vue

2
src/mycomponents/item/itemFilter.vue

@ -64,7 +64,7 @@ const state = ref([])
const show = ref(false)
const scanNumber = ref()
const locationCode = ref()
const scanAsnNumber = ref(null)
//
const maskClick = () => {
//

2
src/mycomponents/scan/winScanContainer.vue

@ -39,8 +39,8 @@ const show = ref(false)
const scan = ref()
const comMessageRef = ref()
const openScanPopup = () => {
show.value = true
setTimeout((res) => {
show.value = true
getfocus()
}, 500)
}

2
src/mycomponents/scan/winScanJobNumber.vue

@ -41,8 +41,8 @@ const scanList = ref([])
const expendIcon = ref('arrow-down')
const scan = ref()
const openScanPopup = () => {
isShow.value = true
setTimeout((res) => {
isShow.value = true
getfocus()
}, 500)
}

2
src/mycomponents/scan/winScanPackAndPosition.vue

@ -81,8 +81,8 @@ const openScanPopup = () => {
showErrorMessage(error)
})
}
isShow.value = true
setTimeout((res) => {
isShow.value = true
getfocus()
}, 500)
}

2
src/pages/count/coms/detailInfoPopup.vue

@ -25,7 +25,7 @@ const openPopup = (val) => {
dataContent.value = val
setTimeout((res) => {
show.value = true
}, 100)
}, 500)
}
const closePopup = () => {
show.value = false

2
src/pages/count/coms/jobInfoPopup.vue

@ -42,7 +42,7 @@
dataContent.value = val
setTimeout((res) => {
show.value = true
}, 100)
}, 500)
}
const closePopup = () => {
show.value = false

2
src/pages/count/coms/jobListPopup.vue

@ -20,7 +20,7 @@ const openPopup = (items) => {
receiptList.value = items
setTimeout((res) => {
show.value = true
}, 100)
}, 500)
}
const closePopup = () => {
show.value = false

2
src/pages/count/job/countBlindDetail.vue

@ -43,7 +43,7 @@
</u-swipe-action>
</view>
</scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length > 0" />
<u-loadmore :status="loadingType" v-if="showList.length > 0" />
</view>
<view class="page-footer">

2
src/pages/count/job/countDetail1.vue

@ -45,7 +45,7 @@
</u-swipe-action>
</view>
</scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length > 0" />
<u-loadmore :status="loadingType" v-if="showList.length > 0" />
</view>
<view class="page-footer">

2
src/pages/count/job/countLightDetail.vue

@ -47,7 +47,7 @@
</uni-swipe-action>
</view>
</scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length > 0" />
<u-loadmore :status="loadingType" v-if="showList.length > 0" />
</view>
<view class="page-footer">

2
src/pages/count/job/fuzzyCountJob.vue

@ -14,7 +14,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopup"></job-info-popup>
<uni-load-more :status="loadingType" />
<u-loadmore :status="loadingType" />
</view>
<win-scan-button @goScan="openScanPopup" v-if="jobList.length > 0"></win-scan-button>
<winScanPackJob title="库位" ref="scanPopup" @getResult="getScanResult"> </winScanPackJob>

2
src/pages/customerReturn/record/recordList.vue

@ -12,7 +12,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopup'></job-info-popup>
<uni-load-more :status="loadingType" />
<u-loadmore :status="loadingType" />
</view>
<win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>

2
src/pages/deliver/coms/comScanDeliverPack.vue

@ -144,8 +144,8 @@ const openScanPopup = (content, jobcontent) => {
jobContent.value = jobcontent
initData()
// positionInfo.value = `${jobContent.value.workShopCode}-${jobContent.value.subList[0].productionLineCode}-${jobContent.value.subList[0].workStationCode}`
show.value = true
setTimeout((res) => {
show.value = true
getfocus()
}, 500)
}

2
src/pages/fg/receiptByPlan.vue

@ -72,7 +72,7 @@
</view>
</scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length>0" />
<u-loadmore :status="loadingType" v-if="showList.length>0" />
</view>
<view class="page-footer" style="position: fixed;bottom: 0;width:100%" v-if="dataContent">
<view class="uni-flex u-col-center space-between " style="background-color:ghostwhite; width: 100%; ">

2
src/pages/fg/receiptNoPlan.vue

@ -62,7 +62,7 @@
</view>
</scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length>0" />
<u-loadmore :status="loadingType" v-if="showList.length>0" />
</view>
<view class="page-footer" v-if="dataContent">
<view class="uni-flex u-col-center space-between " style="background-color:ghostwhite; width: 100%; ">

2
src/pages/inspect/job/inspectJob.vue

@ -11,7 +11,7 @@
</view>
</uni-swipe-action>
<uni-load-more :status="loadingType" v-if="jobList.length > 0" />
<u-loadmore :status="loadingType" v-if="jobList.length > 0" />
<inspectInfoPopup ref="jobInfoPopup"></inspectInfoPopup>
<com-inspect-job-list ref="comReceiptJobList" @selectedItem="selectedItem"></com-inspect-job-list>
</view>

2
src/pages/issue/coms/comScanIssuePack.vue

@ -134,8 +134,8 @@ const openScanPopup = (content, jobcontentParams) => {
initData()
// this.positionInfo = this.jobContent.workShopCode + "-" + this.jobContent.subList[0].productionLineCode +
// "-" + this.jobContent.subList[0].workStationCode
show.value = true
setTimeout((res) => {
show.value = true
getfocus()
}, 500)
}

2
src/pages/issue/coms/jobInfoPopup.vue

@ -29,7 +29,7 @@ const openPopup = (val) => {
dataContent.value = val
setTimeout((res) => {
show.value = true
}, 100)
}, 500)
}
const closePopup = () => {
show.value = false

2
src/pages/issue/job/issueJob0816.vue

@ -30,7 +30,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopup'></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length>0" />
<u-loadmore :status="loadingType" v-if="jobList.length>0" />
</view>
<win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode">

2
src/pages/issue/job/issueReceiptJob.vue

@ -16,7 +16,7 @@
</view>
</uni-swipe-action>
<uni-load-more :status="loadingType" v-if="issueList.length>0" />
<u-loadmore :status="loadingType" v-if="issueList.length>0" />
<winScanAsnNumber ref="scanAsnNumber" title="ASN" @getScanCode='getByAsnNumber'></winScanAsnNumber>
<winScanJobNumber ref="scanNumber" title="任务编号" @getScanCode='getByNumber'></winScanJobNumber>
<comMessage ref="comMessage"></comMessage>

2
src/pages/itemHold/record/recordList.vue

@ -13,7 +13,7 @@
<job-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopupRef'></job-info-popup>
<uni-load-more :status="loadingType"/>
<u-loadmore :status="loadingType"/>
</view>
<win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>

2
src/pages/package/job/overPackageJob.vue

@ -10,7 +10,7 @@
</u-swipe-action>
<job-info-popup ref="jobInfoPopupRef"></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length > 0" />
<u-loadmore :status="loadingType" v-if="jobList.length > 0" />
</view>
<win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult'

2
src/pages/productDismantle/job/productDismantleJob.vue

@ -15,7 +15,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopup"></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length > 0" />
<u-loadmore :status="loadingType" v-if="jobList.length > 0" />
</view>
<comMessage ref="comMessage"></comMessage>
</view>

2
src/pages/productReceipt/job/ccProductReceiptJob.vue

@ -18,7 +18,7 @@
<job-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopupRef"></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length > 0" />
<u-loadmore :status="loadingType" v-if="jobList.length > 0" />
<win-scan-button @goScan="openScanPopup" v-if="jobList.length > 0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult="getScanResult"></winScanPackJob>
<jobList ref="jobList" @selectItem="selectItem"></jobList>

2
src/pages/productReceipt/job/completeReceiveJob.vue

@ -15,7 +15,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopup"></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length > 0" />
<u-loadmore :status="loadingType" v-if="jobList.length > 0" />
<comMessage ref="comMessage"></comMessage>
</view>
</view>

2
src/pages/productReceipt/record/recordList.vue

@ -15,7 +15,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopup'></job-info-popup>
<uni-load-more :status="loadingType" />
<u-loadmore :status="loadingType" />
</view>
<win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>

2
src/pages/productionReturn/coms/comScanReturnPack.vue

@ -108,8 +108,8 @@ const openScanPopup = (content, jobcontent) => {
dataContent.value = content
jobContent.value = jobcontent
initData()
show.value = true
setTimeout((res) => {
show.value = true
getfocus()
}, 500)
}

2
src/pages/productionReturn/job/holdToReturnJob.vue

@ -15,7 +15,7 @@
<job-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopupRef'></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length>0"/>
<u-loadmore :status="loadingType" v-if="jobList.length>0"/>
</view>
<comMessage ref="comMessageRef"></comMessage>

2
src/pages/productionReturn/job/okToReturnJob.vue

@ -15,7 +15,7 @@
<job-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopupRef'></job-info-popup>
<uni-load-more :status="loadingType" v-if="jobList.length>0" />
<u-loadmore :status="loadingType" v-if="jobList.length>0" />
</view>
<comMessage ref="comMessageRef"></comMessage>

2
src/pages/productionReturn/record/returnToHoldRecordList.vue

@ -13,7 +13,7 @@
<job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopup'></job-info-popup>
<uni-load-more :status="loadingType" />
<u-loadmore :status="loadingType" />
</view>
<win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>

2
src/pages/putaway/job/quantityPutawayJob.vue

@ -60,7 +60,7 @@
<putaway-info-popup ref='jobInfoPopup'></putaway-info-popup>
<putaway-job-list-popup ref="jobListPopup" @selectedItem="selectedItem"></putaway-job-list-popup>
<!-- <uni-load-more :status="loadingType" v-if="jobList.length>0" /> -->
<!-- <u-loadmore :status="loadingType" v-if="jobList.length>0" /> -->
</view>

2
src/pages/query/item.vue

@ -30,7 +30,7 @@
</comItemDetailCard>
</view>
</view>
<uni-load-more :status="loadingType" v-if="dataList.length > 0" />
<u-loadmore :status="loadingType" v-if="dataList.length > 0" />
</view>
<win-scan-button @goScan="openScanPopup" v-if="itemCode != ''"></win-scan-button>
<win-scan-item ref="scanPopup" title="物料代码" @getScanResult="getScanCode"> </win-scan-item>

2
src/pages/query/location.vue

@ -26,7 +26,7 @@
</comLocationDetailCard>
</view>
</view>
<uni-load-more :status="loadingType" v-if="dataList.length > 0" />
<u-loadmore :status="loadingType" v-if="dataList.length > 0" />
</view>
<win-scan-button @goScan="openScanPopup" v-if="locationCode != ''"></win-scan-button>

2
src/pages/query/pack.vue

@ -15,7 +15,7 @@
<comPackDetailCard :isShowPack="false" :dataContent="item" style="margin: 10rpx"> </comPackDetailCard>
</view>
</view>
<uni-load-more :status="loadingType" v-if="dataList.length > 0" />
<u-loadmore :status="loadingType" v-if="dataList.length > 0" />
</view>
<win-scan-button @goScan="openScanPopup" v-if="packingNumber != ''"></win-scan-button>

2
src/pages/repleinsh/coms/comScanReplishPack.vue

@ -107,8 +107,8 @@ const openScanPopup = (content, jobcontent) => {
dataContent.value = content
jobContent.value = jobcontent
initData()
show.value = true
setTimeout((res) => {
show.value = true
getfocus()
}, 500)
}

2
src/pages/repleinsh/request/repleinshRequest.vue

@ -9,7 +9,7 @@
</uni-swipe-action-item>
</view>
</uni-swipe-action>
<uni-load-more :status="loadingType" />
<u-loadmore :status="loadingType" />
<request-info-popup ref='requestInfoPopup'></request-info-popup>
</view>

2
src/pages/stockUp/coms/comScanStockUpPack.vue

@ -136,8 +136,8 @@ const openScanPopup = (content, jobcontent) => {
jobContent.value = jobcontent
initData()
positionInfo.value = `${jobContent.value.workShopCode}-${jobContent.value.subList[0].productionLineCode}-${jobContent.value.subList[0].workStationCode}`
show.value = true
setTimeout((res) => {
show.value = true
getfocus()
}, 500)
}

2
src/pages/transfer/job/transferJob.vue

@ -17,7 +17,7 @@
</view>
</uni-swipe-action>
<uni-load-more :status="loadingType" v-if="receiptList.length>0" />
<u-loadmore :status="loadingType" v-if="receiptList.length>0" />
<win-scan-asn-number ref="scanAsnNumber" title="ASN" @getScanCode='getByAsnNumber'></win-scan-asn-number>
<win-scan-job-number ref="scanNumber" title="任务编号" @getScanCode='getByNumber'></win-scan-job-number>
<job-info-popup ref='jobInfoPopup'></job-info-popup>

Loading…
Cancel
Save