修饰编号
This commit is contained in:
parent
653b41d208
commit
916932f5fa
|
|
@ -65,7 +65,7 @@
|
|||
type="success"
|
||||
plain
|
||||
size="mini" :disabled="multiple"
|
||||
@click="handleSuccessAll"
|
||||
@click="handleSuccessAll"
|
||||
>批量入库
|
||||
</el-button>
|
||||
</el-col>
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
type="danger"
|
||||
plain :disabled="multiple"
|
||||
size="mini"
|
||||
@click="handleFailAll"
|
||||
@click="handleFailAll"
|
||||
>批量驳回
|
||||
</el-button>
|
||||
</el-col>
|
||||
|
|
@ -95,9 +95,9 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="退料单位" align="center" prop="backUnit" />
|
||||
<el-table-column label="退料工程" align="center" prop="backPro" />
|
||||
<el-table-column label="入库单号" align="center" prop="inputCode" />
|
||||
<el-table-column label="物资类型" align="center" prop="materialType" />
|
||||
<el-table-column label="维修单号" align="center" prop="repairCode" />
|
||||
<el-table-column label="入库单号" align="center" prop="inputCode" />
|
||||
<el-table-column label="物资类型" align="center" prop="materialType" />
|
||||
<el-table-column label="维修单号" align="center" prop="repairCode" />
|
||||
<el-table-column label="创建人" align="center" prop="createBy" />
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="状态" align="center" prop="taskStatus" >
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
<el-table-column label="操作" align="center" width="180">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
size="mini"
|
||||
style="margin-bottom: 10px"
|
||||
type="primary"
|
||||
|
||||
|
||||
@click="handleUpdate(scope.row)"
|
||||
>入库
|
||||
</el-button>
|
||||
|
|
@ -138,12 +138,12 @@
|
|||
@pagination="getList"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {
|
||||
getTestedListApi,repairInputWarehouseApi,rejectWarehouseApi
|
||||
} from "@/api/repair/testedInBound";
|
||||
} from "@/api/repair/testedInBound";
|
||||
export default {
|
||||
name: "testedInBound",
|
||||
dicts: ["repair_end_task_status"],
|
||||
|
|
@ -189,7 +189,7 @@ export default {
|
|||
this.getList();
|
||||
},
|
||||
components: {},
|
||||
methods: {
|
||||
methods: {
|
||||
/** 查询修试入库列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
|
|
@ -218,7 +218,7 @@ export default {
|
|||
//一级页面查看按钮
|
||||
handleView(row){
|
||||
this.$emit("queryApply",row.id,row);
|
||||
},
|
||||
},
|
||||
//是否可用勾选框
|
||||
selectable(row) {
|
||||
if (row.taskStatus == "1"||row.taskStatus == "2") {
|
||||
|
|
@ -226,7 +226,7 @@ export default {
|
|||
} else {
|
||||
return true;
|
||||
}
|
||||
},
|
||||
},
|
||||
// 多选框选中数据
|
||||
handleSelectionChange(selection) {
|
||||
this.ids = selection.map((item) => {
|
||||
|
|
@ -244,7 +244,7 @@ export default {
|
|||
console.log(this.ids)
|
||||
// repairInputWarehouseApi
|
||||
let param = {
|
||||
taskIdList:this.ids
|
||||
outTaskList:this.ids
|
||||
}
|
||||
this.$modal.confirm("是否确认入库所选择的设备编码?")
|
||||
.then(function () {
|
||||
|
|
@ -256,10 +256,10 @@ export default {
|
|||
}
|
||||
})
|
||||
.catch(() => {});
|
||||
},
|
||||
},
|
||||
//批量不通过
|
||||
handleFailAll(){
|
||||
console.log(this.ids)
|
||||
console.log(this.ids)
|
||||
let param = {
|
||||
outTaskList:this.ids
|
||||
}
|
||||
|
|
@ -272,7 +272,7 @@ export default {
|
|||
this.getList();
|
||||
}
|
||||
})
|
||||
.catch(() => {});
|
||||
.catch(() => {});
|
||||
},
|
||||
handleExport() {
|
||||
// this.download(
|
||||
|
|
@ -309,4 +309,4 @@ export default {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue