From 30b58af5365bc4d81c82ab2045de874aabb82c8a Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 23 May 2023 16:21:41 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E6=94=B9?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E6=A1=86=E8=81=94=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/zygoods/modules/ZyGoodsForm.vue | 76 ++++++++++++++++++- 1 file changed, 73 insertions(+), 3 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/zygoods/modules/ZyGoodsForm.vue b/ant-design-vue-jeecg/src/views/zygoods/modules/ZyGoodsForm.vue index 8391ce0e..ada55544 100644 --- a/ant-design-vue-jeecg/src/views/zygoods/modules/ZyGoodsForm.vue +++ b/ant-design-vue-jeecg/src/views/zygoods/modules/ZyGoodsForm.vue @@ -11,17 +11,49 @@ - + + + - + + + - + + + @@ -129,6 +161,8 @@ lx:'zy_cloths_type ,type_name,id', ks:'zy_cloths_style,style_names,id', xh:'zy_style_model,model_number,id', + param:{type_id:""}, + param2:{style_id:""}, autoplay:true, model:{ customized:0, @@ -144,6 +178,7 @@ sm: { span: 16 }, }, confirmLoading: false, + multi: false, validatorRules: { enterprisesId:[{ required: true, message: '请选择企业!' @@ -206,6 +241,41 @@ this.modelDefault = JSON.parse(JSON.stringify(this.model)); }, methods: { + popupCallback(value,row){ + this.model = Object.assign(this.model, row); + this.param.type_id = this.model.clothsTypeId; + }, + popupCallback2(value,row){ + this.model = Object.assign(this.model, row); + this.param2.style_id = this.model.styleId; + getAction(this.url.zystyle, {ksid:this.model.styleId}).then((res) => { + if (res.success) { + // this.$forceUpdate(); + this.$set(this.model,'goodsIntr',res.result.productOverview); + this.$set(this.model,'goodsPicture',res.result.designSketch); + this.$set(this.model,'defaultPicture',res.result.designSketch); + } else { + + } + }); + }, + popupCallback3(value,row){ + this.model = Object.assign(this.model, row); + // //如果编辑-商品编码不该改变 + if(!this.model.id) + { + getAction(this.url.zy, {lxid:this.model.clothsTypeId,xhid:this.model.modelId}).then((res) => { + if (res.success) { + // console.log(res.result.nums) + // this.$forceUpdate(); + //写一个接口返回一个拼装好的商品编号 + this.$set(this.model,'goodsCode',res.result); + } else { + + } + }); + } + }, getlx(){ this.lx ="zy_cloths_type ,type_name,id,enterprise_id='" + this.model.enterprisesId + "'"; }, From 6991bdd5783fc57fe3f97bbba247091a17bf7f0c Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 23 May 2023 16:56:51 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=88=90=E8=A1=A3=E6=A0=B7=E6=9D=BF?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E6=94=B9=E5=BC=B9=E5=87=BA=E6=A1=86?= =?UTF-8?q?=E8=81=94=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/ZyClothSampleForm.vue | 48 ++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue index 7b9a8901..eca3c159 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue @@ -18,8 +18,19 @@ - + + + @@ -35,8 +46,19 @@ - + + + @@ -113,6 +135,9 @@ export default { data() { return { nums: '', + multi: false, + param:{enterprise_id:""}, + param2:{style_id:""}, selectedKey: '', // 款式id typeid: '', // 型号, serialNumber: '', // 顺序号 @@ -178,17 +203,28 @@ export default { console.log(this.props, 'superFieldList') }, methods: { + popupCallback(value,row){ + this.model = Object.assign(this.model, row); + this.param2.style_id = this.model.styleId; + }, + popupCallback2(value,row){ + this.model = Object.assign(this.model, row); + this.gaibian(); + }, add() { this.edit(this.modelDefault); }, // kuanshi(){ - this.dict="zy_cloths_style,style_names,id,enterprise_id="+"'"+this.model.enterpriseId+"'"; + this.param.enterprise_id = this.model.enterpriseId; + /*this.dict="zy_cloths_style,style_names,id,enterprise_id="+"'"+this.model.enterpriseId+"'";*/ // this.model.styleId=null // this.model.nums=null }, xiugai(){ - this.modenumber="zy_style_model,model_number,id,style_id="+"'"+this.model.styleId+"'" +/* this.modenumber="zy_style_model,model_number,id,style_id="+"'"+this.model.styleId+"'"*/ + this.param2.style_id = this.model.styleId; + // this.model.stylemodelId=null // this.model.nums=null // if(this.model.stylemodelId!=null&&this.model.enterpriseId!=null){ From 3a4224969ae4519ca495f33ac59b8131be6cf8e0 Mon Sep 17 00:00:00 2001 From: Gitea Date: Tue, 23 May 2023 17:11:49 +0800 Subject: [PATCH 3/5] bug --- .../src/views/zyclothsample/modules/ZyClothSampleForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue index eca3c159..cce2bcd4 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue @@ -259,7 +259,7 @@ export default { }, edit(record) { this.model = Object.assign({}, record); - this.dict="zy_cloths_style,style_names,nums,enterprise_id="+"'"+this.model.enterpriseId+"'"; + this.dict="zy_cloths_style,style_names,id,enterprise_id="+"'"+this.model.enterpriseId+"'"; this.modenumber="zy_style_model,model_number,id,style_id="+"'"+this.model.styleId+"'" this.visible = true; } From 188198de313ba80fa0eb0e418b9e16eb51201c74 Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 29 May 2023 14:46:33 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productrecord/ProductRecordList1.vue | 238 ++++++++++++++++++ .../views/sensorrecord/SensorRecordList1.vue | 202 +++++++++++++++ 2 files changed, 440 insertions(+) create mode 100644 ant-design-vue-jeecg/src/views/productrecord/ProductRecordList1.vue create mode 100644 ant-design-vue-jeecg/src/views/sensorrecord/SensorRecordList1.vue diff --git a/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList1.vue b/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList1.vue new file mode 100644 index 00000000..06d5d1af --- /dev/null +++ b/ant-design-vue-jeecg/src/views/productrecord/ProductRecordList1.vue @@ -0,0 +1,238 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/sensorrecord/SensorRecordList1.vue b/ant-design-vue-jeecg/src/views/sensorrecord/SensorRecordList1.vue new file mode 100644 index 00000000..a110ab83 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/sensorrecord/SensorRecordList1.vue @@ -0,0 +1,202 @@ + + + + \ No newline at end of file From 0acd60e869508a2f5be844f3c3822d8860033108 Mon Sep 17 00:00:00 2001 From: zhc077 <565291854> Date: Sat, 3 Jun 2023 15:57:18 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E8=AE=A1=E5=88=92=E5=B7=A5=E5=BA=8F?= =?UTF-8?q?=E8=A1=A8=20=E6=B7=BB=E5=8A=A0=20status=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jeecg/modules/productplan/entity/ZyPlanProcess.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/entity/ZyPlanProcess.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/entity/ZyPlanProcess.java index 102eaecf..73e5e3f6 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/entity/ZyPlanProcess.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/entity/ZyPlanProcess.java @@ -163,4 +163,8 @@ public class ZyPlanProcess implements Serializable { @ApiModelProperty(value = "工位序号") private Integer stationNum; + + //未生产1、生产中2、已完成3、异常9,默认1 + @ApiModelProperty(value = "状态") + private Integer status; }