diff --git a/src/views/purchase/purchasingrequisition/add.vue b/src/views/purchase/purchasingrequisition/add.vue
index 63e2edf..2b73ca9 100644
--- a/src/views/purchase/purchasingrequisition/add.vue
+++ b/src/views/purchase/purchasingrequisition/add.vue
@@ -130,6 +130,10 @@
:disabled="flowFieldDisabled('categoryCode')"
@change="handleCategoryChange"
/>
+
+
+ 品目编码层级:{{ categoryCodeHierarchy }}
+
当前选择品目为服务商城品目
@@ -1361,6 +1365,14 @@ const isSpecialServiceCategory = computed(() => {
return Number(category.isMallService) === 1 || Number(category.isProjectService) === 1;
});
+// 计算品目编码层级路径显示(如:A/A01/A01000000)
+const categoryCodeHierarchy = computed(() => {
+ if (!categoryCodePath.value || categoryCodePath.value.length === 0) {
+ return '';
+ }
+ return categoryCodePath.value.join('/');
+});
+
// 部门自行采购 & 采购途径=自行采购 & 特殊服务类目 → 采购方式固定网上商城
const isDeptSelfMallLocked = computed(() => {
return isDeptPurchase.value && !isEntrustCenterChannel.value && isSpecialServiceCategory.value;