优化添加规格文字提示

This commit is contained in:
gyq
2025-12-08 16:13:28 +08:00
parent 7ab3414cec
commit 4a2ad983eb
2 changed files with 8 additions and 8 deletions

View File

@@ -171,12 +171,12 @@
<el-table-column label="退款金额" prop="refundAmount" sortable>
<template v-slot="scope">{{ scope.row.refundAmount }}</template>
</el-table-column>
<!-- <el-table-column label="实际销量" prop="refundCount">
<el-table-column label="实际销量" prop="refundCount" sortable>
<template v-slot="scope"> {{ scope.row.saleCount - scope.row.refundCount }} </template>
</el-table-column>
<el-table-column label="实际销售额" prop="refundCount">
<el-table-column label="实际销售额" prop="refundCount" sortable>
<template v-slot="scope"> {{ scope.row.saleAmount - scope.row.refundAmount }} </template>
</el-table-column> -->
</el-table-column>
</el-table>
</div>
<div class="head-container">

View File

@@ -29,7 +29,7 @@
<copy-button v-if="scope.row[scope.prop]" :text="scope.row[scope.prop]" style="margin-left: 2px" />
</template>
<template #operates="scope">
<el-button type="text" size="small" v-if="scope.row.level < 3&&!isSyncStatus()"
<el-button type="text" size="small" v-if="scope.row.level < 3 && !isSyncStatus()"
@click="addlowerLevel(scope.row)">添加下一级</el-button>
<el-button type="text" size="small" v-if="!isSyncStatus()" @click="handleEditClick(scope.row)">编辑</el-button>
<el-button type="text" size="small" v-if="!isSyncStatus()" @click="deleteClick(scope.row)">删除</el-button>
@@ -49,10 +49,10 @@
<Dict v-model="scope.formData[scope.prop]" code="gender" />
</template>
</page-modal> -->
<myDialog title="新增模板" width="50%" ref="myDialogRef" @Confirm="subitgood">
<myDialog title="新增模板" width="70%" ref="myDialogRef" @Confirm="subitgood">
<el-form ref="form" :model="datas.contentForm" :rules="datas.rules" label-width="80px" label-position="left">
<el-form-item label="名称" prop="name">
<el-input v-model="datas.contentForm.name" placeholder="模板名称,如:衣服"></el-input>
<el-input v-model="datas.contentForm.name" placeholder="模板名称,如:主食、酒水等"></el-input>
</el-form-item>
<el-form-item :label="item.name" v-for="(item, index) in datas.contentForm.children" :key="index">
<div class="tag_wrap">
@@ -75,12 +75,12 @@
<el-row :gutter="20" v-if="datas.showSkuForm">
<el-col :span="10">
<el-form-item label="规格" prop="skuValidate1">
<el-input v-model="datas.skuForm.label" placeholder="规格,如:尺码"></el-input>
<el-input v-model="datas.skuForm.label" placeholder="规格,如:口味、温度等"></el-input>
</el-form-item>
</el-col>
<el-col :span="10">
<el-form-item label="规格值" prop="skuValidate2">
<el-input v-model="datas.skuForm.value" placeholder="规格值,如:S、M"></el-input>
<el-input v-model="datas.skuForm.value" placeholder="规格值,如:微辣、多辣、常温、冰等"></el-input>
</el-form-item>
</el-col>
<el-col :span="4">