xial
This commit is contained in:
parent
6e4914b6c8
commit
561d712641
|
@ -39,6 +39,9 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="生产数量" width="110">
|
||||
<template slot-scope="scope">{{ scope.row.count }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="状态" width="110">
|
||||
<template slot-scope="scope">{{ state_[scope.row.state] }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="计划开工时间" width="110">
|
||||
<template slot-scope="scope">{{ scope.row.start_date }}</template>
|
||||
|
@ -226,6 +229,13 @@
|
|||
orderList: {
|
||||
count: 0,
|
||||
},
|
||||
state_:{
|
||||
10:'制定中',
|
||||
20:'已下达',
|
||||
30:'已接受',
|
||||
40:'生产中',
|
||||
50:'已完成',
|
||||
60:'军检完成'},
|
||||
listQuery: {
|
||||
page: 1,
|
||||
page_size: 20,
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
>修改日期</el-link
|
||||
>
|
||||
<el-link type="primary"
|
||||
v-if="scope.row.state==0"
|
||||
v-if="scope.row.state==10"
|
||||
@click="handleissuedclick(scope)"
|
||||
>下达</el-link
|
||||
>
|
||||
|
@ -221,11 +221,11 @@ export default {
|
|||
|
||||
},
|
||||
state_:{
|
||||
0:'制定中',
|
||||
1:'已下达',
|
||||
2:'已接受',
|
||||
3:'生产中',
|
||||
4:'已完成'}
|
||||
10:'制定中',
|
||||
20:'已下达',
|
||||
30:'已接受',
|
||||
40:'生产中',
|
||||
50:'已完成'}
|
||||
};
|
||||
},
|
||||
computed: {},
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue