维修审核按钮隐藏
This commit is contained in:
parent
4c0c68d05c
commit
b03be7a391
|
|
@ -18,7 +18,7 @@
|
||||||
disabled
|
disabled
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="退料单位" prop="projectName">
|
<el-form-item label="退料工程" prop="projectName">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="maForm.projectName"
|
v-model="maForm.projectName"
|
||||||
placeholder="请输入退料单位"
|
placeholder="请输入退料单位"
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="维修单号" prop="repairNum">
|
<el-form-item label="维修单号" prop="repairNum">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="maForm.repairNum"
|
v-model="maForm.repairNum"
|
||||||
clearable
|
clearable
|
||||||
maxlength="50"
|
maxlength="50"
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
|
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
plain
|
plain
|
||||||
|
|
@ -52,8 +52,8 @@
|
||||||
@click="handlePassAll"
|
@click="handlePassAll"
|
||||||
>通过</el-button
|
>通过</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>-->
|
||||||
<el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="danger"
|
type="danger"
|
||||||
plain
|
plain
|
||||||
|
|
@ -63,13 +63,13 @@
|
||||||
@click="handleFailAll"
|
@click="handleFailAll"
|
||||||
>驳回</el-button
|
>驳回</el-button
|
||||||
>
|
>
|
||||||
</el-col>
|
</el-col>-->
|
||||||
<!-- <el-col :span="1.5">
|
<!-- <el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
plain
|
plain
|
||||||
icon="el-icon-check"
|
icon="el-icon-check"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleSubmit"
|
@click="handleSubmit"
|
||||||
>提交</el-button
|
>提交</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -309,7 +309,7 @@ export default {
|
||||||
console.log(this.failTemp)
|
console.log(this.failTemp)
|
||||||
this.single = selection.length != 1;
|
this.single = selection.length != 1;
|
||||||
this.multiple = !selection.length;
|
this.multiple = !selection.length;
|
||||||
|
|
||||||
},
|
},
|
||||||
//获取任务详情-列表数据
|
//获取任务详情-列表数据
|
||||||
getTaskInfo() {
|
getTaskInfo() {
|
||||||
|
|
@ -322,7 +322,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/** 通过按钮操作 */
|
/** 通过按钮操作 */
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let param = [{
|
let param = [{
|
||||||
taskId:this.taskId,
|
taskId:this.taskId,
|
||||||
status: "1"
|
status: "1"
|
||||||
|
|
@ -337,7 +337,7 @@ export default {
|
||||||
this.$modal.msgSuccess("操作成功");
|
this.$modal.msgSuccess("操作成功");
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
|
|
||||||
},
|
},
|
||||||
//单个通过
|
//单个通过
|
||||||
handlePass(row) {
|
handlePass(row) {
|
||||||
|
|
@ -412,7 +412,7 @@ export default {
|
||||||
param.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName,
|
param.push({ id: item.id, status: "2",specificationType: item.specificationType,machineTypeName:item.machineTypeName,
|
||||||
unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,scrapNum:item.scrapNum,typeId:item.typeId,taskId:item.taskId,
|
unitName:item.unitName,repairNum:item.repairNum,repairedNum:item.repairedNum,scrapNum:item.scrapNum,typeId:item.typeId,taskId:item.taskId,
|
||||||
auditId:item.id,repairId:item.repairId,maId:item.maId,maCode:item.maCode
|
auditId:item.id,repairId:item.repairId,maId:item.maId,maCode:item.maCode
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
auditPass(param).then((response) => {
|
auditPass(param).then((response) => {
|
||||||
if (response.code == 200) {
|
if (response.code == 200) {
|
||||||
|
|
|
||||||
|
|
@ -206,14 +206,14 @@
|
||||||
@click="handleView(scope.row)"
|
@click="handleView(scope.row)"
|
||||||
>查看
|
>查看
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<!-- <el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
style="margin-bottom: 10px"
|
style="margin-bottom: 10px"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-if="scope.row.status != '2'"
|
v-if="scope.row.status != '2'"
|
||||||
>审核
|
>审核
|
||||||
</el-button>
|
</el-button>-->
|
||||||
|
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue