|
|
@@ -23,7 +23,6 @@ import android.widget.ListView;
|
|
|
import android.widget.PopupWindow;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSONArray;
|
|
|
import com.android.volley.AuthFailureError;
|
|
|
import com.android.volley.DefaultRetryPolicy;
|
|
|
import com.android.volley.Request;
|
|
|
@@ -331,7 +330,7 @@ public class HePiFragment extends BaseFragment {
|
|
|
boolean issuccess = new JSONObject(s).getBoolean("success");
|
|
|
if (issuccess) {
|
|
|
String resultStr = "合批成功\n";
|
|
|
- JSONArray dataArray = FastjsonUtil.getJSONArray(s.toString(), "data");
|
|
|
+// JSONArray dataArray = FastjsonUtil.getJSONArray(s.toString(), "data");
|
|
|
com.alibaba.fastjson.JSONObject jsonObject = FastjsonUtil.getJSONObject(s.toString(), "data");
|
|
|
resultStr+="生产批号:"+jsonObject.getString("LOTNO")+", 数量:"+jsonObject.getIntValue("QTY")+"\n";
|
|
|
tv_result.setVisibility(View.VISIBLE);
|
|
|
@@ -349,7 +348,7 @@ public class HePiFragment extends BaseFragment {
|
|
|
hepiAdapter.notifyDataSetChanged();
|
|
|
ll_title.setVisibility(View.GONE);
|
|
|
//调用弹框选择打印/打印设置
|
|
|
- initBreakPopupWindow(dataArray);
|
|
|
+// initBreakPopupWindow(dataArray);
|
|
|
}
|
|
|
} catch (JSONException e) {
|
|
|
e.printStackTrace();
|