|
|
@@ -1421,15 +1421,15 @@
|
|
|
|
|
|
console.log('====>>', obj);
|
|
|
|
|
|
- // this.saveLoading = true;
|
|
|
- // try {
|
|
|
- // const res = await outin.save(obj);
|
|
|
- // if (res.code == 0) {
|
|
|
- // this.$message.success('保存成功!');
|
|
|
- // }
|
|
|
- // } catch (error) {}
|
|
|
- // this.saveLoading = false;
|
|
|
- // this.$router.push('/warehouseManagement/stockManagement');
|
|
|
+ this.saveLoading = true;
|
|
|
+ try {
|
|
|
+ const res = await outin.save(obj);
|
|
|
+ if (res.code == 0) {
|
|
|
+ this.$message.success('保存成功!');
|
|
|
+ }
|
|
|
+ } catch (error) {}
|
|
|
+ this.saveLoading = false;
|
|
|
+ this.$router.push('/warehouseManagement/stockManagement');
|
|
|
}
|
|
|
});
|
|
|
},
|