From cafc1d4fd25bec2f542c737548c86c95c091bb21 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854> Date: Wed, 11 Jan 2023 15:58:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A3=E6=9E=B6=E7=AE=A1=E7=90=86=201.11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/hanger/HangerList.vue | 87 +++---- .../src/views/hanger/HangerMakerList.vue | 246 ++++++++++++++++++ .../src/views/hanger/modules/HangerForm.vue | 3 +- .../views/hanger/modules/HangerMakerForm.vue | 170 ++++++++++++ .../modules/HangerMakerModal.vue | 0 .../HangerMakerModal__Style#Drawer.vue | 0 .../src/views/hangermaker/HangerMakerList.vue | 213 --------------- .../hangermaker/modules/HangerMakerForm.vue | 156 ----------- .../hangermaker/entity/HangerMaker.java | 80 ++++-- 9 files changed, 506 insertions(+), 449 deletions(-) create mode 100644 ant-design-vue-jeecg/src/views/hanger/HangerMakerList.vue create mode 100644 ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerForm.vue rename ant-design-vue-jeecg/src/views/{hangermaker => hanger}/modules/HangerMakerModal.vue (100%) rename ant-design-vue-jeecg/src/views/{hangermaker => hanger}/modules/HangerMakerModal__Style#Drawer.vue (100%) delete mode 100644 ant-design-vue-jeecg/src/views/hangermaker/HangerMakerList.vue delete mode 100644 ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerForm.vue diff --git a/ant-design-vue-jeecg/src/views/hanger/HangerList.vue b/ant-design-vue-jeecg/src/views/hanger/HangerList.vue index a973a269..06eec61c 100644 --- a/ant-design-vue-jeecg/src/views/hanger/HangerList.vue +++ b/ant-design-vue-jeecg/src/views/hanger/HangerList.vue @@ -9,16 +9,16 @@ - - - 查询 - 重置 - - {{ toggleSearchStatus ? '收起' : '展开' }} - - - - + + + + + + + + + + @@ -28,15 +28,15 @@
新增 导出 - - 导入 - - - - 删除 - - 批量操作 - + + + + + + + + +
@@ -59,44 +59,27 @@ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" class="j-table-force-nowrap" @change="handleTableChange"> - - - - - 编辑 - - - 更多 - - - 详情 - - - + 删除 - - - + + + + + + + + + + + + + + + diff --git a/ant-design-vue-jeecg/src/views/hanger/HangerMakerList.vue b/ant-design-vue-jeecg/src/views/hanger/HangerMakerList.vue new file mode 100644 index 00000000..b7a8c935 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/hanger/HangerMakerList.vue @@ -0,0 +1,246 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/hanger/modules/HangerForm.vue b/ant-design-vue-jeecg/src/views/hanger/modules/HangerForm.vue index 8346598b..cb1854a1 100644 --- a/ant-design-vue-jeecg/src/views/hanger/modules/HangerForm.vue +++ b/ant-design-vue-jeecg/src/views/hanger/modules/HangerForm.vue @@ -66,6 +66,7 @@ hangerCode: { rules: [ { required: true, message: '请输入衣架编号!'}, + { pattern: /^.{0,50}$/, message: '衣架编号长度不能超过50位字符'}, ] }, }, @@ -150,7 +151,7 @@ that.confirmLoading = false; }) } - + }) }, popupCallback(row){ diff --git a/ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerForm.vue b/ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerForm.vue new file mode 100644 index 00000000..9d15b68d --- /dev/null +++ b/ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerForm.vue @@ -0,0 +1,170 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerModal.vue b/ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerModal.vue similarity index 100% rename from ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerModal.vue rename to ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerModal.vue diff --git a/ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerModal__Style#Drawer.vue similarity index 100% rename from ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerModal__Style#Drawer.vue rename to ant-design-vue-jeecg/src/views/hanger/modules/HangerMakerModal__Style#Drawer.vue diff --git a/ant-design-vue-jeecg/src/views/hangermaker/HangerMakerList.vue b/ant-design-vue-jeecg/src/views/hangermaker/HangerMakerList.vue deleted file mode 100644 index 43c2da7c..00000000 --- a/ant-design-vue-jeecg/src/views/hangermaker/HangerMakerList.vue +++ /dev/null @@ -1,213 +0,0 @@ - - - - \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerForm.vue b/ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerForm.vue deleted file mode 100644 index 335e2ad4..00000000 --- a/ant-design-vue-jeecg/src/views/hangermaker/modules/HangerMakerForm.vue +++ /dev/null @@ -1,156 +0,0 @@ - - - \ No newline at end of file diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/hangermaker/entity/HangerMaker.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/hangermaker/entity/HangerMaker.java index 5d126e41..98d7517f 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/hangermaker/entity/HangerMaker.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/hangermaker/entity/HangerMaker.java @@ -4,6 +4,7 @@ import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.Date; import java.math.BigDecimal; + import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; @@ -20,62 +21,87 @@ import lombok.experimental.Accessors; /** * @Description: 衣架制单表 * @Author: jeecg-boot - * @Date: 2021-11-20 + * @Date: 2021-11-20 * @Version: V1.0 */ @Data @TableName("hanger_maker") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) -@ApiModel(value="hanger_maker对象", description="衣架制单表") +@ApiModel(value = "hanger_maker对象", description = "衣架制单表") public class HangerMaker implements Serializable { private static final long serialVersionUID = 1L; - /**主键*/ - @TableId(type = IdType.ASSIGN_ID) + /** + * 主键 + */ + @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private java.lang.String id; - /**创建人*/ + /** + * 创建人 + */ @ApiModelProperty(value = "创建人") private java.lang.String createBy; - /**创建日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + /** + * 创建日期 + */ + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建日期") private java.util.Date createTime; - /**更新人*/ + /** + * 更新人 + */ @ApiModelProperty(value = "更新人") private java.lang.String updateBy; - /**更新日期*/ - @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + /** + * 更新日期 + */ + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新日期") private java.util.Date updateTime; - /**所属部门*/ - @ApiModelProperty(value = "所属部门") - private java.lang.String sysOrgCode; - /**衣架ID*/ - @Excel(name = "衣架ID", width = 15) + /** + * 绑定方式 + */ + @ApiModelProperty(value = "绑定方式:绑定工单0,绑定制单1,默认0") + @Dict(dicCode = "ismaker") + private Integer ismaker; + /** + * 衣架ID + */ + @Excel(name = "衣架ID", width = 15) @ApiModelProperty(value = "衣架ID") private java.lang.String hangerId; - /**衣架编号*/ - @Excel(name = "衣架编号", width = 15) + /** + * 衣架编号 + */ + @Excel(name = "衣架编号", width = 15) @ApiModelProperty(value = "衣架编号") private java.lang.String hangerCode; - /**工单ID*/ - @Excel(name = "工单ID", width = 15) + /** + * 工单ID + */ + @Excel(name = "工单ID", width = 15) @ApiModelProperty(value = "工单ID") private java.lang.String orderId; - /**工单编号*/ - @Excel(name = "工单编号", width = 15) + /** + * 工单编号 + */ + @Excel(name = "工单编号", width = 15) @ApiModelProperty(value = "工单编号") private java.lang.String orderCode; - /**制单ID*/ - @Excel(name = "制单ID", width = 15) + /** + * 制单ID + */ + @Excel(name = "制单ID", width = 15) @ApiModelProperty(value = "制单ID") private java.lang.String makerId; - /**制单编号*/ - @Excel(name = "制单编号", width = 15) + /** + * 制单编号 + */ + @Excel(name = "制单编号", width = 15) @ApiModelProperty(value = "制单编号") private java.lang.String makerCode; }