|
@@ -221,7 +221,7 @@ export default {
|
|
|
|
|
|
// 获取选择客户
|
|
|
if (options && options.data) {
|
|
|
- this.customerObj = JSON.parse(options.data);
|
|
|
+ this.customerObj = JSON.parse(decodeURIComponent(options.data));
|
|
|
this.params.targetSn = this.customerObj.customerSn;
|
|
|
}
|
|
|
uni.$on('customerInfo', res => {
|
|
@@ -452,6 +452,7 @@ export default {
|
|
|
this.submitLoading = false;
|
|
|
let verifyId = Date.now()+this.nanoid();
|
|
|
this.verifyIdNum = verifyId
|
|
|
+ let settlement=this.chooseTotalPayPrice - this.backDiscountVal
|
|
|
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({
|
|
@@ -460,7 +461,7 @@ export default {
|
|
|
type: 0,
|
|
|
href: url,
|
|
|
title: this.customerObj.customerName,
|
|
|
- summary: '共' + this.settlement + '元,请您查阅',
|
|
|
+ summary: '共' + settlement + '元,请您查阅',
|
|
|
imageUrl: '../../static/logo.png',
|
|
|
success: (res)=> {
|
|
|
this.setBillOrder();
|
|
@@ -472,7 +473,7 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
uni.shareWithSystem({
|
|
|
- summary: this.customerObj.customerName + '您好,您有一个对账单共' + this.settlement + '元,请您查阅',
|
|
|
+ summary: this.customerObj.customerName + '您好,您有一个对账单共' + settlement + '元,请您查阅',
|
|
|
href: url,
|
|
|
success:()=> {
|
|
|
this.setBillOrder();
|