jinhui.wang

航班维护高地价计算修正,bug修复

......@@ -677,7 +677,7 @@ export default {
this.$set(
this.form,
"highAvailableWeight",
(Weight - this.form.alloctedWeight) *
(Weight - this.form.accountTotalWeight - (this.form.alloctedWeight - this.form.accountAllocatedWeight)) *
(this.form.highPriceWeightPercent / 100)
);
this.$set(
......@@ -713,7 +713,7 @@ export default {
this.$set(
this.form,
"lowAvailableWeight",
Weight - this.form.alloctedWeight - this.form.highAvailableWeight
Weight - this.form.accountTotalWeight - this.form.highAvailableWeight
);
//this.form.lowAvailableWeight = Weightall - this.form.HighAvailableWeight;
} else if (
......
......@@ -242,7 +242,9 @@ export default {
goodsStation: null,
goodsList: null
}
this.$refs['upload'].clearFiles()
if (this.openStatus == 'uploadExcel') {
this.$refs['upload'].clearFiles()
}
this.$refs["addForm"].clearValidate();
this.$emit('close')
}
......