|
|
@@ -38,8 +38,6 @@ import com.uas.pda_smart_sa.adapter.FormAdapter;
|
|
|
import com.uas.pda_smart_sa.adapter.StorageOutTodoListFragment;
|
|
|
import com.uas.pda_smart_sa.bean.FormBean;
|
|
|
import com.uas.pda_smart_sa.bean.JLTMaterialBean;
|
|
|
-import com.uas.pda_smart_sa.bean.JLTStorageModelBean;
|
|
|
-import com.uas.pda_smart_sa.bean.WhcodeBean;
|
|
|
import com.uas.pda_smart_sa.global.GloableParams;
|
|
|
import com.uas.pda_smart_sa.listener.MyEditorActionListener;
|
|
|
import com.uas.pda_smart_sa.util.CameraUtil;
|
|
|
@@ -129,7 +127,7 @@ public class JLTPickMaterialOutScanFragment extends BaseFragment implements View
|
|
|
mLotEditText = root.findViewById(R.id.jlt_pick_material_out_scan_lot_et);
|
|
|
mQuantityEditText = root.findViewById(R.id.jlt_pick_material_out_scan_quantity_et);
|
|
|
mCycleEditText = root.findViewById(R.id.jlt_pick_material_out_scan_cycle_et);
|
|
|
- mMultipleEditText = root.findViewById(R.id.jlt_pick_material_out_scan_multiple_et);
|
|
|
+ mMultipleEditText = root.findViewById(R.id.jlt_pick_material_out_scan_multiple_et);//no use
|
|
|
mInoutnoTextView = root.findViewById(R.id.jlt_pick_material_out_scan_inoutno_tv);
|
|
|
mModelTextView = root.findViewById(R.id.jlt_pick_material_out_scan_model_tv);
|
|
|
mDoneTextView = root.findViewById(R.id.jlt_pick_material_out_scan_done_tv);
|
|
|
@@ -177,7 +175,7 @@ public class JLTPickMaterialOutScanFragment extends BaseFragment implements View
|
|
|
|
|
|
mLocationColumn = new ArrayColumn<String>("库位", "BAR_LOCATION");
|
|
|
mBoxColumn = new ArrayColumn<String>("箱号", "BAR_OUTBOXCODE1");
|
|
|
- mBarcodeColumn = new ArrayColumn<String>("条码", "BARCODE");
|
|
|
+ mBarcodeColumn = new ArrayColumn<String>("条码", "BARCODE");//no use
|
|
|
mQuantityColumn = new ArrayColumn<Double>("数量", "quantity", false,
|
|
|
new IFormat<Double>() {
|
|
|
@Override
|
|
|
@@ -246,7 +244,7 @@ public class JLTPickMaterialOutScanFragment extends BaseFragment implements View
|
|
|
public void MyEditorAction(String text, int actionId, KeyEvent event) {
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+ //no use
|
|
|
mMultipleEditText.setOnFocusChangeListener(new View.OnFocusChangeListener() {
|
|
|
@Override
|
|
|
public void onFocusChange(View v, boolean hasFocus) {
|
|
|
@@ -524,7 +522,7 @@ public class JLTPickMaterialOutScanFragment extends BaseFragment implements View
|
|
|
double boxqty = FastjsonUtil.getDouble(dataObject, "BOXQTY");
|
|
|
if (mMaterialBean != null) {
|
|
|
double restqty = mMaterialBean.getRESTQTY();
|
|
|
- if (CommonUtil.doubleCompare(boxqty, restqty) > 0) {
|
|
|
+ if (CommonUtil.doubleCompare(boxqty, restqty) > 0) {//拆包出库
|
|
|
mQtyHintTextView.setText("箱内数:" + CommonUtil.doubleFormat(boxqty)
|
|
|
+ ",待出库数:" + CommonUtil.doubleFormat(restqty));
|
|
|
mQtyHintLl.setVisibility(View.VISIBLE);
|
|
|
@@ -598,12 +596,12 @@ public class JLTPickMaterialOutScanFragment extends BaseFragment implements View
|
|
|
Bundle bundle = new Bundle();
|
|
|
bundle.putString("pi_id", mPiid);
|
|
|
bundle.putString("pi_inoutno", mPiInoutno);
|
|
|
- if (position == 0) {
|
|
|
+ if (position == 0) {//待备任务
|
|
|
StorageOutTodoListFragment todoListFragment = new StorageOutTodoListFragment();
|
|
|
todoListFragment.setArguments(bundle);
|
|
|
todoListFragment.setOnSelectListener(JLTPickMaterialOutScanFragment.this);
|
|
|
FragmentUtils.switchFragment(JLTPickMaterialOutScanFragment.this, todoListFragment);
|
|
|
- } else if (position == 1) {
|
|
|
+ } else if (position == 1) {//已备列表
|
|
|
JLTStorageInDoneListFragment doneListFragment = new JLTStorageInDoneListFragment();
|
|
|
doneListFragment.setArguments(bundle);
|
|
|
doneListFragment.setOnRefreshListener(new JLTStorageInDoneListFragment.OnRefreshListener() {
|
|
|
@@ -613,18 +611,18 @@ public class JLTPickMaterialOutScanFragment extends BaseFragment implements View
|
|
|
}
|
|
|
});
|
|
|
FragmentUtils.switchFragment(JLTPickMaterialOutScanFragment.this, doneListFragment);
|
|
|
- } else if (position == 2) {
|
|
|
+ } else if (position == 2) {//撤销备料
|
|
|
MaterialOutRevocationStockFragment revocationStockFragment = new MaterialOutRevocationStockFragment();
|
|
|
revocationStockFragment.setArguments(bundle);
|
|
|
FragmentUtils.switchFragment(JLTPickMaterialOutScanFragment.this, revocationStockFragment);
|
|
|
- } else if (position == 3) {
|
|
|
+ } else if (position == 3) {//条码数量修改
|
|
|
ModifyBarcodeQuantityFragment barcodeQuantityFragment = new ModifyBarcodeQuantityFragment();
|
|
|
FragmentUtils.switchFragment(JLTPickMaterialOutScanFragment.this, barcodeQuantityFragment);
|
|
|
- } else if (position == 4) {
|
|
|
+ } else if (position == 4) {//特殊出库
|
|
|
SpecialOutNewFragment specialOutNewFragment = new SpecialOutNewFragment();
|
|
|
specialOutNewFragment.setArguments(bundle);
|
|
|
FragmentUtils.switchFragment(JLTPickMaterialOutScanFragment.this, specialOutNewFragment);
|
|
|
- } else if (position == 5) {
|
|
|
+ } else if (position == 5) {//出库暂存
|
|
|
StorageOutTemporaryListFragment temporaryListFragment = new StorageOutTemporaryListFragment();
|
|
|
temporaryListFragment.setArguments(bundle);
|
|
|
FragmentUtils.switchFragment(JLTPickMaterialOutScanFragment.this, temporaryListFragment);
|