This commit is contained in:
姚宇浩 2024-01-26 09:46:16 +08:00
parent 749068ea41
commit 5680d23bdf
2 changed files with 13 additions and 12 deletions

View File

@ -55,7 +55,7 @@
<el-table-column prop="introduce" label="简介"> </el-table-column>
<el-table-column prop="shopInfo.userName" label="作者">
</el-table-column>
<el-table-column prop="workTag" label="标签"> </el-table-column>
<!-- <el-table-column prop="workTag" label="标签"> </el-table-column> -->
<el-table-column prop="typeName" label="类型">
<template #default="scope">
<span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span>
@ -368,8 +368,8 @@ export default {
this.detailForm.wpPath = value.wpPath;
this.detailForm.code = value.code;
let img1 = null;
if (value.file) {
img1 = value.file.split(",");
if (value.domainInfo.file) {
img1 = value.domainInfo.file.split(",");
if (img1.length > 0) {
img1.forEach((ele) => {
this.imgList.push({

View File

@ -4,7 +4,7 @@
<div style="margin-left: 10px">
<el-input
v-model="value1"
placeholder="请输入商品名"
placeholder="请输入标题"
:input-style="inputStyle"
clearable
></el-input>
@ -52,10 +52,11 @@
<el-table-column type="index" label="序号" width="80">
</el-table-column>
<el-table-column prop="goodsName" label="商品"> </el-table-column>
<el-table-column prop="introduce" label="简介"> </el-table-column>
<el-table-column prop="domainInfo.introduce" label="简介">
</el-table-column>
<el-table-column prop="shopInfo.userName" label="作者">
</el-table-column>
<el-table-column prop="workTag" label="标签"> </el-table-column>
<!-- <el-table-column prop="workTag" label="标签"> </el-table-column> -->
<el-table-column prop="typeName" label="类型">
<template #default="scope">
<span>{{ scope.row.typeName }} - {{ scope.row.typesName }}</span>
@ -177,7 +178,7 @@
>
<el-form :model="detailForm" label-width="100px">
<el-form-item label="商品名称">
<el-input v-model="detailForm.goodsName"></el-input>
<el-input v-model="detailForm.name"></el-input>
</el-form-item>
<el-form-item label="作者">
<el-input v-model="detailForm.userName"></el-input>
@ -360,13 +361,13 @@ export default {
this.imgList = [];
this.title = title;
this.opens = true;
this.detailForm.goodsName = value.goodsName;
this.detailForm.name = value.goodsName;
this.detailForm.wpPath = value.domainInfo.wpPath;
this.detailForm.code = value.domainInfo.code;
this.detailForm.userName = value.shopInfo.userName;
this.detailForm.wpPath = value.panUrl;
this.detailForm.code = value.panCode;
let img1 = null;
if (value.file) {
img1 = value.file.split(",");
if (value.domainInfo.file) {
img1 = value.domainInfo.file.split(",");
if (img1.length > 0) {
img1.forEach((ele) => {
this.imgList.push({