Browse Source

增加红旗、大众平台删除出库单功能

branch_ccpg_220107
xunyu.guo 3 years ago
parent
commit
a8879f7817
  1. 10
      vue/src/router/modules/vw_menu.js
  2. 55
      vue/src/views/ux/billManage/kanbanOutOrder/detail.vue
  3. 50
      vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue
  4. 55
      vue/src/views/ux/billManage/sparepartOutOrder/detail.vue
  5. 55
      vue/src/views/ux/billManage/vwOutOrder/detail.vue
  6. 55
      vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue
  7. 153
      vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue
  8. 55
      vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue
  9. 55
      vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue
  10. 55
      vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue
  11. 55
      vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue
  12. 55
      vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue
  13. 3
      vue/src/views/ux/vw/dataInput/hq_y_report/index.vue
  14. 4
      vue/src/views/ux/vw/dataInput/r3/index.vue

10
vue/src/router/modules/vw_menu.js

@ -30,7 +30,7 @@ const vwMenudataRouter = {
name: 'Invoices', name: 'Invoices',
meta: { meta: {
title: '发票汇总', title: '发票汇总',
roles: ['SettleAccount.Reports'], roles: ['SettleAccount.Invoices'],
icon: '对比' icon: '对比'
} }
}, },
@ -153,7 +153,7 @@ const vwMenudataRouter = {
name: 'KanBanWithCode',//命名路由 name: 'KanBanWithCode',//命名路由
meta: { meta: {
title: '看板结算输出', title: '看板结算输出',
//roles: ['SettleAccount.EstimatedStockDiffReports'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '看板' icon: '看板'
} }
}, },
@ -163,7 +163,7 @@ const vwMenudataRouter = {
name: 'KanbanUnSettled',//命名路由 name: 'KanbanUnSettled',//命名路由
meta: { meta: {
title: '看板未结输出', title: '看板未结输出',
//roles: ['SettleAccount.EstimatedStockDiffReports'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '看板' icon: '看板'
} }
}, },
@ -173,7 +173,7 @@ const vwMenudataRouter = {
name: 'KanBanWithOutCode',//命名路由 name: 'KanBanWithOutCode',//命名路由
meta: { meta: {
title: '无条码看板结算输出', title: '无条码看板结算输出',
//roles: ['SettleAccount.EstimatedStockDiffReports'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '看板' icon: '看板'
} }
}, },
@ -183,7 +183,7 @@ const vwMenudataRouter = {
name: 'SparePartReport',//命名路由 name: 'SparePartReport',//命名路由
meta: { meta: {
title: '备件结算输出', title: '备件结算输出',
//roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色) roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
icon: '供货' icon: '供货'
} }
} }

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

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -226,6 +234,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
}, },
listDeleteQuery: {
billNum: "",
},
accountDatelist:{ accountDatelist:{
accountDate:"" accountDate:""
}, },
@ -402,6 +413,50 @@ 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/wmskanbanoutput/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") {

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

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<!-- <el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button> -->
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -402,6 +410,48 @@ 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.$confirm("" + myalert + "?", "", {
// confirmButtonText: "",
// cancelButtonText: "",
// type: "warning",
// })
// .then(() => {
// this.$axios
// .posts("/api/settleaccount/Job/delete", params)
// .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") {

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

@ -32,6 +32,14 @@
@click="print()" @click="print()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -226,6 +234,9 @@ export default {
billNum: "", billNum: "",
accountDate:"" accountDate:""
}, },
listDeleteQuery: {
billNum: "",
},
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
JobversionValueVerson: "", JobversionValueVerson: "",
@ -402,6 +413,50 @@ 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/wmsSharePartoutput/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") {

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

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -225,6 +233,9 @@ export default {
billNum: "", billNum: "",
accountDate: "", accountDate: "",
}, },
listDeleteQuery: {
billNum: "",
},
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
JobversionValueVerson: "", JobversionValueVerson: "",
@ -494,6 +505,50 @@ 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") {

55
vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -225,6 +233,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
accountDate:"" accountDate:""
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -410,6 +421,50 @@ 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/WMSHQFKanbanoutput/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") {

153
vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue

