|
@@ -59,18 +59,19 @@
|
|
<el-table-column label="日期" min-width="120px" align="center" prop="date" />
|
|
<el-table-column label="日期" min-width="120px" align="center" prop="date" />
|
|
<el-table-column label="审核状态" min-width="150px" align="center">
|
|
<el-table-column label="审核状态" min-width="150px" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span v-if="scope.row.status == 0 ">审核中</span>
|
|
|
|
- <span v-else-if="scope.row.status == 1 ">审核通过</span>
|
|
|
|
- <span v-else>审核未通过</span>
|
|
|
|
|
|
+ <span v-if="scope.row.status == 0 ">未离厂</span>
|
|
|
|
+ <span v-else-if="scope.row.status == 1 ">未回厂</span>
|
|
|
|
+ <span v-else-if="scope.row.status == 2 ">已回厂</span>
|
|
|
|
+ <span v-else>已验收</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column label="操作" align="center" width="320" class-name="small-padding fixed-width" fixed="right">
|
|
<el-table-column label="操作" align="center" width="320" class-name="small-padding fixed-width" fixed="right">
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
<el-button type="primary" size="mini" @click="form_see(row)">查看</el-button>
|
|
<el-button type="primary" size="mini" @click="form_see(row)">查看</el-button>
|
|
- <el-button v-if="istab2Edit && row.isAcceptance == 0 || (row.status !== 0) && (row.status !== 1)" type="success" size="mini" @click="form_edit(row)">编辑</el-button>
|
|
|
|
|
|
+ <el-button v-if="istab2Edit && row.isAcceptance == 0 || (row.status !== 1)" type="success" size="mini" @click="form_edit(row)">编辑</el-button>
|
|
<el-button v-if="istab2Del && (row.status !== 1)" type="danger" size="mini" @click="form_delete(row)">删除</el-button>
|
|
<el-button v-if="istab2Del && (row.status !== 1)" type="danger" size="mini" @click="form_delete(row)">删除</el-button>
|
|
|
|
|
|
- <el-button v-if="istab2Shenhe1 && row.isAcceptance == 0" style="display:inline-block" type="success" size="mini" @click="form_submit(row)">提交</el-button>
|
|
|
|
|
|
+ <el-button v-if="row.isAcceptance == 0" style="display:inline-block" type="success" size="mini" @click="form_submit(row)">提交</el-button>
|
|
<el-button v-if="istab2Shenhe1 && row.isAcceptance == 1 && (row.flowCompeleted == 1) " style="display:inline-block" type="success" size="mini" @click="form_examine(row)">审核1</el-button>
|
|
<el-button v-if="istab2Shenhe1 && row.isAcceptance == 1 && (row.flowCompeleted == 1) " style="display:inline-block" type="success" size="mini" @click="form_examine(row)">审核1</el-button>
|
|
<el-button v-if="istab2Shenhe2 && row.isAcceptance == 1 && (row.flowCompeleted == 2) " style="display:inline-block" type="success" size="mini" @click="form_examine2(row)">审核2</el-button>
|
|
<el-button v-if="istab2Shenhe2 && row.isAcceptance == 1 && (row.flowCompeleted == 2) " style="display:inline-block" type="success" size="mini" @click="form_examine2(row)">审核2</el-button>
|
|
<el-button v-if="istab2Shenhe3 && row.isAcceptance == 1 && (row.flowCompeleted == 4) " style="display:inline-block" type="success" size="mini" @click="form_examine3(row)">审核3</el-button>
|
|
<el-button v-if="istab2Shenhe3 && row.isAcceptance == 1 && (row.flowCompeleted == 4) " style="display:inline-block" type="success" size="mini" @click="form_examine3(row)">审核3</el-button>
|