|
|
@ -116,12 +116,12 @@ |
|
|
|
" bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll"> |
|
|
|
|
|
|
|
<view style="width: 100%; display: flex;flex-direction: column; margin-top: 10px;"> |
|
|
|
<view v-for="(item,index) in pickingUpGoods" @click="itemClick(item.goodsSid)" |
|
|
|
<view v-for="(item,index) in pickingUpGoods" |
|
|
|
style="display: flex;flex-direction: column;justify-content: center;width: 100%; margin-top: 15px; "> |
|
|
|
|
|
|
|
<view style="display: flex;flex-direction: row;align-items: center;width: 100%; "> |
|
|
|
|
|
|
|
<image :src="item.iconUrl" |
|
|
|
<image :src="item.iconUrl" @click="itemClick(item.goodsSid)" |
|
|
|
style="width: 90px;height: 90px; border-radius: 10px; " mode="aspectFill"> |
|
|
|
</image> |
|
|
|
|
|
|
@ -129,7 +129,7 @@ |
|
|
|
style="display: flex;flex-direction: column;flex: 1; padding-bottom: 15px; margin-left: 10px;" |
|
|
|
:style="{'border-bottom':(index == pickingUpGoods.length-1 ? 'none' : '1px #EFEFEF solid')}"> |
|
|
|
|
|
|
|
<text style="font-size: 13px;color: #000;">{{item.name}}</text> |
|
|
|
<text style="font-size: 13px;color: #000;" @click="itemClick(item.goodsSid)">{{item.name}}</text> |
|
|
|
|
|
|
|
<text |
|
|
|
style="font-size: 10px;color: #999;margin-top: 5px;">{{item.remark}}</text> |
|
|
@ -192,11 +192,11 @@ |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view |
|
|
|
<view |
|
|
|
style="position: fixed;bottom: 0; width: 100%; box-sizing: border-box; padding-left: 10vw;padding-right: 10vw;display: flex;flex-direction: row; justify-content: center;align-items: center;"> |
|
|
|
<text style=" background: #FF9900;color: #fff;margin-bottom: 20px; border-radius: 20px; |
|
|
|
padding-top: 10px;padding-bottom: 10px;padding-left: 25vw;padding-right: 25vw; text-align: center;" |
|
|
|
@click="congirmExtract()">确认提菜</text> |
|
|
|
@click="congirmExtract()" >确认提菜</text> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
@ -217,6 +217,7 @@ |
|
|
|
disabledDate: [ |
|
|
|
// '2023-12-16' |
|
|
|
], |
|
|
|
btnDisabled:false |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
@ -252,6 +253,11 @@ |
|
|
|
uni.$off('changePer'); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
itemClick(goodsSid) { |
|
|
|
uni.navigateTo({ |
|
|
|
url: '/pages/good/goodsDetail?sid=' + goodsSid |
|
|
|
}) |
|
|
|
}, |
|
|
|
getSun() { |
|
|
|
let _this = this |
|
|
|
_this.$api.getExtractSaturAndSun().then((resp) => { |
|
|
@ -324,6 +330,13 @@ |
|
|
|
congirmExtract() { |
|
|
|
let _this = this |
|
|
|
|
|
|
|
if(this.btnDisabled){ |
|
|
|
this.shortToast('请勿重复点击') |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
this.btnDisabled = true |
|
|
|
|
|
|
|
if (_this.info.storeSid == '') { |
|
|
|
this.shortToast('请完善提货点信息') |
|
|
|
return |
|
|
@ -357,7 +370,6 @@ |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var params = { |
|
|
|
customerSid: getApp().globalData.sid, |
|
|
|
affiliation: _this.affiliation, |
|
|
@ -371,8 +383,10 @@ |
|
|
|
|
|
|
|
_this.$api.submissionExtract(params).then((resp) => { |
|
|
|
uni.navigateBack() |
|
|
|
_this.btnDisabled = false |
|
|
|
}).catch(e => { |
|
|
|
console.log(e); |
|
|
|
_this.btnDisabled = false |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|