diff --git a/components/VNavigationBar.vue b/components/VNavigationBar.vue index b3a4c83..05a8097 100644 --- a/components/VNavigationBar.vue +++ b/components/VNavigationBar.vue @@ -25,6 +25,9 @@ 新增 + + 新增配件 + @@ -61,6 +64,10 @@ export default { addWares:{ type: Boolean, default: false + }, + houseAddNewWares:{ + type: Boolean, + default: false } }, mounted() { @@ -99,6 +106,9 @@ export default { }, addNewWares(){ this.$emit('addNewWares') + }, + addNewWaresHouse(){ + this.$emit('addNewWaresHouse') } } } diff --git a/pages-repair/apply/applyForm.vue b/pages-repair/apply/applyForm.vue index 8a1091e..148e1ba 100644 --- a/pages-repair/apply/applyForm.vue +++ b/pages-repair/apply/applyForm.vue @@ -139,6 +139,7 @@ this.userInfo = getUserInfo() this.ticketId = data.ticketId this.twId = data.twId + this.ifHouse = data.ifHouse }, onShow() { this.init() @@ -176,6 +177,9 @@ name: item.name } })] + if(this.ifHouse){ + dataObj.ifHouseAdd = true + } request({ url: "/admin-api/repair/twi/addTwi", method: 'post', diff --git a/pages-warehouse/inOutWarehouse/inOutWarehouse.vue b/pages-warehouse/inOutWarehouse/inOutWarehouse.vue index e675673..7603ad4 100644 --- a/pages-warehouse/inOutWarehouse/inOutWarehouse.vue +++ b/pages-warehouse/inOutWarehouse/inOutWarehouse.vue @@ -1,6 +1,6 @@