liudan 1 year ago
parent 11ec44b8a6
commit faee8468b5
  1. 60
      pages/qianggou/productList.vue
  2. 2
      pages/qianggou/qianggou.vue
  3. 45
      pages/warehouse/buy.vue
  4. 29
      pages/warehouse/sell.vue
  5. 3
      pages/warehouse/weituo.vue
  6. BIN
      static/image/shouqin.png
  7. 2
      unpackage/dist/build/h5/index.html
  8. BIN
      unpackage/dist/build/h5/static/image/shouqin.png
  9. BIN
      unpackage/dist/build/h5/static/img/shouqin.df93c482.png
  10. 4
      unpackage/dist/build/h5/static/js/chunk-vendors.fd0c9014.js
  11. 1
      unpackage/dist/build/h5/static/js/index.08e28b8c.js
  12. 1
      unpackage/dist/build/h5/static/js/index.71a66657.js
  13. 1
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity.954bc300.js
  14. 1
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity.b99d4ac6.js
  15. 1
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity~pages-AddressEdit-AddressEdit~pages-ChangePassword-ChangePassw~e9040fe6.1fcbec9b.js
  16. 1
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity~pages-AddressEdit-AddressEdit~pages-ChangePassword-ChangePassw~e9040fe6.c8ac95b5.js
  17. 1
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity~pages-AddressEdit-AddressEdit~pages-ConfirmOrder-ConfirmOrder~~3a70436b.4e7cd30a.js
  18. 1
      unpackage/dist/build/h5/static/js/pages-AccountSecurity-AccountSecurity~pages-AddressEdit-AddressEdit~pages-ConfirmOrder-ConfirmOrder~~3a70436b.60617624.js
  19. 1
      unpackage/dist/build/h5/static/js/pages-AddressEdit-AddressEdit.8a9e5f32.js
  20. 1
      unpackage/dist/build/h5/static/js/pages-AddressEdit-AddressEdit.b35897e1.js
  21. 1
      unpackage/dist/build/h5/static/js/pages-AddressList-AddressList.7038110d.js
  22. 1
      unpackage/dist/build/h5/static/js/pages-AddressList-AddressList.d985548a.js
  23. 1
      unpackage/dist/build/h5/static/js/pages-ChangePassword-ChangePassword.1f8a0c63.js
  24. 1
      unpackage/dist/build/h5/static/js/pages-ChangePassword-ChangePassword.f0665b2e.js
  25. 1
      unpackage/dist/build/h5/static/js/pages-ChangePassword-ChangePassword~pages-ConfirmOrder-ConfirmOrder~pages-Information-Information~pa~5f6b18e6.35c81da7.js
  26. 1
      unpackage/dist/build/h5/static/js/pages-ChangePassword-ChangePassword~pages-ConfirmOrder-ConfirmOrder~pages-Information-Information~pa~5f6b18e6.e5dfd1e0.js
  27. 1
      unpackage/dist/build/h5/static/js/pages-ConfirmOrder-ConfirmOrder.0940f79b.js
  28. 1
      unpackage/dist/build/h5/static/js/pages-ConfirmOrder-ConfirmOrder.1c646872.js
  29. 1
      unpackage/dist/build/h5/static/js/pages-GoodsDetails-GoodsDetails.263d3bb3.js
  30. 1
      unpackage/dist/build/h5/static/js/pages-GoodsDetails-GoodsDetails.7a22895b.js
  31. 1
      unpackage/dist/build/h5/static/js/pages-GoodsEvaluateList-GoodsEvaluateList.0f860b31.js
  32. 1
      unpackage/dist/build/h5/static/js/pages-GoodsEvaluateList-GoodsEvaluateList.1b041914.js
  33. 1
      unpackage/dist/build/h5/static/js/pages-GoodsOn-GoodsOn.722c5da9.js
  34. 1
      unpackage/dist/build/h5/static/js/pages-GoodsOn-GoodsOn.c794cd79.js
  35. 1
      unpackage/dist/build/h5/static/js/pages-Information-Information.5a1ba49d.js
  36. 1
      unpackage/dist/build/h5/static/js/pages-Information-Information.e75b6ca4.js
  37. 1
      unpackage/dist/build/h5/static/js/pages-Information-Information~pages-warehouse-buy.a02ce0a8.js
  38. 1
      unpackage/dist/build/h5/static/js/pages-Information-Information~pages-warehouse-buy.f184d67a.js
  39. 1
      unpackage/dist/build/h5/static/js/pages-MyCoupon-MyCoupon.2811d011.js
  40. 1
      unpackage/dist/build/h5/static/js/pages-MyCoupon-MyCoupon.e07b73d6.js
  41. 1
      unpackage/dist/build/h5/static/js/pages-MyOrderList-MyOrderList.8850f2e9.js
  42. 1
      unpackage/dist/build/h5/static/js/pages-MyOrderList-MyOrderList.e3c608a4.js
  43. 1
      unpackage/dist/build/h5/static/js/pages-OrderDetails-OrderDetails.d9937c93.js
  44. 1
      unpackage/dist/build/h5/static/js/pages-OrderDetails-OrderDetails.fad65115.js
  45. 1
      unpackage/dist/build/h5/static/js/pages-SearchGoodsList-SearchGoodsList.a72b59cb.js
  46. 1
      unpackage/dist/build/h5/static/js/pages-SearchGoodsList-SearchGoodsList.e46caf7b.js
  47. 1
      unpackage/dist/build/h5/static/js/pages-Setting-Setting.296d04df.js
  48. 1
      unpackage/dist/build/h5/static/js/pages-Setting-Setting.f610301f.js
  49. 1
      unpackage/dist/build/h5/static/js/pages-bind-bind.9d25b6fd.js
  50. 1
      unpackage/dist/build/h5/static/js/pages-bind-bind.d08f37df.js
  51. 1
      unpackage/dist/build/h5/static/js/pages-cart-cart.49757852.js
  52. 1
      unpackage/dist/build/h5/static/js/pages-cart-cart.9977a76c.js
  53. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fans.626a9846.js
  54. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fans.65422f5f.js
  55. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fansOrder.8d82bc13.js
  56. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fansOrder.dd4818f3.js
  57. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao.6080d997.js
  58. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao.9959d453.js
  59. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao~pages-my-my.11b4d5f9.js
  60. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao~pages-my-my.a8115513.js
  61. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao~pages-my-richText~pages-qianggou-productDetails~pages-qianggou-qianggou~pages-~25a581a4.163f6b6a.js
  62. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-fenxiao~pages-my-richText~pages-qianggou-productDetails~pages-qianggou-qianggou~pages-~25a581a4.94244c7a.js
  63. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-yongjin.2ecc0e01.js
  64. 1
      unpackage/dist/build/h5/static/js/pages-fenxiao-yongjin.41015d74.js
  65. 1
      unpackage/dist/build/h5/static/js/pages-home-home.235f69d3.js
  66. 1
      unpackage/dist/build/h5/static/js/pages-home-home.2c282a48.js
  67. 1
      unpackage/dist/build/h5/static/js/pages-home-home~pages-my-richText.17cb3e7e.js
  68. 1
      unpackage/dist/build/h5/static/js/pages-home-home~pages-my-richText.2989ecf9.js
  69. 3
      unpackage/dist/build/h5/static/js/pages-home-sign.0bc830c8.js
  70. 3
      unpackage/dist/build/h5/static/js/pages-home-sign.145682f8.js
  71. 1
      unpackage/dist/build/h5/static/js/pages-login-login.11e68abd.js
  72. 1
      unpackage/dist/build/h5/static/js/pages-login-login.3ece775d.js
  73. 2
      unpackage/dist/build/h5/static/js/pages-my-invite.803d92ee.js
  74. 2
      unpackage/dist/build/h5/static/js/pages-my-invite.d2f72e67.js
  75. 1
      unpackage/dist/build/h5/static/js/pages-my-my.31934b1e.js
  76. 1
      unpackage/dist/build/h5/static/js/pages-my-my.5a3fce14.js
  77. 1
      unpackage/dist/build/h5/static/js/pages-my-richText.07a3732a.js
  78. 1
      unpackage/dist/build/h5/static/js/pages-my-richText.f5248732.js
  79. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productDetails.a9b84d55.js
  80. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productDetails.fd1fe934.js
  81. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productList.9ce9784b.js
  82. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-productList.c00e488d.js
  83. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-qianggou.5abd3223.js
  84. 1
      unpackage/dist/build/h5/static/js/pages-qianggou-qianggou.6cf338cc.js
  85. 1
      unpackage/dist/build/h5/static/js/pages-register-findPsw.81d0df9c.js
  86. 1
      unpackage/dist/build/h5/static/js/pages-register-findPsw.bfe70c06.js
  87. 1
      unpackage/dist/build/h5/static/js/pages-register-register.4001351c.js
  88. 1
      unpackage/dist/build/h5/static/js/pages-register-register.e38ebfb6.js
  89. 1
      unpackage/dist/build/h5/static/js/pages-search-search.92d1046e.js
  90. 1
      unpackage/dist/build/h5/static/js/pages-search-search.fc536249.js
  91. 1
      unpackage/dist/build/h5/static/js/pages-shoukuan-shoukuan.ecd80114.js
  92. 1
      unpackage/dist/build/h5/static/js/pages-shoukuan-shoukuan.facd6265.js
  93. 1
      unpackage/dist/build/h5/static/js/pages-shouyi-shouyi.4a7f07b5.js
  94. 1
      unpackage/dist/build/h5/static/js/pages-shouyi-shouyi.a5e6cf9a.js
  95. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-buy.cd11d45d.js
  96. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-buy.d3d9769d.js
  97. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-pay.80049b23.js
  98. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-pay.d623c38c.js
  99. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-sell.37454103.js
  100. 1
      unpackage/dist/build/h5/static/js/pages-warehouse-sell.c12e058f.js
  101. Some files were not shown because too many files have changed in this diff Show More

