|
|
@@ -36,7 +36,7 @@ public class WHCheckBarcodeFragment extends BaseFragment implements View.OnClick
|
|
|
TableLayout tlMsg;
|
|
|
TextView tvBarcode, tvBarProcode,tv_type_value,tvPrDetail, tvPrSpec, tvVeShortname, tvBarWhcode,
|
|
|
tvBarRemain, tvBarLocation, tvStatus,tv_batch_number;
|
|
|
- private TextView btnSearch;
|
|
|
+ private TextView btnSearch,tv_supplier_batch;
|
|
|
private ImageView mScanImageView;
|
|
|
private int mFocusId;
|
|
|
|
|
|
@@ -61,6 +61,7 @@ public class WHCheckBarcodeFragment extends BaseFragment implements View.OnClick
|
|
|
tvBarLocation = (TextView) root.findViewById(R.id.tv_bar_location);
|
|
|
tvStatus = root.findViewById(R.id.tv_bar_status);
|
|
|
btnSearch = (TextView) root.findViewById(R.id.btn_collect);
|
|
|
+ tv_supplier_batch = (TextView) root.findViewById(R.id.tv_supplier_batch);
|
|
|
((TextView) (getActivity().findViewById(R.id.tv_actionbar_withback))).setText(R.string.title_barcode_whmm);
|
|
|
mScanImageView = (ImageView) mActivity.findViewById(R.id.btn_actionbar_scan_iv);
|
|
|
tv_batch_number = (TextView) mActivity.findViewById(R.id.tv_batch_number);
|
|
|
@@ -194,6 +195,7 @@ public class WHCheckBarcodeFragment extends BaseFragment implements View.OnClick
|
|
|
String strStatus = changeNulltoBlank(dataJson, "BAR_STATUS");
|
|
|
String strType = changeNulltoBlank(dataJson,"PR_ORISPECCODE");
|
|
|
String BAR_BATCHCODE = changeNulltoBlank(dataJson,"BAR_BATCHCODE"); //批次号
|
|
|
+ String BAR_VENDBARCODE = changeNulltoBlank(dataJson,"BAR_VENDBARCODE"); //批次号
|
|
|
|
|
|
//显示数据
|
|
|
tvBarcode.setText(strBarcode);
|
|
|
@@ -206,6 +208,7 @@ public class WHCheckBarcodeFragment extends BaseFragment implements View.OnClick
|
|
|
tvBarRemain.setText(strRemain);
|
|
|
tvBarLocation.setText(strLocation);
|
|
|
tv_batch_number.setText(BAR_BATCHCODE); //批次号
|
|
|
+ tv_supplier_batch.setText(BAR_VENDBARCODE); //供应商批次号
|
|
|
if(strStatus.equals("1")){
|
|
|
tvStatus.setText("在库");
|
|
|
}else if(strStatus.equals("2")){
|