Browse Source

[feat] 修复物料类型不能跟随料号自动跳转,也可手动选择

dev
zhangsiqi 4 months ago
parent
commit
da83d55e19
  1. 15
      ruoyi-admin/src/main/resources/templates/erp/material/add.html

15
ruoyi-admin/src/main/resources/templates/erp/material/add.html

@ -286,21 +286,24 @@
$("#selectMaterialType").val("bzjgj").trigger("change"); $("#selectMaterialType").val("bzjgj").trigger("change");
break; break;
case '3': case '3':
$("#selectMaterialType").val("fscy").trigger("change"); $("#selectMaterialType").val("scy").trigger("change");
break; break;
case '4': case '4':
$("#selectMaterialType").val("fscy").trigger("change");
break;
case '5':
$("#selectMaterialType").val("dbmcljgj").trigger("change"); $("#selectMaterialType").val("dbmcljgj").trigger("change");
break; break;
case '5': case '6':
$("#selectMaterialType").val("lj").trigger("change"); $("#selectMaterialType").val("lj").trigger("change");
break; break;
case '6': case '7':
$("#selectMaterialType").val("zhj").trigger("change"); $("#selectMaterialType").val("zhj").trigger("change");
break; break;
case '7': case '8':
$("#selectMaterialType").val("chcpsb").trigger("change"); $("#selectMaterialType").val("chcpsb").trigger("change");
break; break;
case '8': case '9':
$("#selectMaterialType").val("qt").trigger("change"); $("#selectMaterialType").val("qt").trigger("change");
break; break;
} }

Loading…
Cancel
Save