From f208f44ec0ccffb1d84adee882a26b4bfe841f9e Mon Sep 17 00:00:00 2001 From: zhangli <2235006734@qq.com> Date: Wed, 18 Oct 2023 10:38:53 +0800 Subject: [PATCH] 1 --- src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue b/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue index e27d21527..4ba136ef0 100644 --- a/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue +++ b/src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue @@ -156,7 +156,7 @@ const formData = ref({ name: '',//名称 describe: '',//描述 priority: '',//优先级 - status: '',//状态 + status: false,//状态 supplierTypeRange: 1,//供应商类型范围 supplierType: [],//选择的供应商类型 @@ -178,7 +178,6 @@ const rules = ref({ name: [{ required: true, message: '请输入名字', trigger: 'blur' }], describe: [{ required: true, message: '请输入描述', trigger: 'blur' }], priority: [{ required: true, message: '请输入优先级', trigger: 'blur' }], - status: [{ required: true, message: '请选择状态', trigger: 'blur' }], supplierType: [{ required: true, message: '请选择供应商类型', trigger: 'change' }], supplier: [{ required: true, message: '请选择供应商', trigger: 'change' }], week: [{ required: true, message: '请选择星期几', trigger: 'change' }], @@ -237,7 +236,7 @@ const resetForm = () => { name: '', describe: '', priority: '', - status: '', + status: false, supplierTypeRange: 1,//供应商类型范围 supplierType: [],//选择的供应商类型