|
@@ -195,7 +195,8 @@ export default {
|
|
|
verifySn:'',
|
|
|
backDiscountPrice:null,
|
|
|
backDiscountVal: 0,
|
|
|
- cycleNameShow:''
|
|
|
+ cycleNameShow:'',
|
|
|
+ verifyIdNum:''
|
|
|
};
|
|
|
},
|
|
|
onReady() {
|
|
@@ -434,12 +435,8 @@ export default {
|
|
|
} else {
|
|
|
if (row.checked) {
|
|
|
this.chooseList.push(row);
|
|
|
+ this.backDiscountVal = 0
|
|
|
}
|
|
|
- }
|
|
|
- if(this.settlement *1 <0){
|
|
|
- this.backDiscountVal = 0
|
|
|
- }else{
|
|
|
- this.backDiscountVal = this.discountVal
|
|
|
}
|
|
|
this.backDiscountPrice = this.settlement
|
|
|
|
|
@@ -454,6 +451,7 @@ export default {
|
|
|
handleShare() {
|
|
|
this.submitLoading = false;
|
|
|
let verifyId = Date.now()+this.nanoid();
|
|
|
+ this.verifyIdNum = verifyId
|
|
|
let url = 'http://p.iscm.360arrow.com/dzd/index.html?userSn=' + this.userData.orgSn + '&verifySn='+verifyId + '&name='+this.userData.orgName;
|
|
|
if (uni.getSystemInfoSync().platform == 'ios') {
|
|
|
uni.share({
|
|
@@ -494,7 +492,7 @@ export default {
|
|
|
discountAmount: this.backDiscountVal || 0,
|
|
|
settleAmount: this.chooseTotalPayPrice - this.backDiscountVal ,
|
|
|
detailList: this.chooseList,
|
|
|
- verifySn:Date.now()+this.nanoid()
|
|
|
+ verifySn:this.verifyIdNum
|
|
|
};
|
|
|
let ajaxData = Object.assign(this.params, obj);
|
|
|
insert(ajaxData).then(res => {
|