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] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=A7=E5=93=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E4=BA=A7=E5=93=81=E6=A8=A1=E5=9D=97=20=E6=A0=B7?= =?UTF-8?q?=E6=9D=BF=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 --- .../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 @@ 编辑 - - - 更多 - - - 详情 - - - handleDelete(record.id)"> - 删除 - - - - + 详情 + + handleDelete(record.id)"> + 删除 + @@ -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 @@ + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 已选择 {{ selectedRowKeys.length }}项 + 清空 + + + + + + + + + 无图片 + + + + + 在线查看 + + + + + + 无文件 + + 下载 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ 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 @@ + + + + + + + + + + + + + + + {{model.nums}} + + + {{model.userId}} + + + + {{model.clothName}} + + + {{model.descr}} + + + {{model.type}} + + + + + + + + + + + + + + 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;