From 835e3e4587d4ddadcc1c77a8b38a2276126890f0 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 19 Apr 2024 17:23:06 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E5=B7=A5=E7=A8=8B=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=80=E5=8F=91=E4=BF=AE=E6=94=B9=E5=8D=95?= =?UTF-8?q?=20=E7=BC=96=E8=BE=91=E6=93=8D=E4=BD=9C=E4=B8=AD=20=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E5=91=98=E7=9A=84=E4=B8=8B=E6=8B=89=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erp/developModifyOrder/edit.html | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/edit.html b/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/edit.html index 10abb944..d8e35626 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/edit.html +++ b/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/edit.html @@ -112,17 +112,11 @@
- +
-
- -
- -
-
@@ -138,6 +132,28 @@ focusCleanup: true }); + + $(function () { + $.ajax({ + url: ctx + 'erp/developModifyOrder/getEngineerList', + type: 'post', + data: { roleKey: 'gcwyRole' }, + success: function (res) { + if (res.data.length > 0) { + var userData = res.data; + for (let i in userData) { + $("#userId_add").append( + "" // 显示用户姓名 + ); + } + $("userId_add").val(userData[i].userId).trigger("change"); + } else { + $.modal.msgError(res.msg); + } + } + }); + }) + function submitHandler() { if ($.validate.form()) { $.operate.save(prefix + "/edit", $('#form-developModifyOrder-edit').serialize());