|
|
@ -300,6 +300,7 @@ export default { |
|
|
|
JobversionValue: "", |
|
|
|
PurchaseDateValue: "", |
|
|
|
JobversionValueVerson: "", |
|
|
|
selectJobVersionValue: "", |
|
|
|
dialogFormVisible: false, |
|
|
|
multipleSelection: [], |
|
|
|
outPutQtylist: { |
|
|
@ -420,6 +421,7 @@ export default { |
|
|
|
action: 0, |
|
|
|
value: params.value, |
|
|
|
}; |
|
|
|
this.selectJobVersionValue = params.value; |
|
|
|
this.listQuery.Filters.push(filter); |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
@ -465,14 +467,15 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
save(row) { |
|
|
|
this.formLoading=true; |
|
|
|
if (this.formTitle == "撤销出库") { |
|
|
|
this.CancelBills(row); |
|
|
|
} else if (this.formTitle == "创建出库单") { |
|
|
|
this.saveBills(row); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
//撤销出库 |
|
|
|
|
|
|
|
//撤销出库 |
|
|
|
HandleOutPutCancel() { |
|
|
|
if (this.multipleSelection.length == 0) { |
|
|
|
this.$message({ |
|
|
@ -526,11 +529,11 @@ export default { |
|
|
|
if (this.accountDatelist != "") { |
|
|
|
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; |
|
|
|
} |
|
|
|
console.log( |
|
|
|
console.log( |
|
|
|
"无条码看板-全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) |
|
|
|
); |
|
|
|
|
|
|
|
this.$axios |
|
|
|
this.$axios |
|
|
|
.posts( |
|
|
|
"/api/settleaccount/wmskanbanoutputextend/WmsKanbanOutPut-Pass", |
|
|
|
this.listOutPutQuery |
|
|
@ -563,7 +566,7 @@ export default { |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
//取消出库单 |
|
|
|
//取消出库单 |
|
|
|
CancelBills(row) { |
|
|
|
if (this.accountDatelist.accountDate == "") { |
|
|
|
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) { |
|
|
|
var params = []; |
|
|
@ -806,6 +746,14 @@ export default { |
|
|
|
this.listQuery.SkipCount = (this.page - 1) * 15; |
|
|
|
} |
|
|
|
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)); |
|
|
|
this.$axios |
|
|
|
.posts( |
|
|
|