Commit 5f6766b1 by lixiaomin

修改bug

parent d9f0e74c
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" > <el-table-column label="操作" >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button @click="specal_set(scope.row)" type="text" size="small"> 配置制作步骤 </el-button> <el-button v-if="scope.row.sku_isDeleted==0" @click="specal_set(scope.row)" type="text" size="small"> 配置制作步骤 </el-button>
<el-button v-if="scope.row.sku_isDeleted==0" @click="sku_del(scope.row)" type="text" size="small"> 删除当前sku </el-button> <el-button v-if="scope.row.sku_isDeleted==0" @click="sku_del(scope.row)" type="text" size="small"> 删除当前sku </el-button>
<el-button v-if="scope.row.sku_isDeleted==2" @click="sku_rec(scope.row)" type="text" size="small"> 恢复当前sku </el-button> <el-button v-if="scope.row.sku_isDeleted==2" @click="sku_rec(scope.row)" type="text" size="small"> 恢复当前sku </el-button>
</template> </template>
......
...@@ -72,8 +72,8 @@ export default { ...@@ -72,8 +72,8 @@ export default {
this.loading = true; this.loading = true;
getComponentBindList(this.queryParams).then((response) => { getComponentBindList(this.queryParams).then((response) => {
if(response.code==0){ if(response.code==0){
this.componentList = response.data; this.componentList = response.data.list;
this.total = response.data.length; this.total = response.data.total;
this.loading = false; this.loading = false;
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment