|
@@ -161,7 +161,8 @@ export default {
|
|
|
this.choiceDate = minDate.getTime()
|
|
|
if (maxDate) this.choiceDate = ''
|
|
|
}
|
|
|
- }
|
|
|
+ },
|
|
|
+ isCustomer: JSON.parse(localStorage.getItem('supply_user')).isCustomer
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
@@ -187,7 +188,7 @@ export default {
|
|
|
<el-button type="text" onClick={() => this.toDetail(row)}>
|
|
|
详情
|
|
|
</el-button>
|
|
|
- {row.type === 2 && row.examineStatus !== 'OK' ? (
|
|
|
+ {row.type === 2 && row.examineStatus !== 'OK' && !this.isCustomer ? (
|
|
|
<el-button
|
|
|
type="text"
|
|
|
onClick={() => {
|