@ -22,19 +22,25 @@
<view class="recommend-info">
<view class="goods-list">
<view class="list" v-for="(item,index) in goodsList" @click="onSkip(item)" :key="index">
<view class="pictrue">
<image :src="item.image" mode="heightFix"></image>
</view>
<view class="title-tag">
{{item.name}}
</view>
<view class="price-info">
<view class="user-price">
<text class="min"></text>
<text class="max">{{item.price}}</text>
<view class="list" v-for="(item,index) in goodsList" :key="index">
<view class="" @click="onSkip(item)">
<view class="pictrue">
<image :src="item.image" mode="heightFix"></image>
</view>
<view class="title-tag">
{{item.name}}
</view>
<view class="price-info">
<view class="user-price">
<text class="min"></text>
<text class="max">{{item.price}}</text>
</view>
</view>
</view>
<view class="shouqing" v-if="item.status=='hidden'">
<image src="../../static/image/shouqin.png" mode="widthFix"></image>
<text>已售罄</text>
</view>
</view>
</view>
@ -52,6 +58,7 @@ export default {
pagesList: [],
page:1,
limit:10,
warehouse_id:null,
}
},
@ -63,7 +70,7 @@ export default {
},
getGoodsList(){
this.pagesList=[]
getGoodsList({page:this.page,limit:10}).then(res=>{
getGoodsList({page:this.page,limit:10,warehouse_id:this.warehouse_id}).then(res=>{
this.goodsList = res.data.data;
this.total = res.data.total;
@ -88,8 +95,10 @@ export default {
onReady() {
},
onLoad() {
onLoad(option) {
this.warehouse_id = option.id
this.getGoodsList()
},
onPageScroll(e){
@ -139,6 +148,7 @@ export default {
flex-wrap: wrap;
justify-content: space-between;
padding: 0 30rpx;
.list{
width: 49%;
height: 480rpx;
@ -146,6 +156,28 @@ export default {
background-color: #FFFFFF;
border-radius: 10rpx;
overflow: hidden;
position: relative;
.shouqing{
height:100%;
width:100%;
background-color: rgba(0,0,0,0.7);
position: absolute;
top:0;
left:0;
z-index:9;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
image{
width:45%;
height:auto;
}
text{
color:#ffffff;
font-size:25rpx;
}
}
.pictrue{
display: flex;
justify-content: center;

@ -141,7 +141,7 @@ export default{
})
}else{
uni.navigateTo({
url:'/pages/qianggou/productList'
url:'/pages/qianggou/productList?id='+item.id
})
}
}else{

@ -32,7 +32,8 @@
<text>订单号{{item.order_sn}}</text>
</view>
<view class="status">
<text>{{item.status==0?'待支付':item.status==1?'待确认':item.status==2?'待委托':item.status==3?'已投诉':item.status==4?'待发货':item.status==5?'待收货':item.status==-1?'已取消':''}}</text>
<text>{{getstatusLabel(item.status)}}</text>
<!-- <text>{{item.status==0?'待支付':item.status==1?'待确认':item.status==2?'待委托':item.status==3?'已投诉':item.status==4?'待发货':item.status==5?'待收货':item.status==-1?'已取消':''}}</text> -->
</view>
</view>
<view class="goods-list">
@ -70,6 +71,13 @@
</view>
</view>
<view class="status-btn" v-if="item.status==4">
<view class="btnGroup">
<view class="btn" @click.native.stop="tixingHandle(item)">提醒发货</view>
</view>
</view>
</view>
</view>
@ -101,6 +109,7 @@
</template>
<script>
// 01,2,345-167
import {getToken} from '@/common/auth.js'
import {getBuyerOrderList,cancelOrder,orderPay} from '@/common/api.js'
export default {
@ -116,7 +125,17 @@
tiqushow:false,
orderObj:{},
selectedIndex:-1,
tiquSelected:{}
tiquSelected:{},
statusList:[
{id:0,name:'待支付'},
{id:1,name:'待确认'},
{id:2,name:'待委托'},
{id:3,name:'已投诉'},
{id:4,name:'待发货'},
{id:5,name:'待收货'},
{id:-1,name:'已取消'},
{id:7,name:'已上架'},
]
};
},
onLoad(params) {
@ -124,6 +143,21 @@
this.getList()
},
methods:{
tixingHandle(){
this.$refs.uToast.show({
message:'提醒发货成功'
})
},
getstatusLabel(val){
let arr = this.statusList.filter(item=>{
return item.id==val;
})
if(arr.length>0){
return arr[0].name
}else{
return '-'
}
},
goPay(item){
console.log(item)
uni.navigateTo({
@ -197,7 +231,6 @@
})
},
confirmPay(item){
console.log(item,"0000")
if(!item.pay_voucher){
this.$refs.uToast.show({
message:'请上传支付凭证'
@ -221,7 +254,11 @@
* 订单tab点击
*/
onOrderTab(type){
this.status = type
if(type==4){
this.status="4,5"
}else{
this.status = type;
}
this.getList()
},
/**

@ -32,7 +32,7 @@
<text>订单号{{item.order_sn}}</text>
</view>
<view class="status">
<text>{{item.status==0?'待支付':item.status==1?'待确认':item.status==2?'已完成':item.status==3?'已投诉':item.status==4?'待发货':item.status==5?'待收货':item.status==-1?'已取消':''}}</text>
<text>{{getstatusLabel(item.status)}}</text>
</view>
</view>
<view class="goods-list">
@ -90,6 +90,16 @@
status:null,
tableData:[],
total:0,
statusList:[
{id:0,name:'待支付'},
{id:1,name:'待确认'},
{id:2,name:'待委托'},
{id:3,name:'已投诉'},
{id:4,name:'待发货'},
{id:5,name:'待收货'},
{id:-1,name:'已取消'},
{id:7,name:'已上架'},
]
};
},
onLoad(params) {
@ -97,6 +107,16 @@
this.getList()
},
methods:{
getstatusLabel(val){
let arr = this.statusList.filter(item=>{
return item.id==val;
})
if(arr.length>0){
return arr[0].name
}else{
return '-'
}
},
getList(val){
let params={
page:this.page,
@ -116,7 +136,12 @@
* 订单tab点击
*/
onOrderTab(type){
this.status = type;
if(type==4){
this.status="4,5"
}else{
this.status = type;
}
this.getList()
},
/**

@ -159,6 +159,9 @@
title:"支付成功",
icon:'none'
});
uni.redirectTo({
url:"/pages/warehouse/buy"
})
},
cancel: function(res) {
console.log(res)

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

@ -1,2 +1,2 @@
<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>商城</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.c321b385.js></script><script src=/static/js/index.71a66657.js></script></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.fd0c9014.js></script><script src=/static/js/index.08e28b8c.js></script></body></html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save