|
|
@ -447,6 +447,14 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</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
|
|
|
|
<el-table-column
|
|
|
|
v-if="false"
|
|
|
|
v-if="false"
|
|
|
|
label="主键"
|
|
|
|
label="主键"
|
|
|
@ -568,14 +576,6 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</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="orderCost" />
|
|
|
|
<el-table-column label="保养人" align="center" prop="planPerson" />
|
|
|
|
<el-table-column label="保养人" align="center" prop="planPerson" />
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
@ -1555,6 +1555,8 @@ export default {
|
|
|
|
loading: true,
|
|
|
|
loading: true,
|
|
|
|
// 选中数组
|
|
|
|
// 选中数组
|
|
|
|
ids: [],
|
|
|
|
ids: [],
|
|
|
|
|
|
|
|
// 多个保养单号
|
|
|
|
|
|
|
|
orderCodes: [],
|
|
|
|
// 非单个禁用
|
|
|
|
// 非单个禁用
|
|
|
|
single: true,
|
|
|
|
single: true,
|
|
|
|
// 非多个禁用
|
|
|
|
// 非多个禁用
|
|
|
@ -1741,6 +1743,7 @@ export default {
|
|
|
|
const data = {
|
|
|
|
const data = {
|
|
|
|
ids: this.ids,
|
|
|
|
ids: this.ids,
|
|
|
|
inspect: this.inspect,
|
|
|
|
inspect: this.inspect,
|
|
|
|
|
|
|
|
orderCodes: this.orderCodes,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
subInspect(data).then((response) => {
|
|
|
|
subInspect(data).then((response) => {
|
|
|
@ -2137,6 +2140,9 @@ export default {
|
|
|
|
// 多选框选中数据
|
|
|
|
// 多选框选中数据
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
this.ids = selection.map((item) => item.orderId);
|
|
|
|
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.single = selection.length !== 1;
|
|
|
|
this.multiple = !selection.length;
|
|
|
|
this.multiple = !selection.length;
|
|
|
|
},
|
|
|
|
},
|
|
|
|