diff --git a/src/views/plant/material/part.vue b/src/views/plant/material/part.vue
index a64156a..3707dfa 100644
--- a/src/views/plant/material/part.vue
+++ b/src/views/plant/material/part.vue
@@ -48,6 +48,9 @@
{{ artSpec1Text(scope.row[item]) }}
+
+ {{ statusText(scope.row[item]) }}
+
{{ scope.row[item] }}
@@ -232,6 +235,14 @@
+
+
+
+
+
@@ -523,6 +534,11 @@ export default {
this.getAtatusArrayList();
},
methods: {
+ // 物料状态中文映射
+ statusText(value){
+ const item=this.statusArray.find(e=> e['stdeftab-stdeftyp'] == value);
+ return item?item['stdeftab-bez'] : value
+ },
// 物料类型中文映射
artSpec1Text(value){
const item=this.artSpecList.find(e=> e['stdeftab-stdeftyp'] == value);
@@ -531,7 +547,7 @@ export default {
// 物料状态列表
getAtatusArrayList(){
this.getStanderOne({ statid: 'Article-Status' }).then(({data=[]}) => {
- this.statusArray=data.map(()=>{
+ this.statusArray=data.map((e)=>{
e['stdeftab-stdeftyp']= Number(e['stdeftab-stdeftyp']);
return e;
});
@@ -631,6 +647,8 @@ export default {
'Article-ArtTypeId',
'Article-ProjectId',
'Article-CustArtId',
+ 'Article-Status',
+ 'Article-Version',
'Article-AlternativeArtId',
'Article-UomId',
'Article-QuantityPerHour',