Commit 8226221f by cwq0219
2 parents c6c89088 784d05d2
......@@ -33,7 +33,7 @@
<el-form-item label="售价" size="small" prop="price" style="width: 300px">
<el-input v-model="ruleForm.price" size="small" placeholder="请输入合理价格" @keyup.native="ruleForm.price = oninput(ruleForm.price)">
<!-- <template slot="append">元</template> -->
<span slot="suffix">元</span>
<span slot="suffix" class="suffix-label">元</span>
</el-input>
</el-form-item>
<el-form-item label="市场价" prop="marketPrice" size="small" style="width: 300px">
......
......@@ -12,6 +12,7 @@
</span>
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<template v-if="scope.scope.state === 0">
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
<el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
</template>
......@@ -20,6 +21,7 @@
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
</template>
<template v-else>
<el-button type="text" @click="handleEdit(scope.scope)">编辑</el-button>
<el-button type="text" @click="handleUpOption(scope.scope)">上架</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button>
</template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!