diff --git a/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesForm.vue b/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesForm.vue index b51ff49c..88aa62ba 100644 --- a/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesForm.vue +++ b/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesForm.vue @@ -8,7 +8,7 @@ - + @@ -83,6 +83,7 @@ data () { return { model:{ + nums:'' }, labelCol: { xs: { span: 24 }, @@ -107,7 +108,8 @@ url: { add: "/accessories/zyAccessories/add", edit: "/accessories/zyAccessories/edit", - queryById: "/accessories/zyAccessories/queryById" + queryById: "/accessories/zyAccessories/queryById", + sort:"/accessories/zyAccessories/sort" } } }, @@ -159,8 +161,19 @@ }, popupCallback(value,row){ this.model = Object.assign(this.model, row); - console.log(row); - }, + var n=10; + console.log(this.model) + getAction(this.url.sort, {id:this.model.typeId}).then((res)=>{ + console.log(res) + var num=parseInt(res.result,10)+1 + num=num.toString() + while(num.length \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesTypeForm.vue b/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesTypeForm.vue index 5eaba65e..046c9ac9 100644 --- a/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesTypeForm.vue +++ b/ant-design-vue-jeecg/src/views/erp/accessories/modules/ZyAccessoriesTypeForm.vue @@ -5,7 +5,7 @@ - + @@ -39,6 +39,7 @@ data () { return { model:{ + nums:'' }, labelCol: { xs: { span: 24 }, @@ -54,7 +55,8 @@ url: { add: "/accessories/zyAccessoriesType/add", edit: "/accessories/zyAccessoriesType/edit", - queryById: "/accessories/zyAccessoriesType/queryById" + queryById: "/accessories/zyAccessoriesType/queryById", + weiyi:"/accessories/zyAccessoriesType/weiyi" } } }, @@ -64,6 +66,15 @@ }, }, created () { + var n=4 + getAction(this.url.weiyi,null).then((res)=>{ + var num=parseInt(res.message,10)+1 + num=num.toString() + while(num.length + + + + + - + @@ -37,11 +42,11 @@ - - - - - + + + + + @@ -157,6 +162,7 @@ model:{ unit : '1', status : '1', + fabricNumber:'', }, labelCol: { xs: { span: 24 }, @@ -199,7 +205,8 @@ url: { add: "/fabric/zyFabric/add", edit: "/fabric/zyFabric/edit", - queryById: "/fabric/zyFabric/queryById" + queryById: "/fabric/zyFabric/queryById", + sort:"/fabric/zyFabric/sort" } } }, @@ -217,6 +224,20 @@ add () { this.edit(this.modelDefault); }, + gaibian(){ + var n=10; + console.log(this.model) + getAction(this.url.sort,this.model).then((res)=>{ + console.log(res) + var num=parseInt(res.result,10)+1 + num=num.toString() + while(num.length - + @@ -22,7 +22,7 @@