|
|
|
@ -418,6 +418,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
deleteCodeArray(index, row) {
|
|
|
|
|
this.orderEditor=true;
|
|
|
|
|
this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
@ -426,16 +427,20 @@ export default {
|
|
|
|
|
this.$refs.multipleTable.setCurrentRow();
|
|
|
|
|
this.currentRow = {};
|
|
|
|
|
this.selectedIndex = "";
|
|
|
|
|
|
|
|
|
|
//this.$message.success(this.orderEditor);
|
|
|
|
|
if (this.orderEditor) {
|
|
|
|
|
this.detailLoading = true;
|
|
|
|
|
//this.$message.success(6666);
|
|
|
|
|
if (this.$isNotBlank(row.id)) {
|
|
|
|
|
//this.$message.success(66661);
|
|
|
|
|
delApplyDetail(row.id)
|
|
|
|
|
.then(response => {
|
|
|
|
|
//this.$message.success(66662);
|
|
|
|
|
this.detailLoading = false;
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
//this.$message.success(66663);
|
|
|
|
|
this.$message.success(response.data);
|
|
|
|
|
// this.getStockOrderDetailList();
|
|
|
|
|
this.getStockOrderDetailList();
|
|
|
|
|
this.codeArray.splice(index, 1);
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|