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