fix:图库新增页面梅花
This commit is contained in:
parent
e8bc98d91b
commit
d2cdd2af75
@ -38,6 +38,8 @@ export default {
|
|||||||
children: {
|
children: {
|
||||||
align: 'center',
|
align: 'center',
|
||||||
headerAlign: 'center',
|
headerAlign: 'center',
|
||||||
|
type:'form',
|
||||||
|
index:false,
|
||||||
rowAdd: (done) => {
|
rowAdd: (done) => {
|
||||||
if (this.form.imgs.length >= 5) {
|
if (this.form.imgs.length >= 5) {
|
||||||
this.$message.error('批次每次最多五条');
|
this.$message.error('批次每次最多五条');
|
||||||
@ -55,11 +57,15 @@ export default {
|
|||||||
message: '商品名称必须填写',
|
message: '商品名称必须填写',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
span:16,
|
||||||
|
row:true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '条形码',
|
label: '条形码',
|
||||||
prop: "barcode",
|
prop: "barcode",
|
||||||
tip: '如有条形码请记得添加',
|
tip: '如有条形码请记得添加',
|
||||||
|
span:16,
|
||||||
|
row:true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '商品主图',
|
label: '商品主图',
|
||||||
@ -99,22 +105,6 @@ export default {
|
|||||||
},
|
},
|
||||||
prop: 'product_image_list',
|
prop: 'product_image_list',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: '商品简称',
|
|
||||||
prop: "sname",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '商品标题',
|
|
||||||
prop: "title",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '一级分类',
|
|
||||||
prop: "category_1st",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '二级分类',
|
|
||||||
prop: "category_2nd",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user