chenrui 2 lat temu
rodzic
commit
3c5c10e8e2
2 zmienionych plików z 6 dodań i 4 usunięć
  1. 3 2
      pages/sales/bill.vue
  2. 3 2
      pages/sales/billHistoryDetail.vue

+ 3 - 2
pages/sales/bill.vue

@@ -458,14 +458,15 @@ export default {
 			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?' + this.userData.orgSn + '&'+verifyId;
+			let jumpUrl = getApp().globalData.baseUrl.replace('qpls-md/','')
+			let url = jumpUrl +'dzd/index.html?' + this.userData.orgSn + '&'+verifyId;
 			if (uni.getSystemInfoSync().platform == 'ios') {
 				uni.share({
 					provider: 'weixin',
 					scene: 'WXSceneSession',
 					type: 0,
 					href: url,
-					title: this.customerObj.customerName,
+					title: this.customerObj.customerName+'的对账单',
 					summary: '共' + settlement + '元,请您查阅',
 					imageUrl: '../../static/logo.png',
 					success: (res)=> {

+ 3 - 2
pages/sales/billHistoryDetail.vue

@@ -111,14 +111,15 @@ export default {
 		},
 		// 分享图文
 		handleShare() {
-			let url = 'http://p.iscm.360arrow.com/dzd/index.html?' + this.userData.orgSn + '&' + this.verifySn;
+			let jumpUrl = getApp().globalData.baseUrl.replace('qpls-md/','')
+			let url = jumpUrl+'dzd/index.html?' + this.userData.orgSn + '&' + this.verifySn;
 			if (uni.getSystemInfoSync().platform == 'ios') {
 				uni.share({
 					provider: 'weixin',
 					scene: 'WXSceneSession',
 					type: 0,
 					href: url,
-					title: this.billInfo.customer.customerName,
+					title: this.billInfo.customer.customerName + '的对账单',
 					summary: '共' + this.billInfo.settleAmount + '元,请您查阅',
 					imageUrl: '../../static/logo.png',
 					success: function(res) {