|
@@ -345,15 +345,15 @@
|
|
}).then(res => {
|
|
}).then(res => {
|
|
this.loading = false
|
|
this.loading = false
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
- if(res.status == 200){
|
|
|
|
- // 删除已提交产品
|
|
|
|
|
|
+ if(res.status == 200){
|
|
|
|
+ // 删除已提交产品
|
|
uni.$emit('removeCatGood',cartSn,true,false)
|
|
uni.$emit('removeCatGood',cartSn,true,false)
|
|
res.data.detailList = []
|
|
res.data.detailList = []
|
|
this.$store.state.vuex_tempOrderData = res.data
|
|
this.$store.state.vuex_tempOrderData = res.data
|
|
- // 这里判断是否开通支付,如果开通打开确认付款弹框
|
|
|
|
- if(this.hasPay){
|
|
|
|
|
|
+ // 这里判断是否开通支付或充值余额支付,如果开通打开确认付款弹框
|
|
|
|
+ if(this.hasPay||this.payType==0){
|
|
purchasePay({
|
|
purchasePay({
|
|
- bizSn:res.data.purchaseSn,
|
|
|
|
|
|
+ bizSn:res.data.purchaseSn,
|
|
bizNo:res.data.purchaseNo,
|
|
bizNo:res.data.purchaseNo,
|
|
bizType:'SETTLE_BILL',
|
|
bizType:'SETTLE_BILL',
|
|
payUserOpenId: this.$store.state.vuex_openid || uni.getStorageSync('openid'),
|
|
payUserOpenId: this.$store.state.vuex_openid || uni.getStorageSync('openid'),
|