连挂操作代码调整

This commit is contained in:
joylink_cuiweidong 2020-11-11 18:49:32 +08:00
parent b8f26007e4
commit 1a7a6e27c7
2 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,7 @@
</div> </div>
<div class="el-dialog__body"> <div class="el-dialog__body">
<el-row> <el-row>
<el-form ref="form" :model="formModel" :rules="rules"> <el-form ref="form" :model="formModel" :rules="rules" label-width="80px">
<el-col :span="24"> <el-col :span="24">
<el-form-item prop="groupNumber" label="主动车:"> <el-form-item prop="groupNumber" label="主动车:">
<el-input v-model="formModel.groupNumber" size="small" style="width: 165px;height: 32px;line-height: 32px;" disabled /> <el-input v-model="formModel.groupNumber" size="small" style="width: 165px;height: 32px;line-height: 32px;" disabled />

View File

@ -676,7 +676,6 @@ export default {
}); });
console.log(this.commandEvaluationRuleVOs); console.log(this.commandEvaluationRuleVOs);
sums[index] = values.reduce((prev, curr) => { sums[index] = values.reduce((prev, curr) => {
console.log(curr, this.commandEvaluationRuleVOs[curr], '1111111111111111');
let value = 0; let value = 0;
if (this.commandEvaluationRuleVOs[curr]) { value = Number(this.commandEvaluationRuleVOs[curr].score || 0); } if (this.commandEvaluationRuleVOs[curr]) { value = Number(this.commandEvaluationRuleVOs[curr].score || 0); }
if (!isNaN(value)) { if (!isNaN(value)) {