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