Browse Source

物料主数据映射字段

pull/126/head
liwei 3 years ago
parent
commit
b41ebb6bf3
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      src/views/plant/material/part.vue

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

@ -45,6 +45,9 @@
<span v-else-if="item === 'Article-CreateTime'">
{{ parseTime(scope.row[item]) }}
</span>
<span v-else-if="item ==='Article-ArtSpec1'">
{{ artSpec1Text(scope.row[item]) }}
</span>
<span v-else>{{ scope.row[item] }}</span>
</template>
</el-table-column>
@ -463,6 +466,11 @@ export default {
},
methods: {
//
artSpec1Text(value){
const item=this.artSpecList.find(e=> e['stdeftab-stdeftyp'] == value);
return item?item['stdeftab-bez'] : value
},
//
getArtSpecList(){
this.getStanderOne({ statid: 'Article-ArtSpec1' }).then(({data=[]}) => {


Loading…
Cancel
Save