12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- /**
- * 项目变更-列表
- */
- shr.defineClass("shr.project.projectChangeList",shr.framework.List,{
- initalizeDOM : function() {
- shr.project.projectChangeList.superClass.initalizeDOM.call(this);
- var _self = this;
- },
-
- /**
- * 审核
- */
- auditAction : function(){
- var that = this;
- var billIds = $("#grid").jqGrid("getSelectedRows");
- if (billIds == undefined || billIds.length == 0 || (billIds && billIds.length == 1 && billIds[0] == "")) {
- shr.showWarning({
- message : "请先选中一行数据!",
- hideAfter : 5
- })
- return;
- } else {
-
- shr.showConfirm('确认审核项目?', function() {
- top.Messenger().hideAll();
- that.doRemoteWithBatchAction({
- method : "auditPorject",
- billId : billIds.toString()
- });
- });
- }
- },
- // /**
- // * 提交
- // */
- // submitAction : function(){
- // var that = this;
- // var billIds = $("#grid").jqGrid("getSelectedRows");
- // if (billIds == undefined || billIds.length == 0 || (billIds && billIds.length == 1 && billIds[0] == "")) {
- // shr.showWarning({
- // message : "请先选中一行数据!",
- // hideAfter : 5
- // })
- // return;
- // } else {
-
- // shr.showConfirm('确认提交项目?', function() {
- // top.Messenger().hideAll();
- // that.doRemoteWithBatchAction({
- // method : "submitAction",
- // billId : billIds.toString()
- // });
- // });
- // }
- // },
- });
-
-
|