Browse Source

提交数据

lvhao 2 months ago
parent
commit
78f5b33a6e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      template/erp/js/goodsrules.js

+ 2 - 2
template/erp/js/goodsrules.js

@@ -92,9 +92,9 @@ function checkColorGrade(that) {
     console.log("等级:"+grade_value)
     console.log("等级:"+grade_value)
     console.log("颜色:"+color_value)
     console.log("颜色:"+color_value)
     if(!arr.includes(category_value)){
     if(!arr.includes(category_value)){
-        if (grade_value != 81 && color_value == 44) {
+        if (grade_value == 80 && color_value == 44) {
             that.val("")
             that.val("")
-            layx.alert('错误', '当颜色选择是#613时,等级勾选为10A', function(id, button) {
+            layx.alert('错误', '当颜色选择是#613时,不可将等级勾选为9A', function(id, button) {
                $("select[name='grade']").val(ysdj)
                $("select[name='grade']").val(ysdj)
             }, { dialogIcon: 'error' });
             }, { dialogIcon: 'error' });
         }
         }