修饰编号

This commit is contained in:
mashuai 2024-12-20 21:08:45 +08:00
parent 653b41d208
commit 916932f5fa
1 changed files with 18 additions and 18 deletions

View File

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