|
|
@ -1,7 +1,7 @@ |
|
|
|
<!-- 补料策略弹窗 --> |
|
|
|
<template> |
|
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible"> |
|
|
|
<div class="p-20px m--10px" style="max-height: 500px;overflow-y: auto;"> |
|
|
|
<Dialog :title="dialogTitle" v-model="dialogVisible" style="width: 700px;"> |
|
|
|
<div class="p-20px m--10px" style="max-height: 50vh;overflow-y: auto;"> |
|
|
|
<el-form ref="formRef" :model="formData" :rules="rules" label-width="120px" label-position="left"> |
|
|
|
<!-- 规则 --> |
|
|
|
<div class="item"> |
|
|
@ -393,9 +393,9 @@ const buttonBaseClick = (val, item) => { |
|
|
|
|
|
|
|
const validatorNum = (rule: any, value: any, callback: any) => { |
|
|
|
if (value && formData.value.configuration[0].Value != -1) { |
|
|
|
if (value > formData.value.configuration[0].Value){ |
|
|
|
if (value > formData.value.configuration[0].Value) { |
|
|
|
callback(new Error("11")) |
|
|
|
}else{ |
|
|
|
} else { |
|
|
|
|
|
|
|
callback() |
|
|
|
} |
|
|
@ -444,4 +444,5 @@ const validatorNum = (rule: any, value: any, callback: any) => { |
|
|
|
|
|
|
|
::v-deep .err-130 .el-form-item__error { |
|
|
|
padding-left: 130px !important; |
|
|
|
}</style> |
|
|
|
} |
|
|
|
</style> |
|
|
|