From de16d80234fdf01a3c1368d808c54dc5b4a12b68 Mon Sep 17 00:00:00 2001 From: mors <3067699729@qq.com> Date: Mon, 9 Jan 2023 17:37:52 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=8F=8A=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 --- .../components/jeecg/JVxeTable/jvxeTypes.js | 1 + .../process/modules/ZyClothsComponentForm.vue | 2 +- .../process/modules/ZyClothsModularForm.vue | 14 +- .../views/zystylemodel/ZyStyleModelList.vue | 209 +++++++++++++----- .../ZyClothsComponentController.java | 4 +- .../controller/ZyClothsModularController.java | 2 +- .../impl/ZyClothsModularServiceImpl.java | 2 +- .../controller/ZyStyleModelController.java | 9 +- .../service/IZyStyleModelService.java | 2 + .../service/impl/ZyStyleModelServiceImpl.java | 32 +++ 10 files changed, 206 insertions(+), 71 deletions(-) diff --git a/ant-design-vue-jeecg/src/components/jeecg/JVxeTable/jvxeTypes.js b/ant-design-vue-jeecg/src/components/jeecg/JVxeTable/jvxeTypes.js index 444a51a3..32140d09 100644 --- a/ant-design-vue-jeecg/src/components/jeecg/JVxeTable/jvxeTypes.js +++ b/ant-design-vue-jeecg/src/components/jeecg/JVxeTable/jvxeTypes.js @@ -17,6 +17,7 @@ export const JVXETypes = { rowDragSort: 'row-drag-sort', input: 'input', + //数字输入框 只能输入数字 小数也可以 其它类型的无法输入 inputNumber: 'inputNumber', textarea: 'textarea', select: 'select', diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentForm.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentForm.vue index a3a47ce6..ecaaf4f2 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentForm.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsComponentForm.vue @@ -208,7 +208,7 @@ // this.data.push(res.result) // } - //console.log("制衣部件List 编号 "+this.model.nums); + console.log("制衣部件 编号: "+this.model.nums); }, // bianHao() { // getAction(this.url.sort, {id: this.model.clothsTypeId}).then((res) => { diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularForm.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularForm.vue index 2ecb5213..62607b6f 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularForm.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyClothsModularForm.vue @@ -132,7 +132,9 @@ export default { }, data() { return { - model: {}, + model: { + nums: '', + }, labelCol: { xs: {span: 24}, sm: {span: 4}, @@ -174,17 +176,17 @@ export default { this.modelDefault = JSON.parse(JSON.stringify(this.model)); }, methods: { - bianhao() { + async bianhao() { //var n=6 getAction(this.url.sort, {id: this.model.clothsTypeId}).then((res) => { - let num = res.result; - console.log("+6++++aaa" + num) + //let num = res.result; + console.log("+6++++aaa: " + res.result) //num=num.toString() //while(num.length

{{biaoTi}}

- - - - - - - - - + + + + + + + + + - + -
+