@@ -237,20 +248,6 @@
isInteger: true,
minlength: 10,
maxlength: 10,
- // remote: {
- // url: prefix + "/checkMaterialNoUnique",
- // type: "post",
- // dataType: "json",
- // data: {
- // "materialNo": function() {
- // console.log($("#materialNo").val())
- // return $.common.trim($("#materialNo").val());
- // }
- // },
- // dataFilter: function(data, type) {
- // return $.validate.unique(data);
- // }
- // }
},
},
messages: {
@@ -262,7 +259,23 @@
},
focusCleanup: true
});
-
+ $(function() {
+ $.ajax({
+ url: ctx + 'erp/material/getEngineerList',
+ type: 'get',
+ success: function (res) {
+ if (res.rows.length > 0) {
+ var usertData = res.rows;
+ for (let i in usertData) {
+ $("select[name='businessMembers']").append(
+ "
");
+ }
+ } else {
+ $.modal.msgError(res.msg);
+ }
+ }
+ });
+ })
function submitHandler() {
if ($.validate.form()) {
var materialType = $('#selectMaterialType').select2('val');
diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html b/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html
index c6ba75fe..b75cda3f 100644
--- a/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html
+++ b/ruoyi-admin/src/main/resources/templates/erp/bom/taskYfzjVerify.html
@@ -10,6 +10,9 @@