From 561d71264149bfec16a52493d97a358fd3d76281 Mon Sep 17 00:00:00 2001
From: shilixia <2309368887@qq.com>
Date: Wed, 29 Dec 2021 14:56:30 +0800
Subject: [PATCH] xial
---
hb_client/src/views/pm/plan.vue | 10 ++++++++++
hb_client/src/views/pm/work.vue | 12 ++++++------
hb_client/src/views/qm/taskrecordfrom.vue | 2 +-
3 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/hb_client/src/views/pm/plan.vue b/hb_client/src/views/pm/plan.vue
index 35a523a..9dd9a63 100644
--- a/hb_client/src/views/pm/plan.vue
+++ b/hb_client/src/views/pm/plan.vue
@@ -39,6 +39,9 @@
{{ scope.row.count }}
+
+
+ {{ state_[scope.row.state] }}
{{ scope.row.start_date }}
@@ -226,6 +229,13 @@
orderList: {
count: 0,
},
+ state_:{
+ 10:'制定中',
+ 20:'已下达',
+ 30:'已接受',
+ 40:'生产中',
+ 50:'已完成',
+ 60:'军检完成'},
listQuery: {
page: 1,
page_size: 20,
diff --git a/hb_client/src/views/pm/work.vue b/hb_client/src/views/pm/work.vue
index efac1c5..1af421a 100644
--- a/hb_client/src/views/pm/work.vue
+++ b/hb_client/src/views/pm/work.vue
@@ -80,7 +80,7 @@
>修改日期
下达
@@ -221,11 +221,11 @@ export default {
},
state_:{
- 0:'制定中',
- 1:'已下达',
- 2:'已接受',
- 3:'生产中',
- 4:'已完成'}
+ 10:'制定中',
+ 20:'已下达',
+ 30:'已接受',
+ 40:'生产中',
+ 50:'已完成'}
};
},
computed: {},
diff --git a/hb_client/src/views/qm/taskrecordfrom.vue b/hb_client/src/views/qm/taskrecordfrom.vue
index 84c134d..d133e4c 100644
--- a/hb_client/src/views/qm/taskrecordfrom.vue
+++ b/hb_client/src/views/qm/taskrecordfrom.vue
@@ -82,7 +82,7 @@ export default {
getTestRecord({wproduct: this.id}).then(res=>{
if(res.code==200){
- that.recordList = res.data;
+ this.recordList = res.data;
}else{
this.$message.error(res.msg);
}