|
@@ -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' });
|
|
}
|
|
}
|