提交 4e50aaed authored 作者: lgd's avatar lgd

1.退货添加报废逻辑

上级 a35c4fa7
...@@ -983,6 +983,42 @@ public class OrderDetail { ...@@ -983,6 +983,42 @@ public class OrderDetail {
String count;// backList的数量 String count;// backList的数量
String lot;// 产品批号 String lot;// 产品批号
private String provideMethod; private String provideMethod;
private String canScrapInProductSum;
private String canScrapOutProductSum;
private String canScrapUseProductSum;
private String canScrapReturnProductSum;
public String getCanScrapInProductSum() {
return canScrapInProductSum;
}
public void setCanScrapInProductSum(String canScrapInProductSum) {
this.canScrapInProductSum = canScrapInProductSum;
}
public String getCanScrapOutProductSum() {
return canScrapOutProductSum;
}
public void setCanScrapOutProductSum(String canScrapOutProductSum) {
this.canScrapOutProductSum = canScrapOutProductSum;
}
public String getCanScrapUseProductSum() {
return canScrapUseProductSum;
}
public void setCanScrapUseProductSum(String canScrapUseProductSum) {
this.canScrapUseProductSum = canScrapUseProductSum;
}
public String getCanScrapReturnProductSum() {
return canScrapReturnProductSum;
}
public void setCanScrapReturnProductSum(String canScrapReturnProductSum) {
this.canScrapReturnProductSum = canScrapReturnProductSum;
}
public String getProvideMethod() { public String getProvideMethod() {
return provideMethod; return provideMethod;
......
...@@ -218,6 +218,7 @@ public class ReturnApplyActivity extends WorkToolBarActivity { ...@@ -218,6 +218,7 @@ public class ReturnApplyActivity extends WorkToolBarActivity {
"orderItemId", getIntent().getStringExtra("orderItemId"), "orderItemId", getIntent().getStringExtra("orderItemId"),
"enterStockType", getIntent().getStringExtra("enterStockType"), "enterStockType", getIntent().getStringExtra("enterStockType"),
"deptId", getIntent().getStringExtra("deptId"), "deptId", getIntent().getStringExtra("deptId"),
"isCrucible", getIntent().getStringExtra("isCrucible"),
"id", getIntent().getStringExtra("orderId")); "id", getIntent().getStringExtra("orderId"));
break; break;
} }
......
...@@ -358,6 +358,7 @@ public class SaleOrderDetailActivity extends WorkToolBarActivity { ...@@ -358,6 +358,7 @@ public class SaleOrderDetailActivity extends WorkToolBarActivity {
"orderId", getIntent().getStringExtra("id"), "orderId", getIntent().getStringExtra("id"),
"orderItemId", proList.get(position).getId(), "orderItemId", proList.get(position).getId(),
"productId", proList.get(position).getProductId() + "", "productId", proList.get(position).getProductId() + "",
"isCrucible", dataBean.getIsCrucible(),
_TITLE,"退货/报废申请列表"); _TITLE,"退货/报废申请列表");
break; break;
case R.id.tv_flow: case R.id.tv_flow:
......
...@@ -29,7 +29,37 @@ ...@@ -29,7 +29,37 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout
android:id="@+id/ll_action"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:paddingHorizontal="20mm"
android:paddingVertical="9mm">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="动作"
android:textSize="14sp" />
<TextView
android:id="@+id/tv_action"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10mm"
android:layout_weight="1"
android:background="@null"
android:gravity="right"
android:padding="3mm"
android:textColor="@color/flexible_text_gray"
android:textSize="14sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/arrow_right_gray" />
</LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
...@@ -116,6 +146,7 @@ ...@@ -116,6 +146,7 @@
android:paddingVertical="9mm"> android:paddingVertical="9mm">
<TextView <TextView
android:id="@+id/tv_return_type_desc"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="退货类别" android:text="退货类别"
...@@ -149,6 +180,7 @@ ...@@ -149,6 +180,7 @@
android:paddingVertical="9mm"> android:paddingVertical="9mm">
<TextView <TextView
android:id="@+id/tv_stock_desc"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="退货到仓库" android:text="退货到仓库"
...@@ -204,6 +236,7 @@ ...@@ -204,6 +236,7 @@
</LinearLayout> </LinearLayout>
<TextView <TextView
android:id="@+id/tv_remark_desc"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingHorizontal="20mm" android:paddingHorizontal="20mm"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论