Commit d8b73a06 authored by 11528's avatar 11528

维修记录页面完善

parent e039519c
......@@ -8,3 +8,12 @@ export function listRepairRecord(query) {
params: query
})
}
// 维修工单详情
export function listRepairRecordDetails(query) {
return request({
url: '/nltmaintain/queryNltMaintainsDetail',
method: 'get',
params: query
})
}
......@@ -155,14 +155,14 @@
@click="handleDetail(scope.row)"
>详情</el-link>
<el-link
v-if="scope.row.status === '1'"
v-if="scope.row.status === 1"
size="mini"
type="primary"
style="margin-left: 10px"
@click="handleUpdate(scope.row)"
>编辑生产模型</el-link>
<el-link
v-if="scope.row.status === '0'"
v-if="scope.row.status === 0"
size="mini"
type="danger"
style="margin-left: 10px"
......@@ -623,7 +623,7 @@ export default {
this.total3 = response.total
this.Loading3 = false
})
}else {
} else {
this.rowsStation.orderModelId = row.orderModelId
listStation(this.rowsStation).then(response => {
this.stationList = response.rows
......@@ -652,6 +652,7 @@ export default {
path: '/ProductionProcess/ModelDetails',
query: {
businessId: row.orderModelId,
orderBusinessId: row.businessId,
type: '2'
}
})
......
......@@ -1065,7 +1065,8 @@ export default {
} else if (this.htmlType === '2') {
nltordermodelUpdate({
...params,
businessId: this.$route.query.businessId
businessId: this.$route.query.businessId,
orderBusinessId: this.$route.query.orderBusinessId
}).then(res => {
this.$message.success('编辑成功')
this.$router.push({
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment