fix
This commit is contained in:
@@ -130,6 +130,10 @@
|
||||
:disabled="flowFieldDisabled('categoryCode')"
|
||||
@change="handleCategoryChange"
|
||||
/>
|
||||
<!-- 显示品目编码层级关系 -->
|
||||
<el-text v-if="categoryCodeHierarchy" type="info" size="small" style="margin-top: 4px; display: block">
|
||||
品目编码层级:{{ categoryCodeHierarchy }}
|
||||
</el-text>
|
||||
<el-text v-if="isSpecialServiceCategory && dataForm.categoryCode" type="warning" size="small" style="margin-top: 4px">
|
||||
当前选择品目为服务商城品目
|
||||
</el-text>
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user