Commit a4844baf19604b1c5b06edf428a4dc534765e4d0

Authored by yvan.ni
1 parent d7548408

收货地址要用 地址详情里面的手机号

pages/cart/cart2/cart2.js
@@ -1838,7 +1838,7 @@ Page({ @@ -1838,7 +1838,7 @@ Page({
1838 'twon': addr == null ? 0 : addr.twon, 1838 'twon': addr == null ? 0 : addr.twon,
1839 'address': addr == null ? "" : addr.address, 1839 'address': addr == null ? "" : addr.address,
1840 'more_address': addr == null ? "" : addr.more_address, 1840 'more_address': addr == null ? "" : addr.more_address,
1841 - 'mobile': th.data.userinfo.mobile, 1841 + 'mobile': addr == null ? th.data.userinfo.mobile : addr.mobile,
1842 'email': '', 1842 'email': '',
1843 'shipping_code': th.data.is_all_zt == 1 ? 0 : th.data.wu_arr[t_item.wind].code, 1843 'shipping_code': th.data.is_all_zt == 1 ? 0 : th.data.wu_arr[t_item.wind].code,
1844 'shipping_name': th.data.is_all_zt == 1 ? '' : th.data.wu_arr[t_item.wind].name, 1844 'shipping_name': th.data.is_all_zt == 1 ? '' : th.data.wu_arr[t_item.wind].name,
pages/cart/cart2_pt/cart2_pt.js
@@ -488,7 +488,7 @@ Page({ @@ -488,7 +488,7 @@ Page({
488 'twon': addr == null ? 0 : addr.twon, 488 'twon': addr == null ? 0 : addr.twon,
489 'address': addr == null ? "": addr.address, 489 'address': addr == null ? "": addr.address,
490 'more_address': addr == null ? "" : addr.more_address, 490 'more_address': addr == null ? "" : addr.more_address,
491 - 'mobile': th.data.userinfo.mobile, 491 + 'mobile': addr == null ? th.data.userinfo.mobile:addr.mobile,
492 'email':'', 492 'email':'',
493 'invoice_title':'', 493 'invoice_title':'',
494 'goods_price': th.data.formData.all_price, //商品总价 494 'goods_price': th.data.formData.all_price, //商品总价