工艺任务分派页面调整

dev-scheduling
zhangdi 2 weeks ago
parent cd6d843513
commit 83e5d4c26d
  1. 44
      src/views/processManagement/taskDispatch.vue

@ -74,7 +74,7 @@ export default {
border: true,
index: true,
selection: true,
selectable:false,
selectable: false,
viewBtn: false,
delBtn: false,
editBtn: false,
@ -278,15 +278,43 @@ export default {
},
//
onLoad(page, params = {}) {
this.loading = true;
this.loading = false;
getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.data = res.data.data.records;
// getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
// this.data = res.data.data.records;
this.loading = false;
this.page.total = res.data.data.total;
this.selectionClear();
});
// this.loading = false;
// this.page.total = res.data.data.total;
// this.selectionClear();
// });
this.data = [
{
children: [
{
partCode: '123',
partName: '123',
partNo: '123',
partQty: '123',
partStatus: '123',
partType: '123',
partUnit: '123',
partWorkCenter: '123',
partWorkCenterName: '123',
partWorkCenterType: '123',
partWorkCenterTypeName: '123',
}
],
partCode: '123',
partName: '123',
taskType: '123',
pdmCreateTime: '123',
pdmWay: '123',
wayDetails: '123',
wipTake: '123',
remarks: '123',
},
];
},
},
};

Loading…
Cancel
Save