Browse Source

'2023年3月28日09:49:15'

master
wq 2 years ago
parent
commit
e19039d4ec

+ 4
- 7
app/src/main/AndroidManifest.xml View File

@@ -75,13 +75,7 @@
tools:ignore="AllowBackup,LockedOrientationActivity"
tools:replace="android:allowBackup,android:supportsRtl,android:label"
tools:targetApi="n">
<activity
android:name=".BusinessDetectionActivity"
android:exported="false">
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>

<!-- 表示当前已经适配了分区存储 -->
<meta-data
android:name="ScopedStorage"
@@ -636,6 +630,9 @@
android:name=".project.ui.activity.after.EditCarInfoStep2Activity"
android:launchMode="singleTop"
android:screenOrientation="portrait" />
<activity android:name=".project.ui.activity.BusinessDetectionActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait"/>
</application>

</manifest>

+ 2
- 2
app/src/main/java/com/huntersun/vkyes/etcopencard/project/api/MyRetrofit.java View File

@@ -49,8 +49,8 @@ public class MyRetrofit {
* 回显地址:222.85.144.89:19002/xxxxxx
*/
// private final String BaseUrl = "http://58.16.58.161:19002/ifzt/api/";
// private final String BaseUrl = "http://222.85.144.89:19002/ifzt/api/"; //接口地址
private final String BaseUrl = "http://192.168.100.63:8087/ifzt/api/"; //VPN访问请求地址
private final String BaseUrl = "http://222.85.144.89:19002/ifzt/api/"; //接口地址
// private final String BaseUrl = "http://192.168.100.63:8087/ifzt/api/"; //VPN访问请求地址

private final String FileUrl = "http://222.85.144.89:19003/ifzt/api/"; //文件服务
public static final String URL_DOWNLOAD_FILE = "http://192.168.100.63:8087/user-export-excel/";//通行流水下载路径前缀

+ 179
- 2
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/BusinessDetectionActivity.java View File

@@ -1,20 +1,55 @@
package com.huntersun.vkyes.etcopencard.project.ui.activity;

import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.google.gson.Gson;
import com.huntersun.vkyes.etcopencard.R;
import com.huntersun.vkyes.etcopencard.databinding.ActivityBusinessDetectionBinding;
import com.huntersun.vkyes.etcopencard.databinding.ActivityDefrayBinding;
import com.huntersun.vkyes.etcopencard.databinding.FragmentSonOneBinding;
import com.huntersun.vkyes.etcopencard.project.api.Api;
import com.huntersun.vkyes.etcopencard.project.api.Converter;
import com.huntersun.vkyes.etcopencard.project.api.MyRetrofit;
import com.huntersun.vkyes.etcopencard.project.api.Parameters;
import com.huntersun.vkyes.etcopencard.project.api.RequestParameters;
import com.huntersun.vkyes.etcopencard.project.api.Result;
import com.huntersun.vkyes.etcopencard.project.api.bean.EnumBean;
import com.huntersun.vkyes.etcopencard.project.api.bean.IFCode;
import com.huntersun.vkyes.etcopencard.project.api.bean.ResultBean;
import com.huntersun.vkyes.etcopencard.project.ui.activity.order.OrderDetailsActivity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.order.OrderUtils;
import com.huntersun.vkyes.etcopencard.project.utils.Constants;
import com.huntersun.vkyes.etcopencard.project.utils.FunHelper;
import com.huntersun.vkyes.etcopencard.src.action.StatusAction;
import com.huntersun.vkyes.etcopencard.src.aop.SingleClick;
import com.huntersun.vkyes.etcopencard.src.app.AppActivity;
import com.huntersun.vkyes.etcopencard.src.widget.StatusLayout;
import com.scwang.smart.refresh.layout.api.RefreshLayout;
import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener;

import java.util.List;

import retrofit2.Response;

/**
* @author admin
*/
public class BusinessDetectionActivity extends AppActivity {
public class BusinessDetectionActivity extends AppActivity
implements OnRefreshLoadMoreListener, StatusAction {
private ActivityBusinessDetectionBinding binding;
private int page = 1;
private int orderStep = 0;
private String licensePlate;
private boolean hasMore;

@Override
protected View getLayoutView() {
@@ -24,11 +59,153 @@ public class BusinessDetectionActivity extends AppActivity {

@Override
protected void initView() {

setTitle("业务检测");
binding.rvStatusList.setAdapter(adapter);
binding.rlStatusRefresh.setOnRefreshLoadMoreListener(this);
binding.rlStatusRefresh.setOnRefreshListener(this);
}

@Override
protected void initData() {
LoadData();
}

public void LoadData() {
if (page == 1) {
hasMore = true;
}

List<String> list = null;
Parameters parameters = new Parameters();
//0 - 全部 1 - 申办中 2 - 待发货 3 - 待激活 4 - 已完成
parameters.setTabIndex("4");
if (orderStep != 0) {
parameters.setOrderStep(orderStep + "");
}
parameters.setPageNo(page + "");
parameters.setPageSize("10");
parameters.setVehiclePlate(licensePlate);
RequestParameters parameters1 =
new RequestParameters(IFCode.IFCODE36, new Gson().toJson(parameters));
if (page == 1) {
showLoading();
}
//通过code换取appid
new MyRetrofit().getRetrofit().create(Api.class).message2(parameters1)
.enqueue(new Converter<Result>(getActivity()) {
@SuppressLint("NotifyDataSetChanged")
@Override
protected void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent1) {
int totalSize = Integer.parseInt(bizContent1.getTotalCount()); // 获取总的数据条数
if (page == 1) {
adapter.replaceData(bizContent1.getData());
} else {
if (!FunHelper.isEmpty(bizContent1.getData())) {
adapter.addData(bizContent1.getData());
}
}
if (FunHelper.isEmpty(bizContent1.getData()) && page == 1) {
showEmpty();
} else {
showComplete();
}
hasMore = adapter.getData().size() < totalSize;
}

@Override
public void onError(String err, Response<Result> resp) {
super.onError(err, resp);
showError(new StatusLayout.OnRetryListener() {
@Override
public void onRetry(StatusLayout layout) {
LoadData();
}
});
}
});
}

/*
* 订单adapter
*/
BaseQuickAdapter<ResultBean.BizContent, BaseViewHolder> adapter
= new BaseQuickAdapter<ResultBean.BizContent, BaseViewHolder>(R.layout.item_list_content) {
@SuppressLint("LogNotTimber")
@Override
protected void convert(BaseViewHolder helper, ResultBean.BizContent item) {
helper.setText(R.id.text, item.getInsertTime());
helper.setText(R.id.text1, item.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) ? "已取消" : EnumBean.backValue(item.getOrderStep(), EnumBean.OrderStage));
helper.setText(R.id.text2, item.getVehiclePlate());
helper.setText(R.id.text3, EnumBean.backValue(item.getVehiclePlateColor(), EnumBean.VehicleColorArray));
helper.setText(R.id.text4, "PERSONAL_USER".equals(item.getUserType()) ? "个人用户" : "单位用户");
helper.setText(R.id.text6, "0".equals(item.getType()) ? "客车办理" : "货车办理");
helper.setText(R.id.text7, "0".equals(item.getType()) ? "客车" : "货车");
helper.setText(R.id.text8, item.getAmount() == null ? "0.00元" : Integer.parseInt(item.getAmount()) * 0.01 + "元");

new OrderUtils(getActivity(), item, true, helper.getView(R.id.LLBtns),
helper.getView(R.id.btnFinish), helper.getView(R.id.btnLogistics),
helper.getView(R.id.btnReturnGoods), helper.getView(R.id.btnExGoods),
helper.getView(R.id.btnCancelOrder), helper.getView(R.id.btnEditAddr),
helper.getView(R.id.btnAudit), helper.getView(R.id.btnDeliver),
helper.getView(R.id.btnActive), helper.getView(R.id.btnAgainActive),
helper.getView(R.id.btnReceiveGoods),
helper.getView(R.id.btnUserInfoUpload),
helper.getView(R.id.btnCarInfoUpload),
helper.getView(R.id.btnConfirmInfo),
helper.getView(R.id.btnPay));

//更据订单状态显示按钮状态
if (!item.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) &&
Integer.parseInt(item.getOrderStep()) == Constants.ORDER_STATUS_COMPLETE) {//已完成

helper.getView(R.id.complete).setVisibility(View.VISIBLE);
Button button1 = helper.getView(R.id.btnRelieveTheLoss); //卡签挂失/解除挂失
Button button2 = helper.getView(R.id.btnCancellation); //注销
Button button3 = helper.getView(R.id.btnEnable); //卡签停用/启用
Button button5 = helper.getView(R.id.btnUnlock); //卡Pin码解锁
Button button6 = helper.getView(R.id.btnRelieve); //解除车牌占用
Button button7 = helper.getView(R.id.btnTransfer); //ETC过户
OrderUtils.jumpCompleted(getActivity(), item, button1, button2, button3, button5, button6, button7);
}
helper.setOnClickListener(R.id.layout, new View.OnClickListener() {
@Override
@SingleClick
public void onClick(View v) {//跳转订单详情
Intent intent = new Intent();
intent.putExtra("id", item.getId());
intent.setClass(getContext(), OrderDetailsActivity.class);
startActivity(intent);
}
});
}
};

@Override
public StatusLayout getStatusLayout() {
return binding.hlStatusHint;
}

@Override
public void onLoadMore(@NonNull RefreshLayout refreshLayout) {
if (!hasMore) {
binding.rlStatusRefresh.finishLoadMore();
return;
}

postDelayed(() -> {
page = page + 1;
LoadData();
binding.rlStatusRefresh.finishLoadMore();
}, 1000);
}

@Override
public void onRefresh(@NonNull RefreshLayout refreshLayout) {
licensePlate = "";
postDelayed(() -> {
page = 1;
LoadData();
binding.rlStatusRefresh.finishRefresh();
}, 1000);
}
}

+ 113
- 97
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/order/OrderDetailsActivity.java View File

@@ -1,6 +1,7 @@
package com.huntersun.vkyes.etcopencard.project.ui.activity.order;

import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;

import com.google.gson.Gson;
@@ -27,6 +28,7 @@ import retrofit2.Response;

/**
* 订单详情
*
* @author ht
*/
public class OrderDetailsActivity extends AppActivity implements StatusAction {
@@ -48,14 +50,14 @@ public class OrderDetailsActivity extends AppActivity implements StatusAction {
id = getIntent().getStringExtra("id");

//监听信息
LiveEventBus.get("credentialsUpdateData", String.class) .observe(this, s -> {
getOrderDetails();
LiveEventBus.get("credentialsUpdateData", String.class).observe(this, s -> {
getOrderDetails();
});
}

@Override
protected void initData() {
if(FunHelper.isEmpty(id)){
if (FunHelper.isEmpty(id)) {
toast("订单id不能为空!");
return;
}
@@ -65,148 +67,161 @@ public class OrderDetailsActivity extends AppActivity implements StatusAction {
/**
* 设置订单列表数据
*/
private void setOrderView(){
private void setOrderView() {
binding.tvOrderStep.setText(orderData.getOrderStatus().equals(Constants.ORDER_STATUS_CANCEL + "") ? "已取消" : FunHelper.getOrderStatusName(Integer.parseInt(orderData.getOrderStep())));
binding.LLAfterSaleInfo.setVisibility(View.GONE);
binding.LLStaffInfo.setVisibility(View.GONE);
if (orderData.orderInfoExt == null){
if (orderData.orderInfoExt == null) {
orderData.orderInfoExt = new ResultBean.OrderInfoExt();
}

//已完成
if (!orderData.getOrderStatus().equals(String.valueOf(Constants.ORDER_STATUS_CANCEL)) &&
Integer.parseInt(orderData.getOrderStep()) == Constants.ORDER_STATUS_COMPLETE) {//已完成
binding.complete.setVisibility(View.VISIBLE);
Button button1 = findViewById(R.id.btnRelieveTheLoss); //卡签挂失/解除挂失
Button button2 = findViewById(R.id.btnCancellation); //注销
Button button3 = findViewById(R.id.btnEnable); //卡签停用/启用
Button button5 = findViewById(R.id.btnUnlock); //卡Pin码解锁
Button button6 = findViewById(R.id.btnRelieve); //解除车牌占用
Button button7 = findViewById(R.id.btnTransfer); //ETC过户
OrderUtils.jumpCompleted(getActivity(), orderData, button1, button2, button3, button5, button6, button7);
}

//地址信息
if (orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_WAIT_AUDIT))
|| orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_WAIT_DELIVERY))
|| orderData.getOrderStep().equals(Constants.ORDER_STATUS_WAIT_TAKE_DELIVERY)){
|| orderData.getOrderStep().equals(Constants.ORDER_STATUS_WAIT_TAKE_DELIVERY)) {
binding.rlAddrInfo.setVisibility(View.VISIBLE);
if(!FunHelper.isEmpty(orderData.orderInfoExt.consignee)){
if (!FunHelper.isEmpty(orderData.orderInfoExt.consignee)) {
binding.tvConsignee.setText(orderData.orderInfoExt.consignee + " " + orderData.orderInfoExt.consigneeTel);
binding.tvAddress.setText(orderData.orderInfoExt.region + ' ' + orderData.orderInfoExt.address);
}
}else{
} else {
binding.rlAddrInfo.setVisibility(View.GONE);
}

//基本信息
binding.LLBaseInfoContent.removeAllViews();
addItemView(binding.LLBaseInfoContent,"产品名称",FunHelper.isEmpty(orderData.getProductName()) ? "" : orderData.getProductName(),1,false);
addItemView(binding.LLBaseInfoContent,"订单编号",FunHelper.isEmpty(orderData.getOrderId()) ? "" : orderData.getOrderId(),1,false);
addItemView(binding.LLBaseInfoContent,"业务类型",FunHelper.getOrderTypeName(FunHelper.isEmpty(orderData.orderType) ? "" : orderData.orderType),1,false);
addItemView(binding.LLBaseInfoContent,"订单车牌号",FunHelper.isEmpty(orderData.getVehiclePlate()) ? "" : orderData.getVehiclePlate(),1,false);
addItemView(binding.LLBaseInfoContent,"用户类型",(orderData.getUserType().equals("PERSONAL_USER") || orderData.getUserType().equals("1")) ? "个人" : "单位",1,false);
addItemView(binding.LLBaseInfoContent,"车辆类型",FunHelper.getCarTypeName(FunHelper.isEmpty(orderData.getType()) ? "":orderData.getType()),1,false);
addItemView(binding.LLBaseInfoContent,"订单金额","¥ " + (Integer.parseInt(FunHelper.isEmpty(orderData.getAmount()) ? "0" : orderData.getAmount()) * 0.01),2,false);
addItemView(binding.LLBaseInfoContent,"订单状态",FunHelper.getOrderStatusName(Integer.parseInt(FunHelper.isEmpty(orderData.getOrderStep()) ? "" : orderData.getOrderStep())),1,false);
addItemView(binding.LLBaseInfoContent, "产品名称", FunHelper.isEmpty(orderData.getProductName()) ? "" : orderData.getProductName(), 1, false);
addItemView(binding.LLBaseInfoContent, "订单编号", FunHelper.isEmpty(orderData.getOrderId()) ? "" : orderData.getOrderId(), 1, false);
addItemView(binding.LLBaseInfoContent, "业务类型", FunHelper.getOrderTypeName(FunHelper.isEmpty(orderData.orderType) ? "" : orderData.orderType), 1, false);
addItemView(binding.LLBaseInfoContent, "订单车牌号", FunHelper.isEmpty(orderData.getVehiclePlate()) ? "" : orderData.getVehiclePlate(), 1, false);
addItemView(binding.LLBaseInfoContent, "用户类型", (orderData.getUserType().equals("PERSONAL_USER") || orderData.getUserType().equals("1")) ? "个人" : "单位", 1, false);
addItemView(binding.LLBaseInfoContent, "车辆类型", FunHelper.getCarTypeName(FunHelper.isEmpty(orderData.getType()) ? "" : orderData.getType()), 1, false);
addItemView(binding.LLBaseInfoContent, "订单金额", "¥ " + (Integer.parseInt(FunHelper.isEmpty(orderData.getAmount()) ? "0" : orderData.getAmount()) * 0.01), 2, false);
addItemView(binding.LLBaseInfoContent, "订单状态", FunHelper.getOrderStatusName(Integer.parseInt(FunHelper.isEmpty(orderData.getOrderStep()) ? "" : orderData.getOrderStep())), 1, false);
//addItemView(binding.LLBaseInfoContent,"设备型号",orderData.getProductName(),1,true);

addItemView(binding.LLBaseInfoContent,"创建时间",FunHelper.isEmpty(orderData.getInsertTime()) ? "" : orderData.getInsertTime(),1,false);
addItemView(binding.LLBaseInfoContent,"付款时间",FunHelper.isEmpty(orderData.orderInfoExt.payTime) ? "" : orderData.orderInfoExt.payTime,1,true);
addItemView(binding.LLBaseInfoContent, "创建时间", FunHelper.isEmpty(orderData.getInsertTime()) ? "" : orderData.getInsertTime(), 1, false);
addItemView(binding.LLBaseInfoContent, "付款时间", FunHelper.isEmpty(orderData.orderInfoExt.payTime) ? "" : orderData.orderInfoExt.payTime, 1, true);

if (orderData.getOrderStatus().equals(Constants.ORDER_STATUS_CANCEL + "")){//已取消
addItemView(binding.LLBaseInfoContent,"取消时间",FunHelper.isEmpty(orderData.orderInfoExt.cancelTime) ? "" : orderData.orderInfoExt.cancelTime,1,false);
addItemView(binding.LLBaseInfoContent,"取消原因",FunHelper.isEmpty(orderData.orderInfoExt.cancelReason) ? "" : orderData.orderInfoExt.cancelReason,1,true);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
}else{
switch (Integer.parseInt(orderData.getOrderStep())){
if (orderData.getOrderStatus().equals(Constants.ORDER_STATUS_CANCEL + "")) {//已取消
addItemView(binding.LLBaseInfoContent, "取消时间", FunHelper.isEmpty(orderData.orderInfoExt.cancelTime) ? "" : orderData.orderInfoExt.cancelTime, 1, false);
addItemView(binding.LLBaseInfoContent, "取消原因", FunHelper.isEmpty(orderData.orderInfoExt.cancelReason) ? "" : orderData.orderInfoExt.cancelReason, 1, true);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
} else {
switch (Integer.parseInt(orderData.getOrderStep())) {
case Constants.ORDER_STATUS_WAIT_AUDIT://待审核
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_WAIT_DELIVERY://待发货
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_WAIT_TAKE_DELIVERY://待收货
addItemView(binding.LLBaseInfoContent,"发货时间",FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ?"":orderData.orderInfoExt.deliveryTime,1,false);
addItemView(binding.LLBaseInfoContent,"物流单号",FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber,1,false);
addItemView(binding.LLBaseInfoContent,"物流公司",FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany,1,true);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "发货时间", FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime, 1, false);
addItemView(binding.LLBaseInfoContent, "物流单号", FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber, 1, false);
addItemView(binding.LLBaseInfoContent, "物流公司", FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany, 1, true);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_WAIT_ACTIVE://待激活
addItemView(binding.LLBaseInfoContent,"发货时间",FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime,1,false);
addItemView(binding.LLBaseInfoContent,"收货时间",FunHelper.isEmpty(orderData.orderInfoExt.receivingTime) ? "" : orderData.orderInfoExt.receivingTime,1,false);
addItemView(binding.LLBaseInfoContent,"物流单号",FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber,1,false);
addItemView(binding.LLBaseInfoContent,"物流公司",FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany,1,true);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "发货时间", FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime, 1, false);
addItemView(binding.LLBaseInfoContent, "收货时间", FunHelper.isEmpty(orderData.orderInfoExt.receivingTime) ? "" : orderData.orderInfoExt.receivingTime, 1, false);
addItemView(binding.LLBaseInfoContent, "物流单号", FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber, 1, false);
addItemView(binding.LLBaseInfoContent, "物流公司", FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany, 1, true);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_EX_GOODS://换货
addItemView(binding.LLBaseInfoContent,"发货时间",FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime,1,false);
addItemView(binding.LLBaseInfoContent,"物流单号",FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber,1,false);
addItemView(binding.LLBaseInfoContent,"物流公司",FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany,1,true);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ?"":orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "发货时间", FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime, 1, false);
addItemView(binding.LLBaseInfoContent, "物流单号", FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber, 1, false);
addItemView(binding.LLBaseInfoContent, "物流公司", FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany, 1, true);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_RETURN_GOODS://退货
addItemView(binding.LLBaseInfoContent,"发货时间",FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ?"":orderData.orderInfoExt.deliveryTime,1,false);
addItemView(binding.LLBaseInfoContent,"物流单号",FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber,1,false);
addItemView(binding.LLBaseInfoContent,"物流公司",FunHelper.isEmpty(orderData.courierCompany) ? "": orderData.courierCompany,1,true);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "发货时间", FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime, 1, false);
addItemView(binding.LLBaseInfoContent, "物流单号", FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber, 1, false);
addItemView(binding.LLBaseInfoContent, "物流公司", FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany, 1, true);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_FINISH://已结束
addItemView(binding.LLBaseInfoContent,"发货时间",FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" :orderData.orderInfoExt.deliveryTime,1,false);
addItemView(binding.LLBaseInfoContent,"收货时间",FunHelper.isEmpty(orderData.orderInfoExt.receivingTime) ? "" : orderData.orderInfoExt.receivingTime,1,false);
addItemView(binding.LLBaseInfoContent,"订单结束时间",FunHelper.isEmpty(orderData.orderInfoExt.finishTime) ? "" : orderData.orderInfoExt.finishTime,1,false);
addItemView(binding.LLBaseInfoContent,"物流单号",FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber,1,false);
addItemView(binding.LLBaseInfoContent,"物流公司",FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany,1,true);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "发货时间", FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime, 1, false);
addItemView(binding.LLBaseInfoContent, "收货时间", FunHelper.isEmpty(orderData.orderInfoExt.receivingTime) ? "" : orderData.orderInfoExt.receivingTime, 1, false);
addItemView(binding.LLBaseInfoContent, "订单结束时间", FunHelper.isEmpty(orderData.orderInfoExt.finishTime) ? "" : orderData.orderInfoExt.finishTime, 1, false);
addItemView(binding.LLBaseInfoContent, "物流单号", FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber, 1, false);
addItemView(binding.LLBaseInfoContent, "物流公司", FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany, 1, true);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
case Constants.ORDER_STATUS_COMPLETE://已完成
addItemView(binding.LLBaseInfoContent,"发货时间",FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime,1,false);
addItemView(binding.LLBaseInfoContent,"收货时间",FunHelper.isEmpty(orderData.orderInfoExt.receivingTime) ? "":orderData.orderInfoExt.receivingTime,1,false);
addItemView(binding.LLBaseInfoContent,"物流单号",FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber,1,false);
addItemView(binding.LLBaseInfoContent,"物流公司",FunHelper.isEmpty(orderData.courierCompany) ?"":orderData.courierCompany,1,true);
addItemView(binding.LLBaseInfoContent, "发货时间", FunHelper.isEmpty(orderData.orderInfoExt.deliveryTime) ? "" : orderData.orderInfoExt.deliveryTime, 1, false);
addItemView(binding.LLBaseInfoContent, "收货时间", FunHelper.isEmpty(orderData.orderInfoExt.receivingTime) ? "" : orderData.orderInfoExt.receivingTime, 1, false);
addItemView(binding.LLBaseInfoContent, "物流单号", FunHelper.isEmpty(orderData.trackingNumber) ? "" : orderData.trackingNumber, 1, false);
addItemView(binding.LLBaseInfoContent, "物流公司", FunHelper.isEmpty(orderData.courierCompany) ? "" : orderData.courierCompany, 1, true);

addItemView(binding.LLBaseInfoContent,"激活时间",FunHelper.isEmpty(orderData.cardEnableTime) ? "" : orderData.cardEnableTime,1,false);
addItemView(binding.LLBaseInfoContent,"卡号",FunHelper.isEmpty(orderData.getCardId()) ? "" : orderData.getCardId(),1,false);
addItemView(binding.LLBaseInfoContent,"卡状态",FunHelper.getETCStatusName(Integer.parseInt(FunHelper.isEmpty(orderData.getCardStatus()) ? "0" : orderData.getCardStatus())),2,false);
addItemView(binding.LLBaseInfoContent,"OBU号",FunHelper.isEmpty(orderData.getObuId()) ? "" : orderData.getObuId(),1,false);
addItemView(binding.LLBaseInfoContent,"OBU状态",FunHelper.getOBUStatusName(Integer.parseInt(FunHelper.isEmpty(orderData.getObuStatus()) ? "0" : orderData.getObuStatus())),2,false);
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "激活时间", FunHelper.isEmpty(orderData.cardEnableTime) ? "" : orderData.cardEnableTime, 1, false);
addItemView(binding.LLBaseInfoContent, "卡号", FunHelper.isEmpty(orderData.getCardId()) ? "" : orderData.getCardId(), 1, false);
addItemView(binding.LLBaseInfoContent, "卡状态", FunHelper.getETCStatusName(Integer.parseInt(FunHelper.isEmpty(orderData.getCardStatus()) ? "0" : orderData.getCardStatus())), 2, false);
addItemView(binding.LLBaseInfoContent, "OBU号", FunHelper.isEmpty(orderData.getObuId()) ? "" : orderData.getObuId(), 1, false);
addItemView(binding.LLBaseInfoContent, "OBU状态", FunHelper.getOBUStatusName(Integer.parseInt(FunHelper.isEmpty(orderData.getObuStatus()) ? "0" : orderData.getObuStatus())), 2, false);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
default:
addItemView(binding.LLBaseInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLBaseInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
break;
}
}

//换货、退货
if (orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_EX_GOODS)) ||
orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_RETURN_GOODS))){
orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_RETURN_GOODS))) {
binding.LLAfterSaleInfo.setVisibility(View.VISIBLE);
binding.LLStaffInfo.setVisibility(View.VISIBLE);

//售后信息
binding.LLAfterSaleInfoContent.removeAllViews();
addItemView(binding.LLAfterSaleInfoContent,"售后单号","",1,false);
addItemView(binding.LLAfterSaleInfoContent,"业务类型",!FunHelper.isEmpty(orderData.orderInfoExt.exchangeMode) ? "换货" : "退货",1,false);
addItemView(binding.LLAfterSaleInfoContent,"创建时间","",1,false);
if (orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_EX_GOODS))){
addItemView(binding.LLAfterSaleInfoContent, "售后单号", "", 1, false);
addItemView(binding.LLAfterSaleInfoContent, "业务类型", !FunHelper.isEmpty(orderData.orderInfoExt.exchangeMode) ? "换货" : "退货", 1, false);
addItemView(binding.LLAfterSaleInfoContent, "创建时间", "", 1, false);
if (orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_EX_GOODS))) {
binding.tvAfterSaleTitle.setText("用户换货信息");
binding.tvStaffTitle.setText("业务员发起换货");
addItemView(binding.LLAfterSaleInfoContent,"换货物流公司",FunHelper.isEmpty(orderData.orderInfoExt.exchangeLogisticsCompany) ? "" : orderData.orderInfoExt.exchangeLogisticsCompany,1,false);
addItemView(binding.LLAfterSaleInfoContent,"换货物流单号",FunHelper.isEmpty(orderData.orderInfoExt.exchangeLogisticsNumber) ? "" : orderData.orderInfoExt.exchangeLogisticsNumber,1,false);
addItemView(binding.LLAfterSaleInfoContent,"换货原因",FunHelper.isEmpty(orderData.orderInfoExt.cancelReason) ? "" : orderData.orderInfoExt.cancelReason,1,false);
}else{
addItemView(binding.LLAfterSaleInfoContent, "换货物流公司", FunHelper.isEmpty(orderData.orderInfoExt.exchangeLogisticsCompany) ? "" : orderData.orderInfoExt.exchangeLogisticsCompany, 1, false);
addItemView(binding.LLAfterSaleInfoContent, "换货物流单号", FunHelper.isEmpty(orderData.orderInfoExt.exchangeLogisticsNumber) ? "" : orderData.orderInfoExt.exchangeLogisticsNumber, 1, false);
addItemView(binding.LLAfterSaleInfoContent, "换货原因", FunHelper.isEmpty(orderData.orderInfoExt.cancelReason) ? "" : orderData.orderInfoExt.cancelReason, 1, false);
} else {
binding.tvAfterSaleTitle.setText("用户退货信息");
binding.tvStaffTitle.setText("业务员发起退货");
addItemView(binding.LLAfterSaleInfoContent,"退货物流公司",FunHelper.isEmpty(orderData.orderInfoExt.returnLogisticsCompany) ? " " :orderData.orderInfoExt.returnLogisticsCompany,1,false);
addItemView(binding.LLAfterSaleInfoContent,"退货物流单号",FunHelper.isEmpty(orderData.orderInfoExt.returnLogisticsNumber) ? "" :orderData.orderInfoExt.returnLogisticsNumber,1,false);
addItemView(binding.LLAfterSaleInfoContent,"退货原因",FunHelper.isEmpty(orderData.orderInfoExt.cancelReason) ? "" : orderData.orderInfoExt.cancelReason,1,false);
addItemView(binding.LLAfterSaleInfoContent, "退货物流公司", FunHelper.isEmpty(orderData.orderInfoExt.returnLogisticsCompany) ? " " : orderData.orderInfoExt.returnLogisticsCompany, 1, false);
addItemView(binding.LLAfterSaleInfoContent, "退货物流单号", FunHelper.isEmpty(orderData.orderInfoExt.returnLogisticsNumber) ? "" : orderData.orderInfoExt.returnLogisticsNumber, 1, false);
addItemView(binding.LLAfterSaleInfoContent, "退货原因", FunHelper.isEmpty(orderData.orderInfoExt.cancelReason) ? "" : orderData.orderInfoExt.cancelReason, 1, false);
}

