|
|
@@ -516,9 +516,9 @@ public class IOCOutMakeMaterialOper extends BaseFragment implements View.OnClick
|
|
|
etBarCode.setHint(R.string.please_collect_barcode);
|
|
|
mtypeNameTv.setText("条码");
|
|
|
} else if (mCollectType.equals("byBatchcode")) {
|
|
|
- CommonUtil.setSpinnerItemSelectedByValue(mTypeSpinner, "批号");
|
|
|
- etBarCode.setHint("请采集批号");
|
|
|
- mtypeNameTv.setText("批号");
|
|
|
+ CommonUtil.setSpinnerItemSelectedByValue(mTypeSpinner, "箱号");
|
|
|
+ etBarCode.setHint("请采集箱号");
|
|
|
+ mtypeNameTv.setText("箱号");
|
|
|
}
|
|
|
}
|
|
|
btnActionbarRight = (Button) getActivity().findViewById(R.id.btn_actionbar_more);
|
|
|
@@ -555,7 +555,7 @@ public class IOCOutMakeMaterialOper extends BaseFragment implements View.OnClick
|
|
|
String typeName = mtypeNameTv.getText().toString().trim();
|
|
|
if ("条码".equals(typeName)) {
|
|
|
changeToTypeBatch();
|
|
|
- } else if ("批号".equals(typeName)) {
|
|
|
+ } else if ("箱号".equals(typeName)) {
|
|
|
changeToTypeBarcode();
|
|
|
}
|
|
|
}
|
|
|
@@ -584,8 +584,8 @@ public class IOCOutMakeMaterialOper extends BaseFragment implements View.OnClick
|
|
|
* 采集方式切换成箱号
|
|
|
*/
|
|
|
private void changeToTypeBatch() {
|
|
|
- etBarCode.setHint("请采集批号");
|
|
|
- mtypeNameTv.setText("批号");
|
|
|
+ etBarCode.setHint("请采集箱号");
|
|
|
+ mtypeNameTv.setText("箱号");
|
|
|
SharedPreUtil.saveString(getActivity().getApplicationContext(), Constants.FLAG.MATERIAL_OUT_COLLECT_TYPE, "byBatchcode");
|
|
|
mCollectType = "byBatchcode";
|
|
|
|
|
|
@@ -759,7 +759,7 @@ public class IOCOutMakeMaterialOper extends BaseFragment implements View.OnClick
|
|
|
+ "?barcode=" + URLEncoder.encode(currentBarcode, "utf-8")
|
|
|
+ (isMultiple ? "&ids=" : "&ids=")
|
|
|
+ pi_id + "&whcode=" + pd_whcode
|
|
|
- + "&type=batchcode&msdcheck=" + msdcheck
|
|
|
+ + "&type=boxcode&msdcheck=" + msdcheck
|
|
|
+ "&datecheck=" + datecheck;
|
|
|
}
|
|
|
} else if (mProdOutType.equals("byBatch")) {
|
|
|
@@ -775,7 +775,7 @@ public class IOCOutMakeMaterialOper extends BaseFragment implements View.OnClick
|
|
|
+ "?barcode=" + URLEncoder.encode(currentBarcode, "utf-8")
|
|
|
+ (isMultiple ? "&ids=" : "&ids=")
|
|
|
+ pi_id + "&whcode=" + pd_whcode
|
|
|
- + "&type=batchcode&msdcheck=" + msdcheck
|
|
|
+ + "&type=boxcode&msdcheck=" + msdcheck
|
|
|
+ "&datecheck=" + datecheck;
|
|
|
}
|
|
|
|