|
|
|
@ -447,6 +447,14 @@
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="检验状态" align="center" prop="orderInspect">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag
|
|
|
|
|
:options="dict.type.device_inspect_status"
|
|
|
|
|
:value="scope.row.orderInspect"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
v-if="false"
|
|
|
|
|
label="主键"
|
|
|
|
@ -568,14 +576,6 @@
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="检验状态" align="center" prop="orderInspect">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag
|
|
|
|
|
:options="dict.type.device_inspect_status"
|
|
|
|
|
:value="scope.row.orderInspect"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="工单费用" align="center" prop="orderCost" />
|
|
|
|
|
<el-table-column label="保养人" align="center" prop="planPerson" />
|
|
|
|
|
<el-table-column
|
|
|
|
@ -1555,6 +1555,8 @@ export default {
|
|
|
|
|
loading: true,
|
|
|
|
|
// 选中数组
|
|
|
|
|
ids: [],
|
|
|
|
|
// 多个保养单号
|
|
|
|
|
orderCodes: [],
|
|
|
|
|
// 非单个禁用
|
|
|
|
|
single: true,
|
|
|
|
|
// 非多个禁用
|
|
|
|
@ -1741,6 +1743,7 @@ export default {
|
|
|
|
|
const data = {
|
|
|
|
|
ids: this.ids,
|
|
|
|
|
inspect: this.inspect,
|
|
|
|
|
orderCodes: this.orderCodes,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
subInspect(data).then((response) => {
|
|
|
|
@ -2137,6 +2140,9 @@ export default {
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
this.ids = selection.map((item) => item.orderId);
|
|
|
|
|
this.orderCodes = selection.map((item) => item.orderCode);
|
|
|
|
|
console.log('this.ids',this.ids);
|
|
|
|
|
console.log('this.orderCodes',this.orderCodes);
|
|
|
|
|
this.single = selection.length !== 1;
|
|
|
|
|
this.multiple = !selection.length;
|
|
|
|
|
},
|
|
|
|
|