Browse Source

修改任务提示和任务筛选添加承接人

hella_online_20240829
lijuncheng 4 months ago
parent
commit
8263d01dc6
  1. 16
      src/pages/count/job/countJob.vue
  2. 4
      src/pages/issue/job/issueJob.vue
  3. 16
      src/pages/productPutaway/job/productPutawayJob.vue
  4. 4
      src/pages/productReceipt/job/productReceiptJob.vue
  5. 4
      src/pages/productionReceipt/job/productionReceiptJob.vue
  6. 14
      src/pages/purchaseReceipt/job/receiptJob.vue
  7. 6
      src/pages/purchaseReturn/job/returnJob.vue
  8. 20
      src/pages/putaway/job/putawayJob.vue
  9. 4
      src/pages/repleinsh/job/repleinshJob.vue
  10. 2
      src/pages/unPlanned/coms/comReceiptRecord.vue

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

@ -167,6 +167,11 @@
// action: "==", // action: "==",
// value: this.$store.state.user.id // value: this.$store.state.user.id
// }) // })
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
pageNo: this.pageNo, pageNo: this.pageNo,
@ -310,6 +315,11 @@
action: "==", action: "==",
value: "locationCode" value: "locationCode"
}) })
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
@ -364,6 +374,12 @@
value: result.label.code value: result.label.code
}) })
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
pageNo: 1, pageNo: 1,

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

@ -422,10 +422,10 @@
} }
} else { } else {
this.showMessage("物料号[" + result.label.itemCode + "]批次[" + result.label.batch + this.showMessage("物料号[" + result.label.itemCode + "]批次[" + result.label.batch +
']未查找到任务') ']'+"未查找到任务<br>"+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {

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

@ -296,6 +296,11 @@
action: "==", action: "==",
value: code value: code
}) })
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
@ -360,7 +365,12 @@
column: "status", column: "status",
action: "in", action: "in",
value: '1,2', value: '1,2',
} },
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
// { // {
// column: "fromLocationCode", // column: "fromLocationCode",
// action: "==", // action: "==",
@ -391,10 +401,10 @@
this.selectItem(list[0]) this.selectItem(list[0])
} }
} else { } else {
this.showMessage('未查找到任务') this.showMessage("未查找到任务<br>"+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {

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

@ -401,10 +401,10 @@
this.selectItem(list[0]) this.selectItem(list[0])
} }
} else { } else {
this.showMessage('未查找到任务') this.showMessage("未查找到任务<br>"+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {

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

@ -346,10 +346,10 @@
this.selectItem(list[0]) this.selectItem(list[0])
} }
} else { } else {
this.showMessage('未查找到任务') this.showMessage("未查找到任务<br>"+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {

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

@ -258,6 +258,11 @@
value: code value: code
}) })
} }
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
@ -415,6 +420,11 @@
// } // }
] ]
} }
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
getPurchaseReceiptJobList({ getPurchaseReceiptJobList({
@ -442,10 +452,10 @@
this.selectItem(list[0],result.scanMessage.indexOf('ASN')>-1) this.selectItem(list[0],result.scanMessage.indexOf('ASN')>-1)
} }
} else { } else {
this.showMessage('未查找到任务') this.showMessage("未查找到任务<br>"+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {

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

@ -277,6 +277,12 @@
}) })
} }
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
pageNo: 1, pageNo: 1,

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

@ -56,6 +56,7 @@
import putawayJobListPopup from '@/pages/putaway/coms/putawayJobListPopup.vue' import putawayJobListPopup from '@/pages/putaway/coms/putawayJobListPopup.vue'
import putawayInfoPopup from '@/pages/putaway/coms/putawayInfoPopup.vue' import putawayInfoPopup from '@/pages/putaway/coms/putawayInfoPopup.vue'
import winScanPackJob from "@/mycomponents/scan/winScanPackJob.vue" import winScanPackJob from "@/mycomponents/scan/winScanPackJob.vue"
import { Exception } from 'sass';
export default { export default {
name: 'Putaway', name: 'Putaway',
@ -277,6 +278,12 @@
value: code value: code
}) })
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = { var params = {
filters: filters, filters: filters,
pageNo: 1, pageNo: 1,
@ -338,7 +345,12 @@
column: "status", column: "status",
action: "in", action: "in",
value: '1,2', value: '1,2',
} },
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
// { // {
// column: "fromLocationCode", // column: "fromLocationCode",
// action: "==", // action: "==",
@ -369,14 +381,14 @@
this.selectItem(list[0]) this.selectItem(list[0])
} }
} else { } else {
this.showMessage('未查找到任务') this.showMessage("未查找到任务<br>"+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {
this.showMessage(e.message) this.showMessage(e+"<br>扫描["+result.scanMessage+"]")
} }
}, },
} }

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

@ -368,10 +368,10 @@
this.selectItem(list[0]) this.selectItem(list[0])
} }
} else { } else {
this.showMessage("物料号["+result.label.itemCode+"]批次["+result.label.batch+']未查找到任务') this.showMessage("物料号["+result.label.itemCode+"]批次["+result.label.batch+']未查找到任务<br>'+"扫描["+result.scanMessage+"]")
} }
}).catch(error => { }).catch(error => {
this.showMessage(error) this.showMessage(error+"<br>扫描["+result.scanMessage+"]")
}) })
} catch (e) { } catch (e) {

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

@ -16,7 +16,7 @@
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,item,index)" <uni-swipe-action-item @click="swipeClick($event,item,index)"
:right-options="item.scaned?scanOptions:detailOptions"> :right-options="item.scaned?scanOptions:detailOptions">
<balance :dataContent="item" :isShowStdPack="false" :isShowStatus="true" :isShowPack="true" <balance :dataContent="item" :isShowStdPack="false" :isShowStatus="false" :isShowPack="true"
:isShowFromLocation="false" :isShowToLocation="false"></balance> :isShowFromLocation="false" :isShowToLocation="false"></balance>
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>

Loading…
Cancel
Save