Преглед изворни кода

feat: 采购需求选择PBOM增加物品编码列显示

liujt пре 1 недеља
родитељ
комит
14ae90d4ca
1 измењених фајлова са 9 додато и 1 уклоњено
  1. 9 1
      src/BIZComponents/cBom-list.vue

+ 9 - 1
src/BIZComponents/cBom-list.vue

@@ -168,6 +168,13 @@
             showOverflowTooltip: true,
             minWidth: 110
           },
+          {
+            prop: 'categoryCode',
+            label: '物品编码',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
           {
             prop: 'name',
             label: '名称',
@@ -227,7 +234,8 @@
         this.loading = true;
         this.datasource = await getCBomAPI({
           categoryId: this.currentRow?.id,
-          bomType: 1
+          bomType: 1,
+          isLatestVersion: true
           // produceType: 2
         });
         this.oldDatasource = this.datasource;