Browse Source

删除

branch_ccpg_220107
44673626 3 years ago
parent
commit
c4d3389859
  1. 34
      vue/src/views/ux/billManage/kanbanOutOrder/detail.vue
  2. 36
      vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue
  3. 34
      vue/src/views/ux/billManage/sparepartOutOrder/detail.vue
  4. 34
      vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue
  5. 70
      vue/src/views/ux/billManage/vwOutOrder/detail.vue
  6. 34
      vue/src/views/ux/billManage/wmsCusomerKanban/detail.vue
  7. 34
      vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue
  8. 34
      vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue
  9. 34
      vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue

34
vue/src/views/ux/billManage/kanbanOutOrder/detail.vue

@ -900,23 +900,31 @@ export default {
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

36
vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue

@ -425,7 +425,7 @@ export default {
width: 250, width: 250,
}); });
tempsTabs.push({ label: "结算数量", prop: "qty", width: 100 }); tempsTabs.push({ label: "结算数量", prop: "qty", width: 100 });
tempsTabs.push({ label: "寄售库存数量", prop: "sockQty", width: 120 }); tempsTabs.push({ label: "寄售库存数量", prop: "sockQty", width: 140 });
tempsTabs.push({ label: "实际数量", prop: "realityNumber", width: 100 }); tempsTabs.push({ label: "实际数量", prop: "realityNumber", width: 100 });
tempsTabs.push({ label: "状态", prop: "state", width: 100 }); tempsTabs.push({ label: "状态", prop: "state", width: 100 });
@ -822,23 +822,31 @@ export default {
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

34
vue/src/views/ux/billManage/sparepartOutOrder/detail.vue

@ -814,23 +814,31 @@ export default {
), ),
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

34
vue/src/views/ux/billManage/sparepartOutOrder90/detail.vue

@ -711,23 +711,31 @@ export default {
), ),
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

70
vue/src/views/ux/billManage/vwOutOrder/detail.vue

@ -63,7 +63,7 @@
type="danger" type="danger"
icon="el-icon-download" icon="el-icon-download"
@click="handleDelete()" @click="handleDelete()"
>出库单删除 >删除出库单
</el-button> </el-button>
<el-button <el-button
v-else v-else
@ -770,7 +770,7 @@ export default {
// }); // });
// }) // })
// .catch(() => { // .catch(() => {
// this.$message({ // this.$message({list
// type: "info", // type: "info",
// message: "", // message: "",
// }); // });
@ -904,23 +904,17 @@ export default {
}, },
// //
handleDelete(row) { handleDelete(row) {
var params = []; var getdata = JSON.stringify(this.list);
let myalert = ""; //使 if (getdata == "[]") {
if (row) { this.$message({
// type: "info",
params.push(row.id); message: "当前列表为空,不能执行删除操作!",
myalert = row.name;
} else {
//
this.multipleSelection.forEach((element) => {
let id = element.id;
params.push(id);
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
@ -949,6 +943,52 @@ export default {
}); });
}); });
}, },
// handleDelete(row) {
// var params = [];
// let myalert = ""; //使
// if (row) {
// //
// params.push(row.id);
// myalert = row.name;
// } else {
// //
// this.multipleSelection.forEach((element) => {
// let id = element.id;
// params.push(id);
// });
// myalert = "";
// }
// this.listDeleteQuery.billNum = this.listQuery.billNum;
// console.log("" + JSON.stringify(this.listDeleteQuery));
// this.$confirm("" + myalert + "?", "", {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning",
// })
// .then(() => {
// this.$axios
// .posts(
// "/api/settleaccount/wmsjitoutput/WmsOutPutDelete",
// this.listDeleteQuery
// )
// .then((response) => {
// const index = this.list.indexOf(row);
// this.$notify({
// title: "",
// message: "",
// type: "success",
// duration: 2000,
// });
// this.getList();
// });
// })
// .catch(() => {
// this.$message({
// type: "info",
// message: "",
// });
// });
// },
/** 刷新列表 */ /** 刷新列表 */
handleHandle(data) { handleHandle(data) {
if (data.type !== "edit") { if (data.type !== "edit") {

34
vue/src/views/ux/billManage/wmsCusomerKanban/detail.vue

@ -707,23 +707,31 @@ export default {
), ),
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

34
vue/src/views/ux/vw/dataInput/OnetimeSale/detail.vue

@ -780,23 +780,31 @@ export default {
), ),
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

34
vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue

@ -830,23 +830,31 @@ export default {
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

34
vue/src/views/ux/vw/dataInput/hq_kb_output/detail.vue

@ -781,23 +781,31 @@ export default {
), ),
// //
handleDelete(row) { handleDelete(row) {
var params = []; // var params = [];
let myalert = ""; //使 // let myalert = ""; //使
if (row) { // if (row) {
// // //
params.push(row.id); // params.push(row.id);
myalert = row.name; // myalert = row.name;
} else { // } else {
// // //
this.multipleSelection.forEach((element) => { // this.multipleSelection.forEach((element) => {
let id = element.id; // let id = element.id;
params.push(id); // params.push(id);
// });
// myalert = "";
// }
var getdata = JSON.stringify(this.list);
if (getdata == "[]") {
this.$message({
type: "info",
message: "当前列表为空,不能执行删除操作!",
}); });
myalert = "选中项"; return;
} }
this.listDeleteQuery.billNum = this.listQuery.billNum; this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery)); console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", { this.$confirm("是否确认整单删除?", "提示", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",

Loading…
Cancel
Save