rev:修改单据作业任务回显问题;add:手持拣选功能;fix:入阻挡分配到原来货位问题

This commit is contained in:
zhangzq
2024-07-25 11:30:32 +08:00
parent f5a6fe6e93
commit c43966f630
18 changed files with 115 additions and 33 deletions

View File

@@ -364,7 +364,7 @@ export default {
queryTableDdis() {
if (this.currentDtl !== null && this.currentDtl.vehicle_code != null) {
crudProduct.getVehicleTask({'vehicle_code': this.currentDtl.vehicle_code}).then(res => {
crudProduct.getVehicleTask({'vehicle_id': this.currentDtl.vehicle_id}).then(res => {
this.tabledis = res
}).catch(() => {
this.tabledis = []

View File

@@ -237,7 +237,7 @@ export default {
},
queryTableDdis() {
if (this.currentdtl !== null && this.currentdtl.vehicle_code!=null) {
crudProductIn.getVehicleTask({ 'vehicle_code': this.currentdtl.vehicle_code }).then(res => {
crudProductIn.getVehicleTask({ 'vehicle_id': this.currentdtl.vehicle_id }).then(res => {
this.tabledis = res
}).catch(() => {
this.tabledis = []

View File

@@ -210,12 +210,21 @@ export default {
if (current !== null) {
this.tabledis = []
this.currentdtl = current
this.divdis(this.currentdtl)
this.queryTableDdis()
} else {
this.tabledis = []
this.currentdtl = {}
}
},
queryTableDdis() {
if (this.currentdtl !== null && this.currentdtl.vehicle_code!=null) {
crudProductIn.getVehicleTask({ 'vehicle_id': this.currentdtl.vehicle_id }).then(res => {
this.tabledis = res
}).catch(() => {
this.tabledis = []
})
}
},
invtypeFormat(row, column) {
for (const item of this.billtypelist) {
if (item.code === row.source_bill_type) {

View File

@@ -67,6 +67,14 @@ export function taskOpen(data) {
})
}
export function getVehicleTask(data) {
return request({
url: '/api/schBaseTask/getVehicleTask',
method: 'post',
data
})
}
export function cancelMst(id) {
return request({
url: "/api/stIvtIostorinvOut/cancelMst/" + id,
@@ -84,4 +92,5 @@ export default {
divDis,
cancelMst,
taskOpen,
getVehicleTask
}

View File

@@ -266,7 +266,7 @@ export default {
})
},
queryTableDis(currentDtl) {
crudStructattr.getVehicleTask({ 'vehicle_code': currentDtl.vehicle_code }).then(res => {
crudStructattr.getVehicleTask({ 'vehicle_id': currentDtl.vehicle_id }).then(res => {
this.tabledis = res
})
}

View File

@@ -250,7 +250,7 @@ export default {
})
},
queryTableDis(currentDtl) {
crudStructattr.getVehicleTask({ 'vehicle_code': currentDtl.vehicle_code }).then(res => {
crudStructattr.getVehicleTask({ 'vehicle_id': currentDtl.vehicle_id }).then(res => {
this.tabledis = res
})
}