diff --git a/pages.json b/pages.json index 782d9a8..33cc8af 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,6 +57,7 @@ } }, { +<<<<<<< HEAD "path": "pages/modules/EquipMaintainSure", "style": { "navigationStyle": "custom" @@ -64,16 +65,32 @@ }, { "path": "pages/modules/EquipRepairExecute", +======= + "path": "pages/device/RepairWork", +>>>>>>> 7f09ba976650bb89b69572bac02657185529bbed "style": { "navigationStyle": "custom" } }, { - "path": "pages/modules/MaintainResultFill", + "path": "pages/device/RepairFill", "style": { "navigationStyle": "custom" } } + ,{ + "path" : "pages/warehouse/RawmaterialRevice", + "style": { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/warehouse/WarehouseReceiptDetails", + "style": { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/modules/MaintainResultFill.vue b/pages/device/RepairFill.vue similarity index 85% rename from pages/modules/MaintainResultFill.vue rename to pages/device/RepairFill.vue index 885a9dd..57e73fc 100644 --- a/pages/modules/MaintainResultFill.vue +++ b/pages/device/RepairFill.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' + }) } } } diff --git a/pages/modules/EquipRepairExecute.vue b/pages/device/RepairWork.vue similarity index 76% rename from pages/modules/EquipRepairExecute.vue rename to pages/device/RepairWork.vue index f7fdbc2..1383605 100644 --- a/pages/modules/EquipRepairExecute.vue +++ b/pages/device/RepairWork.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/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/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/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 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 @@ + + + + +