diff --git a/klp-ui/src/views/wms/coil/components/AbnormalForm.vue b/klp-ui/src/views/wms/coil/components/AbnormalForm.vue
index dbb571a9..0d27262c 100644
--- a/klp-ui/src/views/wms/coil/components/AbnormalForm.vue
+++ b/klp-ui/src/views/wms/coil/components/AbnormalForm.vue
@@ -3,15 +3,14 @@
+
+
+
-
@@ -43,19 +42,17 @@
dict.label }}
-
+
是否为主缺陷
-
-
-
+
@@ -110,24 +107,11 @@ export default {
formData: {
get() {
const data = this.value || {};
- // 接收时将CSV字符串解析成数组
- // if (data.plateSurface && typeof data.plateSurface === 'string') {
- // data.plateSurface = data.plateSurface?.split(',') ?? [];
- // }
- // if (data.position && typeof data.position === 'string') {
- // data.position = data.position?.split(',') ?? [];
- // }
return data;
},
set(newVal) {
// 发送时将数组转为CSV
const data = { ...newVal };
- // if (data.plateSurface && Array.isArray(data.plateSurface)) {
- // data.plateSurface = data.plateSurface?.join(',') ?? '';
- // }
- // if (data.position && Array.isArray(data.position)) {
- // data.position = data.position?.join(',') ?? '';
- // }
this.$emit('input', data);
}
}
@@ -148,8 +132,8 @@ export default {
this.formData = {
abnormalId: undefined,
coilId: currentCoilId,
- position: [],
- plateSurface: [],
+ position: undefined,
+ plateSurface: undefined,
startPosition: undefined,
endPosition: undefined,
length: undefined,
diff --git a/klp-ui/src/views/wms/coil/components/ExceptionManager.vue b/klp-ui/src/views/wms/coil/components/ExceptionManager.vue
index 3a611be7..e849d913 100644
--- a/klp-ui/src/views/wms/coil/components/ExceptionManager.vue
+++ b/klp-ui/src/views/wms/coil/components/ExceptionManager.vue
@@ -91,19 +91,12 @@
{ label: '上板面', value: '上' },
{ label: '下板面', value: '下' }]" type="checkbox">
-
-
@@ -144,39 +137,8 @@
-
-
-
-