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 show = ref(false)
const scanNumber = ref() const scanNumber = ref()
const locationCode = ref() const locationCode = ref()
const scanAsnNumber = ref(null)
// //
const maskClick = () => { const maskClick = () => {
// //

2
src/mycomponents/scan/winScanContainer.vue

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

2
src/mycomponents/scan/winScanJobNumber.vue

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

2
src/mycomponents/scan/winScanPackAndPosition.vue

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

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

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

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

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

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

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

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

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

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

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

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

@ -47,7 +47,7 @@
</uni-swipe-action> </uni-swipe-action>
</view> </view>
</scroll-view> </scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length > 0" /> <u-loadmore :status="loadingType" v-if="showList.length > 0" />
</view> </view>
<view class="page-footer"> <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-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopup"></job-info-popup> <job-info-popup ref="jobInfoPopup"></job-info-popup>
<uni-load-more :status="loadingType" /> <u-loadmore :status="loadingType" />
</view> </view>
<win-scan-button @goScan="openScanPopup" v-if="jobList.length > 0"></win-scan-button> <win-scan-button @goScan="openScanPopup" v-if="jobList.length > 0"></win-scan-button>
<winScanPackJob title="库位" ref="scanPopup" @getResult="getScanResult"> </winScanPackJob> <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-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopup'></job-info-popup> <job-info-popup ref='jobInfoPopup'></job-info-popup>
<uni-load-more :status="loadingType" /> <u-loadmore :status="loadingType" />
</view> </view>
<win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button> <win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob> <winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>

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

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

2
src/pages/fg/receiptByPlan.vue

@ -72,7 +72,7 @@
</view> </view>
</scroll-view> </scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length>0" /> <u-loadmore :status="loadingType" v-if="showList.length>0" />
</view> </view>
<view class="page-footer" style="position: fixed;bottom: 0;width:100%" v-if="dataContent"> <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%; "> <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> </view>
</scroll-view> </scroll-view>
<uni-load-more :status="loadingType" v-if="showList.length>0" /> <u-loadmore :status="loadingType" v-if="showList.length>0" />
</view> </view>
<view class="page-footer" v-if="dataContent"> <view class="page-footer" v-if="dataContent">
<view class="uni-flex u-col-center space-between " style="background-color:ghostwhite; width: 100%; "> <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> </view>
</uni-swipe-action> </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> <inspectInfoPopup ref="jobInfoPopup"></inspectInfoPopup>
<com-inspect-job-list ref="comReceiptJobList" @selectedItem="selectedItem"></com-inspect-job-list> <com-inspect-job-list ref="comReceiptJobList" @selectedItem="selectedItem"></com-inspect-job-list>
</view> </view>

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

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

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

@ -29,7 +29,7 @@ const openPopup = (val) => {
dataContent.value = val dataContent.value = val
setTimeout((res) => { setTimeout((res) => {
show.value = true show.value = true
}, 100) }, 500)
} }
const closePopup = () => { const closePopup = () => {
show.value = false 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-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopup'></job-info-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> </view>
<win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button> <win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode"> <winComScanBalance ref="scanPopup" @getBalance='getScanResult' :bussinessCode="businessTypeCode">

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

@ -16,7 +16,7 @@
</view> </view>
</uni-swipe-action> </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> <winScanAsnNumber ref="scanAsnNumber" title="ASN" @getScanCode='getByAsnNumber'></winScanAsnNumber>
<winScanJobNumber ref="scanNumber" title="任务编号" @getScanCode='getByNumber'></winScanJobNumber> <winScanJobNumber ref="scanNumber" title="任务编号" @getScanCode='getByNumber'></winScanJobNumber>
<comMessage ref="comMessage"></comMessage> <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-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref='jobInfoPopupRef'></job-info-popup> <job-info-popup ref='jobInfoPopupRef'></job-info-popup>
<uni-load-more :status="loadingType"/> <u-loadmore :status="loadingType"/>
</view> </view>
<win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button> <win-scan-button @goScan='openScanPopup' v-if="recordList.length>0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob> <winScanPackJob ref="scanPopup" @getResult='getScanResult'></winScanPackJob>

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

@ -10,7 +10,7 @@
</u-swipe-action> </u-swipe-action>
<job-info-popup ref="jobInfoPopupRef"></job-info-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> </view>
<win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button> <win-scan-button @goScan='openScanPopup' v-if="jobList.length>0"></win-scan-button>
<winComScanBalance ref="scanPopup" @getBalance='getScanResult' <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-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopup"></job-info-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> </view>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
</view> </view>

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

@ -18,7 +18,7 @@
<job-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup> <job-list-popup ref="jobListPopupRef" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopupRef"></job-info-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> <win-scan-button @goScan="openScanPopup" v-if="jobList.length > 0"></win-scan-button>
<winScanPackJob ref="scanPopup" @getResult="getScanResult"></winScanPackJob> <winScanPackJob ref="scanPopup" @getResult="getScanResult"></winScanPackJob>
<jobList ref="jobList" @selectItem="selectItem"></jobList> <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-list-popup ref="jobListPopup" @selectedItem="selectedItem"></job-list-popup>
<job-info-popup ref="jobInfoPopup"></job-info-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> <comMessage ref="comMessage"></comMessage>
</view> </view>
</view> </view>

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

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

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

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

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

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

2
src/pages/query/item.vue

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

2
src/pages/query/location.vue

@ -26,7 +26,7 @@
</comLocationDetailCard> </comLocationDetailCard>
</view> </view>
</view> </view>
<uni-load-more :status="loadingType" v-if="dataList.length > 0" /> <u-loadmore :status="loadingType" v-if="dataList.length > 0" />
</view> </view>
<win-scan-button @goScan="openScanPopup" v-if="locationCode != ''"></win-scan-button> <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> <comPackDetailCard :isShowPack="false" :dataContent="item" style="margin: 10rpx"> </comPackDetailCard>
</view> </view>
</view> </view>
<uni-load-more :status="loadingType" v-if="dataList.length > 0" /> <u-loadmore :status="loadingType" v-if="dataList.length > 0" />
</view> </view>
<win-scan-button @goScan="openScanPopup" v-if="packingNumber != ''"></win-scan-button> <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 dataContent.value = content
jobContent.value = jobcontent jobContent.value = jobcontent
initData() initData()
show.value = true
setTimeout((res) => { setTimeout((res) => {
show.value = true
getfocus() getfocus()
}, 500) }, 500)
} }

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

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

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

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

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

@ -17,7 +17,7 @@
</view> </view>
</uni-swipe-action> </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-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> <win-scan-job-number ref="scanNumber" title="任务编号" @getScanCode='getByNumber'></win-scan-job-number>
<job-info-popup ref='jobInfoPopup'></job-info-popup> <job-info-popup ref='jobInfoPopup'></job-info-popup>

Loading…
Cancel
Save