| | |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="是否首检:" |
| | | prop="isFirstInspect"> |
| | | <el-radio-group v-model="form.isFirstInspect" |
| | | class="sampling-radio-group" |
| | | :disabled="isViewMode"> |
| | | <el-radio-button :label="1">是</el-radio-button> |
| | | <el-radio-button :label="0">否</el-radio-button> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="是否抽检:" |
| | | prop="isSampling"> |
| | | <el-radio-group v-model="form.isSampling" |
| | |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="30" |
| | | v-if="form.isSampling === 1"> |
| | | <el-col :span="12"> |
| | | <el-col :span="12" |
| | | v-if="form.isSampling === 1"> |
| | | <el-form-item label="抽检数量:" |
| | | prop="samplingQuantity"> |
| | | <el-input-number :step="0.01" |
| | |
| | | checkCompany: "", |
| | | isSampling: 0, |
| | | samplingQuantity: "", |
| | | isFirstInspect: 0, |
| | | isStockIn: 0, |
| | | }, |
| | | rules: { |
| | |
| | | checkCompany: [{ required: false, message: "请输入", trigger: "blur" }], |
| | | isSampling: [{ required: true, message: "请选择是否抽检", trigger: "change" }], |
| | | samplingQuantity: [{ required: true, message: "请输入抽检数量", trigger: "blur" }], |
| | | isFirstInspect: [{ required: true, message: "请选择是否首检", trigger: "change" }], |
| | | }, |
| | | }); |
| | | const userList = ref([]); |
| | |
| | | checkCompany: "", |
| | | isSampling: 0, |
| | | samplingQuantity: "", |
| | | isFirstInspect: 0, |
| | | isStockIn: 0, |
| | | }; |
| | | testStandardOptions.value = []; |