wangfukang 3 years ago
parent
commit
437df3cdf7
  1. 4
      package1/other/logistics.vue

4
package1/other/logistics.vue

@ -154,7 +154,7 @@
copyAddress(item,type){ copyAddress(item,type){
console.log(item); console.log(item);
if(type=='fa'){ if(type=='fa'){
var data = item.shopName + item.createBy+'河北省沧州市运河区明珠商贸城' + item.getOrderAddress var data = item.shopName + (item.createBy || item.createByPhone)+'河北省沧州市运河区明珠商贸城' + item.getOrderAddress
uni.setClipboardData({ uni.setClipboardData({
data: data, data: data,
success: function () { success: function () {
@ -163,7 +163,7 @@
}); });
}else{ }else{
var aaa = item.orderAddress.substr(item.orderAddress.indexOf('-')) var aaa = item.orderAddress.substr(item.orderAddress.indexOf('-'))
var data = item.userName +item.userMobile + aaa var data = item.userName +(item.userPhone || item.userMobile) + item.province+item.city+item.area+aaa
uni.setClipboardData({ uni.setClipboardData({
data: data, data: data,
success: function () { success: function () {

Loading…
Cancel
Save