jinhui.wang

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

...@@ -677,7 +677,7 @@ export default { ...@@ -677,7 +677,7 @@ export default {
677 this.$set( 677 this.$set(
678 this.form, 678 this.form,
679 "highAvailableWeight", 679 "highAvailableWeight",
680 - (Weight - this.form.alloctedWeight) * 680 + (Weight - this.form.accountTotalWeight - (this.form.alloctedWeight - this.form.accountAllocatedWeight)) *
681 (this.form.highPriceWeightPercent / 100) 681 (this.form.highPriceWeightPercent / 100)
682 ); 682 );
683 this.$set( 683 this.$set(
...@@ -713,7 +713,7 @@ export default { ...@@ -713,7 +713,7 @@ export default {
713 this.$set( 713 this.$set(
714 this.form, 714 this.form,
715 "lowAvailableWeight", 715 "lowAvailableWeight",
716 - Weight - this.form.alloctedWeight - this.form.highAvailableWeight 716 + Weight - this.form.accountTotalWeight - this.form.highAvailableWeight
717 ); 717 );
718 //this.form.lowAvailableWeight = Weightall - this.form.HighAvailableWeight; 718 //this.form.lowAvailableWeight = Weightall - this.form.HighAvailableWeight;
719 } else if ( 719 } else if (
......
...@@ -242,7 +242,9 @@ export default { ...@@ -242,7 +242,9 @@ export default {
242 goodsStation: null, 242 goodsStation: null,
243 goodsList: null 243 goodsList: null
244 } 244 }
245 - this.$refs['upload'].clearFiles() 245 + if (this.openStatus == 'uploadExcel') {
246 + this.$refs['upload'].clearFiles()
247 + }
246 this.$refs["addForm"].clearValidate(); 248 this.$refs["addForm"].clearValidate();
247 this.$emit('close') 249 this.$emit('close')
248 } 250 }
......