Bladeren bron

fix: 更新BOM列表标签和字段

yusheng 1 maand geleden
bovenliggende
commit
5e49a6cc4c

+ 1 - 1
src/views/ledgerAssets/equipment/components/BOM-search.vue

@@ -10,7 +10,7 @@
 
 
       <el-col v-bind="styleResponsive ?   { md: 5 } : { span: 5 }">
-        <el-form-item label="编码">
+        <el-form-item label="物品编码">
           <el-input
              size="mini"
             clearable

+ 10 - 6
src/views/ledgerAssets/equipment/components/detailedList.vue

@@ -163,12 +163,15 @@
           },
           {
             prop: 'code',
-            label: '编码',
+            label: 'bom编码',
             showOverflowTooltip: true,
-            width: 240,
-            formatter: (row) => {
-              return row.code + '/' + this.codes;
-            }
+            width: 240
+          },
+          {
+            prop: 'categoryCode',
+            label: '物品编码',
+            showOverflowTooltip: true,
+            width: 240
           },
           /*  {
               prop: 'deviceCode',
@@ -354,7 +357,8 @@
           pageNum: page,
           size: limit,
           id: this.attributeData.id,
-          bomType: this.attributeData.bomType,
+          substanceId: this.substanceId,
+          bomType: this.attributeData.bomType
           // status: '1'
         });
       },