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

master
A0010407 4 months ago
parent 13ebb71b7a
commit fadd297211

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

Loading…
Cancel
Save