damon227 пре 2 година
родитељ
комит
257f1f99c4
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      src/views/modules/msg-center/approve-add-or-update.vue

+ 6 - 1
src/views/modules/msg-center/approve-add-or-update.vue

@@ -33,6 +33,9 @@
     <div v-show="businessType === 'submit_expense_flow'">
       <expense-detail ref="expenseDetail" @approveFinished="approveFinished" @onChose="onChose"/>
     </div>
+    <div v-show="businessType === 'work_damage_flow'">
+      <damage-details ref="damageDetail" @approveFinished="approveFinished" @onChose="onChose"/>
+    </div>
   </div>
 </template>
 
@@ -48,6 +51,7 @@
   import SupplierDetail from '../sale/supplier-detail'
   import OutsourceDetail from '../sale/outsource-detail'
   import ExpenseDetail from '../finance/expense-detail'
+  import damageDetail from '../production/damage-details'
 export default {
     name: 'approve-add-or-update',
     components: {
@@ -61,7 +65,8 @@ export default {
       craftDetail,
       SupplierDetail,
       OutsourceDetail,
-      ExpenseDetail
+      ExpenseDetail,
+      damageDetail
     },
     data () {
       return {