Browse Source

生产管理标题 2024/7/11 17:32:01

pull/1/head
张立 7 months ago
parent
commit
edf39d9f04
  1. 3
      src/pages/customerReturn/job/returnDetail.vue
  2. 10
      src/pages/customerReturn/job/returnJob.vue
  3. 3
      src/pages/customerReturn/record/returnRecord.vue
  4. 10
      src/pages/customerReturn/request/customerReturnRequest.vue
  5. 3
      src/pages/customerReturn/request/customerReturnRequestDetail.vue
  6. 3
      src/pages/deliver/job/deliverDetail.vue
  7. 8
      src/pages/deliver/job/deliverJob.vue
  8. 3
      src/pages/deliver/record/deliverRecord.vue
  9. 3
      src/pages/material/materialDowngrade.vue
  10. 6
      src/pages/productPutaway/job/fgProductPutawayJob.vue
  11. 12
      src/pages/productPutaway/job/productPutawayDetail.vue
  12. 20
      src/pages/productPutaway/job/productPutawayJob.vue
  13. 6
      src/pages/productPutaway/job/semiProductPutawayJob.vue
  14. 3
      src/pages/productPutaway/record/productPutawayRecord.vue
  15. 12
      src/pages/productPutaway/request/putawayRequest.vue
  16. 3
      src/pages/productPutaway/request/putawayRequestDetail.vue
  17. 3
      src/pages/productReceipt/job/fgProductReceiptDetail.vue
  18. 6
      src/pages/productReceipt/job/fgProductReceiptJob.vue
  19. 3
      src/pages/productReceipt/job/productReceiptDetail.vue
  20. 28
      src/pages/productReceipt/job/productReceiptJob.vue
  21. 3
      src/pages/productReceipt/job/scrapReceiptDetail.vue
  22. 6
      src/pages/productReceipt/job/scrapReceiptJob.vue
  23. 6
      src/pages/productReceipt/job/semiProductReceiptJob.vue
  24. 3
      src/pages/productReceipt/record/productReceiptRecord.vue
  25. 10
      src/pages/productRecycle/job/productRecycleJob.vue
  26. 3
      src/pages/productRecycle/job/productRecycleJobDetail.vue
  27. 3
      src/pages/productRecycle/record/productRecycleRecord.vue
  28. 8
      src/pages/stockUp/job/stockUpJob.vue
  29. 3
      src/pages/stockUp/job/stockUpJobDetail.vue

3
src/pages/customerReturn/job/returnDetail.vue

