Authored by 郭成尧

address-bug-fixed

... ... @@ -335,8 +335,7 @@ const getOrders = (params) => {
});
// 如果不允许修改省
if (value.is_support_change_province !== 'Y' &&
!_.get(value, 'delivery_address.province_area_code', false)) {
if (value.is_support_change_province !== 'Y') {
modifyAddress.modifyAddressUrl += '&provinceAreaCode=' +
_.get(value, 'delivery_address.province_area_code', '');
}
... ...
... ... @@ -303,8 +303,9 @@ const orderDetailData = (uid, orderCode) => {
});
// 如果不允许修改省
if (orderDetail.isSupportChangeProvince !== 'Y' && orderDetail.provinceAreaCode) {
orderDetail.newUrl = orderDetail.newUrl + '&provinceAreaCode=' + orderDetail.provinceAreaCode;
if (orderDetail.isSupportChangeProvince !== 'Y') {
orderDetail.newUrl = orderDetail.newUrl + '&provinceAreaCode=' +
_.get(orderDetail, 'deliveryAddress.provinceAreaCode', '');
}
// 为支付的拆单配送信息
... ...
... ... @@ -25,8 +25,7 @@
</div>
<div class="form-group">
<label for="address" class="label-address">详细地址:</label>
<textarea name="address" type="text" value="" maxlength="255">{{address}}
</textarea>
<textarea name="address" type="text" value="" maxlength="255">{{address}}</textarea>
</div>
<input type="hidden" name="orderCode" value="{{orderCode}}">
</form>
... ...