diff --git a/src/components/myUploadVideo.vue b/src/components/myUploadVideo.vue index 37e4418..7441f85 100644 --- a/src/components/myUploadVideo.vue +++ b/src/components/myUploadVideo.vue @@ -4,14 +4,36 @@
建议比例1:1,不超过60s,视频{{ fileSize }}MB以内
上传视频
+ + +
+ + + + + - + + diff --git a/src/views/goods/goodsCategory/index.vue b/src/views/goods/goodsCategory/index.vue index 5e4976d..f9cc0c1 100644 --- a/src/views/goods/goodsCategory/index.vue +++ b/src/views/goods/goodsCategory/index.vue @@ -235,7 +235,6 @@ let nowClickRow = ref({}); // 列配置 const columns = ref([]); const columns1 = ref([ - { prop: "sort", label: "排序" }, { prop: "id", label: "ID" }, { prop: "categoryName", label: "类别" }, { prop: "addTime", label: "添加时间" }, @@ -272,7 +271,6 @@ const generateMockData = () => { "list|10": [ { "id|+1": 10000, - "sort|+1": 1, categoryName: '@pick(["种子", "化肥", "农药"])', //分类名称 addTime: "@datetime", //添加时间 categoryStatus: '@pick(["已启用", "未启用"])', //状态 diff --git a/src/views/goods/goodsManage/editGoods.vue b/src/views/goods/goodsManage/editGoods.vue index 2922214..d9c67fd 100644 --- a/src/views/goods/goodsManage/editGoods.vue +++ b/src/views/goods/goodsManage/editGoods.vue @@ -656,6 +656,20 @@ const getGoodsInfo = async (goodId) => { formInline.categoryId2 = formData.value?.categoryId2 ?? ""; formInline.categoryId3 = formData.value?.categoryId3 ?? ""; + formInline.netWeight = formData.value?.netWeight ?? [ + { + goodSpecs: "", + goodPrice: 1, + goodStock: 1, + netContent: 1, + unit: "kg" + } + ]; + formInline.attribute = formData.value?.attribute ?? [{ + name: '', //属性 + value: '', //内容 + }]; + formInline.selectedAddress = formData.value?.areaAddress?.split(",") ?? []; formInline.goodUrl = formData.value?.goodUrl?.split(",").slice(0, 5).join(',') ?? "";