diff --git a/src/views/plant/material/part.vue b/src/views/plant/material/part.vue
index 359e43a..a64156a 100644
--- a/src/views/plant/material/part.vue
+++ b/src/views/plant/material/part.vue
@@ -212,10 +212,26 @@
/>
-
-
-
-
+
+
+
+
+
+
+
@@ -228,7 +244,6 @@
-
-
{
this.projectArray = res.data
})
-
+ this.getAtatusArrayList();
},
methods: {
// 物料类型中文映射
@@ -510,6 +528,15 @@ export default {
const item=this.artSpecList.find(e=> e['stdeftab-stdeftyp'] == value);
return item?item['stdeftab-bez'] : value
},
+ // 物料状态列表
+ getAtatusArrayList(){
+ this.getStanderOne({ statid: 'Article-Status' }).then(({data=[]}) => {
+ this.statusArray=data.map(()=>{
+ e['stdeftab-stdeftyp']= Number(e['stdeftab-stdeftyp']);
+ return e;
+ });
+ })
+ },
// 物料类型列表
getArtSpecList(){
this.getStanderOne({ statid: 'Article-ArtSpec1' }).then(({data=[]}) => {
diff --git a/src/views/productplan/workbench/order.vue b/src/views/productplan/workbench/order.vue
index 5de4ec7..cb74f42 100644
--- a/src/views/productplan/workbench/order.vue
+++ b/src/views/productplan/workbench/order.vue
@@ -428,7 +428,9 @@ export default {
this.orderTypeArray = res.data
})
// 获取零件数据
- getArticleList().then(res => {
+ getArticleList({
+ status:1
+ }).then(res => {
this.articleArray = res.data
})
// 获取产线数据
@@ -448,7 +450,9 @@ export default {
/** 查询角色列表 */
getList() {
this.loading = true
- getWorkorderList(this.queryParams).then(
+ getWorkorderList({
+ ...this.queryParams,
+ }).then(
response => {
this.dataList = response.data.records
this.total = response.data.count