1688 manual po

This commit is contained in:
edmondlang
2023-01-20 12:17:41 +08:00
parent fcbc55eabf
commit f103a48a3b
@@ -270,7 +270,7 @@
</div>
</div>
</div>
<purchase-order-form-component v-if="booking.service.id !== 4 || $store.getters.isAdmin || [199, 510].includes($store.getters.getCompanyId)" :data="booking" :section="section"></purchase-order-form-component>
<purchase-order-form-component v-if="booking.service.id !== 4 || $store.getters.isAdmin || [199, 510].includes($store.getters.getCompanyId) || companySegmentIds.includes('24')" :data="booking" :section="section"></purchase-order-form-component>
</div>
</div>
<div class="row m-t-15" v-if="booking.status === 3 && $store.getters.isSuperAdmin">
@@ -467,6 +467,9 @@
});
return complete;
},
companySegmentIds() {
return this.booking.company.segments.map(obj => parseInt(obj.id));
}
},
watch: {