From c1bf5ebfe65ee67c64da6e9e4e6f7c7dbb3e992e Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 17 三月 2026 14:28:26 +0800
Subject: [PATCH] fix: 新增不合格原料库存时,没有皮重、毛重、净重、过磅日期、车牌号、过磅员输入框(不会存在不合格入库,把按钮屏蔽掉)
---
src/views/qualityManagement/InspectItem/index.vue | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/src/views/qualityManagement/InspectItem/index.vue b/src/views/qualityManagement/InspectItem/index.vue
index 9ec8792..faeb847 100644
--- a/src/views/qualityManagement/InspectItem/index.vue
+++ b/src/views/qualityManagement/InspectItem/index.vue
@@ -34,22 +34,22 @@
</div>
<el-dialog v-model="dialogVisible" :title="operationType === 'add' ? '鏂板妫�娴嬮」鐩�' : '淇敼妫�娴嬮」鐩�'" width="520px" @close="closeDialog">
- <el-form ref="formRef" :model="form" :rules="rules" label-width="100px">
+ <el-form ref="formRef" :model="form" :rules="rules" label-width="100px" class="dialog-form-center">
<el-form-item label="妫�娴嬮」鐩�" prop="name">
- <el-input v-model="form.name" placeholder="璇疯緭鍏ユ娴嬮」鐩悕绉�" clearable />
+ <el-input v-model="form.name" placeholder="璇疯緭鍏ユ娴嬮」鐩悕绉�" clearable style="width: 280px" />
</el-form-item>
<el-form-item label="鍗曚綅" prop="unit">
- <el-input v-model="form.unit" placeholder="璇疯緭鍏ュ崟浣�" clearable />
+ <el-input v-model="form.unit" placeholder="璇疯緭鍏ュ崟浣�" clearable style="width: 280px" />
</el-form-item>
<el-form-item label="鏍囧噯鍊�" prop="standardValue">
- <el-input v-model="form.standardValue" placeholder="璇疯緭鍏ユ爣鍑嗗��" clearable />
+ <el-input v-model="form.standardValue" placeholder="璇疯緭鍏ユ爣鍑嗗��" clearable style="width: 280px" />
</el-form-item>
<el-form-item label="鍐呮帶鍊�" prop="internalControl">
- <el-input v-model="form.internalControl" placeholder="璇疯緭鍏ュ唴鎺у��" clearable />
+ <el-input v-model="form.internalControl" placeholder="璇疯緭鍏ュ唴鎺у��" clearable style="width: 280px" />
</el-form-item>
- <el-form-item label="鍖栭獙鍊�" prop="testValue">
- <el-input v-model="form.testValue" placeholder="璇疯緭鍏ュ寲楠屽��" clearable />
- </el-form-item>
+ <!-- <el-form-item label="鍖栭獙鍊�" prop="testValue">
+ <el-input v-model="form.testValue" placeholder="璇疯緭鍏ュ寲楠屽��" clearable style="width: 280px" />
+ </el-form-item> -->
</el-form>
<template #footer>
<div class="dialog-footer">
@@ -98,7 +98,7 @@
{ label: "鍗曚綅", prop: "unit", width: 120 },
{ label: "鏍囧噯鍊�", prop: "standardValue", width: 160 },
{ label: "鍐呮帶鍊�", prop: "internalControl", width: 160 },
- { label: "鍖栭獙鍊�", prop: "testValue", width: 160 },
+ // { label: "鍖栭獙鍊�", prop: "testValue", width: 160 },
{
dataType: "action",
label: "鎿嶄綔",
@@ -122,7 +122,7 @@
const operationType = ref("add");
const page = reactive({
current: 1,
- size: 10,
+ size: 30,
total: 0,
});
@@ -230,4 +230,10 @@
getList();
</script>
-<style scoped></style>
+<style scoped>
+.dialog-form-center {
+ padding-top: 12px;
+ width: fit-content;
+ margin: 0 auto;
+}
+</style>
--
Gitblit v1.9.3