Browse Source

修改任务提示和任务筛选添加承接人 2024/7/15 17:15:05

hella_vue3
zhang_li 3 months ago
parent
commit
c578b157ef
  1. 20
      src/pages/count/job/countJob.vue
  2. 4
      src/pages/issue/job/issueJob.vue
  3. 15
      src/pages/productPutaway/job/productPutawayJob.vue
  4. 4
      src/pages/productReceipt/job/productReceiptJob.vue
  5. 4
      src/pages/productionReceipt/job/productionReceiptJob.vue
  6. 15
      src/pages/purchaseReceipt/job/receiptJob.vue
  7. 6
      src/pages/purchaseReturn/job/returnJob.vue
  8. 17
      src/pages/putaway/job/putawayJob.vue
  9. 4
      src/pages/repleinsh/job/repleinshJob.vue
  10. 2
      src/pages/unPlanned/coms/comReceiptRecord.vue

20
src/pages/count/job/countJob.vue

@ -135,11 +135,11 @@ const getList = (type) => {
action: '==',
value: 'locationCode'
})
// filters.push({
// column: 'accept_user_id',
// action: '==',
// value: store.id
// })
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,
pageNo: pageNo.value,
@ -271,6 +271,11 @@ const getDataListByType = (code) => {
action: '==',
value: 'locationCode'
})
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,
pageNo: 1,
@ -319,6 +324,11 @@ const getScanResult = (result) => {
action: '==',
value: result.label.code
})
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,

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

@ -379,11 +379,11 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
showMessage(`物料号[${result.label.itemCode}]批次[${result.label.batch}]未查找到任务`)
showMessage(`物料号[${result.label.itemCode}]批次[${result.label.batch}]` + '未查找到任务<br>' + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
})
} catch (e) {
showMessage(e.message)

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

@ -233,7 +233,11 @@ const getDataListByType = (code) => {
action: '==',
value: code
})
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,
pageNo: 1,
@ -298,6 +302,11 @@ const getScanResult = (result) => {
column: 'status',
action: 'in',
value: '1,2'
},
{
column: 'accept_user_id',
action: '==',
value: store.id
}
// {
// column: 'fromLocationCode',
@ -329,11 +338,11 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
showMessage('未查找到任务')
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
})
} catch (e) {
showMessage(e.message)

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

@ -344,14 +344,14 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
showMessage('未查找到任务')
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
})
} catch (e) {
showMessage(e.message)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
}
}
defineExpose({

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

@ -312,11 +312,11 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
showMessage('未查找到任务')
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
})
} catch (e) {
showMessage(e.message)

15
src/pages/purchaseReceipt/job/receiptJob.vue

@ -187,7 +187,11 @@ const getDataListByType = (code, type) => {
value: code
})
}
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,
pageNo: 1,
@ -344,6 +348,11 @@ const getScanResult = (result) => {
// }
]
}
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
getPurchaseReceiptJobList({
filters,
pageNo: 1,
@ -369,14 +378,14 @@ const getScanResult = (result) => {
selectItem(list[0], result.scanMessage.indexOf('ASN') > -1)
}
} else {
showMessage('未查找到任务')
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
})
} catch (e) {
showMessage(e.message)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
}
}
defineExpose({

6
src/pages/purchaseReturn/job/returnJob.vue

@ -234,7 +234,11 @@ const getDataListByType = (code) => {
value: code
})
}
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,
pageNo: 1,

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

@ -236,7 +236,11 @@ const getDataListByType = (code) => {
action: '==',
value: code
})
filters.push({
column: 'accept_user_id',
action: '==',
value: store.id
})
const params = {
filters,
pageNo: 1,
@ -300,6 +304,11 @@ const getScanResult = (result) => {
column: 'status',
action: 'in',
value: '1,2'
},
{
column: 'accept_user_id',
action: '==',
value: store.id
}
// {
// column: 'fromLocationCode',
@ -331,14 +340,14 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
showMessage('未查找到任务')
showMessage('未查找到任务<br>' + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
})
} catch (e) {
showMessage(e.message)
showMessage(`${e}<br>扫描[${result.scanMessage}]`)
}
}
</script>

4
src/pages/repleinsh/job/repleinshJob.vue

@ -330,11 +330,11 @@ const getScanResult = (result) => {
selectItem(list[0])
}
} else {
showMessage(`物料号[${result.label.itemCode}]批次[${result.label.batch}]未查找到任务`)
showMessage(`物料号[${result.label.itemCode}]批次[${result.label.batch}]未查找到任务<br>` + `扫描[${result.scanMessage}]`)
}
})
.catch((error) => {
showMessage(error)
showMessage(`${error}<br>扫描[${result.scanMessage}]`)
})
} catch (e) {
showMessage(e.message)

2
src/pages/unPlanned/coms/comReceiptRecord.vue

@ -24,7 +24,7 @@
</uni-swipe-action>
</view> -->
<u-swipe-action :show="detail.show" :index="index" v-for="(detail, index) in dataContent.subList" :key="index" :options="detail.scaned ? scanOptions : detailOptions" bg-color="rgba(255,255,255,0)" class="u-m-b-20" @click="(...event) => swipeClick(event, detail)">
<balance :dataContent="detail" :isShowStdPack="false" :isShowStatus="true" :isShowPack="true" :isShowFromLocation="false" :isShowToLocation="false"></balance>
<balance :dataContent="item" :isShowStdPack="false" :isShowStatus="false" :isShowPack="true" :isShowFromLocation="false" :isShowToLocation="false"></balance>
</u-swipe-action>
</u-collapse-item>
</u-collapse>

Loading…
Cancel
Save