修复:核销订单核销完成后

This commit is contained in:
wuhui_zzw 2024-03-30 11:09:29 +08:00
parent dfb23a432a
commit 1ff439d6c0
1 changed files with 18 additions and 17 deletions

View File

@ -6,7 +6,7 @@
<view class="order acea-row row-between">
<view class="order_sn">订单号{{orderData.order_sn}}</view>
<view class="btn" @click="goBack">上一步</view>
</view>
</view>
<view class='list'>
<view class="acea-row row-between header">
<view class="info">
@ -23,7 +23,7 @@
<view v-else class="checkbox">
<text class="iconfont icon-weixuanzhong disabled"></text>
</view>
<view class='pictrue'>
<image :src='goods.cart_info.product.image'></image>
</view>
@ -39,7 +39,7 @@
<view class='num'>{{goods.refund_num}}</view>
<view class="plus" :class="(goods.max_count == goods.refund_num || goods.numAdd) ? 'on' : ''" @click.stop='addCart(goods)'>+</view>
</view>
</view>
</view>
</view>
</view>
</view>
@ -58,7 +58,7 @@
<form @submit="goCallate" report-submit='true'>
<button class='placeOrder' formType="submit">立即核销</button>
</form>
</view>
</view>
</view>
</view>
<view v-else>
@ -147,14 +147,15 @@
this.$set(item, "check", true);
})
}).catch(res => {
that.$util.Tips({
title: res
});
setTimeout(()=>{
uni.navigateTo({
url: '/pages/admin/orderList/index?types=4&merId='+that.mer_id
});
},500)
// that.$util.Tips({
// title: res
// });
uni.navigateBack();
// setTimeout(()=>{
// uni.navigateTo({
// url: '/pages/admin/order/index?mer_id='+that.mer_id
// });
// },500)
})
},
//
@ -170,7 +171,7 @@
goods.numAdd = false;
}
}
},
//
addCart(goods) {
@ -211,7 +212,7 @@
},500)
});
}
},
//
getSelectedProduct(){
@ -251,13 +252,13 @@
item.check = this.isAllSelect
if(item.check)tempArr.push(item)
})
}
}
//
this.isAllSelect = tempArr.length == calArr.length ? true : false
},
},
onReachBottom() {
},
//
onPageScroll(e) {
@ -268,7 +269,7 @@
</script>
<style scoped lang="scss">
page {
page {
background: #F5F5F5;
}
.cancellate {