Browse Source

物料主数据字段映射

test
wangxy 3 years ago
parent
commit
ccc2dafaa5
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/views/plant/part/index.vue

+ 8
- 0
src/views/plant/part/index.vue View File

@ -82,6 +82,7 @@
<template #default="scope">
<span v-if="item === 'Article-PlantNr'">{{ getWorkshopName(scope.row["Article-PlantNr"]) }}</span>
<span v-else-if="item === 'Article-ProjectId'">{{ projectIdText(scope.row["Article-ProjectId"]) }}</span>
<span v-else-if="item === 'Article-ArtSpec1'">{{ artSpecListText(scope.row["Article-ArtSpec1"]) }}</span>
<span v-else>{{ scope.row[item] }}</span>
</template>
</el-table-column>
@ -239,6 +240,13 @@ export default {
(e) => e["ME_Project-ProjectId"] == value
);
return item?.["ME_Project-Descr"] || value
},
//
artSpecListText(value) {
const item = this.artSpecList.find(
(e) => e["Stdef-StdefTyp"] == value
);
return item?.["Stdef-Bez"] || value
},
},
created() {


Loading…
Cancel
Save