@ -65,6 +65,9 @@ const detailInfoPopupRef = ref()
const comMessageRef = ref()
const comScanLocation = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
if (id.value != undefined) {
//

10
src/pages/customerReturn/job/returnJob.vue

@ -55,6 +55,7 @@ const todayTime = ref('')
const status = ref('1,2') //
const detailOptions = ref([])
const detailGiveupOptions = ref([])
const title = ref('')
const filter = ref()
const comMessageRef = ref()
const jobInfoPopupRef = ref()
@ -64,6 +65,9 @@ onShow(() => {
getList('refresh')
})
})
onLoad((option) => {
title.value = option.title
})
onReady(() => {
detailOptions.value = getDetailOption()
detailGiveupOptions.value = getDetailGiveupOption()
@ -137,7 +141,7 @@ const getList = (type) => {
const { list } = res.data
totalCount.value = res.data.total
updateTitle(`客户退货(${totalCount.value})`)
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -151,13 +155,13 @@ const getList = (type) => {
uni.stopPullDownRefresh()
}
loadingType.value = ''
updateTitle('客户退货任务')
updateTitle(title.value)
uni.hideLoading()
showErrorMessage(error)
})
}
const openJobDetail = (item) => {
proxy.$tab.navigateTo(`./returnDetail?id=${item.masterId}&status=${item.status}`)
proxy.$tab.navigateTo(`./returnDetail?id=${item.masterId}&status=${item.status}&title=${title.value}`)
}
const showItemList = (itemList) => {
jobListPopupRef.value.openPopup(itemList)

3
src/pages/customerReturn/record/returnRecord.vue

@ -75,6 +75,9 @@ const comMessageRef = ref()
const scanPopup = ref()
const scanLocationCode = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: option.title
})
const typeCode = 'CustomerReject'
getBusinessType(typeCode, (res) => {
if (res.success) {

10
src/pages/customerReturn/request/customerReturnRequest.vue

@ -52,6 +52,7 @@ const addAgainOption = ref([])
const showOptions = ref([])
const fromType = ref('requestType')
const loadingType = ref('nomore')
const title = ref('')
const requestInfoPopupRef = ref()
const filter = ref()
const comMessageRef = ref()
@ -73,6 +74,9 @@ onReachBottom(() => {
onPullDownRefresh(() => {
getList('refresh')
})
onLoad((option) => {
title.value = option.title
})
onShow(() => {
nextTick(() => {
getList('refresh')
@ -91,7 +95,7 @@ const openRequestInfoPopup = (item) => {
}
const openRequestDetail = (item) => {
uni.navigateTo({
url: `./customerReturnRequestDetail?id=${item.masterId}`
url: `./customerReturnRequestDetail?id=${item.masterId}&title=${title.value}`
})
}
const getList = (type) => {
@ -120,7 +124,7 @@ const getList = (type) => {
}
const { list } = res.data
totalCount.value = res.data.total
updateTitle(`客户退货申请(${totalCount.value})`)
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -140,7 +144,7 @@ const getList = (type) => {
if (type === 'refresh') {
uni.stopPullDownRefresh()
}
updateTitle('客户退货申请')
updateTitle(totalCount.value)
loadingType.value = ''
proxy.$modal.closeLoading()
showMessage(error)

3
src/pages/customerReturn/request/customerReturnRequestDetail.vue

@ -46,6 +46,9 @@ const detailSource = ref([]) // 绑定在页面上的数据源
const jobDetailPopup = ref()
const comMessageRef = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
getDetail()
})

3
src/pages/deliver/job/deliverDetail.vue

@ -86,6 +86,9 @@ const comMessageRef = ref()
const managementList = ref([])
const comIssueDetailCardRef = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
if (id.value != undefined) {
//

8
src/pages/deliver/job/deliverJob.vue

@ -45,12 +45,14 @@ const todayTime = ref('')
const status = ref('1,2') //
const detailOptions = ref([])
const detailGiveupOptions = ref([])
const title = ref('')
const filter = ref()
const comMessageRef = ref()
const jobInfoPopupRef = ref()
const jobListPopupRef = ref()
const businessType = ref('')
onLoad((option) => {
title.value = option.title
businessType.value = option.businessType
})
onShow(() => {
@ -138,7 +140,7 @@ const getList = (type) => {
const { list } = res.data
totalCount.value = res.data.total
updateTitle(`制品发货任务(${totalCount.value})`)
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -152,13 +154,13 @@ const getList = (type) => {
uni.stopPullDownRefresh()
}
loadingType.value = ''
updateTitle('制品发货任务')
updateTitle(title.value)
uni.hideLoading()
showMessage(error)
})
}
const openJobDetail = (item) => {
proxy.$tab.navigateTo(`./deliverDetail?id=${item.masterId}&status=${item.status}`)
proxy.$tab.navigateTo(`./deliverDetail?id=${item.masterId}&status=${item.status}&title=${title.value}`)
}
const selectedItem = (item) => {
openJobDetail(item)

3
src/pages/deliver/record/deliverRecord.vue

@ -88,6 +88,9 @@ const comMessageRef = ref()
const showCustomer = ref(false)
const toWarehouseCode = ref('')
onLoad((option) => {
uni.setNavigationBarTitle({
title: option.title
})
deliverType.value = option.deliverType
const typeCode = 'Deliver'
getBusinessType(typeCode, (res) => {

3
src/pages/material/materialDowngrade.vue

@ -89,6 +89,9 @@ export default {
}
},
onLoad(option) {
uni.setNavigationBarTitle({
title: option.title
})
this.clear()
getBusinessType(this.businessTypeCode, (res) => {
if (res.success) {

6
src/pages/productPutaway/job/fgProductPutawayJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<productPutawayJob ref="productPutawayJobRef" type="assemble"></productPutawayJob>
<productPutawayJob :title="title" ref="productPutawayJobRef" type="assemble"></productPutawayJob>
</view>
</template>
@ -10,6 +10,7 @@ import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReach
import productPutawayJob from '@/pages/productPutaway/job/productPutawayJob.vue'
const productPutawayJobRef = ref()
const title = ref('')
onShow(() => {
nextTick(() => {
if (productPutawayJobRef.value != undefined) {
@ -17,6 +18,9 @@ onShow(() => {
}
})
})
onLoad((option) => {
title.value = option.title
})
onPullDownRefresh(() => {
productPutawayJobRef.value.refresh()
})

12
src/pages/productPutaway/job/productPutawayDetail.vue

@ -91,13 +91,17 @@ onLoad((option) => {
status.value = option.status || ''
if (type.value == 'predict') {
switchCode.value = 'SemiPutawayLocationCodeValidate'
hintTitle.value = '预生产上架'
updateTitle('预生产上架详情')
// hintTitle.value = ''
// updateTitle('')
} else if (type.value == 'assemble') {
hintTitle.value = '成品入库'
switchCode.value = 'FgPutawayLocationCodeValidate'
updateTitle('成品入库详情')
// hintTitle.value = ''
// updateTitle('')
}
hintTitle.value = option.title
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
})
onShow(() => {
if (id.value != undefined) {

20
src/pages/productPutaway/job/productPutawayJob.vue

@ -45,6 +45,10 @@ const props = defineProps({
type: {
type: String,
default: 'assemble'
},
title: {
required: false,
default: ''
}
})
const jobList = ref([])
@ -132,11 +136,8 @@ const getList = (type) => {
const { list } = res.data
totalCount.value = res.data.total
if (props.type == 'predict') {
updateTitle(`预生产上架任务(${totalCount.value})`)
} else if (props.type == 'assemble') {
updateTitle(`成品入库任务(${totalCount.value})`)
}
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -149,11 +150,8 @@ const getList = (type) => {
if (type === 'refresh') {
uni.stopPullDownRefresh()
}
if (props.type == 'predict') {
updateTitle(`预生产上架任务(${totalCount.value})`)
} else if (props.type == 'assemble') {
updateTitle(`成品入库任务(${totalCount.value})`)
}
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = ''
uni.hideLoading()
showMessage(error)
@ -161,7 +159,7 @@ const getList = (type) => {
}
const openJobDetail = (item, packingNumber = '') => {
uni.navigateTo({
url: `./productPutawayDetail?id=${item.masterId}&status=${item.status}&type=${item.type}&scaned=${packingNumber}`
url: `./productPutawayDetail?id=${item.masterId}&status=${item.status}&type=${item.type}&scaned=${packingNumber}&title=${title.value}`
})
}

6
src/pages/productPutaway/job/semiProductPutawayJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<productPutawayJob ref="productPutawayJobRef" type="predict"></productPutawayJob>
<productPutawayJob :title="title" ref="productPutawayJobRef" type="predict"></productPutawayJob>
</view>
</template>
@ -10,6 +10,7 @@ import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReach
import productPutawayJob from '@/pages/productPutaway/job/productPutawayJob.vue'
const productPutawayJobRef = ref()
const title = ref('')
onShow(() => {
nextTick(() => {
if (productPutawayJobRef.value != undefined) {
@ -17,6 +18,9 @@ onShow(() => {
}
})
})
onLoad((option) => {
title.value = option.title
})
onPullDownRefresh(() => {
productPutawayJobRef.value.refresh()
})

3
src/pages/productPutaway/record/productPutawayRecord.vue

@ -77,6 +77,9 @@ const scanPopup = ref()
const comMessageRef = ref()
const type = ref('')
onLoad((option) => {
uni.setNavigationBarTitle({
title: option.title
})
type.value = option.type
if (type.value == 'predict') {
updateTitle('制品上架记录')

12
src/pages/productPutaway/request/putawayRequest.vue

@ -46,6 +46,7 @@ const addAgainOption = ref([])
const showOptions = ref([])
const fromType = ref('requestType')
const loadingType = ref('nomore')
const title = ref('')
const requestInfoPopupRef = ref()
const filter = ref()
const comMessageRef = ref()
@ -57,6 +58,9 @@ onReady(() => {
detailAndHandleOption.value = getDetailAndHandleOption()
detailAndAddAndCloseOption.value = getDetailAndAddAndCloseOption()
})
onLoad((option) => {
title.value = option.title
})
onReachBottom(() => {
//
if (loadingType.value == 'loading' || loadingType.value == 'nomore') {
@ -82,7 +86,7 @@ onNavigationBarButtonTap((e) => {
})
const openRequestDetail = (item) => {
uni.navigateTo({
url: `./putawayRequestDetail?id=${item.masterId}`
url: `./putawayRequestDetail?id=${item.masterId}&title=${title.value}`
})
}
const openRequestInfoPopup = (item) => {
@ -115,7 +119,8 @@ const getList = (type) => {
const { list } = res.data
totalCount.value = res.data.total
updateTitle(`制品上架申请(${totalCount.value})`)
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -135,7 +140,8 @@ const getList = (type) => {
if (type === 'refresh') {
uni.stopPullDownRefresh()
}
updateTitle('制品上架申请')
updateTitle(title.value)
loadingType.value = ''
proxy.$modal.closeLoading()
showMessage(error)

3
src/pages/productPutaway/request/putawayRequestDetail.vue

@ -47,6 +47,9 @@ const detailSource = ref([])
const comMessageRef = ref()
const jobDetailPopup = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
getDetail()
})

3
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -110,6 +110,9 @@ const detailInfoPopupRef = ref()
const comMessageRef = ref()
const comScanLocation = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
scanedPackingNumber.value = option.scaned || ''
if (id.value != undefined) {

6
src/pages/productReceipt/job/fgProductReceiptJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<product-receipt-job ref="productreceiptjobRef" type="assemble"></product-receipt-job>
<product-receipt-job :title="title" ref="productreceiptjobRef" type="assemble"></product-receipt-job>
</view>
</template>
@ -10,6 +10,7 @@ import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReach
import productReceiptJob from '@/pages/productReceipt/job/productReceiptJob.vue'
const productreceiptjobRef = ref()
const title = ref('')
onShow(() => {
nextTick(() => {
if (productreceiptjobRef.value != undefined) {
@ -17,6 +18,9 @@ onShow(() => {
}
})
})
onLoad((option) => {
title.value = option.title
})
onPullDownRefresh(() => {
productreceiptjobRef.value.refresh()
})

3
src/pages/productReceipt/job/productReceiptDetail.vue

@ -106,6 +106,9 @@ const scanPopup = ref()
const comScanLocation = ref()
const comMessageRef = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
scanedPackingNumber.value = option.scaned || ''
status.value = option.status || ''

28
src/pages/productReceipt/job/productReceiptJob.vue

@ -47,6 +47,10 @@ const props = defineProps({
type: {
type: String,
default: 'assemble'
},
title: {
type: String,
default: ''
}
})
const jobList = ref([])
@ -122,13 +126,8 @@ const getList = (type) => {
const { list } = res.data
totalCount.value = res.data.total
if (props.type == 'predict') {
updateTitle(`预生产收货任务(${totalCount.value})`)
} else if (props.type == 'assemble') {
updateTitle(`装配收货任务(${totalCount.value})`)
} else {
updateTitle(`报废收货任务(${totalCount.value})`)
}
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -141,13 +140,8 @@ const getList = (type) => {
if (type === 'refresh') {
uni.stopPullDownRefresh()
}
if (props.type == 'predict') {
updateTitle(`预生产收货任务(${totalCount.value})`)
} else if (props.type == 'assemble') {
updateTitle(`装配收货任务(${totalCount.value})`)
} else {
updateTitle(`报废收货任务(${totalCount.value})`)
}
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = ''
uni.hideLoading()
showMessage(error)
@ -157,15 +151,15 @@ const getList = (type) => {
const openJobDetail = (item, packingNumber = '') => {
if (props.type == 'predict') {
uni.navigateTo({
url: `./productReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}`
url: `./productReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}&title=${title.value}`
})
} else if (props.type == 'assemble') {
uni.navigateTo({
url: `./fgProductReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}`
url: `./fgProductReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}&title=${title.value}`
})
} else {
uni.navigateTo({
url: `./scrapReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}`
url: `./scrapReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}&title=${title.value}`
})
}
}

3
src/pages/productReceipt/job/scrapReceiptDetail.vue

@ -76,6 +76,9 @@ const comScanLocation = ref()
const detailInfoPopupRef = ref()
const comMessageRef = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
if (id.value != undefined) {
//

6
src/pages/productReceipt/job/scrapReceiptJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<product-receipt-job ref="productreceiptjobRef" type="scrap"></product-receipt-job>
<product-receipt-job :title="title" ref="productreceiptjobRef" type="scrap"></product-receipt-job>
</view>
</template>
@ -10,6 +10,7 @@ import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReach
import productReceiptJob from '@/pages/productReceipt/job/productReceiptJob.vue'
const productreceiptjobRef = ref()
const title = ref('')
onShow(() => {
nextTick(() => {
if (productreceiptjobRef.value != undefined) {
@ -17,6 +18,9 @@ onShow(() => {
}
})
})
onLoad((option) => {
title.value = option.title
})
onPullDownRefresh(() => {
productreceiptjobRef.value.refresh()
})

6
src/pages/productReceipt/job/semiProductReceiptJob.vue

@ -1,6 +1,6 @@
<template>
<view class="">
<product-receipt-job ref="productreceiptjobRef" type="predict"></product-receipt-job>
<product-receipt-job :title="title" ref="productreceiptjobRef" type="predict"></product-receipt-job>
</view>
</template>
@ -10,6 +10,7 @@ import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReach
import productReceiptJob from '@/pages/productReceipt/job/productReceiptJob.vue'
const productreceiptjobRef = ref()
const title = ref('')
onShow(() => {
nextTick(() => {
if (productreceiptjobRef.value != undefined) {
@ -17,6 +18,9 @@ onShow(() => {
}
})
})
onLoad((option) => {
title.value = option.title
})
onPullDownRefresh(() => {
productreceiptjobRef.value.refresh()
})

3
src/pages/productReceipt/record/productReceiptRecord.vue

@ -86,6 +86,9 @@ const workStationName = ref('')
const comMessageRef = ref()
const scanPopup = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: option.title
})
const typeCode = 'ProductReceipt'
getBusinessType(typeCode, (res) => {
if (res.success) {

10
src/pages/productRecycle/job/productRecycleJob.vue

@ -46,6 +46,7 @@ const todayTime = ref('')
const status = ref('1,2') //
const detailOptions = ref([])
const detailGiveupOptions = ref([])
const title = ref('')
const filter = ref()
const comMessageRef = ref()
const jobInfoPopupRef = ref()
@ -55,6 +56,9 @@ onShow(() => {
getList('refresh')
})
})
onLoad((option) => {
title.value = option.title
})
onReady(() => {
detailOptions.value = getDetailOption()
detailGiveupOptions.value = getDetailGiveupOption()
@ -126,7 +130,7 @@ const getList = (type) => {
}
const { list } = res.data
totalCount.value = res.data.total
updateTitle(`制品回收任务(${totalCount.value})`)
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -141,14 +145,14 @@ const getList = (type) => {
}
loadingType.value = ''
updateTitle('直接备货任务')
updateTitle(title.value)
uni.hideLoading()
showErrorMessage(error)
})
}
const openJobDetail = (item) => {
proxy.$tab.navigateTo(`./productRecycleJobDetail?id=${item.masterId}&status=${item.status}`)
proxy.$tab.navigateTo(`./productRecycleJobDetail?id=${item.masterId}&status=${item.status}&title=${title.value}`)
}
const showItemList = (itemList) => {
jobListPopupRef.value.openPopup(itemList)

3
src/pages/productRecycle/job/productRecycleJobDetail.vue

@ -67,6 +67,9 @@ const scanPopup = ref()
const comMessageRef = ref()
const jobDetailPopup = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
if (id.value != undefined) {
//

3
src/pages/productRecycle/record/productRecycleRecord.vue

@ -74,6 +74,9 @@ const toWarehouseCode = ref('')
const scanFromLocationCode = ref()
const toLocationInfo = ref({})
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
fromType.value = option.fromType
if (fromType.value == 'requestType') {
updateTitle('采购退货申请')

8
src/pages/stockUp/job/stockUpJob.vue

@ -43,6 +43,7 @@ const status = ref('1,2') // 待处理 、进行中
const detailOptions = ref([])
const detailGiveupOptions = ref([])
const filter = ref()
const title = ref('')
const comMessageRef = ref()
const jobInfoPopupRef = ref()
const jobListPopupRef = ref()
@ -51,6 +52,9 @@ onShow(() => {
getList('refresh')
})
})
onLoad((option) => {
title.value = option.title
})
onReady(() => {
detailOptions.value = getDetailOption()
detailGiveupOptions.value = getDetailGiveupOption()
@ -118,7 +122,7 @@ const getList = (type) => {
const { list } = res.data
totalCount.value = res.data.total
updateTitle(`直接备货任务(${totalCount.value})`)
updateTitle(`${title.value}(${totalCount.value})`)
loadingType.value = 'loadmore'
if (list == null || list.length == 0) {
loadingType.value = 'nomore'
@ -132,7 +136,7 @@ const getList = (type) => {
uni.stopPullDownRefresh()
}
loadingType.value = ''
updateTitle('直接备货任务')
updateTitle(title.value)
uni.hideLoading()
showErrorMessage(error)
})

3
src/pages/stockUp/job/stockUpJobDetail.vue

@ -83,6 +83,9 @@ const comMessageRef = ref()
const managementList = ref([])
const comIssueDetailCardRef = ref()
onLoad((option) => {
uni.setNavigationBarTitle({
title: `${option.title}详情`
})
id.value = option.id
if (id.value != undefined) {
//

Loading…
Cancel
Save