|
@@ -343,7 +343,7 @@
|
|
</template>
|
|
</template>
|
|
</cy-info-title>
|
|
</cy-info-title>
|
|
<el-form-item label="红否结果" style="width: 100%;">
|
|
<el-form-item label="红否结果" style="width: 100%;">
|
|
- <el-input :value="ruleForm.redNo === 0 ? '非红否' : '红否'" disabled></el-input>
|
|
|
|
|
|
+ <el-input :value="ruleForm.redNo ? (ruleForm.redNo === 0 ? '非红否' : '红否') : ''" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item v-if="ruleForm.redNo === 1" label="红否失败原因" style="width: 100%;">
|
|
<el-form-item v-if="ruleForm.redNo === 1" label="红否失败原因" style="width: 100%;">
|
|
<el-input :value="ruleForm.failReason" disabled></el-input>
|
|
<el-input :value="ruleForm.failReason" disabled></el-input>
|
|
@@ -469,7 +469,7 @@ export default {
|
|
]
|
|
]
|
|
|
|
|
|
for (let i = 0; i < beforeValideFeilds.length - 1; i++) {
|
|
for (let i = 0; i < beforeValideFeilds.length - 1; i++) {
|
|
- if (!this.ruleForm[beforeValideFeilds[i]]) {
|
|
|
|
|
|
+ if (this.ruleForm[beforeValideFeilds[i]] === '' || this.ruleForm[beforeValideFeilds[i]] === null) {
|
|
return false
|
|
return false
|
|
}
|
|
}
|
|
}
|
|
}
|