dev2 #1
@ -38,6 +38,8 @@ export default {
|
||||
children: {
|
||||
align: 'center',
|
||||
headerAlign: 'center',
|
||||
type:'form',
|
||||
index:false,
|
||||
rowAdd: (done) => {
|
||||
if (this.form.imgs.length >= 5) {
|
||||
this.$message.error('批次每次最多五条');
|
||||
@ -55,11 +57,15 @@ export default {
|
||||
message: '商品名称必须填写',
|
||||
},
|
||||
],
|
||||
span:16,
|
||||
row:true,
|
||||
},
|
||||
{
|
||||
label: '条形码',
|
||||
prop: "barcode",
|
||||
tip: '如有条形码请记得添加',
|
||||
span:16,
|
||||
row:true,
|
||||
},
|
||||
{
|
||||
label: '商品主图',
|
||||
@ -99,22 +105,6 @@ export default {
|
||||
},
|
||||
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