//业务员信息
binding.LLStaffInfoContent.removeAllViews();
addItemView(binding.LLStaffInfoContent,"售后单号","",1,false);
addItemView(binding.LLStaffInfoContent,"业务类型",!FunHelper.isEmpty(orderData.orderInfoExt.exchangeMode) ? "换货" : "退货",1,false);
addItemView(binding.LLStaffInfoContent,"创建时间","",1,false);
if (orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_EX_GOODS))){
addItemView(binding.LLStaffInfoContent,"换货网点",FunHelper.isEmpty(orderData.orderInfoExt.exchangeNetworkName) ? " ":orderData.orderInfoExt.exchangeNetworkName,1,false);
addItemView(binding.LLStaffInfoContent,"换货原因",FunHelper.isEmpty(orderData.orderInfoExt.exchangeReason) ? "" : orderData.orderInfoExt.exchangeReason,1,true);
}else{
addItemView(binding.LLStaffInfoContent,"退货网点",FunHelper.isEmpty(orderData.orderInfoExt.returnNetworkName) ? "" :orderData.orderInfoExt.returnNetworkName,1,false);
addItemView(binding.LLStaffInfoContent,"退货原因",FunHelper.isEmpty(orderData.orderInfoExt.returnReason) ? "" : orderData.orderInfoExt.returnReason,1,true);
addItemView(binding.LLStaffInfoContent, "售后单号", "", 1, false);
addItemView(binding.LLStaffInfoContent, "业务类型", !FunHelper.isEmpty(orderData.orderInfoExt.exchangeMode) ? "换货" : "退货", 1, false);
addItemView(binding.LLStaffInfoContent, "创建时间", "", 1, false);
if (orderData.getOrderStep().equals(String.valueOf(Constants.ORDER_STATUS_EX_GOODS))) {
addItemView(binding.LLStaffInfoContent, "换货网点", FunHelper.isEmpty(orderData.orderInfoExt.exchangeNetworkName) ? " " : orderData.orderInfoExt.exchangeNetworkName, 1, false);
addItemView(binding.LLStaffInfoContent, "换货原因", FunHelper.isEmpty(orderData.orderInfoExt.exchangeReason) ? "" : orderData.orderInfoExt.exchangeReason, 1, true);
} else {
addItemView(binding.LLStaffInfoContent, "退货网点", FunHelper.isEmpty(orderData.orderInfoExt.returnNetworkName) ? "" : orderData.orderInfoExt.returnNetworkName, 1, false);
addItemView(binding.LLStaffInfoContent, "退货原因", FunHelper.isEmpty(orderData.orderInfoExt.returnReason) ? "" : orderData.orderInfoExt.returnReason, 1, true);
}
addItemView(binding.LLStaffInfoContent,"业务员",FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName,1,false);
addItemView(binding.LLStaffInfoContent, "业务员", FunHelper.isEmpty(orderData.staffName) ? "" : orderData.staffName, 1, false);
}

