|
@@ -124,7 +124,7 @@ public class WorkStationPanel extends JPanel {
|
|
|
JOptionPane.showMessageDialog(WorkStationPanel.this, "获取工件码为空", "提示", JOptionPane.INFORMATION_MESSAGE);
|
|
JOptionPane.showMessageDialog(WorkStationPanel.this, "获取工件码为空", "提示", JOptionPane.INFORMATION_MESSAGE);
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
- JOptionPane.showMessageDialog(WorkStationPanel.this, "服务器返回格式错误", "错误", JOptionPane.ERROR_MESSAGE);
|
|
|
|
|
|
|
+ JOptionPane.showMessageDialog(WorkStationPanel.this, result.get("message"), "错误", JOptionPane.ERROR_MESSAGE);
|
|
|
}
|
|
}
|
|
|
} catch (Exception ex) {
|
|
} catch (Exception ex) {
|
|
|
JOptionPane.showMessageDialog(WorkStationPanel.this, "扫码异常: " + ex.getMessage(), "错误", JOptionPane.ERROR_MESSAGE);
|
|
JOptionPane.showMessageDialog(WorkStationPanel.this, "扫码异常: " + ex.getMessage(), "错误", JOptionPane.ERROR_MESSAGE);
|