|
|
@@ -10,6 +10,8 @@ import android.view.View;
|
|
|
import android.view.WindowManager;
|
|
|
import android.view.inputmethod.EditorInfo;
|
|
|
import android.widget.CheckBox;
|
|
|
+import android.widget.RadioButton;
|
|
|
+import android.widget.RadioGroup;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
@@ -53,6 +55,9 @@ public class NewBePutInStorageOrderDetailFragment extends BaseFragment{
|
|
|
private TextView tv_productdetails;
|
|
|
private TextView tv_hint;
|
|
|
private TextView tv_qty;
|
|
|
+ private RadioGroup radiogroup1;
|
|
|
+ private RadioButton radiobutton1;
|
|
|
+ private RadioButton radiobutton2;
|
|
|
|
|
|
@Override
|
|
|
protected int getLayout() {
|
|
|
@@ -70,6 +75,11 @@ public class NewBePutInStorageOrderDetailFragment extends BaseFragment{
|
|
|
tv_hint = root.findViewById(R.id.tv_hint);
|
|
|
tv_qty = root.findViewById(R.id.tv_qty);
|
|
|
|
|
|
+ radiogroup1 = root.findViewById(R.id.radiogroup1);
|
|
|
+ radiobutton1 = root.findViewById(R.id.radiobutton1);
|
|
|
+ radiobutton2 = root.findViewById(R.id.radiobutton2);
|
|
|
+ radiobutton1.setChecked(true);
|
|
|
+
|
|
|
mTypeColumn = new Column<String>("类型", "PIM_TYPE");
|
|
|
mcontentColumn = new Column<String>("内容", "CONTENT");
|
|
|
mCnColumn = new Column<String>("数量", "CN");
|
|
|
@@ -205,6 +215,14 @@ public class NewBePutInStorageOrderDetailFragment extends BaseFragment{
|
|
|
|
|
|
|
|
|
public void getmakeInWarhouse(String input){
|
|
|
+ String text_radiobutton = null;
|
|
|
+ if (radiobutton1.isChecked()==true){
|
|
|
+ text_radiobutton="BOX";
|
|
|
+ }else if (radiobutton2.isChecked()==true){
|
|
|
+ text_radiobutton="SN";
|
|
|
+ }else {
|
|
|
+ text_radiobutton="";
|
|
|
+ }
|
|
|
progressDialog.show();
|
|
|
VolleyRequest.getInstance().stringRequest(new HttpParams.Builder()
|
|
|
.url(GloableParams.ADDRESS_DOCUMENTLIBRARY_MAKEINWARHOUSE)
|
|
|
@@ -214,6 +232,7 @@ public class NewBePutInStorageOrderDetailFragment extends BaseFragment{
|
|
|
.addParam("inoutno",mPiInoutno)
|
|
|
.addParam("cancel",ck_cancel.isChecked()+"")
|
|
|
.addParam("code",input)
|
|
|
+ .addParam("type",text_radiobutton)
|
|
|
.build(), new HttpCallback() {
|
|
|
@Override
|
|
|
public void onSuccess(int flag, Object o) throws Exception {
|