@ -32,6 +32,15 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
v-model="listDeleteQuery.billNum"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -93,19 +102,21 @@
{{ scope.column.label }} {{ scope.column.label }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column prop="OutPutQty" label="出库数量" width="100">
prop="OutPutQty" <template slot-scope="scope">
label="出库数量" <el-input
width="100"> size="small"
<template slot-scope="scope"> v-model="scope.row.deliverytype"
<el-input size="small" v-model="scope.row.deliverytype" @change="handleEdit(scope.$index, scope.row)"></el-input> @change="handleEdit(scope.$index, scope.row)"
</template> ></el-input>
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="state" prop="state"
:formatter="fieldFormatter" :formatter="fieldFormatter"
label="状态" label="状态"
width="100"> width="100"
>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="table-footer"> <div class="table-footer">
@ -125,7 +136,7 @@
:title="formTitle" :title="formTitle"
width="700px" width="700px"
> >
<el-form <el-form
ref="accountDatelist" ref="accountDatelist"
:inline="true" :inline="true"
:model="accountDatelist" :model="accountDatelist"
@ -151,9 +162,7 @@
<el-button <el-button
v-loading="formLoading" v-loading="formLoading"
type="primary" type="primary"
@click="handleCreateBills()" @click="handleCreateBills()"
>确认</el-button >确认</el-button
> >
</div> </div>
@ -221,6 +230,7 @@ export default {
return {}; return {};
}, },
}, },
listQuery: { listQuery: {
Filters: [ Filters: [
{ {
@ -238,7 +248,10 @@ export default {
version: "", version: "",
guids: "", guids: "",
billNum: "", billNum: "",
accountDate:"" accountDate: "",
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -250,9 +263,9 @@ export default {
showExcelImport: false, showExcelImport: false,
tableHeight: document.documentElement.clientHeight - 230, tableHeight: document.documentElement.clientHeight - 230,
isEdit: false, isEdit: false,
accountDatelist:{ accountDatelist: {
accountDate:"" accountDate: "",
} },
}; };
}, },
mounted() { mounted() {
@ -386,44 +399,94 @@ export default {
}); });
}); });
}, },
print() { print() {
this.dialogFormVisible = true; this.dialogFormVisible = true;
}, },
// //
handleCreateBills(row) { handleCreateBills(row) {
this.dialogFormVisible = true; this.dialogFormVisible = true;
this.listLoading = true; this.listLoading = true;
this.listOutPutQuery.guids = []; this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version; this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId; this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist != "") { if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate; this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
} }
//this.listOutPutQuery.accountDate = this.accountDatelist; //this.listOutPutQuery.accountDate = this.accountDatelist;
console.log( console.log(
"未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery) "未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery)
); );
this.$axios
.posts(
"/api/settleaccount/WMSHQFKanbanoutput/WmsHQFKanbanOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
},
//
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 = "选中项";
}
// if (this.listDeleteQuery != "") {
// this.listQuery.billNum = this.listDeleteQuery.billNum;
// }
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/wmsHQFSharePartoutput/WmsOutPutDelete",
this.listDeleteQuery
)
this.$axios .then((response) => {
.posts( const index = this.list.indexOf(row);
"/api/settleaccount/WMSHQFKanbanoutput/WmsHQFKanbanOutPut-Pass", this.$notify({
this.listOutPutQuery title: "成功",
) message: "删除成功",
.then((response) => { type: "success",
const index = this.list.indexOf(row); duration: 2000,
this.$notify({ });
title: "成功", this.getList();
message: "生成成功",
type: "success",
duration: 2000,
}); });
this.getList(); })
this.listLoading = false; .catch(() => {
}) this.$message({
.catch(() => { type: "info",
this.listLoading = false; message: "已取消操作",
}); });
});
}, },
/** 刷新列表 */ /** 刷新列表 */
handleHandle(data) { handleHandle(data) {

55
vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -237,6 +245,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
accountDate: "", accountDate: "",
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -422,6 +433,50 @@ export default {
this.listLoading = false; this.listLoading = false;
}); });
}, },
//
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/WmsHQHSharePartoutput/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") {

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

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -223,6 +231,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
accountDate: "", accountDate: "",
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -412,6 +423,50 @@ export default {
this.listLoading = false; this.listLoading = false;
}); });
}, },
//
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/WmsHQHKanbanoutput/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") {

55
vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -239,6 +247,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
accountDate:"" accountDate:""
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -425,6 +436,50 @@ 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/WmsHQMSharePartoutput/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") {

55
vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue

@ -32,6 +32,14 @@
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button> </el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable
@ -225,6 +233,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
accountDate:"" accountDate:""
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -409,6 +420,50 @@ export default {
this.listLoading = false; this.listLoading = false;
}); });
},
//
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/WMSHQMKanbanoutput/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) {

55
vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue

@ -31,6 +31,14 @@
icon="el-icon-download" icon="el-icon-download"
@click="handleCancelBills()" @click="handleCancelBills()"
>取消出库(支持批量) >取消出库(支持批量)
</el-button>
<el-button
class="filter-item"
size="mini"
type="danger"
icon="el-icon-download"
@click="handleDelete()"
>删除出库单(支持批量)
</el-button> </el-button>
<el-input <el-input
v-model="searchContent" v-model="searchContent"
@ -241,6 +249,9 @@ export default {
guids: "", guids: "",
billNum: "", billNum: "",
accountDate: "", accountDate: "",
},
listDeleteQuery: {
billNum: "",
}, },
page: 1, page: 1,
JobversionValue: "", JobversionValue: "",
@ -425,6 +436,50 @@ export default {
this.listLoading = false; this.listLoading = false;
}); });
}, },
//
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/WmsHQCaroutput/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") {

3
vue/src/views/ux/vw/dataInput/hq_y_report/index.vue

@ -702,7 +702,8 @@ export default {
// //
this.multipleSelection.forEach((element) => { this.multipleSelection.forEach((element) => {
let state = element.fileName; let state = element.fileName;
if (state != "" && state != "已确认") { if (state != "" && state != "已确认")
{
this.isEdit = true; this.isEdit = true;
getbillNum += state + ","; getbillNum += state + ",";
} }

4
vue/src/views/ux/vw/dataInput/r3/index.vue

@ -17,14 +17,14 @@
>导入文件Excel >导入文件Excel
</el-button> </el-button>
<el-button <!-- <el-button
class="filter-item" class="filter-item"
size="mini" size="mini"
type="primary" type="primary"
icon="el-icon-download" icon="el-icon-download"
@click="handleDownload()" @click="handleDownload()"
>导出Csv >导出Csv
</el-button> </el-button> -->
<el-input <el-input
v-model="searchContent" v-model="searchContent"
clearable clearable

Loading…
Cancel
Save