wms“冲销bug修改

master
mengjiao 7 months ago
parent 13a0f8df2b
commit 27382b2de1

@ -675,6 +675,32 @@ export default {
//
this.dialogVisible = true;
},
// handleUpdateSAP102(row) {
// // ids
// const ids = row.id || this.ids;
//
// //
// if (!this.ids || this.ids.length === 0) {
// this.$message.error("");
// return;
// }
//
// //
// this.dialogVisible = true;
// },
handleUpdateSAP102(row) {
this.reset();
//qualityStatus
const id = this.ids[0]
let postData = this.ids.map(id => ({ id: id }));
this.$modal.confirm('是否进行过账').then(function() {
return handleUpdateSAP102(JSON.stringify(postData));
}).then(() => {
this.getList();
this.$modal.msgSuccess("过账完成");
}).catch(() => {});
},
confirmSelection() {
if (!this.selectedType) {
this.$message.error("请选择库存类型");

Loading…
Cancel
Save