|
@@ -990,10 +990,10 @@ export default {
|
|
|
this.deptBudgetList.inOutFlag = 1
|
|
|
this.deptBudgetList.pcFlag = 1
|
|
|
this.deptBudgetList.statusFlag = 1
|
|
|
- this.deptBudgetList.grossWeight /= 1000
|
|
|
- this.deptBudgetList.tare /= 1000
|
|
|
- this.deptBudgetList.netWeight /= 1000
|
|
|
- this.deptBudgetList.pureWeight /= 1000
|
|
|
+ his.deptBudgetList.grossWeight /= 1000
|
|
|
+ this.deptBudgetList.tare /= 1000
|
|
|
+ this.deptBudgetList.netWeight /= 1000
|
|
|
+ this.deptBudgetList.pureWeight /= 1000
|
|
|
addstorageputList(this.deptBudgetList)
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
@@ -1409,9 +1409,11 @@ export default {
|
|
|
this.$refs.deptBudgetList.validate((valid) => {
|
|
|
if (valid) {
|
|
|
this.deptBudgetList.grossWeight /= 1000
|
|
|
- this.deptBudgetList.tare /= 1000
|
|
|
- this.deptBudgetList.netWeight /= 1000
|
|
|
- this.deptBudgetList.pureWeight /= 1000
|
|
|
+ this.deptBudgetList.tare /= 1000
|
|
|
+ this.deptBudgetList.netWeight /= 1000
|
|
|
+ this.deptBudgetList.pureWeight /= 1000
|
|
|
+ this.deptBudgetList.deductionAmount *= 1000
|
|
|
+ this.deptBudgetList.deductionWeight /= 1000
|
|
|
this.deptBudgetList.compId = sessionStorage.getItem('ws-pf_compId')
|
|
|
this.deptBudgetList.inOutFlag = 1
|
|
|
this.deptBudgetList.statusFlag = 3
|