|
@@ -1170,9 +1170,9 @@ export default {
|
|
//提交按钮
|
|
//提交按钮
|
|
submit() {
|
|
submit() {
|
|
|
|
|
|
- if(this.reader){
|
|
|
|
- this.reader.cancel()
|
|
|
|
- }
|
|
|
|
|
|
+ // if(this.reader){
|
|
|
|
+ // this.reader.cancel()
|
|
|
|
+ // }
|
|
if (!this.deptBudgetList.goodsName) {
|
|
if (!this.deptBudgetList.goodsName) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '货名不能为空',
|
|
message: '货名不能为空',
|
|
@@ -1752,9 +1752,9 @@ export default {
|
|
// this.deptBudgetList.netWeight = Math.round(this.dataList.netWeight*1000)
|
|
// this.deptBudgetList.netWeight = Math.round(this.dataList.netWeight*1000)
|
|
// this.deptBudgetList.pureWeight = Math.round(this.dataList.pureWeight*1000)
|
|
// this.deptBudgetList.pureWeight = Math.round(this.dataList.pureWeight*1000)
|
|
// this.deptBudgetList.deductionWeight = Math.round(this.dataList.deductionWeight*1000)
|
|
// this.deptBudgetList.deductionWeight = Math.round(this.dataList.deductionWeight*1000)
|
|
- if (this.reader) {
|
|
|
|
- this.reader.cancel()
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.reader) {
|
|
|
|
+ // this.reader.cancel()
|
|
|
|
+ // }
|
|
this.$message.success('添加成功')
|
|
this.$message.success('添加成功')
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: 'warehouseManagementList',
|
|
path: 'warehouseManagementList',
|
|
@@ -1789,9 +1789,9 @@ export default {
|
|
},
|
|
},
|
|
temporaryStorage() {
|
|
temporaryStorage() {
|
|
|
|
|
|
- if(this.reader){
|
|
|
|
- this.reader.cancel()
|
|
|
|
- }
|
|
|
|
|
|
+ // if(this.reader){
|
|
|
|
+ // this.reader.cancel()
|
|
|
|
+ // }
|
|
if (!this.deptBudgetList.goodsName) {
|
|
if (!this.deptBudgetList.goodsName) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '货名不能为空',
|
|
message: '货名不能为空',
|
|
@@ -2286,9 +2286,9 @@ export default {
|
|
addstorageputList(this.deptBudgetList)
|
|
addstorageputList(this.deptBudgetList)
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
- if (this.reader) {
|
|
|
|
- this.reader.cancel()
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.reader) {
|
|
|
|
+ // this.reader.cancel()
|
|
|
|
+ // }
|
|
this.$message.success('保存成功')
|
|
this.$message.success('保存成功')
|
|
this.$router.push({
|
|
this.$router.push({
|
|
path: 'warehouseManagementList',
|
|
path: 'warehouseManagementList',
|