|
|
@ -24,7 +24,7 @@ |
|
|
|
<view class="introduce"> |
|
|
|
<view class="introduce"> |
|
|
|
<image :src="item.url"></image> |
|
|
|
<image :src="item.url"></image> |
|
|
|
<view>{{item.productName}}</view> |
|
|
|
<view>{{item.productName}}</view> |
|
|
|
<view>规格:默认</view> |
|
|
|
<view>规格:{{ item.attributesTypeName }}</view> |
|
|
|
<view>库存:{{item.totalStock}}</view> |
|
|
|
<view>库存:{{item.totalStock}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="examine" @click="examineDetail(item)" |
|
|
|
<view class="examine" @click="examineDetail(item)" |
|
|
@ -215,7 +215,7 @@ |
|
|
|
productByPage() { |
|
|
|
productByPage() { |
|
|
|
serve.productByPage(this.paramter).then(res => { |
|
|
|
serve.productByPage(this.paramter).then(res => { |
|
|
|
if (res.code === 20000) { |
|
|
|
if (res.code === 20000) { |
|
|
|
if (!res.data.list.length&&this.paramter.currentPage!=1) { |
|
|
|
if (!res.data.list.length && this.paramter.currentPage != 1) { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '没有更多订单啦~', |
|
|
|
title: '没有更多订单啦~', |
|
|
|
icon: 'none' |
|
|
|
icon: 'none' |
|
|
@ -245,8 +245,10 @@ |
|
|
|
this.$refs.delete.open('center') |
|
|
|
this.$refs.delete.open('center') |
|
|
|
this.deleteData = item |
|
|
|
this.deleteData = item |
|
|
|
}, |
|
|
|
}, |
|
|
|
deleteIntegral(){ |
|
|
|
deleteIntegral() { |
|
|
|
serve.deleteProductById({id:this.deleteData.id}).then(res=>{ |
|
|
|
serve.deleteProductById({ |
|
|
|
|
|
|
|
id: this.deleteData.id |
|
|
|
|
|
|
|
}).then(res => { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: res.msg, |
|
|
|
title: res.msg, |
|
|
|
icon: 'none' |
|
|
|
icon: 'none' |
|
|
|