问题修复
This commit is contained in:
parent
02d0428a15
commit
6eb6817f77
|
|
@ -416,14 +416,14 @@ const handleViewMoney = (item: any) => {
|
|||
}
|
||||
|
||||
// 检修完结
|
||||
const onRepairEnd = (orderId: any) => {
|
||||
const onRepairEnd = (orderId: any, code: any) => {
|
||||
ElMessageBox.confirm('是否确定检修完结,确认后将无法再对装备进行检修?', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning',
|
||||
})
|
||||
.then(async () => {
|
||||
const res: any = await passApi({ orderStatus: 10, orderId })
|
||||
const res: any = await passApi({ orderStatus: 10, orderId, orderCode:code })
|
||||
|
||||
if (res.code === 200) {
|
||||
ElMessage({
|
||||
|
|
@ -982,7 +982,7 @@ const wordUrl = ref('')
|
|||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="onRepairEnd(item.orderId)"
|
||||
@click="onRepairEnd(item.orderId, item.code)"
|
||||
class="primary-lease"
|
||||
size="small"
|
||||
v-if="item.orderStatus == 5"
|
||||
|
|
|
|||
Loading…
Reference in New Issue