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: [],//选择的供应商类型