|
|
@@ -35,6 +35,7 @@ import com.jiaju.net.WebClient;
|
|
|
import com.jiaju.utils.CommonUtil;
|
|
|
import com.jiaju.utils.Constants;
|
|
|
import com.jiaju.utils.CustomToast;
|
|
|
+import com.jiaju.utils.ExitUtil;
|
|
|
import com.jiaju.utils.MultiChoicDialog;
|
|
|
import com.jiaju.utils.MultiChoicePopWindow;
|
|
|
import com.jiaju.utils.MultiChoiceProcedureDialog;
|
|
|
@@ -1196,7 +1197,7 @@ public class SendOutGoods extends Activity {
|
|
|
}
|
|
|
} else if (status==-1)
|
|
|
{
|
|
|
- message="此产品已发货,不能进行该操作";
|
|
|
+ message= message;
|
|
|
CommonUtil.setDefault(Notification.DEFAULT_VIBRATE, getApplicationContext());
|
|
|
CommonUtil.showBarCodeAlertDialog(0, message, SendOutGoods.this, barcodeEdt, null, null);
|
|
|
return;
|
|
|
@@ -1248,7 +1249,7 @@ public class SendOutGoods extends Activity {
|
|
|
messageLst.getLayoutParams().height=(barcodeList.size()*Height);
|
|
|
saveBtn.setText("保存(" + barcodeList.size() + ")");
|
|
|
CommonUtil.setDefault(Notification.DEFAULT_VIBRATE, getApplicationContext());
|
|
|
- CommonUtil.showSaveAlertDialog(0,message , SendOutGoods.this, null, barcodeEdt, 2);
|
|
|
+// CommonUtil.showSaveAlertDialog(0,message , SendOutGoods.this, null, barcodeEdt, 2);
|
|
|
// CustomToast.showToast(getApplicationContext(), "成功", 2000);
|
|
|
// CommonUtil.playSound(getApplicationContext());
|
|
|
//checkedProcedureList.clear();
|
|
|
@@ -1256,12 +1257,27 @@ public class SendOutGoods extends Activity {
|
|
|
//descEdt.setText("");
|
|
|
//desc = "";
|
|
|
//booleans = new boolean[procedureList.size()];
|
|
|
+ Dialog alertDialog = new AlertDialog.Builder(SendOutGoods.this).setMessage(message)
|
|
|
+ .setPositiveButton("确定", new DialogInterface.OnClickListener() {
|
|
|
+ @Override
|
|
|
+ public void onClick(DialogInterface dialog, int which) {
|
|
|
+
|
|
|
+ finish();
|
|
|
+ }
|
|
|
+ }).create();
|
|
|
+ alertDialog.setCanceledOnTouchOutside(false);
|
|
|
+ alertDialog.show();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
sendOutGoodLogId="";
|
|
|
+
|
|
|
((LinearLayout) findViewById(R.id.LinearLayout06)).setVisibility(View.GONE);
|
|
|
HandlerThread thread = new HandlerThread("worknoThreads", 5);
|
|
|
thread.start();
|
|
|
mHandler = new Handler(thread.getLooper());
|
|
|
mHandler.post(responsibilityWorkNoRunnable);
|
|
|
+
|
|
|
|
|
|
} else{
|
|
|
CommonUtil.setDefault(Notification.DEFAULT_VIBRATE, getApplicationContext());
|