lvhao 2 dias atrás
pai
commit
dd17218c50
1 arquivos alterados com 14 adições e 14 exclusões
  1. 14 14
      template/erp/js/fullorder-addedit.js

+ 14 - 14
template/erp/js/fullorder-addedit.js

@@ -1890,22 +1890,22 @@ function showExpressTiShi(msg){
 }
 
 $(".ly_mcth").on('click',function(){
-	let warehouse = $("select[name='warehouse']").find("option:selected").val();
-	if(warehouse != 5){
-		layx.confirm('提示',"该仓库不支持此操作!",null,{
-			buttons:[
-				{
-					label:'确定',
-					callback:function(id, button, event){
+	// let warehouse = $("select[name='warehouse']").find("option:selected").val();
+	// if(warehouse != 5){
+	// 	layx.confirm('提示',"该仓库不支持此操作!",null,{
+	// 		buttons:[
+	// 			{
+	// 				label:'确定',
+	// 				callback:function(id, button, event){
 					   
 						   
-						layx.destroy(id);
-					}
-				}
-			],dialogIcon:'error',shadable:0.6
-		})
-		return false;
-	}
+	// 					layx.destroy(id);
+	// 				}
+	// 			}
+	// 		],dialogIcon:'error',shadable:0.6
+	// 	})
+	// 	return false;
+	// }
 
 	let obj = getTrabltr();
 	$.post("/ck/mcth",{