Browse Source

修改发料和发料接收任务筛选2024/7/23 16:52:17

hella_vue3
zhang_li 2 months ago
parent
commit
323b67c8ad
  1. 12
      src/mycomponents/detail/comDetailCard.vue
  2. 13
      src/mycomponents/job/jobFilter.vue
  3. 2
      src/pages/fg/coms/comReceiptPopup.vue
  4. 4
      src/pages/fg/receiptByPlan.vue
  5. 4
      src/pages/issue/coms/comIssueJobCard.vue
  6. 50
      src/pages/issue/job/issueJob.vue
  7. 10
      src/pages/package/record/overPackageRecord.vue
  8. 4
      src/pages/productionReceipt/coms/comProductionJobCard.vue
  9. 52
      src/pages/productionReceipt/job/productionReceiptJob.vue
  10. 4
      src/pages/putaway/job/putawayDetail.vue
  11. 30
      src/pages/putaway/job/putawayJob.vue

12
src/mycomponents/detail/comDetailCard.vue

@ -90,12 +90,12 @@ watch(
} }
) )
onMounted(() => { onMounted(() => {
// if (detailOptions.value.length == 0) { if (detailOptions.value.length == 0) {
// detailOptions.value = getDetailOption() detailOptions.value = getDetailOption()
// } }
// if (scanOptions.value.length == 0) { if (scanOptions.value.length == 0) {
// scanOptions.value = getPurchaseReceiptOption(props.settingParam.allowModifyQty, false) scanOptions.value = getPurchaseReceiptOption(settingParam.value.allowModifyQty, false)
// } }
nextTick((res) => { nextTick((res) => {
collapse.value.init() collapse.value.init()
}) })

13
src/mycomponents/job/jobFilter.vue

@ -101,13 +101,8 @@ watch(
) )
// 线 // 线
const productionLineCodeConfirm = () => { const productionLineCodeConfirm = (e) => {
let lineCode = '' const lineCode = e
productionline.value.forEach((item) => {
if (item.text == productionLineCode.value) {
lineCode = item.value
}
})
emit('productionLineCode', productionLineCode.value) emit('productionLineCode', productionLineCode.value)
} }
// //
@ -144,9 +139,11 @@ const switchChangeWait = (isOn) => {
} }
const scanNumberClick = () => { const scanNumberClick = () => {
scanNumber.value.openScanPopup() scanNumber.value.openScanPopup()
closeScanPopup()
} }
const scanOtherClick = () => { const scanOtherClick = () => {
scanAsnNumber.value.openScanPopup() scanAsnNumber.value.openScanPopup()
closeScanPopup()
} }
const getScanAsNumber = (val) => { const getScanAsNumber = (val) => {
emit('onScanAsnNumber', val) emit('onScanAsnNumber', val)
@ -158,7 +155,7 @@ const getScanNumber = (val) => {
scanNumber.value.closeScanPopup() scanNumber.value.closeScanPopup()
closeScanPopup() closeScanPopup()
} }
const emit = defineEmits(['switchChangeToday', 'switchChangeWait', 'onScanNumber', 'onScanAsnNumber', 'productionLineCode', 'fromLocationCode']) const emit = defineEmits(['switchChangeToday', 'switchChangeWait', 'onScanNumber', 'onScanAsnNumber', 'productionLineCode', 'fromLocationCode', 'fromLocationCodeConfirm'])
defineExpose({ openFilter }) defineExpose({ openFilter })
</script> </script>
<style lang="scss"> <style lang="scss">

2
src/pages/fg/coms/comReceiptPopup.vue

@ -322,7 +322,7 @@ export default {
uni.hideLoading() uni.hideLoading()
if (res.data && res.data.length > 0) { if (res.data && res.data.length > 0) {
res.data.forEach((item) => { res.data.forEach((item) => {
item.label = `${item.itemCode}${item.planQty}${item.uom})` + `(${dateFormatData(item.planDate)})` item.label = `${item.itemCode}${item.planQty}${this.getUomInfo(item.uom)})` + `(${dateFormatData(item.planDate)})`
item.value = item item.value = item
}) })
this.itemCodeList = res.data this.itemCodeList = res.data

4
src/pages/fg/receiptByPlan.vue

@ -187,7 +187,7 @@ const submit = () => {
} }
if (allList.value.length < dataContent.value.packQty) { if (allList.value.length < dataContent.value.packQty) {
comMessageRef.value.showQuestionMessage('扫描数量小于计划数量,是否提交?', (res) => { comMessageRef.value.showQuestionMessage('扫描数量小于包装规格数量,是否提交?', (res) => {
if (res) { if (res) {
commit() commit()
} }
@ -271,7 +271,7 @@ const commit = async () => {
throw new Error('未查找到单据信息') throw new Error('未查找到单据信息')
} }
uni.hideLoading() uni.hideLoading()
showCommitSuccessMessage('提交成功<br>生成报工记录<br>', list) showCommitSuccessMessage('提交成功<br>生成装配收货记录<br>', list)
} catch (error) { } catch (error) {
uni.hideLoading() uni.hideLoading()
const hint = error.message ? error.message : error const hint = error.message ? error.message : error

4
src/pages/issue/coms/comIssueJobCard.vue

@ -1,6 +1,10 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard> <jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<view class="">
<text style="font-size: 32rpx; margin-left: 35rpx">生产线</text>
<text style="font-size: 35rpx; margin-left: 10rpx; font-weight: bold">{{ dataContent.productionLineCode }}</text>
</view>
</job-com-main-card> </job-com-main-card>
</template> </template>

50
src/pages/issue/job/issueJob.vue

@ -1,7 +1,7 @@
<template> <template>
<view class=""> <view class="">
<com-empty-view v-if="jobList.length == 0"></com-empty-view> <com-empty-view v-if="jobList.length == 0"></com-empty-view>
<job-filter :isShowFromLocationCode="true" :isShowProductionLineCode="true" :productionline="productionline" ref="filter" otherTitle="" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" @productionLineCode="productionLineCode" @fromLocationCode="fromLocationCode"> </job-filter> <job-filter :isShowFromLocationCode="true" :isShowProductionLineCode="true" :productionline="productionlineList" ref="filter" otherTitle="" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" @productionLineCode="productionLineCode" @fromLocationCode="fromLocationCode"> </job-filter>
<view v-if="jobList.length > 0" class="u-m-20"> <view v-if="jobList.length > 0" class="u-m-20">
<u-swipe-action :show="item.show" :index="index" v-for="(item, index) in jobList" :key="index" :options="item.status == '2' ? detailGiveupOptions : detailOptions" bg-color="rgba(255,255,255,0)" class="u-m-b-20" @click="swipeClick"> <u-swipe-action :show="item.show" :index="index" v-for="(item, index) in jobList" :key="index" :options="item.status == '2' ? detailGiveupOptions : detailOptions" bg-color="rgba(255,255,255,0)" class="u-m-b-20" @click="swipeClick">
<com-issue-job-card :dataContent="item" @click="openJobDetail(item)"></com-issue-job-card> <com-issue-job-card :dataContent="item" @click="openJobDetail(item)"></com-issue-job-card>
@ -53,8 +53,10 @@ const todayTime = ref('')
const status = ref('1,2') // const status = ref('1,2') //
const detailOptions = ref([]) const detailOptions = ref([])
const detailGiveupOptions = ref([]) const detailGiveupOptions = ref([])
const productionline = ref([]) const productionlineList = ref([])
const title = ref('') const title = ref('')
const productionLine = ref('')
const fromLocation = ref('')
const filter = ref() const filter = ref()
const scanMessage = ref('') const scanMessage = ref('')
const comMessageRef = ref() const comMessageRef = ref()
@ -64,7 +66,7 @@ const scanPopup = ref()
const jobListRef = ref() const jobListRef = ref()
onShow(() => { onShow(() => {
nextTick(() => { nextTick(() => {
getList('refresh') getList('refresh', fromLocation.value, productionLine.value)
}) })
}) })
onLoad((option) => { onLoad((option) => {
@ -80,10 +82,10 @@ onReachBottom(() => {
if (loadingType.value == 'loading' || loadingType.value == 'nomore') { if (loadingType.value == 'loading' || loadingType.value == 'nomore') {
return return
} }
getList('more') getList('more', productionLine.value)
}) })
onPullDownRefresh(() => { onPullDownRefresh(() => {
getList('refresh') getList('refresh', productionLine.value)
}) })
// 退 // 退
onBackPress((options) => { onBackPress((options) => {
@ -106,16 +108,20 @@ const getIssueJobByProductionline1 = () => {
getIssueJobByProductionline().then((res) => { getIssueJobByProductionline().then((res) => {
console.log('生产线', res) console.log('生产线', res)
if (res.code == 0) { if (res.code == 0) {
productionline.value = res.data.map((item) => ({ productionlineList.value = res.data.map((item) => ({
value: item.value, value: item.value,
text: item.name text: item.name
})) }))
productionlineList.value.unshift({
value: '',
text: '全部'
})
} else { } else {
productionline.value = [] productionlineList.value = []
} }
}) })
} }
const getList = (type, fromLocationCode = '', productionLineCode = '') => { const getList = (type, fromLocation = '', productionLine = '') => {
proxy.$modal.loading('加载中­....') proxy.$modal.loading('加载中­....')
loadingType.value = 'loading' loadingType.value = 'loading'
if (type === 'refresh') { if (type === 'refresh') {
@ -142,20 +148,20 @@ const getList = (type, fromLocationCode = '', productionLineCode = '') => {
action: '==', action: '==',
value: store.id value: store.id
}) })
if (fromLocationCode != '') { if (fromLocation) {
// //
filters.push({ filters.push({
column: 'fromLocationCode', column: 'fromLocationCode',
action: '==', action: '==',
value: fromLocationCode value: fromLocation
}) })
} }
if (productionLineCode != '') { if (productionLine) {
// 线 // 线
filters.push({ filters.push({
column: 'productionLineCode', column: 'productionLineCode',
action: '==', action: '==',
value: productionLineCode value: productionLine
}) })
} }
const params = { const params = {
@ -223,13 +229,14 @@ const swipeClick = (index, index1) => {
}) })
} }
} }
const fromLocationCode = (fromLocationCode) => { const fromLocationCode = (fromLocationParams) => {
getList('refresh', fromLocationCode, '') fromLocation.value = fromLocationParams
getList('refresh', fromLocation.value, productionLine.value)
} }
const productionLineCode = (productionLineCode) => { const productionLineCode = (productionLineCode) => {
console.log('productionLineCode', productionLineCode) productionLine.value = productionLineCode
getList('refresh', '', productionLineCode) getList('refresh', fromLocation.value, productionLine.value)
} }
const getByAsnNumber = (code) => { const getByAsnNumber = (code) => {
proxy.$modal.loading('加载中­....') proxy.$modal.loading('加载中­....')
@ -258,7 +265,7 @@ const cancleJob = (id) => {
cancleTakeIssueJob(id) cancleTakeIssueJob(id)
.then((res) => { .then((res) => {
if (res.data) { if (res.data) {
getList('refresh') getList('refresh', fromLocation.value, productionLine.value)
uni.showToast({ uni.showToast({
title: '放弃任务成功' title: '放弃任务成功'
}) })
@ -273,12 +280,12 @@ const cancleJob = (id) => {
const switchChangeToday = (state, creationTime) => { const switchChangeToday = (state, creationTime) => {
checkedToday.value = state checkedToday.value = state
todayTime.value = creationTime todayTime.value = creationTime
getList('refresh') getList('refresh', fromLocation.value, productionLine.value)
} }
const switchChangeWait = (state, jobStatus) => { const switchChangeWait = (state, jobStatus) => {
checkedWaitTask.value = state checkedWaitTask.value = state
status.value = jobStatus status.value = jobStatus
getList('refresh') getList('refresh', fromLocation.value, productionLine.value)
} }
const getScanNumber = (code) => { const getScanNumber = (code) => {
getDataListByType(code) getDataListByType(code)
@ -296,6 +303,11 @@ const getDataListByType = (code) => {
action: '==', action: '==',
value: code value: code
}) })
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = { const params = {
filters, filters,
pageNo: 1, pageNo: 1,

10
src/pages/package/record/overPackageRecord.vue

@ -208,6 +208,8 @@ const setData = (result) => {
if (balance.lableQty) { if (balance.lableQty) {
newDetail.handleQty = balance.lableQty newDetail.handleQty = balance.lableQty
} }
newDetail.parentNumber = pack.parentNumber
newDetail.packingNumber = pack.number
itemp.subList.push(newDetail) itemp.subList.push(newDetail)
detailSource.value.push(itemp) detailSource.value.push(itemp)
itemCode.value = balance.itemCode itemCode.value = balance.itemCode
@ -225,6 +227,8 @@ const setData = (result) => {
if (balance.lableQty) { if (balance.lableQty) {
newDetail.handleQty = balance.lableQty newDetail.handleQty = balance.lableQty
} }
newDetail.parentNumber = pack.parentNumber
newDetail.packingNumber = pack.number
item.subList.push(newDetail) item.subList.push(newDetail)
scanPopupGetFocus() scanPopupGetFocus()
} else if (detail.scaned == true) { } else if (detail.scaned == true) {
@ -349,8 +353,7 @@ const setParams = () => {
detailSource.value.forEach((item) => { detailSource.value.forEach((item) => {
item.subList.forEach((detail) => { item.subList.forEach((detail) => {
if (detail.scaned) { if (detail.scaned) {
const subItem = {} const subItem = deepCopyData(detail)
Object.assign(subItem, detail)
subItem.itemCode = detail.itemCode subItem.itemCode = detail.itemCode
subItem.itemName = detail.package.itemName subItem.itemName = detail.package.itemName
subItem.itemDesc1 = detail.package.itemDesc1 subItem.itemDesc1 = detail.package.itemDesc1
@ -358,6 +361,7 @@ const setParams = () => {
subItem.fromInventoryStatus = detail.inventoryStatus subItem.fromInventoryStatus = detail.inventoryStatus
subItem.fromQty = detail.handleQty subItem.fromQty = detail.handleQty
subItem.fromParentPackingNumber = detail.parentNumber
subItem.fromPackingNumber = detail.packingNumber subItem.fromPackingNumber = detail.packingNumber
subItem.fromBatch = detail.batch subItem.fromBatch = detail.batch
subItem.fromLocationCode = detail.locationCode subItem.fromLocationCode = detail.locationCode
@ -406,6 +410,8 @@ const showCommitSuccessMessage = (hint, pointData) => {
fromLocationCode.value = '' fromLocationCode.value = ''
dataContent.value = {} dataContent.value = {}
itemCode.value = '' itemCode.value = ''
toPackUnitShow.value = '请选择'
toPackQty.value = ''
if (pointData.length > 0) { if (pointData.length > 0) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/point/index?points=${JSON.stringify(pointData)}` url: `/pages/point/index?points=${JSON.stringify(pointData)}`

4
src/pages/productionReceipt/coms/comProductionJobCard.vue

@ -1,6 +1,10 @@
<template> <template>
<job-com-main-card :dataContent="dataContent"> <job-com-main-card :dataContent="dataContent">
<jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard> <jobComMainDetailCard :dataContent="dataContent"></jobComMainDetailCard>
<view class="">
<text style="font-size: 32rpx; margin-left: 35rpx">生产线</text>
<text style="font-size: 35rpx; margin-left: 10rpx; font-weight: bold">{{ dataContent.productionLineCode }}</text>
</view>
</job-com-main-card> </job-com-main-card>
</template> </template>

52
src/pages/productionReceipt/job/productionReceiptJob.vue

@ -1,7 +1,7 @@
<template> <template>
<view class=""> <view class="">
<com-empty-view v-if="jobList.length == 0"></com-empty-view> <com-empty-view v-if="jobList.length == 0"></com-empty-view>
<job-filter ref="filter" otherTitle="ASN" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask"> </job-filter> <job-filter ref="filter" otherTitle="ASN" @switchChangeToday="switchChangeToday" @switchChangeWait="switchChangeWait" @onScanNumber="getScanNumber" :checkedToday="checkedToday" :checkedWaitTask="checkedWaitTask" :isShowProductionLineCode="true" @productionLineCode="productionLineCode" :productionline="productionLineList"> </job-filter>
<view v-if="jobList.length > 0" class="u-m-20"> <view v-if="jobList.length > 0" class="u-m-20">
<u-swipe-action :show="item.show" :index="index" v-for="(item, index) in jobList" :key="index" :options="item.status == '2' ? detailGiveupOptions : detailOptions" bg-color="rgba(255,255,255,0)" class="u-m-b-20" @click="swipeClick"> <u-swipe-action :show="item.show" :index="index" v-for="(item, index) in jobList" :key="index" :options="item.status == '2' ? detailGiveupOptions : detailOptions" bg-color="rgba(255,255,255,0)" class="u-m-b-20" @click="swipeClick">
<com-production-job-card :dataContent="item" @click="openJobDetail(item)"> </com-production-job-card> <com-production-job-card :dataContent="item" @click="openJobDetail(item)"> </com-production-job-card>
@ -22,7 +22,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, getCurrentInstance, nextTick } from 'vue' import { ref, getCurrentInstance, nextTick } from 'vue'
import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app' import { onLoad, onShow, onNavigationBarButtonTap, onReady, onBackPress, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app'
import { getProductionReceiptJobList, cancleTakeProductionReceiptJob } from '@/api/request2.js' import { getProductionReceiptJobList, cancleTakeProductionReceiptJob, getIssueJobByProductionline } from '@/api/request2.js'
import { goHome, updateTitle } from '@/common/basic.js' import { goHome, updateTitle } from '@/common/basic.js'
@ -57,17 +57,20 @@ const detailGiveupOptions = ref([])
const filter = ref() const filter = ref()
const title = ref('') const title = ref('')
const scanMessage = ref('') const scanMessage = ref('')
const productionLineList = ref([])
const productionLine = ref('')
const comMessageRef = ref() const comMessageRef = ref()
const jobInfoPopupRef = ref() const jobInfoPopupRef = ref()
const jobListPopupRef = ref() const jobListPopupRef = ref()
const jobListRef = ref() const jobListRef = ref()
onShow(() => { onShow(() => {
nextTick(() => { nextTick(() => {
getList('refresh') getList('refresh', productionLine.value)
}) })
}) })
onLoad((option) => { onLoad((option) => {
title.value = option.title title.value = option.title
getIssueJobByProductionline()
}) })
onReady(() => { onReady(() => {
detailOptions.value = getDetailOption() detailOptions.value = getDetailOption()
@ -78,10 +81,10 @@ onReachBottom(() => {
if (loadingType.value == 'loading' || loadingType.value == 'nomore') { if (loadingType.value == 'loading' || loadingType.value == 'nomore') {
return return
} }
getList('more') getList('more', productionLine.value)
}) })
onPullDownRefresh(() => { onPullDownRefresh(() => {
getList('refresh') getList('refresh', productionLine.value)
}) })
// 退 // 退
onBackPress((options) => { onBackPress((options) => {
@ -100,7 +103,28 @@ onNavigationBarButtonTap((e) => {
filter.value.openFilter() filter.value.openFilter()
} }
}) })
const getList = (type) => { const productionLineCode = (productionLineCode) => {
productionLine.value = productionLineCode
getList('refresh', productionLine.value)
}
const getIssueJobByProductionline = () => {
getIssueJobByProductionline().then((res) => {
console.log('生产线', res)
if (res.code == 0) {
productionLineList.value = res.data.map((item) => ({
value: item.value,
text: item.name
}))
productionLineList.value.unshift({
value: '',
text: '全部'
})
} else {
productionLineList = []
}
})
}
const getList = (type, productionLine = '') => {
proxy.$modal.loading('加载中­....') proxy.$modal.loading('加载中­....')
loadingType.value = 'loading' loadingType.value = 'loading'
if (type === 'refresh') { if (type === 'refresh') {
@ -127,6 +151,14 @@ const getList = (type) => {
action: '==', action: '==',
value: store.id value: store.id
}) })
if (productionLine) {
// 线
filters.push({
column: 'productionLineCode',
action: '==',
value: productionLine
})
}
const params = { const params = {
filters, filters,
pageNo: pageNo.value, pageNo: pageNo.value,
@ -161,7 +193,7 @@ const getList = (type) => {
}) })
} }
const openJobDetail = (item, scanMessage = '') => { const openJobDetail = (item, scanMessage = '') => {
proxy.$tab.navigateTo(`./productionReceiptDetail?id=${item.masterId}&status=${item.status}&scaned=${packingNumber}`) proxy.$tab.navigateTo(`./productionReceiptDetail?id=${item.masterId}&status=${item.status}&scanMessage=${scanMessage}&title=${title.value}`)
scanMessage.value = '' scanMessage.value = ''
} }
const selectedItem = (item) => { const selectedItem = (item) => {
@ -198,7 +230,7 @@ const cancleJob = (id) => {
cancleTakeProductionReceiptJob(id) cancleTakeProductionReceiptJob(id)
.then((res) => { .then((res) => {
if (res.data) { if (res.data) {
getList('refresh') getList('refresh', productionLine.value)
uni.showToast({ uni.showToast({
title: '放弃任务成功' title: '放弃任务成功'
}) })
@ -213,12 +245,12 @@ const cancleJob = (id) => {
const switchChangeToday = (state, creationTime) => { const switchChangeToday = (state, creationTime) => {
checkedToday.value = state checkedToday.value = state
todayTime.value = creationTime todayTime.value = creationTime
getList('refresh') getList('refresh', productionLine.value)
} }
const switchChangeWait = (state, jobStatus) => { const switchChangeWait = (state, jobStatus) => {
checkedWaitTask.value = state checkedWaitTask.value = state
status.value = jobStatus status.value = jobStatus
getList('refresh') getList('refresh', productionLine.value)
} }
const getScanNumber = (code) => { const getScanNumber = (code) => {
getDataListByType(code) getDataListByType(code)

4
src/pages/putaway/job/putawayDetail.vue

@ -264,6 +264,10 @@ const getScanResult = (result) => {
const { itemCode } = result.label const { itemCode } = result.label
const locationCode = result.fromLocationCode const locationCode = result.fromLocationCode
// const inventoryStatus = 'OK' // const inventoryStatus = 'OK'
if (!result.balance) {
showMessage(`箱码【${packingNumber}】没有库存余额`)
return
}
const detail = detailSource.value.find((r) => r.itemCode == itemCode) const detail = detailSource.value.find((r) => r.itemCode == itemCode)
if (detail == undefined) { if (detail == undefined) {

30
src/pages/putaway/job/putawayJob.vue

@ -307,14 +307,14 @@ const getScanResult = (result) => {
{ {
column: 'status', column: 'status',
action: 'in', action: 'in',
value: '1,2' value: '1,2,3'
},
{
column: 'accept_user_id',
action: '==',
value: store.id
} }
// { // {
// column: 'accept_user_id',
// action: '==',
// value: store.id
// }
// {
// column: 'fromLocationCode', // column: 'fromLocationCode',
// action: '==', // action: '==',
// value: result.label.fromLocationCode // value: result.label.fromLocationCode
@ -339,10 +339,22 @@ const getScanResult = (result) => {
list.push(item) list.push(item)
} }
}) })
if (list.length > 1) { if (list.length == 1) {
jobListRef.value.openList(list) //
if (list[0].status == 1) {
selectItem(list[0])
} else if (list[0].status == 2) {
//
if (list[0].acceptUserId == store.id) {
selectItem(list[0])
} else {
showMessage(`该任务已经被[${list[0].acceptUserName}]承接` + `<br>任务号[${list[0].number}]扫描[${result.scanMessage}]`)
}
} else if (list[0].status == 3) {
showMessage(`该任务已经完成<br>承接人[${list[0].acceptUserName}]<br>任务号[${list[0].number}]扫描[${result.scanMessage}]`)
}
} else { } else {
selectItem(list[0]) showMessage('查询到多条任务<br>' + `扫描[${result.scanMessage}]`)
} }
} else { } else {
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`) showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`)

Loading…
Cancel
Save