|
|
|
@ -403,6 +403,7 @@
|
|
|
|
|
type="primary"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
:disabled="single"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleUpdate"
|
|
|
|
|
v-hasPermi="['device:upkeepOrder:edit']"
|
|
|
|
@ -1581,6 +1582,7 @@ export default {
|
|
|
|
|
loading: true,
|
|
|
|
|
// 选中数组
|
|
|
|
|
ids: [],
|
|
|
|
|
selsectOrderCode: [],
|
|
|
|
|
// 多个保养单号
|
|
|
|
|
orderCodes: [],
|
|
|
|
|
// 非单个禁用
|
|
|
|
@ -2173,6 +2175,7 @@ export default {
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
this.ids = selection.map((item) => item.orderId);
|
|
|
|
|
this.selsectOrderCode = selection.map((item) => item.orderCode);
|
|
|
|
|
this.orderCodes = selection.map((item) => item.orderCode);
|
|
|
|
|
console.log('this.ids',this.ids);
|
|
|
|
|
console.log('this.orderCodes',this.orderCodes);
|
|
|
|
@ -2190,7 +2193,7 @@ export default {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.reset();
|
|
|
|
|
this.recordList = [];
|
|
|
|
|
const orderCode = row.orderCode || this.ids;
|
|
|
|
|
const orderCode = row.orderCode || this.selsectOrderCode;
|
|
|
|
|
getDeviceOrder(orderCode).then((response) => {
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
if (response.data.timeArray[0] == null) {
|
|
|
|
|