|
|
@@ -59,7 +59,6 @@
|
|
|
/>
|
|
|
<product-info :info="item" :isMine="isMineShop" :showBtn="isManage" @click="choose"></product-info>
|
|
|
</div>
|
|
|
- <van-icon name="checked" />
|
|
|
<van-empty
|
|
|
v-if="empty"
|
|
|
image="https://ticket-exchange.oss-cn-hangzhou.aliyuncs.com/wechat/kong_png_wukabao.png"
|
|
|
@@ -114,12 +113,16 @@ export default {
|
|
|
...mapState(['systemInfo', 'userStoreInfo']),
|
|
|
dropCaseStatusList() {
|
|
|
let list = [...this.caseStatusList];
|
|
|
- list = list.map(item => {
|
|
|
- return {
|
|
|
- value: item.value,
|
|
|
- text: item.label
|
|
|
- };
|
|
|
- });
|
|
|
+ list = list
|
|
|
+ .filter(item => {
|
|
|
+ return this.isMineShop || item.value !== 'UNDO';
|
|
|
+ })
|
|
|
+ .map(item => {
|
|
|
+ return {
|
|
|
+ value: item.value,
|
|
|
+ text: item.label
|
|
|
+ };
|
|
|
+ });
|
|
|
let first = {
|
|
|
value: '',
|
|
|
text: '全部商品'
|
|
|
@@ -180,7 +183,16 @@ export default {
|
|
|
storeId: this.storeInfo.id
|
|
|
};
|
|
|
if (this.caseStatus) {
|
|
|
- data.caseStatus = this.caseStatus;
|
|
|
+ data.caseStatuses = this.caseStatus;
|
|
|
+ } else {
|
|
|
+ data.caseStatuses = [...this.dropCaseStatusList]
|
|
|
+ .filter(item => {
|
|
|
+ return !!item.value;
|
|
|
+ })
|
|
|
+ .map(item => {
|
|
|
+ return item.value;
|
|
|
+ })
|
|
|
+ .join(',');
|
|
|
}
|
|
|
if (this.sort) {
|
|
|
data.sortStr = this.sort;
|