Browse Source

修改该错误

master_hella_20240701
zhousq 6 months ago
parent
commit
2648f19525
  1. 14
      src/views/mes/workScheduling/components/qualifiedCheck.vue

14
src/views/mes/workScheduling/components/qualifiedCheck.vue

@ -11,8 +11,6 @@
<el-form-item label="工序" prop="processCode">
<el-input v-model="baseform.processCode" disabled />
</el-form-item>
<el-form-item label="生产人员" required="true">
<el-select v-model="form.personSelected" multiple>
<el-form-item label="生产人员" prop="personSelected" :rules="[{ required: true, message: '请选择报工人', trigger: 'blur' }]">
<el-select v-model="baseform.personSelected" multiple >
<el-option v-for="item in personOption" :key="item.workerCode" :label="item.workerName" :value="item.workerCode" />
@ -21,14 +19,14 @@
<el-form-item label="质检人员" prop="checkPerson" :rules="[{ required: true, message: '请填写质检人登录名', trigger: 'blur' }]">
<el-input v-model="baseform.checkPerson" />
</el-form-item>
<el-form-item label="合格数量" @change="handleCount" :key="qcount" prop="qualified" :rules="[{ required: true, message: '请填写合格数量', trigger: 'blur' }]">
<el-form-item label="合格数量" prop="qualified" :rules="[{ required: true, message: '请填写合格数量', trigger: 'blur' }]">
<el-input-number
v-model="baseform.qualified"
@change="handleCount"
@change="handleCount" :key="qcount"
></el-input-number>
</el-form-item>
<el-form-item label="不合格数量" prop="unqualified" :rules="[{ required: true, message: '请填写不合格数量', trigger: 'blur' }]">
<el-input-number v-model="baseform.unqualified" @change="handleCount" :key="qcount" prop="unqualified"></el-input-number>
<el-form-item label="不合格数量" prop="unqualified" :rules="[{ required: true, message: '请填写不合格数量', trigger: 'blur' }]">
<el-input-number v-model="baseform.unqualified" @change="handleCount" :key="qcount"></el-input-number >
</el-form-item>
<el-form-item label="不合格原因" prop="remark" :rules="[{ required: true, message: '请填写不合格原因', trigger: 'blur' }]">
<el-input v-model="baseform.remark"></el-input>
@ -37,7 +35,9 @@
<template #footer>
<el-button @click="dialogVisible = false">关闭</el-button>
<el-button type="primary" :disabled="saveFlag" @click="saveReport">保存</el-button>
</template> </Dialog>
</template>
</Dialog>
</template>
<script lang="ts" setup>
import { Dialog } from '@/components/Dialog'
import * as workschedulingApi from '@/api/mes/workScheduling'

Loading…
Cancel
Save