|
@@ -22,6 +22,9 @@
|
|
status: {
|
|
status: {
|
|
type:Number
|
|
type:Number
|
|
},
|
|
},
|
|
|
|
+ order: {
|
|
|
|
+ type:Object
|
|
|
|
+ },
|
|
orderId: {
|
|
orderId: {
|
|
type:Number
|
|
type:Number
|
|
},
|
|
},
|
|
@@ -99,11 +102,21 @@
|
|
this.shareCode = code
|
|
this.shareCode = code
|
|
},
|
|
},
|
|
onShareCode(oID,uID,type){
|
|
onShareCode(oID,uID,type){
|
|
- this.$parent.isShareModal = true
|
|
|
|
- this.$parent.btnoRderID = oID,
|
|
|
|
- this.$parent.btnClubUserID = uID
|
|
|
|
- this.$parent.isShareType = type
|
|
|
|
- this.$emit('shareConfirm')
|
|
|
|
|
|
+ if(this.order.onlinePayFlag == 1){
|
|
|
|
+ this.$util.modal('提示','本订单不能进行线上支付,请让客户选择线下转账方式付款','继续分享','知道了',true,() =>{
|
|
|
|
+ this.$parent.isShareModal = true
|
|
|
|
+ this.$parent.btnoRderID = oID,
|
|
|
|
+ this.$parent.btnClubUserID = uID
|
|
|
|
+ this.$parent.isShareType = type
|
|
|
|
+ this.$emit('shareConfirm')
|
|
|
|
+ })
|
|
|
|
+ }else{
|
|
|
|
+ this.$parent.isShareModal = true
|
|
|
|
+ this.$parent.btnoRderID = oID,
|
|
|
|
+ this.$parent.btnClubUserID = uID
|
|
|
|
+ this.$parent.isShareType = type
|
|
|
|
+ this.$emit('shareConfirm')
|
|
|
|
+ }
|
|
},
|
|
},
|
|
btnConfirm(type,orderId){
|
|
btnConfirm(type,orderId){
|
|
let data = {
|
|
let data = {
|