//初始化按钮信息
new OrderUtils(this,orderData,false,binding.LLBtns,binding.btnFinish,
new OrderUtils(this, orderData, false, binding.LLBtns, binding.btnFinish,
binding.btnLogistics, binding.btnReturnGoods, binding.btnExGoods,
binding.btnCancelOrder, binding.btnEditAddr, binding.btnAudit,
binding.btnDeliver, binding.btnActive, binding.btnAgainActive, binding.btnReceiveGoods,
@@ -219,28 +234,28 @@ public class OrderDetailsActivity extends AppActivity implements StatusAction {
* @param linearLayout
* @param label
* @param value
* @param colorType 1-黑色 2-绿色 3-红色
* @param isDivider 是否有分割线
* @param colorType 1-黑色 2-绿色 3-红色
* @param isDivider 是否有分割线
*/
private void addItemView(LinearLayout linearLayout,String label,String value,int colorType,boolean isDivider){
AddViewHolder holder = new AddViewHolder(this,R.layout.layout_order_details_item);
holder.setText(R.id.tvLabel,label);
holder.setText(R.id.tvValue,value);
if (colorType == 1){
holder.setTextColor(R.id.tvValue,R.color.black01);
}else if (colorType == 2){
holder.setTextColor(R.id.tvValue,R.color.common_accent_color);
}else if (colorType == 3){
holder.setTextColor(R.id.tvValue,R.color.red01);
private void addItemView(LinearLayout linearLayout, String label, String value, int colorType, boolean isDivider) {
AddViewHolder holder = new AddViewHolder(this, R.layout.layout_order_details_item);
holder.setText(R.id.tvLabel, label);
holder.setText(R.id.tvValue, value);
if (colorType == 1) {
holder.setTextColor(R.id.tvValue, R.color.black01);
} else if (colorType == 2) {
holder.setTextColor(R.id.tvValue, R.color.common_accent_color);
} else if (colorType == 3) {
holder.setTextColor(R.id.tvValue, R.color.red01);
}
holder.setVisible(R.id.tvLine,isDivider);
holder.setVisible(R.id.tvLine, isDivider);
linearLayout.addView(holder.getCustomView());
}

/**
* 获取订单详情信息
*/
private void getOrderDetails(){
private void getOrderDetails() {
showLoading();
FatherBean<SendTheVerificationCodeBean> fatherBean = new FatherBean<>();
fatherBean.bizContent = new SendTheVerificationCodeBean();
@@ -257,6 +272,7 @@ public class OrderDetailsActivity extends AppActivity implements StatusAction {
}
setOrderView();
}

@Override
public void onError(String err, Response<Result> resp) {
super.onError(err, resp);

+ 4
- 0
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/fragment/FragmentHomeTow.java View File

@@ -13,6 +13,7 @@ import com.huntersun.vkyes.etcopencard.R;
import com.huntersun.vkyes.etcopencard.databinding.FragmentHomeFiveBinding;
import com.huntersun.vkyes.etcopencard.project.api.bean.TestBean;
import com.huntersun.vkyes.etcopencard.project.tool.Utils;
import com.huntersun.vkyes.etcopencard.project.ui.activity.BusinessDetectionActivity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.MainActivity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.BalanceReplacementStep1Activity;
import com.huntersun.vkyes.etcopencard.project.ui.activity.after.CardUnlockPinActivity;
@@ -194,6 +195,9 @@ public class FragmentHomeTow extends TitleBarFragment<MainActivity> {

public void start(TestBean item) {
switch (item.message) {
case "业务检测":
startActivity(BusinessDetectionActivity.class);
break;
case "卡签信息查询":
startActivity(InfoTabActivity.class);
//startActivity(CardSignQueryActivity.class);

+ 4
- 7
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/fragment/FragmentSonOne.java View File

@@ -137,7 +137,9 @@ public class FragmentSonOne extends TitleBarFragment<MainActivity>
}

public void LoadData() {
if (page == 1) hasMore = true;
if (page == 1) {
hasMore = true;
}

List<String> list = null;
Parameters parameters = new Parameters();
@@ -173,12 +175,7 @@ public class FragmentSonOne extends TitleBarFragment<MainActivity>
} else {
showComplete();
}

if (adapter.getData().size() >= totalSize) {
hasMore = false;
} else {
hasMore = true;
}
hasMore = adapter.getData().size() < totalSize;
}

@Override

+ 2
- 2
app/src/main/res/layout/activity_business_detection.xml View File

@@ -2,9 +2,9 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".project.ui.activity.BusinessDetectionActivity">

<com.hjq.bar.TitleBar
@@ -13,7 +13,6 @@
android:background="@color/white"
app:leftIcon="@mipmap/back_black"
app:lineVisible="false"
app:title="储值卡转记账卡"
app:titleColor="@color/black01" />

<com.huntersun.vkyes.etcopencard.src.widget.StatusLayout
@@ -31,6 +30,7 @@
android:id="@+id/rv_status_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/dp_15"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listCount="10"
tools:listitem="@layout/item_list_content" />

+ 111
- 0
app/src/main/res/layout/activity_order_details.xml View File

@@ -3,6 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/background_color">

<com.huntersun.vkyes.etcopencard.src.widget.StatusLayout
@@ -188,6 +189,116 @@
</androidx.core.widget.NestedScrollView>
</com.huntersun.vkyes.etcopencard.src.widget.StatusLayout>

<LinearLayout
android:id="@+id/complete"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:gravity="center_vertical|right"
android:orientation="vertical"
android:elevation="@dimen/dp_10"
android:padding="@dimen/dp_10"
android:layout_alignParentBottom="true"
android:visibility="gone">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<Button
android:id="@+id/btnRelieveTheLoss"
style="@style/BtnShortStyle"
android:layout_width="0dp"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/dp_10"
android:layout_weight="1"
android:text="卡签挂失/解挂"
android:textSize="@dimen/sp_12"
android:visibility="visible"
tools:visibility="visible" />

<Button
android:id="@+id/btnEnable"
style="@style/BtnShortStyle"
android:layout_width="0dp"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/dp_10"
android:layout_weight="1"
android:text="停用/启用"
android:textSize="@dimen/sp_12"
android:visibility="visible"
tools:visibility="visible" />

<Button
android:id="@+id/btnCancellation"
style="@style/BtnShortStyle"
android:layout_width="0dp"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/dp_10"
android:layout_weight="1"
android:text="注销"
android:textSize="@dimen/sp_12"
android:visibility="visible"
tools:visibility="visible" />


</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_10"
android:orientation="horizontal">

<Button
android:id="@+id/btnRelieve"
style="@style/BtnShortStyle"
android:layout_width="0dp"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/dp_10"
android:layout_weight="1"
android:text="解除车牌占用"
android:textSize="@dimen/sp_12"
android:visibility="visible"
tools:visibility="visible" />

<Button
android:id="@+id/btnUnlock"
style="@style/BtnShortStyle"
android:layout_width="0dp"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/dp_10"
android:layout_weight="1"
android:text="卡Pin码解锁"
android:textSize="@dimen/sp_12"
android:visibility="visible"
tools:visibility="visible" />


<Button
android:id="@+id/btnTransfer"
style="@style/BtnShortStyle"
android:layout_width="0dp"
android:layout_height="@dimen/dp_25"
android:layout_gravity="center_vertical|center_horizontal"
android:layout_marginLeft="@dimen/dp_10"
android:layout_weight="1"
android:text="ETC过户"
android:textSize="@dimen/sp_12"
android:visibility="visible"
tools:visibility="visible" />


</LinearLayout>

</LinearLayout>

<!--按钮信息-->
<LinearLayout
android:id="@+id/LLBtns"

Loading…
Cancel
Save