Browse Source

修改直接发料和直接补料扫父子包装问题

hella_online_20240819
lijuncheng 1 month ago
parent
commit
1df4f61591
  1. 78
      src/mycomponents/query/balanceQuery.vue
  2. 5
      src/pages/issue/record/directIssue.vue
  3. 2
      src/pages/repleinsh/record/directRepleinshRecord.vue

78
src/mycomponents/query/balanceQuery.vue

@ -105,80 +105,6 @@
current: 1, current: 1,
total: 18, total: 18,
tableData: [] tableData: []
// tableData: [{
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 1
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 2
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 3
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 4
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 3
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 4
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 3
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 4
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 3
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 4
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 3
// },
// {
// batch: "20240814",
// locationCode: "901",
// inventoryStatus: "OK",
// qty: 4
// }
// ]
} }
}, },
props: { props: {
@ -187,8 +113,8 @@
// default: {} // default: {}
// }, // },
businessTypeCode: { businessTypeCode: {
type: Boolean, type: String,
default: String default: ""
} }
}, },
watch: { watch: {

5
src/pages/issue/record/directIssue.vue

@ -255,7 +255,7 @@
}) })
if (checkData) { if (checkData) {
// //
this.showErrorMessage("箱码[" + pack.number + "]批次[" + balance.batch + this.showErrorMessage("扫描箱码[" + pack.number + "]批次[" + balance.batch +
"]的父包装已经扫描") "]的父包装已经扫描")
console.log("父包装已经扫描") console.log("父包装已经扫描")
} else { } else {
@ -269,7 +269,6 @@
} }
item.subList.push(newDetail); item.subList.push(newDetail);
} }
} else { } else {
// //
var checkData = item.subList.find(r => { var checkData = item.subList.find(r => {
@ -307,10 +306,8 @@
} }
item.subList.push(newDetail); item.subList.push(newDetail);
} }
} }
this.scanPopupGetFocus() this.scanPopupGetFocus()
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {

2
src/pages/repleinsh/record/directRepleinshRecord.vue

@ -303,7 +303,7 @@
}) })
if (checkData) { if (checkData) {
// //
this.$refs.comMessage.showQuestionMessage("箱码[" + checkData.parentNumber+"]" + "批次[" + balance this.$refs.comMessage.showQuestionMessage("扫描箱码[" + checkData.parentNumber+"]" + "批次[" + balance
.batch + "]是父包装,是否移除子包装", res => { .batch + "]是父包装,是否移除子包装", res => {
if (res) { if (res) {
item.subList = []; item.subList = [];

Loading…
Cancel
Save