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

1.修改订单展示数据

2.//TODO 坩埚下单,mes其他页面,mes用户反馈空也展示,编辑任务担当无法修改
上级 6c082799
......@@ -42,9 +42,9 @@ public class WorkOrderActivity extends WorkToolBarActivity {
SmartRefreshLayout srlRefresh;
List<BatLayoutVo> saleList = new ArrayList<>();
List<BatLayoutVo> productList = new ArrayList<>();
int[] saleImg = new int[]{R.mipmap.order_sale1, R.mipmap.order_sale2, R.mipmap.order_sale3, R.mipmap.order_sale4, R.mipmap.order_sale5, R.mipmap.order_sale6};
int[] productImg = new int[]{R.mipmap.order_sale1, R.mipmap.order_sale2, R.mipmap.order_sale3, R.mipmap.order_sale4, R.mipmap.order_sale5, R.mipmap.order_sale6};
String[] saleName = new String[]{"销售订单", "外采购订单", "供应订单", "内部订单", "组装订单", "坩埚订单"};
int[] productImg = new int[]{R.mipmap.order_product1, R.mipmap.order_product2, R.mipmap.order_product3, R.mipmap.order_product4, R.mipmap.order_product5, R.mipmap.order_product6};
int[] saleImg = new int[]{R.mipmap.order_product1, R.mipmap.order_product2, R.mipmap.order_product3, R.mipmap.order_product4, R.mipmap.order_product5, R.mipmap.order_product6};
String[] productName = new String[]{"销售订单", "外采购订单", "供应订单", "内部订单", "组装订单", "坩埚订单"};
@Override
......@@ -56,6 +56,7 @@ public class WorkOrderActivity extends WorkToolBarActivity {
initRvLayout(rvProduct, productList);
}
private void addDate(List<BatLayoutVo> saleList, int[] saleImg, String[] saleName) {
for (int i = 0; i < saleImg.length; i++) {
BatLayoutVo batLayoutVo = new BatLayoutVo();
......@@ -65,6 +66,7 @@ public class WorkOrderActivity extends WorkToolBarActivity {
}
}
@Override
protected void initData() {
......@@ -81,6 +83,7 @@ public class WorkOrderActivity extends WorkToolBarActivity {
protected int layoutId() {
return R.layout.activity_work_order;
}
/**
* 初始化布局
*
......
......@@ -21,7 +21,7 @@
android:layout_height="wrap_content"
android:paddingHorizontal="20mm"
android:paddingVertical="20mm"
android:text="作为家"
android:text="作为家"
android:textColor="@color/mainTextColor"
android:textSize="20sp"
android:textStyle="bold" />
......@@ -39,7 +39,7 @@
android:layout_height="wrap_content"
android:paddingHorizontal="20mm"
android:paddingVertical="20mm"
android:text="作为家"
android:text="作为家"
android:textColor="@color/mainTextColor"
android:textSize="20sp"
android:textStyle="bold" />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论