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/pdcomponentprocess/ProductComponentProcessList.vue b/ant-design-vue-jeecg/src/views/pdcomponentprocess/ProductComponentProcessList.vue index 242be675..9e9218ef 100644 --- a/ant-design-vue-jeecg/src/views/pdcomponentprocess/ProductComponentProcessList.vue +++ b/ant-design-vue-jeecg/src/views/pdcomponentprocess/ProductComponentProcessList.vue @@ -1,5 +1,6 @@ - 管理 + 管理 @@ -122,6 +122,7 @@ description: '产品模块部件表管理页面', component:'', productId:'', + idt:'', // 表头 columns: [ { @@ -188,6 +189,7 @@ } }, created() { + this.idt=this.$route.query.id; this.getSuperFieldList(); }, computed: { @@ -214,11 +216,13 @@ this.$message.warning(res.message); } })}, - bujian(id){ + bujian(id,name,product){ this.$router.push({ path: '/pdcomponentprocess/ProductComponentProcessList', query: { // 路由携带参数 'id': id, + name:name, + product:product } }); }, 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}}

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