jinhui.wang

航班维护页面bug修正

...@@ -223,30 +223,30 @@ ...@@ -223,30 +223,30 @@
223 </el-col> 223 </el-col>
224 224
225 <el-col :span="12"> 225 <el-col :span="12">
226 - <el-form-item label="高价可配重量" prop="HighAvailableWeight"> 226 + <el-form-item label="高价可配重量" prop="highAvailableWeight">
227 227
228 <el-input-number :disabled="true" placeholder="请输入高价可配重量" style="width:93%" 228 <el-input-number :disabled="true" placeholder="请输入高价可配重量" style="width:93%"
229 - v-model="form.HighAvailableWeight" :precision="2"></el-input-number> 229 + v-model="form.highAvailableWeight" :precision="2"></el-input-number>
230 </el-form-item> 230 </el-form-item>
231 </el-col> 231 </el-col>
232 <el-col :span="12"> 232 <el-col :span="12">
233 - <el-form-item label="低价可配重量" prop="LowAvailableWeight"> 233 + <el-form-item label="低价可配重量" prop="lowAvailableWeight">
234 <el-input-number :disabled="true" placeholder="请输入低价可配重量" style="width:93%" 234 <el-input-number :disabled="true" placeholder="请输入低价可配重量" style="width:93%"
235 - v-model="form.LowAvailableWeight" :precision="2"></el-input-number> 235 + v-model="form.lowAvailableWeight" :precision="2"></el-input-number>
236 </el-form-item> 236 </el-form-item>
237 </el-col> 237 </el-col>
238 238
239 239
240 <el-col :span="12"> 240 <el-col :span="12">
241 - <el-form-item label="高价已配重量" prop="HighAllocatedWeight"> 241 + <el-form-item label="高价已配重量" prop="highAllocatedWeight">
242 <el-input-number :disabled="true" placeholder="请输入高价已配重量" style="width:93%" 242 <el-input-number :disabled="true" placeholder="请输入高价已配重量" style="width:93%"
243 - v-model="form.HighAllocatedWeight" :precision="2"></el-input-number> 243 + v-model="form.highAllocatedWeight" :precision="2"></el-input-number>
244 </el-form-item> 244 </el-form-item>
245 </el-col> 245 </el-col>
246 <el-col :span="12"> 246 <el-col :span="12">
247 - <el-form-item label="低价已配重量" prop="LowAllocatedWeight"> 247 + <el-form-item label="低价已配重量" prop="lowAllocatedWeight">
248 <el-input-number :disabled="true" placeholder="请输入低价已配重量" style="width:93%" 248 <el-input-number :disabled="true" placeholder="请输入低价已配重量" style="width:93%"
249 - v-model="form.LowAllocatedWeight" :precision="2"></el-input-number> 249 + v-model="form.lowAllocatedWeight" :precision="2"></el-input-number>
250 </el-form-item> 250 </el-form-item>
251 </el-col> 251 </el-col>
252 <el-col :span="12"> 252 <el-col :span="12">
...@@ -529,8 +529,8 @@ ...@@ -529,8 +529,8 @@
529 this.form.id = null; 529 this.form.id = null;
530 this.form.statusId = this.flightStatuslist[0].id; 530 this.form.statusId = this.flightStatuslist[0].id;
531 this.form.alloctedWeight = 0; //已配重量 531 this.form.alloctedWeight = 0; //已配重量
532 - this.form.LowAllocatedWeight = 0; //低价已配重量 532 + this.form.lowAllocatedWeight = 0; //低价已配重量
533 - this.form.HighAllocatedWeight = 0; //高价已配重量 533 + this.form.highAllocatedWeight = 0; //高价已配重量
534 534
535 //航班号 535 //航班号
536 this.formdisabled.fltNo = false; 536 this.formdisabled.fltNo = false;
...@@ -559,22 +559,22 @@ ...@@ -559,22 +559,22 @@
559 //高价可配 559 //高价可配
560 if (this.form.highPriceWeightPercent > 0) { 560 if (this.form.highPriceWeightPercent > 0) {
561 this.$set(this.form, "lowPriceWeightPercent", 100-this.form.highPriceWeightPercent); 561 this.$set(this.form, "lowPriceWeightPercent", 100-this.form.highPriceWeightPercent);
562 - this.$set(this.form, "HighAvailableWeight", (Weight - this.form.alloctedWeight) * (this.form 562 + this.$set(this.form, "highAvailableWeight", (Weight - this.form.alloctedWeight) * (this.form
563 .highPriceWeightPercent / 100)); 563 .highPriceWeightPercent / 100));
564 // this.form.HighAvailableWeight = Weightall * (this.form.highPriceWeightPercent / 100) 564 // this.form.HighAvailableWeight = Weightall * (this.form.highPriceWeightPercent / 100)
565 } else { 565 } else {
566 - this.$set(this.form, "HighAvailableWeight", 0); 566 + this.$set(this.form, "highAvailableWeight", 0);
567 // this.form.HighAvailableWeight = 0; 567 // this.form.HighAvailableWeight = 0;
568 } 568 }
569 //低价可配 569 //低价可配
570 if (this.form.lowPriceWeightPercent > 0) { 570 if (this.form.lowPriceWeightPercent > 0) {
571 571
572 - this.$set(this.form, "LowAvailableWeight", (Weight - this.form.alloctedWeight) - this.form 572 + this.$set(this.form, "lowAvailableWeight", (Weight - this.form.alloctedWeight) - this.form
573 - .HighAvailableWeight); 573 + .highAvailableWeight);
574 - //this.form.LowAvailableWeight = Weightall - this.form.HighAvailableWeight; 574 + //this.form.lowAvailableWeight = Weightall - this.form.HighAvailableWeight;
575 } else { 575 } else {
576 - this.$set(this.form, "LowAvailableWeight", 0); 576 + this.$set(this.form, "lowAvailableWeight", 0);
577 - // this.form.LowAvailableWeight = 0; 577 + // this.form.lowAvailableWeight = 0;
578 } 578 }
579 579
580 }else{ 580 }else{
......