|
@@ -38,7 +38,7 @@
|
|
|
<button class="action-btn" @click.stop="lookMore(item)">查看详情</button>
|
|
|
<button v-if="item.status == 0" class="action-btn recom"
|
|
|
@click.stop="payNew(item)">立即支付</button>
|
|
|
- <button v-if="item.status >= 1" class="action-btn recom"
|
|
|
+ <button v-if="item.status >= 2" class="action-btn recom"
|
|
|
@click.stop="stopItem(item)">提货</button>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -116,7 +116,8 @@
|
|
|
import {
|
|
|
getMyPackage,
|
|
|
getMySellout,
|
|
|
- packageAudit
|
|
|
+ packageAudit,
|
|
|
+ delivery
|
|
|
} from '@/api/whole.js'
|
|
|
export default {
|
|
|
components: {
|
|
@@ -318,7 +319,10 @@
|
|
|
},
|
|
|
// 提货
|
|
|
stopItem(item) {
|
|
|
-
|
|
|
+ console.log(item)
|
|
|
+ delivery({},item.id).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|