| | |
| | | </template> |
| | | <template v-if="permission.order_controlCancel"> |
| | | <el-button v-if="gdStatus === '21'" @click="statusChange(6)" color="#F2F3F5">驳回</el-button> |
| | | <el-button v-if="gdStatus === '21'" @click="statusChange(5)" color="#4C34FF">同意</el-button> |
| | | <el-button v-if="gdStatus === '21'" @click="statusChange(5)" color="#4C34FF">通过</el-button> |
| | | </template> |
| | | <el-button v-if="gdStatus === '30' && permission.order_applyNegotiation" @click="addDescription" color="#4C34FF"> |
| | | 协商修改 |
| | |
| | | const gdStatusObj = { |
| | | '10': { reason: '拒单原因', operationType: '2', title: '拒绝接单' }, |
| | | '11': { reason: '拒单原因' }, |
| | | '20': { reason: '取消原因', operationType: '3',title:'申请取消' }, |
| | | '20': { reason: '原因', operationType: '3',title:'申请取消' }, |
| | | '21': { reason: '取消原因' }, |
| | | '23': { reason: '取消原因' }, |
| | | '30': { reason: '修改原因', operationType: '9',title:'协商修改' }, |
| | |
| | | async function open({ mode = 'add', row, formLabel, type,title } = {}) { |
| | | dialogMode.value = mode |
| | | formLabelStr.value = formLabel |
| | | dialogTitle.value = title |
| | | dialogTitle.value = dialogMode.value === 'add' ? title : '查看' |
| | | formData.value = { |
| | | workOrderId: row.id, |
| | | operationType: type, |