Commit 678e7701 authored by 黄奎's avatar 黄奎

新增显示

parent 5ed2721a
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<span> <span>
分类筛选 分类筛选
</span> </span>
<el-select v-model="showCategoryName" placeholder="请选择" size="small" multiple clearable collapse-tags @change="selectChange"> <el-select v-model="showCategoryName" placeholder="请选择" size="small" multiple clearable collapse-tags
@change="selectChange">
<el-option :value="chooseCategroyArray" style="height: auto"> <el-option :value="chooseCategroyArray" style="height: auto">
<el-tree :data="categoryTreeData" show-checkbox node-key="Id" ref="tree" highlight-current <el-tree :data="categoryTreeData" show-checkbox node-key="Id" ref="tree" highlight-current
:props="defaultProps" @check-change="categoryCheckChange"></el-tree> :props="defaultProps" @check-change="categoryCheckChange"></el-tree>
...@@ -110,13 +111,16 @@ ...@@ -110,13 +111,16 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="DepositMoney" width="100" sortable label="定金">
</el-table-column>
<el-table-column prop="SellingPrice" width="100" sortable label="售价"> <el-table-column prop="SellingPrice" width="100" sortable label="售价">
</el-table-column> </el-table-column>
<el-table-column prop="UpdateDate" width="110" label="是否加入快速购买"> <el-table-column prop="StoreNameList" label="所属门店">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch @change="Edit(scope.row,10)" v-model="scope.row.IsQuickBuy" active-color="#409EFF" <el-tag v-if="scope.row.StoreNameList && scope.row.StoreNameList.length>0" style="margin-top:5px;"
:active-value="1" :inactive-value="0"> v-for="(subItem,subIndex) in scope.row.StoreNameList" :key="subIndex">
</el-switch> {{subItem}}
</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="CreateDate" width="160" label="添加时间"> <el-table-column prop="CreateDate" width="160" label="添加时间">
...@@ -311,8 +315,8 @@ ...@@ -311,8 +315,8 @@
trigger: 'blur' trigger: 'blur'
}], }],
}, },
chooseCategroyArray: [],//Tree选中的节点 chooseCategroyArray: [], //Tree选中的节点
showCategoryName: "",//显示分类名称 showCategoryName: "", //显示分类名称
categoryTreeData: [], //分类树形表 categoryTreeData: [], //分类树形表
GoodsIds: [], //列表选中的商品编号 GoodsIds: [], //列表选中的商品编号
plszMsg: { plszMsg: {
......
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