| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="模具检查预警值:" prop="supplierId"> |
| | | <el-input placeholder="请输入次数" v-model="formMould.alarmTimes" style="margin-right:15px"> |
| | | <template slot="append">次数</template> |
| | | </el-input> |
| | | <el-input placeholder="请输入天数" v-model="formMould.alarmDays"> |
| | | <template slot="append">天数</template> |
| | | </el-input> |
| | | <el-form-item label="模具检查预警值:" required> |
| | | <el-row :gutter="10" type="flex"> |
| | | <el-col :span="12"> |
| | | <el-form-item prop="warningValue"> |
| | | <el-input placeholder="请输入次数" v-model="formMould.warningValue" clearable> |
| | | <template slot="append">次数</template> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item prop="warningDay"> |
| | | <el-input placeholder="请输入天数" v-model="formMould.warningDay" clearable> |
| | | <template slot="append">天数</template> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form-item> |
| | | <el-form-item label="使用状态:" prop="status"> |
| | | <el-select v-model="formMould.status" :size="size" clearable placeholder="请选择使用状态"> |
| | |
| | | message: '请选择进厂日期', |
| | | trigger: ['blur', 'change'] |
| | | }], |
| | | warningValue: [{ |
| | | required: true, |
| | | message: '请输入预警次数', |
| | | trigger: 'blur' |
| | | }], |
| | | waningDay: [{ |
| | | required: true, |
| | | message: '请输入预警天数', |
| | | trigger: 'blur' |
| | | }] |
| | | }, // 表单校验规则 |
| | | mouldTypeDatas: [], // 块号 |
| | | mouldSizeData: [], // 尺寸 |
| | |
| | | },{ |
| | | value: 4, |
| | | label: '报废' |
| | | }] |
| | | }], |
| | | } |
| | | }, |
| | | mounted() { |