|
|
@ -9,14 +9,14 @@ |
|
|
|
<el-input v-model="formValidate.store_name" placeholder="请输入商品名称" /> |
|
|
|
<el-input v-model="formValidate.store_name" placeholder="请输入商品名称" /> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
<el-col v-bind="grid2"> |
|
|
|
<!-- <el-col v-bind="grid2"> |
|
|
|
<el-form-item label="商品分类:" prop="cate_id"> |
|
|
|
<el-form-item label="商品分类:" prop="cate_id"> |
|
|
|
<el-select v-model="formValidate.cate_id" filterable :filter-method="dataFilter" clearable> |
|
|
|
<el-select v-model="formValidate.cate_id" filterable :filter-method="dataFilter" clearable> |
|
|
|
<el-option v-for="item in optionsMetaShow" :disabled="item.disabled === 0" |
|
|
|
<el-option v-for="item in optionsMetaShow" :disabled="item.disabled === 0" |
|
|
|
:value="item.value" :key="item.id" :label="item.label" ></el-option> |
|
|
|
:value="item.value" :key="item.id" :label="item.label" ></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> --> |
|
|
|
<el-col v-bind="grid2"> |
|
|
|
<el-col v-bind="grid2"> |
|
|
|
<el-form-item label="商品关键字:" prop=""> |
|
|
|
<el-form-item label="商品关键字:" prop=""> |
|
|
|
<el-input v-model="formValidate.keyword" placeholder="请输入商品关键字" /> |
|
|
|
<el-input v-model="formValidate.keyword" placeholder="请输入商品关键字" /> |
|
|
@ -473,9 +473,9 @@ export default { |
|
|
|
store_name: [ |
|
|
|
store_name: [ |
|
|
|
{ required: true, message: '请输入商品名称', trigger: 'blur' } |
|
|
|
{ required: true, message: '请输入商品名称', trigger: 'blur' } |
|
|
|
], |
|
|
|
], |
|
|
|
cate_id: [ |
|
|
|
// cate_id: [ |
|
|
|
{ required: true, message: '请选择商品分类', trigger: 'change' } |
|
|
|
// { required: true, message: '请选择商品分类', trigger: 'change' } |
|
|
|
], |
|
|
|
// ], |
|
|
|
keyword: [ |
|
|
|
keyword: [ |
|
|
|
{ required: true, message: '请输入商品关键字', trigger: 'blur' } |
|
|
|
{ required: true, message: '请输入商品关键字', trigger: 'blur' } |
|
|
|
], |
|
|
|
], |
|
|
@ -491,9 +491,9 @@ export default { |
|
|
|
selectRule: [ |
|
|
|
selectRule: [ |
|
|
|
{ required: true, message: '请选择商品规格属性', trigger: 'change' } |
|
|
|
{ required: true, message: '请选择商品规格属性', trigger: 'change' } |
|
|
|
], |
|
|
|
], |
|
|
|
temp_id: [ |
|
|
|
// temp_id: [ |
|
|
|
{ required: true, message: '请选择运费模板', trigger: 'change', type: 'number' } |
|
|
|
// { required: true, message: '请选择运费模板', trigger: 'change', type: 'number' } |
|
|
|
] |
|
|
|
// ] |
|
|
|
}, |
|
|
|
}, |
|
|
|
attrs: [] |
|
|
|
attrs: [] |
|
|
|
} |
|
|
|
} |
|
|
|