Browse Source

必填

hella_online_20240829
wangyufei 4 months ago
parent
commit
42cb218207
  1. 12
      src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

12
src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue

@ -305,7 +305,8 @@
<!-- 仓库 库区 库位组 库位 --> <!-- 仓库 库区 库位组 库位 -->
<el-col key="仓库col" :span="24"> <el-col key="仓库col" :span="24">
<el-form-item key="仓库formItem" label="" label-width="0" prop="warehouse" class="err-120"> <el-form-item key="仓库formItem" label="" label-width="0" prop="warehouse" class="err-120">
<el-select key="仓库" <span class="peizhi">*</span>
<el-select key="仓库"
v-model="warehouseType" v-model="warehouseType"
placeholder="" placeholder=""
style="width: 110px; margin-right: 10px" style="width: 110px; margin-right: 10px"
@ -594,7 +595,9 @@ const rules = ref({
strategyCode: [{ required: true, message: '请输入代码', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }], strategyCode: [{ required: true, message: '请输入代码', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }],
name: [{ required: true, message: '请输入名字', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }], name: [{ required: true, message: '请输入名字', trigger: 'blur' },{ max: 50, message: '不得超过50个字符', trigger: 'blur' }],
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' }],
warehouse: [{ required: true, message: '请选择规则配置', trigger: 'blur' }],
}) })
// //
@ -1010,4 +1013,9 @@ const resetForm = () => {
::v-deep .err-120 .el-form-item__error { ::v-deep .err-120 .el-form-item__error {
padding-left: 120px !important; padding-left: 120px !important;
} }
.peizhi {
color: var(--el-color-danger);
margin-right:4px;
}
</style> </style>

Loading…
Cancel
Save