From 30796b6799b721b6c7371d9c7144032af37436f3 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 6 Sep 2023 08:57:19 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/modules/EquipRepairExecute.vue | 20 +++++++++++++++----- pages/modules/MaintainResultFill.vue | 17 ++++++++++++++--- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/pages/modules/EquipRepairExecute.vue b/pages/modules/EquipRepairExecute.vue index f7fdbc2..1383605 100644 --- a/pages/modules/EquipRepairExecute.vue +++ b/pages/modules/EquipRepairExecute.vue @@ -40,10 +40,10 @@ - - - - + + + + @@ -63,7 +63,9 @@ dataList: [], pkId: '', pkObj: {}, - disabled: false + disabled1: false, + disabled2: false, + disabled3: false }; }, created () { @@ -98,6 +100,14 @@ toCheck (e) { this.pkId = this.pkId === e.repair_id ? '' : e.repair_id this.pkObj = this.pkId === e.repair_id ? e : {} + }, + toJump () { + if (this.pkId) { + this.$store.dispatch('setPublicObj', this.pkObj) + uni.navigateTo({ + url: '/pages/modules/MaintainResultFill' + }) + } } } } diff --git a/pages/modules/MaintainResultFill.vue b/pages/modules/MaintainResultFill.vue index 885a9dd..57e73fc 100644 --- a/pages/modules/MaintainResultFill.vue +++ b/pages/modules/MaintainResultFill.vue @@ -1,6 +1,6 @@ @@ -74,6 +74,8 @@ data() { return { val1: '', + val2: '', + val3: '', dataList: [], pkId: '', pkObj: {}, @@ -112,6 +114,15 @@ toCheck (e) { this.pkId = this.pkId === e.repair_id ? '' : e.repair_id this.pkObj = this.pkId === e.repair_id ? e : {} + }, + toCancle () { + this.$store.dispatch('setPublicObj', {}) + this.goIn() + }, + goIn () { + uni.redirectTo({ + url: '/pages/modules/EquipRepairExecute' + }) } } } From ae8b3b8d721a66d85f9d34f05028dc413a61ebe1 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Thu, 7 Sep 2023 18:05:03 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8E=9F=E8=BE=85=E6=96=99=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 13 ++ pages/warehouse/RawmaterialRevice.vue | 106 ++++++++++++++ pages/warehouse/WarehouseReceiptDetails.vue | 153 ++++++++++++++++++++ 3 files changed, 272 insertions(+) create mode 100644 pages/warehouse/RawmaterialRevice.vue create mode 100644 pages/warehouse/WarehouseReceiptDetails.vue diff --git a/pages.json b/pages.json index 0aed2d0..d83e81c 100644 --- a/pages.json +++ b/pages.json @@ -68,6 +68,19 @@ "navigationStyle": "custom" } } + ,{ + "path" : "pages/warehouse/RawmaterialRevice", + "style": { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/warehouse/WarehouseReceiptDetails", + "style": { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/warehouse/RawmaterialRevice.vue b/pages/warehouse/RawmaterialRevice.vue new file mode 100644 index 0000000..76f8d5b --- /dev/null +++ b/pages/warehouse/RawmaterialRevice.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/pages/warehouse/WarehouseReceiptDetails.vue b/pages/warehouse/WarehouseReceiptDetails.vue new file mode 100644 index 0000000..50a6235 --- /dev/null +++ b/pages/warehouse/WarehouseReceiptDetails.vue @@ -0,0 +1,153 @@ + + + + + From 7f09ba976650bb89b69572bac02657185529bbed Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Fri, 8 Sep 2023 09:22:11 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=B9=E5=88=86?= =?UTF-8?q?=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 12 ++++++------ .../MaintainResultFill.vue => device/RepairFill.vue} | 0 .../EquipRepairExecute.vue => device/RepairWork.vue} | 0 pages/{modules => warehouse}/EmptyOutStore.vue | 0 pages/{modules => warehouse}/SemifinishedInStore.vue | 0 .../SemifinishedMaterSearch.vue | 0 .../{modules => warehouse}/SemifinishedOutStore.vue | 0 7 files changed, 6 insertions(+), 6 deletions(-) rename pages/{modules/MaintainResultFill.vue => device/RepairFill.vue} (100%) rename pages/{modules/EquipRepairExecute.vue => device/RepairWork.vue} (100%) rename pages/{modules => warehouse}/EmptyOutStore.vue (100%) rename pages/{modules => warehouse}/SemifinishedInStore.vue (100%) rename pages/{modules => warehouse}/SemifinishedMaterSearch.vue (100%) rename pages/{modules => warehouse}/SemifinishedOutStore.vue (100%) diff --git a/pages.json b/pages.json index d83e81c..32b54d2 100644 --- a/pages.json +++ b/pages.json @@ -25,13 +25,13 @@ } }, { - "path" : "pages/modules/SemifinishedInStore", + "path" : "pages/warehouse/SemifinishedInStore", "style": { "navigationStyle": "custom" } }, { - "path": "pages/modules/SemifinishedMaterSearch", + "path": "pages/warehouse/SemifinishedMaterSearch", "style": { "navigationStyle": "custom", "enablePullDownRefresh": true, @@ -39,13 +39,13 @@ } }, { - "path" : "pages/modules/SemifinishedOutStore", + "path" : "pages/warehouse/SemifinishedOutStore", "style": { "navigationStyle": "custom" } }, { - "path": "pages/modules/EmptyOutStore", + "path": "pages/warehouse/EmptyOutStore", "style": { "navigationStyle": "custom" } @@ -57,13 +57,13 @@ } }, { - "path": "pages/modules/EquipRepairExecute", + "path": "pages/device/RepairWork", "style": { "navigationStyle": "custom" } }, { - "path": "pages/modules/MaintainResultFill", + "path": "pages/device/RepairFill", "style": { "navigationStyle": "custom" } diff --git a/pages/modules/MaintainResultFill.vue b/pages/device/RepairFill.vue similarity index 100% rename from pages/modules/MaintainResultFill.vue rename to pages/device/RepairFill.vue diff --git a/pages/modules/EquipRepairExecute.vue b/pages/device/RepairWork.vue similarity index 100% rename from pages/modules/EquipRepairExecute.vue rename to pages/device/RepairWork.vue diff --git a/pages/modules/EmptyOutStore.vue b/pages/warehouse/EmptyOutStore.vue similarity index 100% rename from pages/modules/EmptyOutStore.vue rename to pages/warehouse/EmptyOutStore.vue diff --git a/pages/modules/SemifinishedInStore.vue b/pages/warehouse/SemifinishedInStore.vue similarity index 100% rename from pages/modules/SemifinishedInStore.vue rename to pages/warehouse/SemifinishedInStore.vue diff --git a/pages/modules/SemifinishedMaterSearch.vue b/pages/warehouse/SemifinishedMaterSearch.vue similarity index 100% rename from pages/modules/SemifinishedMaterSearch.vue rename to pages/warehouse/SemifinishedMaterSearch.vue diff --git a/pages/modules/SemifinishedOutStore.vue b/pages/warehouse/SemifinishedOutStore.vue similarity index 100% rename from pages/modules/SemifinishedOutStore.vue rename to pages/warehouse/SemifinishedOutStore.vue