修改页面文字,是否默认改为是否有效

This commit is contained in:
刘名喜 2024-12-05 09:29:35 +08:00
parent 49297c6870
commit 46761fae29

View File

@ -33,8 +33,8 @@
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="是否默认" prop="isDefault">
<el-select v-model="queryParams.isDefault" placeholder="请选择是否默认" clearable>
<el-form-item label="是否有效" prop="isDefault">
<el-select v-model="queryParams.isDefault" placeholder="请选择是否有效" clearable>
<el-option
v-for="dict in dict.type.yes_or_no"
:key="dict.value"
@ -106,7 +106,7 @@
<el-table-column label="BOM名称" align="center" prop="bomName"/>
<el-table-column label="BOM版本" align="center" prop="bomVersion"/>
<!-- <el-table-column label="所属物料" align="center" prop="mdItemId"/>-->
<el-table-column label="是否默认" align="center" prop="isDefault">
<el-table-column label="是否有效" align="center" prop="isDefault">
<template slot-scope="scope">
<dict-tag :options="dict.type.yes_or_no" :value="scope.row.isDefault"/>
</template>
@ -181,8 +181,8 @@
</el-form-item>
</el-col>
</el-row>
<el-form-item label="是否默认" prop="isDefault">
<el-select v-model="form.isDefault" placeholder="请选择是否默认">
<el-form-item label="是否有效" prop="isDefault">
<el-select v-model="form.isDefault" placeholder="请选择是否有效">
<el-option
v-for="dict in dict.type.yes_or_no"
:key="dict.value"
@ -320,7 +320,7 @@ export default {
{required: true, message: "物料编码不能为空", trigger: "blur"}
],
isDefault: [
{required: true, message: "是否默认不能为空", trigger: "change"}
{required: true, message: "是否有效不能为空", trigger: "change"}
],
},
nowChildItemIndex: null