|
|
@@ -947,18 +947,18 @@
|
|
|
// delete newObj.inOutAddPO.extInfo;
|
|
|
console.log('2222', obj);
|
|
|
|
|
|
- // const res = await outin.save(obj);
|
|
|
- // if (res.code == 0) {
|
|
|
- // this.$message.success('保存成功!');
|
|
|
- // }
|
|
|
+ const res = await outin.save(obj);
|
|
|
+ if (res.code == 0) {
|
|
|
+ this.$message.success('保存成功!');
|
|
|
+ }
|
|
|
|
|
|
- // this.saveLoading = false;
|
|
|
- // this.$router.push('/warehouseManagement/outgoingManagement');
|
|
|
+ this.saveLoading = false;
|
|
|
+ this.$router.push('/warehouseManagement/outgoingManagement');
|
|
|
|
|
|
- // if (res?.success) {
|
|
|
- // this.$message.success('保存成功!');
|
|
|
- // this.$router.go(-1);
|
|
|
- // }
|
|
|
+ if (res?.success) {
|
|
|
+ this.$message.success('保存成功!');
|
|
|
+ this.$router.go(-1);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
},
|