From 357bfb40434b023db6abbd4234656f4b4f1908f4 Mon Sep 17 00:00:00 2001 From: mors <3067699729@qq.com> Date: Sat, 7 Jan 2023 11:52:39 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E7=AE=A1=E7=90=86=20=E4=BA=A7=E5=93=81=E6=A8=A1=E5=9D=97=20?= =?UTF-8?q?=E6=A0=B7=E6=9D=BF=E7=AE=A1=E7=90=86=E9=83=A8=E5=88=86=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productModule/ProductModuleList.vue | 40 ++- .../productSample/ProductSampleList.vue | 305 ++++++++++++++++++ .../modules/ZyClothSampleDetail.vue | 125 +++++++ .../modules/ZyClothSampleForm.vue | 229 +++++++++++++ .../modules/ZyClothSampleModal.vue | 60 ++++ .../ZyClothSampleModal__Style#Drawer.vue | 84 +++++ .../views/zystylemodel/ZyStyleModelList.vue | 27 +- 7 files changed, 836 insertions(+), 34 deletions(-) create mode 100644 ant-design-vue-jeecg/src/views/product/productSample/ProductSampleList.vue create mode 100644 ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleDetail.vue create mode 100644 ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleForm.vue create mode 100644 ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal.vue create mode 100644 ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal__Style#Drawer.vue 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 cc9623c8..fbce5ab8 100644 --- a/ant-design-vue-jeecg/src/views/product/productModule/ProductModuleList.vue +++ b/ant-design-vue-jeecg/src/views/product/productModule/ProductModuleList.vue @@ -17,13 +17,13 @@ 导入 - - - - 删除 - - 批量操作 - + + + + + + + @@ -69,21 +69,12 @@ 编辑 - - - 更多 - - - 详情 - - - - 删除 - - - - + 详情 + + + 删除 + @@ -141,6 +132,11 @@ align:"center", dataIndex: 'place' }, + { + title: '创建时间', + align: "center", + dataIndex: 'createTime' + }, { title: '操作', dataIndex: 'action', @@ -156,7 +152,7 @@ deleteBatch: "/productModule/productModule/deleteBatch", exportXlsUrl: "/productModule/productModule/exportXls", importExcelUrl: "productModule/productModule/importExcel", - + }, dictOptions:{}, superFieldList:[], diff --git a/ant-design-vue-jeecg/src/views/product/productSample/ProductSampleList.vue b/ant-design-vue-jeecg/src/views/product/productSample/ProductSampleList.vue new file mode 100644 index 00000000..33d6fea1 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/product/productSample/ProductSampleList.vue @@ -0,0 +1,305 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleDetail.vue b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleDetail.vue new file mode 100644 index 00000000..1d3afeab --- /dev/null +++ b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleDetail.vue @@ -0,0 +1,125 @@ + + + diff --git a/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleForm.vue b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleForm.vue new file mode 100644 index 00000000..af0d52be --- /dev/null +++ b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleForm.vue @@ -0,0 +1,229 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal.vue b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal.vue new file mode 100644 index 00000000..39aa49bf --- /dev/null +++ b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal__Style#Drawer.vue new file mode 100644 index 00000000..407f7ab2 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/product/productSample/modules/ZyClothSampleModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue b/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue index b82a502c..c2cc0ee3 100644 --- a/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue +++ b/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue @@ -118,7 +118,7 @@ export default { columns: [ { title: '服装款式', - width: '150px', + width: '110px', fixed: 'left', key: 'styleId', type: JVXETypes.select, @@ -132,17 +132,17 @@ export default { { title: '是否默认尺码', align: "center", - width: '50px', + width: '130px', key: 'isdefault', type: JVXETypes.select, dictCode: 'isdefault', defaultValue: 0, }, - {key: 'modelNumber', title: '型号编码', dictCode: 'modenumber', width: '120px', type: JVXETypes.select}, - {key: 'size', title: '码数', width: '90px', dictCode: 'size', type: JVXETypes.select}, - {key: 'anumbers', title: '型', width: '80px', dictCode: 'hsize', type: JVXETypes.select}, - {key: 'bnumbers', title: '号', width: '80px', dictCode: 'xsize', type: JVXETypes.select}, - {key: 'collarLarge', title: '领大', width: '80px', type: JVXETypes.input}, + {key: 'modelNumber', title: '型号编码', dictCode: 'modenumber', width: '100px', type: JVXETypes.select}, + {key: 'size', title: '码数', width: '85px', dictCode: 'size', type: JVXETypes.select}, + {key: 'anumbers', title: '型', width: '85px', dictCode: 'hsize', type: JVXETypes.select}, + {key: 'bnumbers', title: '号', width: '85px', dictCode: 'xsize', type: JVXETypes.select}, + {key: 'collarLarge', title: '领大', width: '70px', type: JVXETypes.input}, {key: 'bust', title: '胸围', width: '80px', type: JVXETypes.input}, {key: 'sleeveLength', title: '袖长', width: '80px', type: JVXETypes.input}, {key: 'shslLength', title: '连肩袖长', width: '100px', type: JVXETypes.input}, @@ -151,14 +151,14 @@ export default { {key: 'cuff', title: '袖口', width: '80px', type: JVXETypes.input}, {key: 'waistline', title: '腰围', width: '80px', type: JVXETypes.input}, {key: 'hem', title: '下摆', width: '80px', type: JVXETypes.input}, - {key: 'createTime', title: '创建时间', width: '100px', type: JVXETypes.datetime}, + {key: 'createTime', title: '创建时间', width: '60px', type: JVXETypes.datetime}, { title: '操作', key: 'action', type: JVXETypes.slot, fixed: 'right', - minWidth: '80px', + minWidth: '100px', align: 'center', slotName: 'action', } @@ -203,18 +203,21 @@ export default { let method = 'post'; //httpUrl += this.url.add; //method = 'post'; + let that = this; httpAction(httpUrl, event.row, method).then((res) => { if (res.success) { - this.$message.success(res.message); + that.reCalculatePage(1); + that.$message.success(res.message); this.$emit('ok'); + that.loadData(); } else { this.$message.warning(res.message); } }) }, - //数据发生变化时事件 + //数据发生变化时事件 即 编辑 handleValueChange(event) { - + //this.submitForm(event) console.log("//数据发生变化时事件", event); //const str = event.row.id; From 06b1f1f262d456a6874b024dd9641655663da0fe Mon Sep 17 00:00:00 2001 From: mors <3067699729@qq.com> Date: Sat, 7 Jan 2023 16:08:51 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/zystylemodel/ZyStyleModelList.vue | 2 +- .../org/jeecg/modules/zystylemodel/entity/ZyStyleModel.java | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue b/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue index c2cc0ee3..5f9de618 100644 --- a/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue +++ b/ant-design-vue-jeecg/src/views/zystylemodel/ZyStyleModelList.vue @@ -217,7 +217,7 @@ export default { }, //数据发生变化时事件 即 编辑 handleValueChange(event) { - + //this.submitForm(event) console.log("//数据发生变化时事件", event); //const str = event.row.id; diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zystylemodel/entity/ZyStyleModel.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zystylemodel/entity/ZyStyleModel.java index 9d8a5be8..8398c789 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zystylemodel/entity/ZyStyleModel.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/zystylemodel/entity/ZyStyleModel.java @@ -112,5 +112,11 @@ public class ZyStyleModel implements Serializable { @ApiModelProperty(value = "创建时间") private java.util.Date createTime; + /**更新时间*/ + @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; + } From 07f0c8af85fdd746531cae2b1110b569f1e04f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=86=E7=B1=B3=E8=8A=B1?= <417727563@qq.com> Date: Sat, 7 Jan 2023 16:12:54 +0800 Subject: [PATCH 3/4] 2023-01-07-02 --- .../src/views/activiti/doneManage.vue | 2 +- .../views/activiti/processFinishManage.vue | 4 +- .../src/views/activiti/processInsManage.vue | 4 +- .../src/views/activiti/todoManage.vue | 2 +- .../src/views/jeecg/SelectDemo.vue | 2 +- .../tablist/form/JeecgOrderCustomerModal.vue | 2 +- .../src/views/personel/ZyDistributionList.vue | 2 +- .../process/modules/ZyOperationtoolModal.vue | 2 +- .../modules/ZyProcessAccessoriesModal.vue | 2 +- .../process/modules/ZyProcessFabricModal.vue | 2 +- .../process/modules/ZyProcessMachineModal.vue | 2 +- .../src/views/system/UserAnnouncementList.vue | 2 +- .../src/views/system/modules/StaffModal.vue | 2 +- .../src/views/workorder/WorkOrderList.vue | 103 +++--- .../views/workorder/modules/WorkOrderForm.vue | 137 +++----- .../modules/WorkOrderModal__Style#Drawer.vue | 1 + .../src/views/zyWorkProduct/ZyProductList.vue | 318 ++++++++++++++++++ .../zyWorkProduct/modules/ZyProductForm.vue | 224 ++++++++++++ .../zyWorkProduct/modules/ZyProductModal.vue | 8 +- .../modules/ZyProductModal__Style#Drawer.vue | 9 +- ...dersList.vue => ZyProductionOrderList.vue} | 109 +++--- .../zyWorkorderManagement/ZyWorkOrderList.vue | 64 ++-- .../modules/ZyStyleAccessoriesModal.vue | 2 +- .../modules/ZyStyleFabricModal.vue | 2 +- .../modules/ZyStyleModularModal.vue | 2 +- .../modules/ZyStyleModuleModal.vue | 2 +- .../controller/WorkOrderController.java | 244 +++++++++++++- .../modules/workorder/entity/WorkOrder.java | 77 +++-- .../workorder/mapper/WorkOrderMapper.java | 4 +- .../workorder/service/IWorkOrderService.java | 5 +- .../service/impl/WorkOrderServiceImpl.java | 3 +- .../workorder/vue/modules/WorkOrderForm.vue | 186 ---------- .../controller/ZyProductController.java | 171 ++++++++++ .../modules/workproduct/entity/ZyProduct.java | 157 +++++++++ .../workproduct/mapper/ZyProductMapper.java | 17 + .../mapper/xml/ZyProductMapper.xml | 5 + .../service/IZyProductService.java | 14 + .../service/impl/ZyProductServiceImpl.java | 19 ++ 38 files changed, 1416 insertions(+), 497 deletions(-) create mode 100644 ant-design-vue-jeecg/src/views/zyWorkProduct/ZyProductList.vue create mode 100644 ant-design-vue-jeecg/src/views/zyWorkProduct/modules/ZyProductForm.vue rename jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workorder/vue/modules/WorkOrderModal.vue => ant-design-vue-jeecg/src/views/zyWorkProduct/modules/ZyProductModal.vue (83%) rename jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workorder/vue/modules/WorkOrderModal__Style#Drawer.vue => ant-design-vue-jeecg/src/views/zyWorkProduct/modules/ZyProductModal__Style#Drawer.vue (87%) rename ant-design-vue-jeecg/src/views/zyWorkorderManagement/{ZyOrdersList.vue => ZyProductionOrderList.vue} (86%) rename jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workorder/vue/WorkOrderList.vue => ant-design-vue-jeecg/src/views/zyWorkorderManagement/ZyWorkOrderList.vue (82%) delete mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workorder/vue/modules/WorkOrderForm.vue create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workproduct/controller/ZyProductController.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workproduct/entity/ZyProduct.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workproduct/mapper/ZyProductMapper.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workproduct/mapper/xml/ZyProductMapper.xml create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workproduct/service/IZyProductService.java create mode 100644 jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workproduct/service/impl/ZyProductServiceImpl.java diff --git a/ant-design-vue-jeecg/src/views/activiti/doneManage.vue b/ant-design-vue-jeecg/src/views/activiti/doneManage.vue index fcd423a9..1205d110 100644 --- a/ant-design-vue-jeecg/src/views/activiti/doneManage.vue +++ b/ant-design-vue-jeecg/src/views/activiti/doneManage.vue @@ -125,7 +125,7 @@ \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/workorder/modules/WorkOrderModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/workorder/modules/WorkOrderModal__Style#Drawer.vue index 54a756f7..8b394962 100644 --- a/ant-design-vue-jeecg/src/views/workorder/modules/WorkOrderModal__Style#Drawer.vue +++ b/ant-design-vue-jeecg/src/views/workorder/modules/WorkOrderModal__Style#Drawer.vue @@ -5,6 +5,7 @@ placement="right" :closable="false" @close="close" + destroyOnClose :visible="visible">