|
@ -404,7 +404,7 @@ |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="formCount.materialGroupValue" |
|
|
v-model="formCount.materialGroupValue" |
|
|
class="my-el-select" |
|
|
class="my-el-select" |
|
|
style="width: 350px;margin-right: 15px" |
|
|
style="width: 350px; margin-right: 15px" |
|
|
size="medium" |
|
|
size="medium" |
|
|
multiple |
|
|
multiple |
|
|
placeholder="请选择" |
|
|
placeholder="请选择" |
|
@ -810,6 +810,10 @@ export default { |
|
|
name: "", |
|
|
name: "", |
|
|
type: "", |
|
|
type: "", |
|
|
}, |
|
|
}, |
|
|
|
|
|
listBillQuery: { |
|
|
|
|
|
version: "", |
|
|
|
|
|
guids: [], |
|
|
|
|
|
}, |
|
|
page: 1, |
|
|
page: 1, |
|
|
JobversionValue: "", |
|
|
JobversionValue: "", |
|
|
JobversionValueVerson: "", |
|
|
JobversionValueVerson: "", |
|
@ -870,7 +874,7 @@ export default { |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "单据流水号", |
|
|
label: "单据流水号", |
|
|
prop: "taskId", |
|
|
prop: "taskId", |
|
|
width: 85, |
|
|
width: 120, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "模块名称", |
|
|
label: "模块名称", |
|
@ -894,8 +898,8 @@ export default { |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "状态", |
|
|
label: "状态", |
|
|
prop: "FileName", |
|
|
prop: "fileName", |
|
|
width: 100, |
|
|
width: 150, |
|
|
}); |
|
|
}); |
|
|
return tempsTabs; |
|
|
return tempsTabs; |
|
|
}, |
|
|
}, |
|
@ -904,14 +908,14 @@ export default { |
|
|
handleSelectionChange(val) { |
|
|
handleSelectionChange(val) { |
|
|
this.multipleSelection = val; |
|
|
this.multipleSelection = val; |
|
|
}, |
|
|
}, |
|
|
handleConfirm(row){ |
|
|
handleConfirm(row) { |
|
|
// if (this.multipleSelection.length == 0) { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
// this.$message({ |
|
|
this.$message({ |
|
|
// message: "至少选择一行!", |
|
|
message: "至少选择一行!", |
|
|
// type: "warning", |
|
|
type: "warning", |
|
|
// }); |
|
|
}); |
|
|
// return; |
|
|
return; |
|
|
// } |
|
|
} |
|
|
var params = []; |
|
|
var params = []; |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
let myalert = ""; //声明变量,其变量必须在此声明后使用 |
|
|
if (row) { |
|
|
if (row) { |
|
@ -933,12 +937,12 @@ export default { |
|
|
}) |
|
|
}) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
this.$axios |
|
|
this.$axios |
|
|
.gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) |
|
|
.posts("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params) |
|
|
.then((response) => { |
|
|
.then((response) => { |
|
|
const index = this.list.indexOf(row); |
|
|
const index = this.list.indexOf(row); |
|
|
this.$notify({ |
|
|
this.$notify({ |
|
|
title: "成功", |
|
|
title: "成功", |
|
|
message: "生成成功", |
|
|
message: "操作成功", |
|
|
type: "success", |
|
|
type: "success", |
|
|
duration: 2000, |
|
|
duration: 2000, |
|
|
}); |
|
|
}); |
|
@ -953,7 +957,7 @@ export default { |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
//出库单 |
|
|
//出库单 |
|
|
handleCreateBills(row){ |
|
|
handleCreateBills(row) { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
if (this.multipleSelection.length == 0) { |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
message: "至少选择一行!", |
|
|
message: "至少选择一行!", |
|
@ -975,14 +979,21 @@ export default { |
|
|
}); |
|
|
}); |
|
|
myalert = "选中项"; |
|
|
myalert = "选中项"; |
|
|
} |
|
|
} |
|
|
|
|
|
this.listBillQuery.guids = params; |
|
|
|
|
|
this.listBillQuery.version = this.JobversionValue; |
|
|
|
|
|
console.log("出库单条件:" + JSON.stringify(this.listBillQuery)); |
|
|
this.$confirm("是否确认出库" + myalert + "?", "提示", { |
|
|
this.$confirm("是否确认出库" + myalert + "?", "提示", { |
|
|
confirmButtonText: "确定", |
|
|
confirmButtonText: "确定", |
|
|
cancelButtonText: "取消", |
|
|
cancelButtonText: "取消", |
|
|
type: "warning", |
|
|
type: "warning", |
|
|
}) |
|
|
}) |
|
|
.then(() => { |
|
|
.then(() => { |
|
|
|
|
|
alert(this.JobversionValue); |
|
|
this.$axios |
|
|
this.$axios |
|
|
.gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params) |
|
|
.posts( |
|
|
|
|
|
"/api/settleaccount/wmsjitoutput/WmsJitOutPut", |
|
|
|
|
|
this.listBillQuery |
|
|
|
|
|
) |
|
|
.then((response) => { |
|
|
.then((response) => { |
|
|
const index = this.list.indexOf(row); |
|
|
const index = this.list.indexOf(row); |
|
|
this.$notify({ |
|
|
this.$notify({ |
|
@ -1422,7 +1433,7 @@ export default { |
|
|
getList() { |
|
|
getList() { |
|
|
this.listLoading = true; |
|
|
this.listLoading = true; |
|
|
//导入界面中超链接过来的参数 |
|
|
//导入界面中超链接过来的参数 |
|
|
this.listQuery.name = "大众发票与结算核对明细表"; |
|
|
this.listQuery.name = "准时化结算核对明细"; |
|
|
this.listQuery.type = this.JobversionValue; |
|
|
this.listQuery.type = this.JobversionValue; |
|
|
this.$axios |
|
|
this.$axios |
|
|
.posts("/api/settleaccount/Job/list", this.listQuery) |
|
|
.posts("/api/settleaccount/Job/list", this.listQuery) |
|
|