Browse Source

采购策略月台必填

intex_online20241111
zhang_li 3 weeks ago
parent
commit
9669410102
  1. 5
      src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue

5
src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue

@ -149,7 +149,7 @@
/> />
</el-form-item> </el-form-item>
<!-- 月台 --> <!-- 月台 -->
<el-form-item key="月台formItem" :label="t('ts.月台').replace('ts.','')" prop="DockCode"> <el-form-item key="月台formItem" :label="t('ts.月台').replace('ts.','')" prop="configuration.DockCode">
<el-input key="月台Value" style="flex:1" placeholder="请选择月台" v-model="formData.configuration.DockCode" @blur="blurDockCode"> <el-input key="月台Value" style="flex:1" placeholder="请选择月台" v-model="formData.configuration.DockCode" @blur="blurDockCode">
<template #suffix> <template #suffix>
<el-button :disabled="formData.name=='默认规则'&&formType=='update'" type="text" plain style="color:var(--el-button-text-color)" @click="searchDockCode"> <el-button :disabled="formData.name=='默认规则'&&formType=='update'" type="text" plain style="color:var(--el-button-text-color)" @click="searchDockCode">
@ -256,7 +256,8 @@ const rules = ref({
description: [{ required: true, message: '请输入描述', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }], description: [{ required: true, message: '请输入描述', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }],
priority: [{ required: true, message: '请输入优先级', trigger: 'blur' }], priority: [{ required: true, message: '请输入优先级', trigger: 'blur' }],
'configuration.PhoneNumber': [{ max: 11, message: '不得超过11个字符', trigger: 'blur' }, 'configuration.PhoneNumber': [{ max: 11, message: '不得超过11个字符', trigger: 'blur' },
{message: '请输入正确格式的电话', trigger: 'blur' ,validator:validateHanset}] { message: '请输入正确格式的电话', trigger: 'blur', validator: validateHanset }],
'configuration.DockCode': [{ required: true, message: '请输入月台', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }]
}) })
// //

Loading…
Cancel
Save