From d06d325a480bb22d6d11cd38901aba902c06d210 Mon Sep 17 00:00:00 2001
From: zhangsiqi <2825463979@qq.com>
Date: Sat, 20 Apr 2024 15:33:17 +0800
Subject: [PATCH] =?UTF-8?q?[update]bom=E7=89=A9=E6=96=99=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E5=B7=A5=E7=A8=8B=E5=91=98=E6=9F=A5=E8=AF=A2=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/resources/templates/erp/bom/bom.html | 25 ++++++++++++++++---
.../resources/templates/erp/bom/detail.html | 25 ++++++++++++++++++-
.../resources/templates/erp/bom/edit.html | 25 ++++++++++++++++++-
3 files changed, 69 insertions(+), 6 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html b/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html
index 39a49fb4..22bbfdbe 100644
--- a/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html
+++ b/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html
@@ -24,7 +24,7 @@
-
@@ -48,9 +47,12 @@
+
-
+
+
+
@@ -112,6 +114,21 @@
var loginName = currentUser.loginName;
var prefix = ctx + "erp/bom";
$(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);
+ }
+ }
+ });
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
@@ -195,7 +212,7 @@
return $.table.selectDictLabel(useStatusDatas, value);
}
},
- {title: '工程员',field: 'createBy'},
+ {title: '工程员',field: 'businessMembers'},
{title: 'bom号',field: 'bomNo',},
{title: '关联料号',field: 'materialNo'},
{
diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html b/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html
index ecda63aa..bb0bf1ad 100644
--- a/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html
+++ b/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html
@@ -64,6 +64,14 @@
+
+