2024-05-28 设备-保养-结果检验后发送微信提醒

yangwl
A0010407 6 months ago
parent 13ebb71b7a
commit fadd297211

@ -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;
},

Loading…
Cancel
Save