Browse Source

YT-333盘点pda盘点任务,提交报数量不能为空,实际填写数量了

syhx
YEJIAXING-PC\lenovo 2 months ago
parent
commit
f7325d9924
  1. 8
      src/pages/count/job/countLightDetail.vue

8
src/pages/count/job/countLightDetail.vue

@ -264,7 +264,7 @@
var itemCodes = []
this.allDetails.forEach(item => {
itemCodes.push(item.itemCode)
item.scaned = false
item.scaned = false
})
await getManagementPrecisions(itemCodes, that.fromLocationCode, res => {
if (res.success) {
@ -584,13 +584,13 @@
var itemCodes = []
this.allDetails.forEach(item => {
itemCodes.push(item.itemCode)
item.scaned = false
// item.scaned = false
})
getManagementPrecisions(itemCodes, this.fromLocationCode, res => {
if (res.success) {
this.managementList = res.list;
var params = this.setParams()
console.log("提交参数", JSON.stringify(params));
console.log("提交参数", params);
countJobSubmit(params).then(res => {
uni.hideLoading()
const str = res.data || ''
@ -611,7 +611,7 @@
setParams() {
var subList = []
var creator = this.$store.state.user.id
console.log(this.allDetails)
this.allDetails.forEach(item => {
if (item.scaned) {
item.countQty = item.handleQty;

Loading…
Cancel
Save