Browse Source

[feat] 物料研发总监审核清除var erpMaterial = [[${formData}]]; js赋值语句错误。

dev
zhangsiqi 4 months ago
parent
commit
f041ccd30b
  1. 3
      ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html
  2. 1
      ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html

3
ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html

@ -249,9 +249,6 @@
$("#form-edit").validate({focusCleanup: true});
function submitHandler() {
if ($.validate.form()) {
$("#selectMaterialType").removeAttr("disabled");
$("#selectProcessMethod").removeAttr("disabled");
$("#selectUnit").removeAttr("disabled");
var materialType = $('#selectMaterialType').select2('val');
$('#materialType').val(materialType);
if ($('textarea[name="comment"]').val()) {

1
ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html

@ -253,7 +253,6 @@
},
}
})
var erpMaterial = [[${formData}]];
var prefix = ctx + "erp/material";
$("#form-edit").validate({focusCleanup: true});
function submitHandler() {

Loading…
Cancel
Save