排序
This commit is contained in:
@@ -106,24 +106,13 @@
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="sort"
|
||||
prop="toSociologySort"
|
||||
header-align="center"
|
||||
align="center"
|
||||
label="排序"
|
||||
width="180"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-input
|
||||
v-focus
|
||||
v-if="scope.row[scope.column.property + 'Show']"
|
||||
clearable
|
||||
v-model="scope.row.sort"
|
||||
@keyup.enter.native="onBlurFirst(scope.row, scope.column)"
|
||||
@blur="onBlurFirst(scope.row, scope.column)"
|
||||
>
|
||||
</el-input>
|
||||
<span v-else>{{ scope.row.sort }}</span>
|
||||
</template>
|
||||
|
||||
</el-table-column>
|
||||
<!-- <el-table-column
|
||||
prop="product.price"
|
||||
@@ -172,9 +161,16 @@
|
||||
header-align="center"
|
||||
align="center"
|
||||
label="操作"
|
||||
width="80"
|
||||
width="140"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
type="text"
|
||||
|
||||
@click="shopEdit(scope.row)"
|
||||
size="mini"
|
||||
>修改排序</el-button
|
||||
>
|
||||
<el-button
|
||||
type="text"
|
||||
style="color: red;"
|
||||
@@ -312,6 +308,9 @@ export default {
|
||||
shopDelete(row) {
|
||||
this.$emit("delete", row);
|
||||
},
|
||||
shopEdit(row) {
|
||||
this.$emit("edit", row);
|
||||
},
|
||||
// 获取商品类型
|
||||
getGoodsTypeList() {
|
||||
this.$http({
|
||||
|
||||
Reference in New Issue
Block a user