rev:修改单据作业任务回显问题;add:手持拣选功能;fix:入阻挡分配到原来货位问题
This commit is contained in:
@@ -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 = []
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user