Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-01-14 17:36:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
39f90ee6650fe5bc3eb3ce5610aca89511315f98
39f90ee6
1 parent
d5e6ff8a
航班维护页面bug修正
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
39f90ee
...
...
@@ -223,30 +223,30 @@
</el-col>
<el-col :span="12">
<el-form-item label="高价可配重量" prop="
H
ighAvailableWeight">
<el-form-item label="高价可配重量" prop="
h
ighAvailableWeight">
<el-input-number :disabled="true" placeholder="请输入高价可配重量" style="width:93%"
v-model="form.
H
ighAvailableWeight" :precision="2"></el-input-number>
v-model="form.
h
ighAvailableWeight" :precision="2"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="低价可配重量" prop="
L
owAvailableWeight">
<el-form-item label="低价可配重量" prop="
l
owAvailableWeight">
<el-input-number :disabled="true" placeholder="请输入低价可配重量" style="width:93%"
v-model="form.
L
owAvailableWeight" :precision="2"></el-input-number>
v-model="form.
l
owAvailableWeight" :precision="2"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="高价已配重量" prop="
H
ighAllocatedWeight">
<el-form-item label="高价已配重量" prop="
h
ighAllocatedWeight">
<el-input-number :disabled="true" placeholder="请输入高价已配重量" style="width:93%"
v-model="form.
H
ighAllocatedWeight" :precision="2"></el-input-number>
v-model="form.
h
ighAllocatedWeight" :precision="2"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="低价已配重量" prop="
L
owAllocatedWeight">
<el-form-item label="低价已配重量" prop="
l
owAllocatedWeight">
<el-input-number :disabled="true" placeholder="请输入低价已配重量" style="width:93%"
v-model="form.
L
owAllocatedWeight" :precision="2"></el-input-number>
v-model="form.
l
owAllocatedWeight" :precision="2"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="12">
...
...
@@ -529,8 +529,8 @@
this.form.id = null;
this.form.statusId = this.flightStatuslist[0].id;
this.form.alloctedWeight = 0; //已配重量
this.form.
L
owAllocatedWeight = 0; //低价已配重量
this.form.
H
ighAllocatedWeight = 0; //高价已配重量
this.form.
l
owAllocatedWeight = 0; //低价已配重量
this.form.
h
ighAllocatedWeight = 0; //高价已配重量
//航班号
this.formdisabled.fltNo = false;
...
...
@@ -559,22 +559,22 @@
//高价可配
if (this.form.highPriceWeightPercent > 0) {
this.$set(this.form, "lowPriceWeightPercent", 100-this.form.highPriceWeightPercent);
this.$set(this.form, "
H
ighAvailableWeight", (Weight - this.form.alloctedWeight) * (this.form
this.$set(this.form, "
h
ighAvailableWeight", (Weight - this.form.alloctedWeight) * (this.form
.highPriceWeightPercent / 100));
// this.form.HighAvailableWeight = Weightall * (this.form.highPriceWeightPercent / 100)
} else {
this.$set(this.form, "
H
ighAvailableWeight", 0);
this.$set(this.form, "
h
ighAvailableWeight", 0);
// this.form.HighAvailableWeight = 0;
}
//低价可配
if (this.form.lowPriceWeightPercent > 0) {
this.$set(this.form, "
L
owAvailableWeight", (Weight - this.form.alloctedWeight) - this.form
.
H
ighAvailableWeight);
//this.form.
L
owAvailableWeight = Weightall - this.form.HighAvailableWeight;
this.$set(this.form, "
l
owAvailableWeight", (Weight - this.form.alloctedWeight) - this.form
.
h
ighAvailableWeight);
//this.form.
l
owAvailableWeight = Weightall - this.form.HighAvailableWeight;
} else {
this.$set(this.form, "
L
owAvailableWeight", 0);
// this.form.
L
owAvailableWeight = 0;
this.$set(this.form, "
l
owAvailableWeight", 0);
// this.form.
l
owAvailableWeight = 0;
}
}else{
...
...
Please
register
or
login
to post a comment