1111111111
This commit is contained in:
@@ -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
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
@@ -7,18 +7,18 @@
|
||||
bindscrolltoupper="upper" bindscrolltolower="lower" bindscroll="scroll"> -->
|
||||
|
||||
<view style="width: 100%; display: flex;flex-direction: column;">
|
||||
<view v-for="(item,index) in data" @click="itemClick(item.goodsSid)" style="display: flex;flex-direction: column;justify-content: center; margin: 10px 10px 0px 10px;
|
||||
<view v-for="(item,index) in data" style="display: flex;flex-direction: column;justify-content: center; margin: 10px 10px 0px 10px;
|
||||
padding: 10px; border-radius: 15px; background-color: #fff; ">
|
||||
|
||||
<view style="display: flex;flex-direction: row;align-items: center;width: 100%; ">
|
||||
|
||||
<image :src="item.iconUrl" style="width: 90px;height: 90px; border-radius: 10px; "
|
||||
<image :src="item.iconUrl" @click="itemClick(item.goodsSid)" style="width: 90px;height: 90px; border-radius: 10px; "
|
||||
mode="aspectFill"></image>
|
||||
|
||||
<view style="display: flex;flex-direction: column;flex: 1;
|
||||
margin-left: 10px;">
|
||||
|
||||
<text style="font-size: 13px;color: #000;">{{item.goodsName}}</text>
|
||||
<text style="font-size: 13px;color: #000;" @click="itemClick(item.goodsSid)">{{item.goodsName}}</text>
|
||||
|
||||
<text style="font-size: 10px;color: #999;margin-top: 5px;">{{item.remarks}}</text>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
style="display: flex;flex-direction: column;flex: 1; padding-bottom: 15px; margin-left: 10px;"
|
||||
:style="{'border-bottom':(index == goods.length-1 ? 'none' : '1px #EFEFEF solid')}">
|
||||
|
||||
<text style="font-size: 14px;color: #000; font-weight: 600;">{{item.name}}</text>
|
||||
<text style="font-size: 14px;color: #000; font-weight: 600;" @click="itemClick(item.goodsSid)">{{item.name}}</text>
|
||||
|
||||
<text style="font-size: 10px;color: #999;margin-top: 5px;">{{item.remark}}</text>
|
||||
|
||||
@@ -136,6 +136,11 @@
|
||||
this.$refs.nav.defaultColorBgAlpha(res)
|
||||
},
|
||||
methods: {
|
||||
itemClick(goodsSid) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/good/goodsDetail?sid=' + goodsSid
|
||||
})
|
||||
},
|
||||
onKeyInput(event) {
|
||||
this.transferInfo.remarks = event.target.value
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user