|
@@ -395,7 +395,7 @@
|
|
|
this.deptBudgetList.warehouseType = this.$route.query.warehouseType
|
|
|
this.deptBudgetList.warehouseId = this.$route.query.warehouseId
|
|
|
this.getList()
|
|
|
- getReceiptTaskNo({flag:1,warehouseName:this.deptBudgetList.warehouseName,agentKey: localStorage.getItem("ws-pf_userId")}).toPromise()
|
|
|
+ getReceiptTaskNo({flag:1,warehouseName:this.deptBudgetList.warehouseName,agentKey: localStorage.getItem('ws-pf_userId')}).toPromise()
|
|
|
.then((response) => {
|
|
|
console.log(response)
|
|
|
this.deptBudgetList1 = response
|
|
@@ -964,13 +964,16 @@
|
|
|
this.deptBudgetList.inOutFlag = 1
|
|
|
this.deptBudgetList.pcFlag = 1
|
|
|
this.deptBudgetList.statusFlag = 1
|
|
|
- his.deptBudgetList.grossWeight /= 1000
|
|
|
+ this.deptBudgetList.grossWeight /= 1000
|
|
|
this.deptBudgetList.tare /= 1000
|
|
|
this.deptBudgetList.netWeight = this.deptBudgetList.netWeight.toFixed(2)
|
|
|
this.deptBudgetList.pureWeight /= 1000
|
|
|
addstorageputList(this.deptBudgetList)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
+ if(this.reader){
|
|
|
+ this.reader.cancel()
|
|
|
+ }
|
|
|
this.$message.success('保存成功')
|
|
|
this.$router.push({
|
|
|
path: 'warehouseManagementList'
|
|
@@ -1409,6 +1412,9 @@
|
|
|
addstorageputList(this.deptBudgetList)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
+ if(this.reader){
|
|
|
+ this.reader.cancel()
|
|
|
+ }
|
|
|
this.$message.success('添加成功')
|
|
|
this.$router.push({
|
|
|
path: 'warehouseManagementList'
|