Commit e59debbd by wangguangchao

ditopn init调试修改错误

parent ee57260c
default $del order 1000 default $del order 1000
{ {
//删除已选择的保证金 //删除已选择的保证金
int idx = Platform.getSelectedRowIndex( $liaccvg ); int idx = Platform.getSelectedRowIndex( $liaccvg );
if( Platform.compareTo( $liaccvg[idx]\oldamt , 0 ) == 0 && Platform.compareTo($liaccvg[idx]\amt.getValue(), 0) != 0 ) if( idx > 0 ) {
{ if( Platform.compareTo( $liaccvg[idx]\oldamt , 0 ) == 0 && Platform.compareTo($liaccvg[idx]\amt.getValue(), 0) != 0 ) {
Platform.enable($del); Platform.enable($del);
} } else {
else Platform.disable($del);
{ }
Platform.disable($del); }
}
} }
\ No newline at end of file
String internalDumpFmtDateTime(Date dattim,Argument<String> errtxt) String internalDumpFmtDateTime(Date dattim,Argument<String> errtxt)
{ {
errtxt.value = ""; errtxt.value = "";
String dateFormat = "YYYY-MM-DD hh:mm:ss tttttt"; String dateFormat = "YYYY-MM-DD hh:mm:ss SSS";
String retTzUser = Platform.format( dattim, dateFormat ); String retTzUser = Platform.format( dattim, dateFormat );
String errinternal = NULLSTR; String errinternal = NULLSTR;
if( Platform.errorCode() != 0 ) if( Platform.errorCode() != 0 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment