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