@ -29,13 +29,14 @@ public class QuotationPlugin extends ExecutePluginParent {
@@ -29,13 +29,14 @@ public class QuotationPlugin extends ExecutePluginParent {
this . setWidgetAttribute ( "managerperson" , AttributeEnum . VALUE_CHANGE , sysUserInfo ) ;
}
//隐藏拒绝理由
this . setWidgetAttribute ( "canaelreason" , AttributeEnum . SHOW , false ) ;
//设置报价单状态
//获取id
long id = objectValue . getLong ( "id" ) ;
if ( id = = 0 ) {
this . setWidgetAttribute ( "status" , AttributeEnum . VALUE_CHANGE , "1" ) ;
//隐藏拒绝理由
this . setWidgetAttribute ( "canaelreason" , AttributeEnum . SHOW , false ) ;
this . setWidgetAttribute ( "billstatus" , AttributeEnum . VALUE_CHANGE , "A" ) ;
}
//设置总价初始值为0
this . setWidgetAttribute ( "qty" , AttributeEnum . VALUE_CHANGE , 0 ) ;