From e9dfa60227db9a7b3716a6509fd092b662f90e8f Mon Sep 17 00:00:00 2001
From: mors <3067699729@qq.com>
Date: Wed, 15 Feb 2023 16:41:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=A8=A1=E5=9D=97=E8=AF=A6?=
=?UTF-8?q?=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pdaccessories/ProductAccessoriesList.vue | 4 +-
.../product/pdfabric/ProductFabricList.vue | 4 +-
.../productModule/ProductModuleList.vue | 240 ++++++++----------
.../modules/ProductModuleDetail.vue | 112 ++++++++
.../productProcess/ZyProductProcessList.vue | 2 +-
.../src/views/zyWorkProduct/ZyProductList.vue | 2 +-
.../productModule/entity/ProductModule.java | 38 +--
7 files changed, 250 insertions(+), 152 deletions(-)
create mode 100644 ant-design-vue-jeecg/src/views/product/productModule/modules/ProductModuleDetail.vue
diff --git a/ant-design-vue-jeecg/src/views/product/pdaccessories/ProductAccessoriesList.vue b/ant-design-vue-jeecg/src/views/product/pdaccessories/ProductAccessoriesList.vue
index 17a12e2c..9f8ba355 100644
--- a/ant-design-vue-jeecg/src/views/product/pdaccessories/ProductAccessoriesList.vue
+++ b/ant-design-vue-jeecg/src/views/product/pdaccessories/ProductAccessoriesList.vue
@@ -28,7 +28,7 @@
-
返回
+
返回
@@ -194,7 +194,7 @@
deleteBatch: "/pdaccessories/productAccessories/deleteBatch",
exportXlsUrl: "/pdaccessories/productAccessories/exportXls",
importExcelUrl: "pdaccessories/productAccessories/importExcel",
-
+
},
dictOptions:{},
superFieldList:[],
diff --git a/ant-design-vue-jeecg/src/views/product/pdfabric/ProductFabricList.vue b/ant-design-vue-jeecg/src/views/product/pdfabric/ProductFabricList.vue
index ca848817..9a9faa28 100644
--- a/ant-design-vue-jeecg/src/views/product/pdfabric/ProductFabricList.vue
+++ b/ant-design-vue-jeecg/src/views/product/pdfabric/ProductFabricList.vue
@@ -42,7 +42,7 @@
-
返回
+
返回
@@ -189,7 +189,7 @@
deleteBatch: "/pdfabric/productFabric/deleteBatch",
exportXlsUrl: "/pdfabric/productFabric/exportXls",
importExcelUrl: "pdfabric/productFabric/importExcel",
-
+
},
dictOptions:{},
superFieldList:[],
diff --git a/ant-design-vue-jeecg/src/views/product/productModule/ProductModuleList.vue b/ant-design-vue-jeecg/src/views/product/productModule/ProductModuleList.vue
index a8f1e04f..dfd1c047 100644
--- a/ant-design-vue-jeecg/src/views/product/productModule/ProductModuleList.vue
+++ b/ant-design-vue-jeecg/src/views/product/productModule/ProductModuleList.vue
@@ -42,11 +42,6 @@
-
-
-
-
-
-
- 无图片
-
-
-
- 无文件
-
- 下载
-
-
-
-
-
- 详情
-
+
+
+
+ 详情
+
handleDelete(record.id)">
删除
@@ -94,123 +70,125 @@
+
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/product/productModule/modules/ProductModuleDetail.vue b/ant-design-vue-jeecg/src/views/product/productModule/modules/ProductModuleDetail.vue
new file mode 100644
index 00000000..bc449d7c
--- /dev/null
+++ b/ant-design-vue-jeecg/src/views/product/productModule/modules/ProductModuleDetail.vue
@@ -0,0 +1,112 @@
+
+
+
+
+
+
黄淮学院服装智能制造管理平台 - 模块管理
+
+
+
+ 产品名称
+ {{model.productId}}
+
+
+ 模块编号
+ {{model.styleModuleId}}
+
+
+ 模块名称
+ {{model.moduleId}}
+
+
+
+
+
+
+ 创建时间
+ {{model.createTime}}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ant-design-vue-jeecg/src/views/product/productProcess/ZyProductProcessList.vue b/ant-design-vue-jeecg/src/views/product/productProcess/ZyProductProcessList.vue
index 903dff23..276ac22c 100644
--- a/ant-design-vue-jeecg/src/views/product/productProcess/ZyProductProcessList.vue
+++ b/ant-design-vue-jeecg/src/views/product/productProcess/ZyProductProcessList.vue
@@ -28,7 +28,7 @@
-
返回
+
返回
diff --git a/ant-design-vue-jeecg/src/views/zyWorkProduct/ZyProductList.vue b/ant-design-vue-jeecg/src/views/zyWorkProduct/ZyProductList.vue
index 788fc37b..40635641 100644
--- a/ant-design-vue-jeecg/src/views/zyWorkProduct/ZyProductList.vue
+++ b/ant-design-vue-jeecg/src/views/zyWorkProduct/ZyProductList.vue
@@ -356,7 +356,7 @@
},
//操作:工序、模块、面料、辅料、设备、工具,提供入口,具体功能由相关功能负责人完成
- //跳转-模块
+ //跳转-工序
jumpProcesses(record)
{
this.$router.push({
diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/productModule/entity/ProductModule.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/productModule/entity/ProductModule.java
index 534f93ce..e9c9b529 100644
--- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/productModule/entity/ProductModule.java
+++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/product/productModule/entity/ProductModule.java
@@ -2,6 +2,7 @@ package org.jeecg.modules.product.productModule.entity;
import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
@@ -43,31 +44,38 @@ public class ProductModule implements Serializable {
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private Date createTime;
-// /**更新人*/
-// @ApiModelProperty(value = "更新人")
-// private String updateBy;
-// /**更新日期*/
-// @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
-// @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
-// @ApiModelProperty(value = "更新日期")
-// private Date updateTime;
-// /**所属部门*/
-// @ApiModelProperty(value = "所属部门")
-// private String sysOrgCode;
- /**产品id*/
+
+ /**
+ * 产品id 应该是产品编号
+ * 关联产品表 zy_product ZyProductList.vue ZyProduct.java
+ */
@Excel(name = "产品id", width = 15)
@ApiModelProperty(value = "产品id")
private String productId;
- /**款式模块id*/
+
+ @TableField(exist = false)
+ private String productName;
+ /**
+ * 款式模块id 应该是模块编号
+ * 关联款式模块表 zy_style_module
+ * 款式表联动,筛选款式模块表数据
+ */
@Excel(name = "款式模块id", width = 15)
@ApiModelProperty(value = "款式模块id")
private String styleModuleId;
- /**模块id*/
+ /**
+ * 模块id 应该是模块名称
+ * 关联制衣模块表 zy_cloths_modular
+ * 从款式模块表同步读取
+ */
@Excel(name = "模块名称", width = 15)
@Dict(dictTable = "zy_cloths_modular ", dicText = "modular_name", dicCode = "id")
@ApiModelProperty(value = "模块名称")
private String moduleId;
- /**部位*/
+ /**
+ * 暂时弃用
+ * 部位
+ */
@Excel(name = "部位", width = 15)
@ApiModelProperty(value = "部位")
private String place;