Browse Source

【英唐精密MES】【制造单下放逻辑调整】

caosy 6 years ago
parent
commit
6af1b5bdad
1 changed files with 8 additions and 8 deletions
  1. 8 8
      WebContent/app/controller/pm/make/MakeBase.js

+ 8 - 8
WebContent/app/controller/pm/make/MakeBase.js

@@ -183,10 +183,10 @@ Ext.define('erp.controller.pm.make.MakeBase', {
     				}
     			},
     			click: function(btn){
-    				var istrue =me.checkFirstItem();
-    				if (!istrue) {
-						return false;
-					}
+                    //var istrue =me.checkFirstItem();
+                    //if (!istrue) {
+					//	return false;
+					//}
     				warnMsg("确定要下放吗?", function(btn){
     					if(btn == 'yes'){
     						me.FormUtil.setLoading(true);
@@ -423,10 +423,10 @@ Ext.define('erp.controller.pm.make.MakeBase', {
     				}
     			},
     			click: function(btn){
-    				var istrue =me.checkFirstItem();
-    				if (!istrue) {
-						return false;
-					}
+                    //var istrue =me.checkFirstItem();
+                    //if (!istrue) {
+					//	return false;
+					//}
     				/*var type = Ext.getCmp('ma_tasktype').getValue();
     				if(type != 'MAKE'){// 委外工单 考虑加工单价
     					var p = Ext.getCmp('ma_price');