|
@ -300,6 +300,7 @@ export default { |
|
|
JobversionValue: "", |
|
|
JobversionValue: "", |
|
|
PurchaseDateValue: "", |
|
|
PurchaseDateValue: "", |
|
|
JobversionValueVerson: "", |
|
|
JobversionValueVerson: "", |
|
|
|
|
|
selectJobVersionValue: "", |
|
|
dialogFormVisible: false, |
|
|
dialogFormVisible: false, |
|
|
multipleSelection: [], |
|
|
multipleSelection: [], |
|
|
outPutQtylist: { |
|
|
outPutQtylist: { |
|
@ -420,6 +421,7 @@ export default { |
|
|
action: 0, |
|
|
action: 0, |
|
|
value: params.value, |
|
|
value: params.value, |
|
|
}; |
|
|
}; |
|
|
|
|
|
this.selectJobVersionValue = params.value; |
|
|
this.listQuery.Filters.push(filter); |
|
|
this.listQuery.Filters.push(filter); |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
}, |
|
|
}, |
|
@ -465,14 +467,15 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
save(row) { |
|
|
save(row) { |
|
|
|
|
|
this.formLoading=true; |
|
|
if (this.formTitle == "撤销出库") { |
|
|
if (this.formTitle == "撤销出库") { |
|
|
this.CancelBills(row); |
|
|
this.CancelBills(row); |
|
|
} else if (this.formTitle == "创建出库单") { |
|
|
} else if (this.formTitle == "创建出库单") { |
|
|
this.saveBills(row); |
|
|
this.saveBills(row); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//撤销出库 |
|
|
//撤销出库 |
|
|
HandleOutPutCancel() { |
|
|
HandleOutPutCancel() { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
this.$message({ |
|
|
this.$message({ |
|
@ -526,11 +529,11 @@ export default { |
|
|
if (this.accountDatelist != "") { |
|
|
if (this.accountDatelist != "") { |
|
|
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; |
|
|
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; |
|
|
} |
|
|
} |
|
|
console.log( |
|
|
console.log( |
|
|
"无条码看板-全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) |
|
|
"无条码看板-全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) |
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
this.$axios |
|
|
this.$axios |
|
|
.posts( |
|
|
.posts( |
|
|
"/api/settleaccount/wmskanbanoutputextend/WmsKanbanOutPut-Pass", |
|
|
"/api/settleaccount/wmskanbanoutputextend/WmsKanbanOutPut-Pass", |
|
|
this.listOutPutQuery |
|
|
this.listOutPutQuery |
|
@ -563,7 +566,7 @@ export default { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
//取消出库单 |
|
|
//取消出库单 |
|
|
CancelBills(row) { |
|
|
CancelBills(row) { |
|
|
if (this.accountDatelist.accountDate == "") { |
|
|
if (this.accountDatelist.accountDate == "") { |
|
|
this.$message({ |
|
|
this.$message({ |
|
@ -616,69 +619,6 @@ export default { |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// //出库单 |
|
|
|
|
|
// save-00(row) { |
|
|
|
|
|
// this.dialogFormVisible = true; |
|
|
|
|
|
// this.resultData.errSize == 0; //重新弹窗 |
|
|
|
|
|
// //this.formLoading = true; |
|
|
|
|
|
// this.listOutPutQuery.guids = []; |
|
|
|
|
|
// this.listOutPutQuery.version = this.customerInfo.version; |
|
|
|
|
|
// this.listOutPutQuery.billNum = this.customerInfo.parentId; |
|
|
|
|
|
// if (this.accountDatelist.accountDate == "") { |
|
|
|
|
|
// this.$message({ |
|
|
|
|
|
// message: "请选择日期!", |
|
|
|
|
|
// type: "warning", |
|
|
|
|
|
// }); |
|
|
|
|
|
// this.getList(); |
|
|
|
|
|
// return; |
|
|
|
|
|
// //this.getList(); |
|
|
|
|
|
// } else { |
|
|
|
|
|
// if (this.accountDatelist != "") { |
|
|
|
|
|
// this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; |
|
|
|
|
|
// } |
|
|
|
|
|
// //this.listOutPutQuery.accountDate = this.accountDatelist; |
|
|
|
|
|
// console.log( |
|
|
|
|
|
// "无条码看板-全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) |
|
|
|
|
|
// ); |
|
|
|
|
|
// this.$axios |
|
|
|
|
|
// .posts( |
|
|
|
|
|
// "/api/settleaccount/wmskanbanoutputextend/WmsKanbanOutPut-Pass-00", |
|
|
|
|
|
// this.listOutPutQuery |
|
|
|
|
|
// ) |
|
|
|
|
|
// .then((res) => { |
|
|
|
|
|
// const index = this.list.indexOf(row); |
|
|
|
|
|
// if (res === "Success") { |
|
|
|
|
|
// this.$notify({ |
|
|
|
|
|
// title: "成功", |
|
|
|
|
|
// message: "确认成功!", |
|
|
|
|
|
// type: "success", |
|
|
|
|
|
// duration: 2000, |
|
|
|
|
|
// }); |
|
|
|
|
|
// this.accountDatelist.accountDate = ""; |
|
|
|
|
|
// this.resultData.errSize = 0; |
|
|
|
|
|
// this.dialogFormVisible = false; |
|
|
|
|
|
// this.resultData.successMessage = "出库成功!"; |
|
|
|
|
|
// this.getList(); |
|
|
|
|
|
// } else { |
|
|
|
|
|
// this.dialogFormVisible = false; |
|
|
|
|
|
// this.resultData.errTemplate = res; //指定错误模板名称,作为参数,用于错误模板下载 |
|
|
|
|
|
// this.resultData.errSize = 1; //保持大于0,用于控制错误数据下载按钮的可不可见 |
|
|
|
|
|
// this.resultData.successMessage = "有错误检验信息!"; |
|
|
|
|
|
// //alert(JSON.stringify(this.resultData)); |
|
|
|
|
|
// } |
|
|
|
|
|
// this.formLoading = false; |
|
|
|
|
|
// }) |
|
|
|
|
|
// .catch(() => { |
|
|
|
|
|
// this.formLoading = false; |
|
|
|
|
|
// }); |
|
|
|
|
|
// } |
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//删除出库单 |
|
|
//删除出库单 |
|
|
handleDelete(row) { |
|
|
handleDelete(row) { |
|
|
var params = []; |
|
|
var params = []; |
|
@ -806,6 +746,14 @@ export default { |
|
|
this.listQuery.SkipCount = (this.page - 1) * 15; |
|
|
this.listQuery.SkipCount = (this.page - 1) * 15; |
|
|
} |
|
|
} |
|
|
this.listQuery.billNum = this.customerInfo.parentId; |
|
|
this.listQuery.billNum = this.customerInfo.parentId; |
|
|
|
|
|
|
|
|
|
|
|
let filter = { |
|
|
|
|
|
Column: "state", |
|
|
|
|
|
Value: this.selectJobVersionValue, |
|
|
|
|
|
Logic: 0, |
|
|
|
|
|
Action: 0, |
|
|
|
|
|
}; |
|
|
|
|
|
this.listQuery.Filters.push(filter); |
|
|
console.log("查询条件:" + JSON.stringify(this.listQuery)); |
|
|
console.log("查询条件:" + JSON.stringify(this.listQuery)); |
|
|
this.$axios |
|
|
this.$axios |
|
|
.posts( |
|
|
.posts( |
|
|