Browse Source

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

hella_online_20240829
lijuncheng 5 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: "==",
// value: this.$store.state.user.id
// })
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = {
filters: filters,
pageNo: this.pageNo,
@ -310,6 +315,11 @@
action: "==",
value: "locationCode"
})
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = {
filters: filters,
@ -363,6 +373,12 @@
action: "==",
value: result.label.code
})
filters.push({
column: "accept_user_id",
action: "==",
value: this.$store.state.user.id
})
var params = {
filters: filters,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -16,7 +16,7 @@
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,item,index)"
: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>
</uni-swipe-action-item>
</uni-swipe-action>

Loading…
Cancel
Save