冻精冻胚的非空校验,模糊查询,唯一性校验
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<el-button type="warning" plain icon="Download" @click="handleExport"
|
||||
v-hasPermi="['sperm:sperm:export']">导出</el-button>
|
||||
</el-col>
|
||||
<el-button type="warning" plain icon="Close" @click="handleDiscard"
|
||||
<el-button type="warning" plain icon="Close" @click="handleDiscard" :disabled="multiple"
|
||||
v-hasPermi="['sperm:sperm:discard']">废弃</el-button>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
</el-row>
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
<el-col :span="12">
|
||||
<el-form-item label="冻精品种" prop="breed">
|
||||
<el-input v-model="form.breed" :disabled="!!form.code" placeholder="自动回显" />
|
||||
<el-input v-model="form.breed" disabled placeholder="输入冻精号自动回显" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -337,7 +337,7 @@ async function loadRamInfo() {
|
||||
const { data } = await request.get(url)
|
||||
const sheep = data
|
||||
// ① 存在且未死亡
|
||||
if (sheep.statusId !== 1) {
|
||||
if (sheep.statusId !== 1) {
|
||||
proxy.$modal.msgError('羊只不在群');
|
||||
form.value.code = '';
|
||||
form.value.breed = '';
|
||||
|
||||
Reference in New Issue
Block a user