|
@@ -1305,7 +1305,14 @@
|
|
|
this.$router.push({
|
|
|
path: 'warehouseManagementList'
|
|
|
})
|
|
|
- })
|
|
|
+ }).catch((response) => {
|
|
|
+ this.deptBudgetList.grossWeight = Math.round(this.deptBudgetList.grossWeight*1000)
|
|
|
+ this.deptBudgetList.tare = Math.round(this.deptBudgetList.tare*1000)
|
|
|
+ this.deptBudgetList.netWeight = Math.round(this.deptBudgetList.netWeight*1000)
|
|
|
+ this.deptBudgetList.pureWeight = Math.round(this.deptBudgetList.pureWeight*1000)
|
|
|
+ this.deptBudgetList.deductionAmount = Math.round(this.deptBudgetList.deductionAmount/1000)
|
|
|
+ this.deptBudgetList.deductionWeight = Math.round(this.deptBudgetList.deductionWeight*1000)
|
|
|
+ })
|
|
|
} else {
|
|
|
EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
|
|
|
return false
|