protected void addLines() throws BOSException{
if(tabName != null && !tabName.equals("")){
ShipRepairedTypeCollection typeCon =
ShipRepairedTypeFactory.getRemoteInstance().getShipRepairedTypeCollection("where name = '"+tabName+"'");
if (typeCon.size() != 0) {
//获取监听标准产品的分录自带的"增加","删除"按钮的监听
ActionListener[] actionListeners = this.kdtEntrys_detailPanel.getAddNewLineButton().getActionListeners();
actionListeners[0].actionPerformed(null);//获取监听后按钮的功能
kdtEntrys.getRow(kdtEntrys.getRowCount()-1).getCell("projectType").setValue(typeCon.get(0));
}
}
}