提交 389f35a9 编写于 作者: vino's avatar vino

优化重置

上级 296b3b33
...@@ -282,7 +282,7 @@ ...@@ -282,7 +282,7 @@
pageNo:1, pageNo:1,
pageSize: 10, pageSize: 10,
storeId:0, storeId:0,
commissionType: '' commissionType: 0
}, },
innerVisible:false, innerVisible:false,
selectList:[], selectList:[],
...@@ -652,6 +652,7 @@ ...@@ -652,6 +652,7 @@
this.searchForm.goodsIdList = [] this.searchForm.goodsIdList = []
this.searchForm.goodsName = '' this.searchForm.goodsName = ''
this.searchForm.goodsType = '' this.searchForm.goodsType = ''
this.searchForm.commissionType = 0;
this.searchForm.pageNo = 1 this.searchForm.pageNo = 1
this.searchForm.pageSize = 10 this.searchForm.pageSize = 10
......
...@@ -85,12 +85,12 @@ ...@@ -85,12 +85,12 @@
<span>{{ scope.row.tradeStore.createdTime }}</span> <span>{{ scope.row.tradeStore.createdTime }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="commissionType" label="分佣方式" width="150" align="center"> <el-table-column prop="commissionType" label="分佣方式" width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.tradeStore.commissionType | commissionTypeFormat}}</span> <span>{{ scope.row.tradeStore.commissionType | commissionTypeFormat}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="commissionPrice" label="店铺分佣" width="150" align="center"> <el-table-column prop="commissionPrice" label="店铺分佣" width="120" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.tradeStore.commissionType == 1">{{scope.row.tradeStore.commissionPrice | priceNum}}%</span> <span v-if="scope.row.tradeStore.commissionType == 1">{{scope.row.tradeStore.commissionPrice | priceNum}}%</span>
<span v-if="scope.row.tradeStore.commissionType == 2">{{scope.row.tradeStore.commissionPrice | priceNum}}</span> <span v-if="scope.row.tradeStore.commissionType == 2">{{scope.row.tradeStore.commissionPrice | priceNum}}</span>
...@@ -294,6 +294,7 @@ ...@@ -294,6 +294,7 @@
pageSize: 10, pageSize: 10,
id: null, id: null,
type: null, type: null,
commissionType: 0
}; };
this.searchList(); this.searchList();
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册