|
@@ -203,6 +203,20 @@ export default {
|
|
return (h, { row, index, column }) => {
|
|
return (h, { row, index, column }) => {
|
|
return (
|
|
return (
|
|
<div class='operation-btns'>
|
|
<div class='operation-btns'>
|
|
|
|
+ {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
|
|
|
|
+ <el-button
|
|
|
|
+ size='mini'
|
|
|
|
+ type='text'
|
|
|
|
+ onClick={() => {
|
|
|
|
+ this.detailId = row.id
|
|
|
|
+ this.operateType = 'apply'
|
|
|
|
+ this.operateTitle = '申请修改'
|
|
|
|
+ this.operateVisible = true
|
|
|
|
+ }}
|
|
|
|
+ >
|
|
|
|
+ 申请修改
|
|
|
|
+ </el-button>
|
|
|
|
+ ) : null}
|
|
{this.isTradeExaminer && (row.orderStatus === 'WAIT' || row.orderStatus === 'OK' || row.orderStatus === 'FAIL') ? (
|
|
{this.isTradeExaminer && (row.orderStatus === 'WAIT' || row.orderStatus === 'OK' || row.orderStatus === 'FAIL') ? (
|
|
<el-button
|
|
<el-button
|
|
size='mini'
|
|
size='mini'
|
|
@@ -253,20 +267,7 @@ export default {
|
|
更新
|
|
更新
|
|
</el-button> : null
|
|
</el-button> : null
|
|
}
|
|
}
|
|
- {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
|
|
|
|
- <el-button
|
|
|
|
- size='mini'
|
|
|
|
- type='text'
|
|
|
|
- onClick={() => {
|
|
|
|
- this.detailId = row.id
|
|
|
|
- this.operateType = 'apply'
|
|
|
|
- this.operateTitle = '申请修改'
|
|
|
|
- this.operateVisible = true
|
|
|
|
- }}
|
|
|
|
- >
|
|
|
|
- 申请修改
|
|
|
|
- </el-button>
|
|
|
|
- ) : null}
|
|
|
|
|
|
+
|
|
{this.isTradeExaminer && ((row.orderStatus === 'OK' || row.orderStatus === 'FAIL') && row.isApplyUpdate) ? (
|
|
{this.isTradeExaminer && ((row.orderStatus === 'OK' || row.orderStatus === 'FAIL') && row.isApplyUpdate) ? (
|
|
<el-button
|
|
<el-button
|
|
size='mini'
|
|
size='mini'
|