提交 f36ba63a authored 作者: lgd's avatar lgd

1.修改三位小数

上级 bd5777c0
......@@ -1911,7 +1911,7 @@
<activity
android:name=".ui.activity.bat.store.ChooseInfoActivity"
android:configChanges="keyboardHidden|orientation"
android:label=" "
android:label="选择产品"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@style/Work.Base"
......
......@@ -251,8 +251,7 @@ public class CrucibleOrderDetailActivity extends WorkToolBarActivity {
if (dataBean.getOrderFlows().size() <= 3) {
llSeeMore.setVisibility(View.GONE);
flowList.addAll(dataBean.getOrderFlows());
} else {
flowList.addAll(dataBean.getOrderFlows().subList(0, 3));
} else { flowList.addAll(dataBean.getOrderFlows().subList(0, 3));
}
flowAdapter.notifyDataSetChanged();
proList.addAll(dataBean.getOrderItems());
......
......@@ -22,6 +22,7 @@ import com.wd.workoffice.retrofit.RtfUtils;
import com.wd.workoffice.retrofit.WorkObserver;
import com.wd.workoffice.ui.adapter.InsideOrderDetailProductAdapter;
import com.wd.workoffice.ui.adapter.OrderProcessAdapter;
import com.wd.workoffice.util.MathUtils;
import com.wd.workoffice.util.WorkUtils;
import org.greenrobot.eventbus.EventBus;
......@@ -223,7 +224,7 @@ public class InsideOrderDetailActivity extends WorkToolBarActivity {
tvSendTime.setText(dataBean.getRequireTime());
tvDesc.setText(dataBean.getAttrName());
tvOrderDesc.setText(dataBean.getAttrName());
tvPrice.setText(String.valueOf(dataBean.getLaunchOrderAmount()));
tvPrice.setText(MathUtils.converData(dataBean.getLaunchOrderAmount(),3));
OrderDetail.ExpandInfoBean expandInfo = dataBean.getExpandInfo();
......
......@@ -103,7 +103,7 @@ public class ProductOrderDetailActivity extends WorkToolBarActivity {
tvPlaceName.setText(dataBean.getLaunchUserName());
tvOrderNo.setText(dataBean.getId());
tvTime.setText(dataBean.getCreatedTime());
tvOrderPrice.setText(String.valueOf(dataBean.getLaunchOrderAmount()));
tvOrderPrice.setText(MathUtils.converData(dataBean.getLaunchOrderAmount(),3));
}
});
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论